/* TV app showcase mockups for marketing hero */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 24px;
  text-align: left;
}
.hero-split .hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 700;
  text-align: left;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.hero-split .hero-copy h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-split .hero-copy p { margin: 0 0 28px; max-width: 480px; text-align: left; font-size: 1.12rem; line-height: 1.65; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; margin-bottom: 18px;
  border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  color: var(--spree-b); background: rgba(255, 179, 71, 0.1);
  border: 1px solid rgba(255, 179, 71, 0.25);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--spree-b);
  box-shadow: 0 0 10px var(--spree-b);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.tv-stage {
  position: relative;
  perspective: 1200px;
  animation: tv-float 6s ease-in-out infinite;
}
@keyframes tv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.tv-stage::before {
  content: "";
  position: absolute;
  inset: -12% -8% -20%;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255,77,109,0.28), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.tv-bezel {
  position: relative;
  border-radius: 18px;
  padding: 14px 14px 28px;
  background: linear-gradient(165deg, #2a2f3d 0%, #12141c 55%, #0a0b10 100%);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transform: rotateY(-6deg) rotateX(2deg);
}
.tv-bezel::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
}
.tv-screen {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--base);
  position: relative;
}
.tv-screen--shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #0B0E1A;
}

/* In-app UI chrome */
.mock-ui {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  background:
    radial-gradient(900px 500px at 50% 34%, rgba(255,92,58,0.14), transparent 68%),
    radial-gradient(700px 400px at 82% 8%, rgba(120,60,255,0.08), transparent 70%),
    #0B0E1A;
}
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 6px;
  flex-shrink: 0;
}
.mock-logo { font-weight: 800; font-size: 11px; letter-spacing: 0.06em; }
.mock-logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock-clock { text-align: right; line-height: 1.1; }
.mock-clock .date { color: var(--muted); font-size: 8px; }
.mock-clock .time { font-size: 16px; font-weight: 300; }
.mock-icons { display: flex; gap: 6px; }
.mock-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.mock-overview {
  flex: 1;
  padding: 4px 16px 8px;
  overflow: hidden;
  min-height: 0;
}
.mock-ov-row { margin-bottom: 10px; }
.mock-ov-row h4 {
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.mock-ov-strip {
  display: flex;
  gap: 8px;
  overflow: hidden;
}
.mock-ov-card { flex: 0 0 auto; width: 72px; }
.mock-ov-thumb {
  width: 72px;
  height: 102px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.06);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.mock-ov-thumb.channel {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.mock-ov-card.focused .mock-ov-thumb {
  border-color: var(--spree-b);
  box-shadow: 0 0 0 2px rgba(255,179,71,0.4), 0 0 12px rgba(255,77,109,0.35);
}
.mock-ov-name {
  font-size: 7px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.mock-ov-sub { font-size: 6px; color: var(--spree-b); }
.mock-ov-prog {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  margin-top: 3px;
  overflow: hidden;
}
.mock-ov-prog > i {
  display: block;
  height: 100%;
  background: var(--grad);
}

.mock-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 6px 16px 8px;
  color: var(--muted);
  font-size: 7px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.mock-statusbar b { color: var(--ink); }

/* Poster gradient presets */
.poster-1 { background: linear-gradient(145deg, #1a3a5c, #0d1f33 60%), linear-gradient(0deg, rgba(255,77,109,0.35), transparent 50%); }
.poster-2 { background: linear-gradient(160deg, #3d1f4a, #1a0a22 55%), linear-gradient(0deg, rgba(255,179,71,0.25), transparent); }
.poster-3 { background: linear-gradient(150deg, #1f4d3a, #0a1f18 50%), linear-gradient(0deg, rgba(120,200,255,0.2), transparent); }
.poster-4 { background: linear-gradient(155deg, #4a2818, #1a0e08 55%), linear-gradient(0deg, rgba(255,120,60,0.3), transparent); }
.poster-5 { background: linear-gradient(145deg, #2a2048, #120e22 50%), linear-gradient(0deg, rgba(180,120,255,0.25), transparent); }
.poster-6 { background: linear-gradient(150deg, #1e3d4a, #0a1820 55%), linear-gradient(0deg, rgba(80,220,200,0.2), transparent); }
.poster-7 { background: linear-gradient(155deg, #4a1a2a, #200810 50%); }
.poster-8 { background: linear-gradient(145deg, #2a3a1a, #121808 55%); }

.ch-bbc { background: linear-gradient(135deg, #b91c1c, #7f1d1d); }
.ch-itv { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ch-sky { background: linear-gradient(135deg, #0284c7, #0369a1); }

/* Gallery section */
.showcase-gallery {
  margin: var(--section-space) 0;
}
.showcase-gallery h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.showcase-gallery > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-item {
  text-align: center;
  padding: 20px 16px 24px;
  border-radius: var(--radius-lg);
  background: rgba(23, 29, 51, 0.35);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 71, 0.2);
  box-shadow: var(--shadow-card);
}
.gallery-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 16px 0 8px;
}
.gallery-item > p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.gallery-item .tv-bezel {
  transform: none;
  padding: 10px 10px 22px;
}
.gallery-item .tv-bezel::after { width: 32px; height: 3px; }

/* Classic dashboard mock */
.mock-tiles {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 6px;
  padding: 8px 12px;
  flex: 1;
  min-height: 0;
}
.mock-tile-live {
  grid-row: span 2;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid rgba(255,77,109,0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
}
.mock-tile-live::before {
  content: "▶";
  font-size: 20px;
  margin-bottom: auto;
  padding-top: 8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mock-side { display: grid; grid-template-rows: 1.6fr 0.55fr; gap: 6px; min-height: 0; }
.mock-side-top { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-tile {
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
}
.mock-side-bot { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.mock-side-bot .mock-tile { font-size: 7px; }

/* Live TV mock */
.mock-live {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8px;
  padding: 8px 12px;
  flex: 1;
  min-height: 0;
}
.mock-live-list {
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 6px;
  overflow: hidden;
}
.mock-live-row {
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 7px;
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.mock-live-row.on {
  background: var(--raised);
  color: var(--ink);
  border: 1px solid rgba(255,179,71,0.35);
  font-weight: 600;
}
.mock-preview {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.mock-preview-video {
  width: 100%;
  height: 72%;
  background: linear-gradient(135deg, #1a2840, #0a1020);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-preview-video::after {
  content: "LIVE";
  font-size: 8px;
  font-weight: 800;
  color: var(--spree-a);
  letter-spacing: 0.15em;
}
.mock-preview-info { padding: 6px 8px; }
.mock-preview-info h5 { font-size: 9px; font-weight: 700; }
.mock-preview-info span { font-size: 7px; color: var(--spree-b); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-copy h1, .hero-split .hero-copy p { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .tv-bezel { transform: none; max-width: 520px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .wrap { width: 94vw; }
}
