/* /sonytailgate — product landing page.
 *
 * Dark, Apple-esque. Big typography, generous negative space, one
 * declarative line per section. Mockups reuse real assets from the
 * working prototype so the visuals feel product-real without
 * inventing fake renders.
 */

@font-face {
  font-family: 'NFLSeahawks';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/nfl/NFL_Seattle_Seahawks_Flat.ttf') format('truetype');
}

:root {
  --bg:        #000;
  --bg-2:      #07090f;
  --bg-3:      #0c1018;
  --panel:     #11141c;
  --border:    rgba(255, 255, 255, 0.08);
  --text:      #f7f7f9;
  --text-dim:  rgba(247, 247, 249, 0.65);
  --text-dim2: rgba(247, 247, 249, 0.4);
  --blue:      #4d9cff;
  --blue-2:    #0349b7;
  --teal:      #4cbf7a;
  --orange:    #ffaa33;
  --red:       #ef5a5a;
  --magenta:   #ff5da2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Topbar ───────────────────────────────────────────────────── */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-brand {
  display: inline-flex;
  align-items: center;
}
.topbar-brand img {
  display: block;
  height: 22px;
  width: auto;
  opacity: 0.92;
}
.topbar-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255, 170, 51, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ─── Hero ────────────────────────────────────────────────────── */

/* Single-viewport hero. Header up top, image dominating the rest,
 * scrollcue at the bottom. */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(77, 156, 255, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(3, 73, 183, 0.30) 0%, transparent 70%),
    linear-gradient(180deg, #050914 0%, #000 100%);
  z-index: 0;
}
.hero-sticky {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 96px 0 0;
  z-index: 1;
}
.hero-header {
  text-align: center;
  max-width: 880px;
  padding: 0 24px;
  margin-bottom: clamp(28px, 4vh, 56px);
}
.hero-wordmark {
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #8ec5ff 60%, #4d9cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
}
.hero-scene {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.hero-scene img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 280px);
}
.hero-scrollcue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  border-radius: 12px;
  z-index: 3;
}
.hero-scrollcue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  50%      { opacity: 0.3; transform: translate(-50%, 12px); }
}

/* ─── Feature sections (shared) ───────────────────────────────── */

.feature {
  min-height: 90vh;
  padding: 120px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .feature {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    min-height: 100vh;
  }
  /* alternate left/right on even sections for rhythm */
  .feature:nth-of-type(even) .feature-copy   { order: 2; }
  .feature:nth-of-type(even) .feature-visual { order: 1; }
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.feature h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.body {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 520px;
}

/* Section backgrounds — alternate tones for rhythm */
.feature-wall        { background: linear-gradient(180deg, #000 0%, #050914 100%); }
.feature-chat        { background: #07090f; }
.feature-playalong   { background: linear-gradient(180deg, #07090f 0%, #0a1525 100%); }
.feature-context     { background: #050914; }
.feature-cast        {
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(77, 156, 255, 0.14) 0%, transparent 70%),
    #060914;
}
.feature-celebration {
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(255, 170, 51, 0.13) 0%, transparent 70%),
    #060308;
}

/* ─── Section 1 visual: wall mock ──────────────────────────────── */

/* Mirrors the real /wall layout: scoreboard up top (full width),
 * then a 1 / 2.2 / 1 bottom row for side-panel / TV / context. The
 * outer frame is intentionally absent — only the three Tailgate
 * add-ons (scoreboard + side panels) carry visible boxes, so the
 * boundary of the Tailgate experience reads as "around the TV, not
 * including it." */
.canvas-mock {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 14px;
}
.cw-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}
.cw-team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cw-team-ne { justify-content: flex-end; }
.cw-team img { width: 26px; height: 26px; flex-shrink: 0; }
.cw-score {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cw-row {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 280px;
}
.cw-tile {
  position: relative;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 11px;
  overflow: hidden;
  min-height: 0;
}
.cw-tile-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim2);
  margin-bottom: 8px;
}
.cw-dot {
  width: 6px;
  height: 6px;
  background: #ef5a5a;
  border-radius: 50%;
  animation: cwlivepulse 1.6s ease-in-out infinite;
}
@keyframes cwlivepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

/* TV (center) tile: actual television — dark bezel, flat-black screen,
 * "TV" wordmark on the bottom chin. The bezel + label signal "this is
 * your existing TV", while the side panels (chat / context) read as
 * the Tailgate add-ons floating around it. 16:9 so it reads as a real
 * television, vertically centered against the taller side panels. */
.cw-tile-tv {
  background: #050507;
  border: 2px solid #1c1c20;
  border-bottom: 14px solid #1c1c20;
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  aspect-ratio: 16 / 9;
  align-self: center;
  width: 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -30px 40px rgba(0, 0, 0, 0.5);
}
.cw-tile-tv::after {
  content: 'TV';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  text-align: center;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 2.5px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.cw-tv-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 4px;
}
.cw-tile-clock {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.cw-tv-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

/* Cycling-variant tiles (left + right) */
.cw-tile-left, .cw-tile-right { padding: 0; }
.cw-variant {
  position: absolute;
  inset: 0;
  padding: 10px 11px;
  opacity: 0;
  transition: opacity 600ms ease;
  display: flex;
  flex-direction: column;
}

/* Left tile: chat (5s) ↔ play along (5s), 10s loop */
.cw-variant-chat { animation: cwLeftA 10s ease-in-out infinite; }
.cw-variant-pa   { animation: cwLeftB 10s ease-in-out infinite; }
@keyframes cwLeftA {
  0%, 45%        { opacity: 1; }
  50%, 95%       { opacity: 0; }
  100%           { opacity: 1; }
}
@keyframes cwLeftB {
  0%, 45%        { opacity: 0; }
  50%, 95%       { opacity: 1; }
  100%           { opacity: 0; }
}

/* Right tile: player (5s) → event (5s) → coach (5s), 15s loop */
.cw-variant-player { animation: cwRightA 15s ease-in-out infinite; }
.cw-variant-event  { animation: cwRightB 15s ease-in-out infinite; }
.cw-variant-coach  { animation: cwRightC 15s ease-in-out infinite; }
@keyframes cwRightA {
  0%, 30%   { opacity: 1; }
  33%, 96%  { opacity: 0; }
  100%      { opacity: 1; }
}
@keyframes cwRightB {
  0%, 30%   { opacity: 0; }
  33%, 63%  { opacity: 1; }
  66%, 100% { opacity: 0; }
}
@keyframes cwRightC {
  0%, 63%   { opacity: 0; }
  66%, 96%  { opacity: 1; }
  100%      { opacity: 0; }
}

/* Chat messages */
.cw-msg {
  font-size: 10px;
  color: var(--text);
  padding: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cw-msg-dim { color: var(--text-dim); }

/* Play Along snippet */
.cw-pa-q {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}
.cw-pa-chip {
  font-size: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 4px 7px;
  margin-bottom: 3px;
}
.cw-pa-chip.cw-pa-correct {
  background: rgba(76,191,122,0.20);
  border-color: rgba(76,191,122,0.6);
}

/* Context card name/meta (right tile) */
.cw-cc-name {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 3px;
  line-height: 1.15;
}
.cw-cc-meta {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.3;
}

/* "Added panels" story — TV stays visible from page-load; the three
 * Tailgate add-ons (scoreboard, left, right) fade-in with a brief blue
 * pop when the section scrolls into view, then settle into a slow
 * synchronized border-glow pulse so the viewer keeps reading them as
 * "the added features." Triggered by the shared .reveal observer. */
.canvas-mock .cw-scoreboard,
.canvas-mock .cw-tile-left,
.canvas-mock .cw-tile-right {
  opacity: 0;
  transform: scale(0.94);
}
.reveal.is-visible .canvas-mock .cw-scoreboard {
  animation:
    addedPanel 700ms cubic-bezier(0.2, 0.7, 0.3, 1) 300ms forwards,
    panelPulse 3.2s ease-in-out 1900ms infinite;
}
.reveal.is-visible .canvas-mock .cw-tile-left {
  animation:
    addedPanel 700ms cubic-bezier(0.2, 0.7, 0.3, 1) 650ms forwards,
    panelPulse 3.2s ease-in-out 1900ms infinite;
}
.reveal.is-visible .canvas-mock .cw-tile-right {
  animation:
    addedPanel 700ms cubic-bezier(0.2, 0.7, 0.3, 1) 1000ms forwards,
    panelPulse 3.2s ease-in-out 1900ms infinite;
}
@keyframes addedPanel {
  0% {
    opacity: 0;
    transform: scale(0.94);
    box-shadow: 0 0 0 0 rgba(77, 156, 255, 0);
  }
  60% {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 0 24px 2px rgba(77, 156, 255, 0.55);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(77, 156, 255, 0);
  }
}
/* Slow synchronized pulse — keeps the three add-on panels glowing
 * faintly so they remain the visual focus after the intro plays. */
@keyframes panelPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(77, 156, 255, 0.10),
      0 0 0 0 rgba(77, 156, 255, 0);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(77, 156, 255, 0.50),
      0 0 18px 1px rgba(77, 156, 255, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-dot,
  .cw-variant-chat, .cw-variant-pa,
  .cw-variant-player, .cw-variant-event, .cw-variant-coach {
    animation: none;
  }
  /* Show the first variant only when motion is disabled. */
  .cw-variant-chat, .cw-variant-player { opacity: 1; }
  /* Skip the added-panel choreography. */
  .canvas-mock .cw-scoreboard,
  .canvas-mock .cw-tile-left,
  .canvas-mock .cw-tile-right {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ─── Section 2 visual: chat mock ──────────────────────────────── */

.chat-mock {
  background: linear-gradient(143deg, #0349B7 0%, #050914 65%);
  border: 1.5px solid rgba(10, 61, 138, 0.7);
  border-radius: 14px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 80px rgba(3, 73, 183, 0.2);
  /* Portrait, matching the real side-panel proportions on the wall. */
  width: 100%;
  max-width: 340px;
  min-height: 520px;
  margin: 0 auto;
  transform: rotate(2deg);
}
/* Seahawks-display panel header — mirrors the real wall panel titles
 * on /wall so the mock reads as the same product. */
.mock-title {
  font-family: 'NFLSeahawks', 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}
.chat-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0;
  animation: bubblein 600ms ease forwards;
}
.chat-bubble:nth-child(1) { animation-delay: 0ms; }
.chat-bubble:nth-child(2) { animation-delay: 180ms; }
.chat-bubble:nth-child(3) { animation-delay: 360ms; }
.chat-bubble:nth-child(4) { animation-delay: 540ms; }
.chat-bubble:nth-child(5) { animation-delay: 720ms; }
@keyframes bubblein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ch-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.ch-body b {
  font-weight: 700;
  margin-right: 8px;
  color: var(--text);
}
.ch-body {
  color: var(--text-dim);
}
.chat-bubble.glow {
  padding: 8px 12px;
  margin: 0 -12px;
  background: rgba(76, 191, 122, 0.10);
  border: 1px solid rgba(76, 191, 122, 0.35);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(76, 191, 122, 0.25);
}

/* ─── Section 3 visual: play-along mock ────────────────────────── */

.pa-mock {
  background: linear-gradient(143deg, #0349B7 0%, #050914 65%);
  border: 1.5px solid rgba(10, 61, 138, 0.7);
  border-radius: 14px;
  padding: 26px 20px;
  box-shadow: 0 30px 80px rgba(3, 73, 183, 0.2);
  display: flex;
  flex-direction: column;
  /* Portrait, matching the real Play Along panel proportions. */
  width: 100%;
  max-width: 340px;
  min-height: 520px;
  margin: 0 auto;
  transform: rotate(-2deg);
}
.pa-q {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.pa-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.pa-chip {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.pa-chip.pa-correct {
  background: rgba(76, 191, 122, 0.18);
  border-color: rgba(76, 191, 122, 0.7);
}
.pa-avs { display: inline-flex; gap: 3px; }
.pa-avs i {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-block;
}
.pa-board {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pa-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 8px;
  padding: 4px 6px;
  font-size: 13px;
  align-items: baseline;
}
.pa-row span:first-child {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
}
.pa-row b { font-weight: 600; }
.pa-row span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* ─── Section 4 visual: context-card deck ─────────────────────── */

.cc-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 1200px;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}
/* Soft blue aura behind the whole deck, mirrors the celebration
 * section's orange aura so every feature visual reads as "glowing". */
.cc-deck::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(77, 156, 255, 0.22) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  animation: ccaura 3.6s ease-in-out infinite;
}
@keyframes ccaura {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}
.cc-card {
  background: linear-gradient(143deg, #0349B7 0%, #050914 70%);
  border: 1.5px solid rgba(10, 61, 138, 0.7);
  border-radius: 14px;
  padding: 14px 12px 12px;
  /* Tall portrait — matches the real context card panel proportions. */
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 0 50px rgba(77, 156, 255, 0.35),
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.cc-card:nth-child(1) { transform: rotate(-3deg) translateY(8px); }
.cc-card:nth-child(2) { transform: rotate(0deg) translateY(-4px) scale(1.04); z-index: 2; }
.cc-card:nth-child(3) { transform: rotate(3deg) translateY(8px); }

/* Top kicker — Seahawks-display font, mirrors the real wall card. */
.cc-kicker {
  font-family: 'NFLSeahawks', 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}

/* Hero image slot — used for event/halftime cards. */
.cc-hero-wrap {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
}
.cc-hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Contain variant — used when the image is a transparent PNG logo
 * (e.g. SB-LX) so it floats on the card's blue gradient like the real
 * prototype, with no surrounding frame. */
.cc-hero-contain {
  background: transparent;
}
.cc-hero-contain img { object-fit: contain; }

/* Player portrait slot — square, image hugs bottom like a roster shot. */
.cc-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.cc-portrait img {
  width: 92%;
  height: auto;
  object-fit: contain;
}

/* Subject title — Seahawks-display font. */
.cc-title {
  font-family: 'NFLSeahawks', 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 8px;
}

/* Placeholder body lines — same look as the screen-cast mock. */
.cc-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.cc-lines span {
  display: block;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
.cc-lines span:nth-child(1) { width: 88%; }
.cc-lines span:nth-child(2) { width: 95%; }
.cc-lines span:nth-child(3) { width: 72%; }
.cc-lines span:nth-child(4) { width: 84%; }

/* ─── Section 5 visual: screen-cast mock ───────────────────────── */

.cast-mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cast-beam {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(77, 156, 255, 0.35) 0%, transparent 55%);
  animation: castBeam 3.2s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes castBeam {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* Side-panel mock — styled to match the chat / Bet On It panels so the
 * cast experience reads as part of the same wall surface. */
.cast-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(143deg, #0349B7 0%, #050914 65%);
  border: 1.5px solid rgba(10, 61, 138, 0.7);
  border-radius: 14px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    0 0 50px rgba(77, 156, 255, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  transform: rotate(-3deg);
}
.cast-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--orange);
  font-size: 22px;
  letter-spacing: 1px;
}
.cast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: cwlivepulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.cast-shot-wrap {
  width: 100%;
  aspect-ratio: 1260 / 2736;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.cast-shot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .cast-beam { animation: none; }
}

/* ─── Section 6 visual: celebration clips ─────────────────────── */

.celeb-clips {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 460px;
  margin: 0 auto;
}
.celeb-clip {
  position: relative;
  background: #000;
  border: 1.5px solid rgba(255, 170, 51, 0.35);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 400 / 750;
  box-shadow:
    0 0 60px rgba(255, 170, 51, 0.20),
    0 20px 60px rgba(0, 0, 0, 0.5);
}
.celeb-clip:nth-child(1) { transform: rotate(-2deg); }
.celeb-clip:nth-child(2) { transform: rotate(2deg); }
.celeb-clip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Soft orange aura behind the pair */
.celeb-clips::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(255, 170, 51, 0.25) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: celebaura 3.4s ease-in-out infinite;
}
@keyframes celebaura {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* ─── Research quote ──────────────────────────────────────────── */

/* Verbatim participant quote — anchors the product in the actual
 * research insight before the playful invite closer. Quiet, centered,
 * with a soft blue glow on the opening mark to feel deliberate. */
.quote {
  padding: 140px 24px 40px;
  text-align: center;
  background: linear-gradient(180deg, #07090f 0%, #050914 100%);
}
.quote-figure {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.quote-body {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 24px;
  position: relative;
  padding: 0 8px;
}
.quote-cite {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
}

/* ─── Invite word reel ────────────────────────────────────────── */

/* "Come to the game, we have [chips / wings / drinks / Sony Tailgate]"
 * — the bracketed slot is a vertical slot-machine reel that cycles
 * through the words and rests on the brand name when scrolled into
 * view. Triggered by the shared .reveal observer adding .is-visible. */
.invite {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, #050914 0%, #060308 100%);
}
.invite-line {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.2;
  color: var(--text);
  max-width: 1000px;
  margin: 0 auto;
}
.invite-pre {
  display: block;
  margin-bottom: 6px;
}
.invite-second {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  white-space: nowrap;
}
/* Slot: shows one word at a time, vertically clips the track. Width
 * auto-grows to fit the widest word ("Sony Tailgate") so the layout
 * doesn't shift. Words are left-aligned so the shorter ones sit
 * flush against "we have" with the extra space trailing off the end
 * of the line (invisible). */
.invite-reel {
  display: inline-block;
  vertical-align: baseline;
  height: 1.2em;
  overflow: hidden;
  text-align: left;
}
.invite-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}
.invite-word {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #8ec5ff 60%, #4d9cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.invite-word-final {
  /* Brand stop — solid Sony brand dark blue so the final word reads
   * unambiguously as the product name. */
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--blue-2);
}
/* Stops: chips → wings → drinks → Sony Tailgate (rests). Initial
 * delay lets "chips" sit visibly before the reel starts moving. */
.invite.is-visible .invite-track {
  animation: inviteReel 5200ms cubic-bezier(0.6, 0, 0.3, 1) 900ms forwards;
}
@keyframes inviteReel {
  0%        { transform: translateY(0); }
  22%       { transform: translateY(-1.2em); }
  44%       { transform: translateY(-2.4em); }
  72%, 100% { transform: translateY(-3.6em); }
}

/* ─── Closing ─────────────────────────────────────────────────── */

.closing {
  background: linear-gradient(180deg, #060308 0%, #000 100%);
  padding: 160px 24px 100px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-tagline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 36px;
  background: linear-gradient(135deg, #ffffff 0%, #8ec5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255, 170, 51, 0.5);
  padding: 10px 22px;
  border-radius: 999px;
  margin-bottom: 60px;
}
.closing-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 28px;
}
.closing-credit {
  font-size: 13px;
  color: var(--text-dim2);
  letter-spacing: 0.3px;
}

/* ─── Footer ──────────────────────────────────────────────────── */

.page-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px;
  font-size: 12px;
  color: var(--text-dim2);
  border-top: 1px solid var(--border);
}

/* ─── Scroll-triggered reveal ─────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero starts visible (above-the-fold) without waiting for the observer. */
.hero .reveal {
  opacity: 1;
  transform: none;
  animation: heroin 1100ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero .hero-scene.reveal {
  animation: heroin 1100ms cubic-bezier(0.4, 0, 0.2, 1) 180ms backwards;
}
@keyframes heroin {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect users who don't want motion. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .chat-bubble { animation: none; opacity: 1; }
  .celeb-glow  { animation: none; }
  .cc-deck::before { animation: none; }
  .hero-scrollcue span { animation: none; }
  /* Skip the slot-machine reel and just show the brand word. */
  .invite-track { transform: translateY(-3.6em) !important; animation: none !important; }
}
