/* Shared stylesheet for soiraye.com deep-dive pages (/trivia, /bingo, /channel).
   Mirrors the design system inlined in index.html so the walkthrough pages
   match the homepage exactly, plus walkthrough-specific components. */
:root {
  --bg: #09090B;
  --surface: #111827;
  --surface-2: #151A24;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #F8FAFC;
  --muted: #A1A1AA;
  --dim: #71717A;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --magenta: #EC4899;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 30px 90px rgba(0,0,0,.55);
  --glow: 0 0 42px rgba(236,72,153,.45), 0 0 72px rgba(139,92,246,.20);
  /* Per-page accent — overridden inline on <body data-product>. */
  --accent: var(--cyan);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: radial-gradient(circle at top left, rgba(139,92,246,.18), transparent 34rem), radial-gradient(circle at 80% 10%, rgba(34,211,238,.13), transparent 28rem), radial-gradient(circle at 30% 85%, rgba(236,72,153,.20), transparent 32rem), var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at center, black 0%, transparent 78%); opacity: .32; z-index: 0; }
a { color: inherit; text-decoration: none; }
section { padding: 84px 5vw; border-bottom: 1px solid var(--line); position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; margin-bottom: 14px; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(40px, 6vw, 78px); line-height: .94; max-width: 900px; }
h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.0; }
h3 { font-size: 22px; line-height: 1.15; }
p { color: var(--muted); margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 680px; margin-top: 22px; line-height: 1.55; }
.gradient-text { background: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan)); -webkit-background-clip: text; color: transparent; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(9,9,11,.68); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 16px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: white; text-decoration: none; }
.brand-lockup { height: 72px; width: auto; display: block; filter: drop-shadow(0 0 26px rgba(236,72,153,.38)); }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.actions { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 800; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, border-color .2s ease, background .2s ease; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--magenta), var(--violet)); box-shadow: var(--glow); color: white; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.05); color: white; }
.btn-secondary:hover { border-color: var(--line-strong); }
.btn-ghost { color: var(--muted); background: transparent; border-color: var(--line); }
.btn-ghost:hover { color: white; border-color: var(--line-strong); }

.status-tag { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.status-tag.live { color: var(--green); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.30); }
.status-tag.new { color: var(--magenta); background: rgba(236,72,153,.12); border: 1px solid rgba(236,72,153,.30); }
.status-tag.soon { color: var(--amber); background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.30); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; animation: livepulse 2.2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* Breadcrumb */
.crumb { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 22px; }
.crumb a:hover { color: var(--text); }
.crumb span { color: var(--muted); }

/* Page hero */
.page-hero { padding-top: 56px; padding-bottom: 64px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-tags .pill { font-size: 13px; font-weight: 700; color: var(--muted); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* Page hero cinematic image */
.page-hero-shot { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset; position: relative; background: #050208; }
.page-hero-shot img { display: block; width: 100%; height: auto; }
.page-hero-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: 0 0 120px rgba(236,72,153,.18) inset, 0 0 60px rgba(139,92,246,.12) inset; border-radius: var(--radius-lg); }
@media (max-width: 880px) { .page-hero-shot { margin-top: 32px; } }

/* Section heading block */
.element-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.element-title p { max-width: 460px; }

/* Cards */
.card { background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028)); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; box-shadow: 0 18px 55px rgba(0,0,0,.24); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.card h3 { color: white; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.55; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Walkthrough console rows — screenshot + plain-English breakdown */
.walk { display: grid; gap: 0; }
.walk-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 52px; align-items: center; padding: 60px 0; border-top: 1px solid var(--line); }
.walk-row:first-child { border-top: 0; padding-top: 8px; }
.walk-row.reverse .walk-shotwrap { order: 2; }
.walk-shotwrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)); box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.walk-shotwrap img { display: block; width: 100%; height: auto; }
.walk-shotwrap.portrait { max-width: 320px; margin: 0 auto; }
.walk-shotwrap.portrait img { max-height: 620px; object-fit: contain; background: #050208; }
.walk-copy .surface-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: white; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.walk-copy .surface-eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.walk-copy h3 { color: white; font-size: 26px; }
.walk-copy > p { margin-top: 12px; font-size: 16px; line-height: 1.6; }
@media (max-width: 880px) { .walk-row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; } .walk-row.reverse .walk-shotwrap { order: 0; } }

/* Checklist — "what's on this screen" */
.ticklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticklist li { position: relative; padding-left: 30px; font-size: 15px; color: var(--text); line-height: 1.45; }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(16,185,129,.16); }
.ticklist li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ticklist li b { color: white; font-weight: 700; }

/* Numbered "how a night runs" steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 22px 24px 22px 76px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.step-num { position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-family: "Space Grotesk"; font-weight: 800; font-size: 19px; color: white; background: linear-gradient(135deg, var(--magenta), var(--violet)); box-shadow: 0 8px 22px -8px rgba(236,72,153,.6); }
.step h4 { font-family: "Space Grotesk"; font-size: 18px; font-weight: 700; color: white; margin: 0 0 6px; letter-spacing: -.01em; }
.step p { font-size: 15px; line-height: 1.55; }

/* Mechanics grid */
.mech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mech { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 24px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)); }
.mech h4 { font-family: "Space Grotesk"; font-size: 17px; font-weight: 700; color: white; margin: 0 0 8px; letter-spacing: -.01em; }
.mech h4 .tg { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.mech p { font-size: 14.5px; line-height: 1.55; }
@media (max-width: 760px) { .mech-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Spec strip */
.spec-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.spec-item { font-size: 15px; color: var(--muted); line-height: 1.55; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.spec-item strong { color: var(--text); font-weight: 700; }
@media (max-width: 900px) { .spec-strip { grid-template-columns: 1fr; } }

/* CTA */
.cta-section { text-align: center; padding: 80px 5vw; }
.cta-section h2 { max-width: 720px; margin: 0 auto; }
.cta-section .lead { margin: 22px auto 30px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Cross-product nav at the bottom */
.crosslinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.crosslink { display: block; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; background: rgba(255,255,255,.025); transition: border-color .18s ease, transform .18s ease; }
.crosslink:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.crosslink .ce { font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.crosslink h4 { font-family: "Space Grotesk"; color: white; font-size: 22px; margin: 8px 0 6px; }
.crosslink p { font-size: 14px; line-height: 1.5; }
.crosslink .go { color: var(--text); font-weight: 700; font-size: 14px; margin-top: 14px; display: inline-block; }
@media (max-width: 760px) { .crosslinks { grid-template-columns: 1fr; } }

/* Comparison table — competitor / alternative / chooser pages */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 55px rgba(0,0,0,.24); -webkit-overflow-scrolling: touch;
  /* Reactive scroll shadows: solid "covers" (scroll with content, hide the
     shadow at each end) over fixed edge shadows — signals there's more to swipe. */
  background:
    linear-gradient(to right, var(--surface), rgba(17,24,39,0)) 0 0,
    linear-gradient(to left, var(--surface), rgba(17,24,39,0)) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.5), transparent) 0 0,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.5), transparent) 100% 0;
  background-repeat: no-repeat;
  background-size: 34px 100%, 34px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; background: rgba(255,255,255,.02); }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.cmp thead th { font-family: "Space Grotesk", Inter, sans-serif; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.cmp tbody th { font-weight: 600; color: var(--muted); width: 22%; }
.cmp .us { background: rgba(236,72,153,.07); color: white; }
.cmp thead .us { color: white; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp .yes { color: var(--green); font-weight: 700; }
.cmp .no { color: var(--dim); }
.cmp-note { font-size: 12px; color: var(--dim); margin-top: 12px; }
/* Swipe hint — only meaningful on touch / narrow screens */
.cmp-hint { display: none; }
@media (max-width: 640px) {
  /* Pin the row-label column so values stay oriented while you swipe the
     product columns; tighten sizing so more fits per screen. */
  .cmp { min-width: 528px; font-size: 13.5px; }
  .cmp th, .cmp td { padding: 12px 13px; }
  .cmp tbody th { width: auto; }
  .cmp thead th:first-child,
  .cmp tbody th {
    position: sticky; left: 0; z-index: 2;
    background: #0d0d13;
    box-shadow: 1px 0 0 var(--line);
  }
  .cmp-hint { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--dim); margin: 0 0 10px; }
  .cmp-hint::after { content: "→"; color: var(--accent); animation: swipehint 1.6s ease-in-out infinite; }
}
@keyframes swipehint { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Verdict / callout box */
.verdict { border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 26px 28px; background: linear-gradient(180deg, rgba(236,72,153,.08), rgba(139,92,246,.04)); }
.verdict h3 { color: white; margin-bottom: 10px; }
.verdict p { font-size: 16px; line-height: 1.6; }

/* FAQ — paired with FAQPage JSON-LD */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); padding: 2px 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: white; font-family: "Space Grotesk", Inter, sans-serif; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 16px 0; font-size: 15px; line-height: 1.6; }

.footer-links { max-width: 1240px; margin: 0 auto 26px; display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0 5vw 24px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.footer-links a { color: var(--muted); display: inline-block; padding: 7px 0; }
.footer-links a:hover { color: var(--text); }

footer { padding: 56px 5vw 50px; color: var(--muted); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner p { font-size: 13px; }
.footer-inner .brand-lockup { height: 56px; }

@media (max-width: 900px) {
  section { padding: 60px 5vw; }
  /* Brand + Sign in / Get set up stay on the top row; product links wrap to a
     full-width scrollable strip below so nothing (incl. Sign in) is hidden. */
  .nav-inner { padding: 12px 5vw; flex-wrap: wrap; row-gap: 10px; gap: 12px; }
  .nav-links { order: 99; width: 100%; flex-basis: 100%; gap: 20px; font-size: 13px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px;
    scrollbar-width: none; -ms-overflow-style: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; padding: 4px 0; }
  .actions .btn-secondary { display: inline-flex; }
}
