/* ============================================================
   QUIZMASTER HUB — MARKETING SITE STYLES
   Palette / fonts lifted from the app's qm-core.css so the
   website and the live quiz software feel like one product.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-deep: #0a1628;
  --bg: #0f1f3d;
  --panel: #1a3060;
  --panel2: #152850;
  --text: #f0f4ff;
  --muted: #a8bee0;
  --good: #4ee3ab;
  --warn: #ffd257;
  --bad: #ff8c8c;
  --btn: #3d5fa0;
  --btn2: #30507e;
  --border: rgba(241,197,68,.40);
  --gold: #f1c544;
  --border-subtle: rgba(255,255,255,.12);
  --shadow: rgba(2,6,18,.50);
  --radius: 16px;
  --logo-glow: rgba(255,183,0,.25);
  --max: 1180px;
}

/* Round accent hues — match the app's per-round themes */
.theme-r1 { --hue: 222; --sat: 62%; } /* R1 General Knowledge — blue */
.theme-r2 { --hue: 340; --sat: 58%; } /* R2 Intro/Outro — pink */
.theme-r3 { --hue: 152; --sat: 52%; } /* R3 Specialist — green */
.theme-r4 { --hue: 270; --sat: 55%; } /* R4 Lyrics — purple */
.theme-r5 { --hue: 295; --sat: 50%; } /* R5 Random round — magenta */
.theme-r6 { --hue: 78;  --sat: 55%; } /* R6 Table round — olive */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, .display {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
}

p { line-height: 1.6; color: var(--muted); margin: 0 0 1em; }
a { color: inherit; }

/* --- ATMOSPHERIC BACKGROUND (matches app) --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 12% 5%, rgba(90,120,220,.16) 0%, transparent 60%),
    radial-gradient(800px 500px at 88% 8%, rgba(255,168,89,.10) 0%, transparent 50%),
    radial-gradient(600px 600px at 50% 60%, rgba(30,60,120,.15) 0%, transparent 70%),
    linear-gradient(175deg, #132244 0%, #0d1a32 40%, #0a1222 100%);
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px;
}

.wrap { position: relative; z-index: 1; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAV --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,22,40,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}

.nav-brand img { height: 40px; width: auto; filter: drop-shadow(0 0 10px var(--logo-glow)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .15s, background .15s;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--text); background: rgba(241,197,68,.12); border: 1px solid var(--border); padding: 7px 13px; }

.nav-cta {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.06)), #c76b18;
  border: 1px solid rgba(255,200,100,.45);
  border-radius: 10px;
  padding: 9px 16px !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 0 16px rgba(220,140,40,.20);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 18px;
}

/* --- BUTTONS --- */
.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.10)), var(--btn);
  color: var(--text);
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}

.btn:hover { box-shadow: 0 0 18px rgba(120,150,255,.25), 0 4px 16px rgba(0,0,0,.25); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.06)), #c76b18;
  border-color: rgba(255,200,100,.5);
  box-shadow: 0 0 22px rgba(220,140,40,.22), inset 0 1px 0 rgba(255,255,255,.12);
  font-size: 15px;
  padding: 15px 26px;
}
.btn.primary:hover { box-shadow: 0 0 30px rgba(220,140,40,.4), 0 6px 20px rgba(0,0,0,.3); }

.btn.good {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.08)), #1db954;
  border-color: rgba(78,227,171,.55);
  box-shadow: 0 0 14px rgba(29,185,84,.35), 0 4px 12px rgba(0,0,0,.2);
  color: #fff;
}

.btn.ghost { background: rgba(255,255,255,.05); border-color: var(--border-subtle); }
.btn.block { width: 100%; }

/* --- HERO --- */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  background: rgba(241,197,68,.10);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero-logo { max-width: 220px; width: 100%; height: auto; margin: 0 auto 20px; filter: drop-shadow(0 0 30px var(--logo-glow)); display: block; }

.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

.hero h1 .accent { color: var(--gold); }

.hero .lead {
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- SECTION --- */
section { padding: 72px 0; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.section-head p { font-size: 16px; }
.section-tight .section-head { margin-bottom: 30px; }

/* --- GLASS PANEL / CARD --- */
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 30%, transparent 70%), var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.015) 30%, transparent 70%), var(--panel2);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: 0 10px 30px var(--shadow); }

/* --- AUDIENCE (home vs pro) --- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.audience-card {
  padding: 32px;
  text-align: left;
}

.audience-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: hsla(var(--hue,222), var(--sat,60%), 50%, .16);
  border: 1px solid hsla(var(--hue,222), var(--sat,60%), 60%, .35);
  margin-bottom: 18px;
}

.audience-card h3 { font-size: 21px; margin-bottom: 10px; }
.audience-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.audience-card li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.audience-card li::before { content: "✓"; color: var(--good); font-weight: 700; flex-shrink: 0; }

/* --- 2 WAYS TO PLAY --- */
.ways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.way-card { padding: 30px; text-align: center; }
.way-badge {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.08)), #1db954;
  box-shadow: 0 0 20px rgba(29,185,84,.3);
}
.way-card.sheet .way-badge {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.08)), #c76b18;
  box-shadow: 0 0 20px rgba(220,140,40,.3);
}
.way-card h3 { font-size: 19px; margin-bottom: 8px; }
.way-card p { font-size: 14px; }
.way-or {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--gold); letter-spacing: .1em; text-transform: uppercase;
}

/* --- ROUND LIST --- */
.round-list { display: flex; flex-direction: column; gap: 18px; }

.round-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  padding: 26px;
  align-items: start;
  border-left: 3px solid hsl(var(--hue), var(--sat), 55%);
}

.round-num {
  width: 84px; height: 84px;
  border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, hsla(var(--hue), var(--sat), 32%, .35), hsla(var(--hue), var(--sat), 22%, .18));
  border: 1px solid hsla(var(--hue), var(--sat), 60%, .4);
  box-shadow: 0 0 22px hsla(var(--hue), var(--sat), 50%, .18);
}

.round-num .rn-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.round-num .rn-num { font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 700; color: var(--text); line-height: 1; }

.round-num img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.round-body h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: hsl(var(--hue), var(--sat), 75%);
}

.round-body .round-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.round-body p { font-size: 14.5px; margin-bottom: 10px; }
.round-body p:last-child { margin-bottom: 0; }

.round-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  background: rgba(0,0,0,.18);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 12px;
}
.round-note b { color: var(--text); }

/* Round 5 sub-options */
.subopts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.subopt {
  background: rgba(0,0,0,.20);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
}
.subopt .so-title { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--text); }
.subopt p { font-size: 13px; margin: 0; }

/* --- CONTROL HUB BANNER --- */
.hub-card {
  padding: 44px 40px;
  text-align: center;
  border: 1px solid rgba(255,200,100,.55);
  box-shadow: 0 0 44px rgba(220,140,40,.18), 0 8px 32px var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  background: linear-gradient(135deg, hsla(222,60%,30%,.5), hsla(35,70%,32%,.22)), var(--panel);
  margin-bottom: 48px;
}

.hub-icon { font-size: 38px; margin-bottom: 14px; }

.hub-card h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 10px; }

.hub-card .hub-lead { max-width: 580px; margin: 0 auto 22px; font-size: 15.5px; }

.hub-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hf-item {
  background: rgba(0,0,0,.20);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
}

.hf-item b {
  color: var(--text);
  display: block;
  margin-bottom: 3px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.hub-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.free-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(0,0,0,.05)), #1db954;
  color: #fff;
  padding: 5px 11px;
  border-radius: 99px;
  box-shadow: 0 0 14px rgba(29,185,84,.4);
}

/* --- PRODUCT PREVIEW FRAME (recreates real in-app screens) --- */
.screenshot-frame {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
  background: var(--bg-deep);
}

.screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border-subtle);
}

.screenshot-chrome .dot { width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.15); }
.screenshot-chrome .dot:nth-child(1) { background: #ff8c8c; }
.screenshot-chrome .dot:nth-child(2) { background: #ffd257; }
.screenshot-chrome .dot:nth-child(3) { background: #4ee3ab; }
.screenshot-chrome .sc-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.screenshot-body {
  padding: 22px;
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(90,120,220,.14) 0%, transparent 60%),
    linear-gradient(175deg, #132244 0%, #0d1a32 60%, #0a1222 100%);
}

/* Lyric round preview */
.lyric-preview-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, hsla(270, 55%, 28%, .28), hsla(270, 55%, 20%, .16));
  padding: 22px;
  text-align: center;
  margin-bottom: 14px;
}

.lyric-preview-box .lp-eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.lyric-preview-box .lp-text {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}

.lyric-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lyric-preview-actions .lpa-btn {
  border-radius: 10px;
  padding: 11px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: #fff;
}

.lpa-btn.play { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.1)), #3d6fd6; }
.lpa-btn.reveal-answer { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.1)), #2fa563; }

/* --- SCREENSHOT GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
}

/* Fixed-ratio window so every gallery screenshot reads as the same size,
   regardless of the source image's real dimensions. */
.gc-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}

.gallery-card:hover img { transform: scale(1.07); }

.gallery-card .gc-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.gallery-card .gc-caption b { color: var(--text); display: block; font-family: 'Outfit', sans-serif; font-size: 14px; margin-bottom: 2px; }

/* Small in-card screenshot thumbnail (used in the way-to-play cards) —
   fixed box so a tall phone shot and a portrait answer sheet both read
   as the same size sitting side by side. */
.way-shot-wrap {
  width: 100%;
  max-width: 230px;
  height: 230px;
  margin: 16px auto 0;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px var(--shadow);
  background: rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.way-shot-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

.way-shot-wrap:hover img { transform: scale(1.05); }

/* --- PACKS --- */
.pack-filter {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px;
}
.pack-filter button {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-subtle);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.pack-filter button:hover { color: var(--text); border-color: var(--border); }
.pack-filter button.active { color: var(--text); background: rgba(241,197,68,.14); border-color: var(--border); }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pack-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.pack-head {
  padding: 22px 22px 18px;
  position: relative;
}

.pack-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  margin-bottom: 12px;
}

.pack-head h3 { font-size: 19px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pack-weeks { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 4px; }

.pack-body {
  padding: 18px 22px 22px;
  background: rgba(6,14,32,.55);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pack-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pack-body li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.pack-body li::before { content: "♪"; color: var(--gold); flex-shrink: 0; }

.pack-contents {
  border-top: 1px solid var(--border-subtle);
  padding-top: 26px;
  margin-top: 26px;
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.contents-item {
  background: rgba(0,0,0,.18);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.contents-item .ci-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--gold); flex-shrink: 0; }

/* --- FAQ / GUIDANCE STRIP --- */
.strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0,0,0,.15);
}
.strip .container { padding-top: 50px; padding-bottom: 50px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.trust-grid .t-num { font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 700; color: var(--gold); }
.trust-grid .t-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* --- CTA BAND --- */
.cta-band {
  text-align: center;
  padding: 60px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, hsla(222,60%,30%,.5), hsla(295,50%,25%,.4)), var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px var(--shadow);
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 12px; }
.cta-band p { max-width: 520px; margin: 0 auto 26px; }

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 30px;
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-family: 'Outfit', sans-serif; }
.footer-brand img { height: 30px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-note { font-size: 12px; color: var(--muted); margin-top: 18px; text-align: center; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .audience-grid, .ways-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .contents-grid { grid-template-columns: 1fr 1fr; }
  .hub-feature-grid { grid-template-columns: 1fr 1fr; }
  .subopts { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .round-card { grid-template-columns: 1fr; }
  .round-num { width: 64px; height: 64px; justify-self: start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(10,22,40,.97);
    border-bottom: 1px solid var(--border-subtle); padding: 10px; gap: 4px;
  }
  .pack-grid { grid-template-columns: 1fr; }
  .contents-grid { grid-template-columns: 1fr; }
  .hub-feature-grid { grid-template-columns: 1fr; }
  .hub-card { padding: 32px 22px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .lyric-preview-actions { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  section { padding: 52px 0; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ============================================================
   FUN + INTERACTIVE TOUCHES
   ============================================================ */

/* Scroll-reveal: content fades/slides in as it enters view. Guarded
   behind prefers-reduced-motion so it never blocks content for anyone
   who has motion turned down, and behind a .js-ready flag so it never
   hides content if JavaScript fails to load. */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  }
  .js-ready .reveal.in-view { opacity: 1; transform: none; }
}

/* Click-to-zoom screenshots */
.zoomable, .gc-img-wrap, .way-shot-wrap { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(5,10,20,.9);
  backdrop-filter: blur(2px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .18s ease;
}

.lightbox-overlay.open { display: flex; opacity: 1; }

.lightbox-overlay img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  transform: scale(.96);
  transition: transform .18s ease;
}

.lightbox-overlay.open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 42px;
  height: 42px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,.16); }

/* A little life on the primary buttons — a slow breathing glow that
   settles the moment you actually hover it. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 22px rgba(220,140,40,.22), inset 0 1px 0 rgba(255,255,255,.12); }
    50% { box-shadow: 0 0 34px rgba(220,140,40,.42), inset 0 1px 0 rgba(255,255,255,.12); }
  }
  .btn.primary { animation: pulseGlow 2.8s ease-in-out infinite; }
  .btn.primary:hover { animation: none; }
}

/* Playful pop on interactive cards */
.pack-card, .round-card, .audience-card, .way-card {
  transition: transform .2s ease, border-color .15s ease, box-shadow .2s ease;
}
.pack-card:hover, .round-card:hover, .audience-card:hover, .way-card:hover {
  transform: translateY(-5px);
}

/* Pack filter fade/scale transition instead of an instant jump-cut */
.pack-card { transition: opacity .22s ease, transform .22s ease; }
.pack-card.pc-hidden { opacity: 0; transform: scale(.93); pointer-events: none; }
