/* Super Lotto Live — "Live Studio" design system
   Palette: stage gradient (ink violet → purple → magenta) with silver-chrome beams.
   Display: Unbounded · Body: Figtree
   Signature devices: crossing spotlight beams, glossy stage floor, chrome-edged set pieces. */

:root {
  --ink: #14041f;            /* studio blackout */
  --stage-1: #22073a;        /* deep purple */
  --stage-2: #3d0c63;        /* stage purple */
  --stage-3: #6a1276;        /* plum wash */
  --magenta: #d4147f;        /* key gel */
  --magenta-hot: #ff3fa4;    /* tally light */
  --violet: #8a3cf0;         /* back-light */
  --chrome-hi: #f4f5fa;
  --chrome: #c7cad8;
  --chrome-mid: #9095ab;
  --chrome-lo: #5b5f75;
  --text: #f7eefa;
  --text-soft: #d9c7e4;
  --text-dim: #b39cc4;
  --win: #7cf0c4;
  --lose: #ff8fa3;
  --radius: 18px;
  --radius-sm: 10px;
  --chrome-edge: linear-gradient(135deg, #ffffff 0%, #9095ab 22%, #e9ebf3 45%, #5b5f75 68%, #f4f5fa 88%, #9095ab 100%);
  --stage-grad: linear-gradient(160deg, #14041f 0%, #2a0848 38%, #5a0f6e 72%, #a3127a 100%);
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  background-image: var(--stage-grad);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--magenta-hot); text-underline-offset: 3px; }
a:hover { color: var(--chrome-hi); }
:focus-visible { outline: 3px solid var(--magenta-hot); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--chrome-hi); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--text-soft); max-width: 62ch; }

/* chrome text — silver lettering used on key headlines */
.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #e6e8f0 42%, #8d91a8 52%, #f4f5fa 78%, #c7cad8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gel { color: var(--magenta-hot); }

/* ---------- On-air tally pill ---------- */
.tally {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(20, 4, 31, .55);
  border: 1px solid rgba(255, 63, 164, .55);
  color: var(--chrome-hi);
}
.tally::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--magenta-hot);
  box-shadow: 0 0 0 3px rgba(255, 63, 164, .25);
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  min-width: 44px; height: 30px; padding: 0 10px; border-radius: 8px;
  color: var(--ink); background: var(--chrome-edge);
}

/* ---------- Chrome-edged set piece ---------- */
.set-piece {
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(170deg, rgba(42, 8, 72, .96), rgba(26, 5, 44, .98)) padding-box,
    var(--chrome-edge) border-box;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}

/* ---------- Glossy stage floor ---------- */
.stage-floor { position: relative; overflow: hidden; }
.stage-floor::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 86px;
  pointer-events: none;
  border-top: 1px solid rgba(244, 245, 250, .35);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(255, 63, 164, .28), transparent 70%),
    linear-gradient(180deg, rgba(244, 245, 250, .16) 0%, rgba(244, 245, 250, .03) 45%, rgba(20, 4, 31, .4) 100%);
}

/* ---------- Crossing spotlight beams ---------- */
.beams { position: relative; isolation: isolate; overflow: hidden; }
.beams::before, .beams::after {
  content: "";
  position: absolute; top: -12%;
  width: 46%; height: 135%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(244, 245, 250, .42) 0%, rgba(230, 200, 245, .16) 45%, rgba(255, 63, 164, 0) 100%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
}
.beams::before { left: -2%;  transform: rotate(-24deg); transform-origin: 50% 0; }
.beams::after  { right: -2%; transform: rotate(24deg);  transform-origin: 50% 0; }
.beams--soft::before, .beams--soft::after { opacity: .55; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(20, 4, 31, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 202, 216, .22);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta-hot) 30%, var(--chrome-hi) 50%, var(--magenta-hot) 70%, transparent);
  opacity: .7;
}
.header-row { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--chrome-edge); padding: 2px;
}
.brand-mark span {
  display: block; width: 100%; height: 100%; border-radius: 9px;
  background:
    linear-gradient(118deg, transparent 38%, rgba(244,245,250,.75) 39%, rgba(244,245,250,.2) 49%, transparent 50%),
    linear-gradient(62deg, transparent 50%, rgba(244,245,250,.2) 51%, rgba(244,245,250,.75) 61%, transparent 62%),
    linear-gradient(170deg, #3d0c63, #d4147f);
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--text-soft);
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { color: var(--chrome-hi); background: rgba(244, 245, 250, .08); }
.nav a[aria-current="page"] { color: var(--chrome-hi); background: rgba(212, 20, 127, .28); box-shadow: inset 0 0 0 1px rgba(255, 63, 164, .55); }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: linear-gradient(180deg, #ff3fa4 0%, #d4147f 55%, #9c0f68 100%);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--btn-bg);
  border: 0; border-radius: 12px; padding: 13px 22px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 24px -10px rgba(212, 20, 127, .9);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--chrome {
  --btn-bg: linear-gradient(180deg, #ffffff 0%, #d8dbe6 48%, #9095ab 52%, #e6e8f0 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -12px rgba(0,0,0,.8);
}
.btn--chrome:hover { color: var(--ink); }
.btn--ghost { --btn-bg: rgba(244, 245, 250, .06); box-shadow: inset 0 0 0 1.5px rgba(199, 202, 216, .55); }
.btn[disabled] { opacity: .38; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.btn--sm { padding: 9px 14px; font-size: .72rem; border-radius: 10px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--chrome); margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--magenta-hot); vertical-align: middle; margin-right: 10px; }

.page-head { padding: 70px 0 56px; text-align: center; }
.page-head .lede { margin: 0 auto; }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 40px; }
.hero--visual { padding: 0 0 28px; }
.hero-stage {
  width: 100%;
  max-height: min(72vh, 720px);
  overflow: hidden;
  background: #1a0508;
}
.hero-img {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
  object-position: center 42%;
}
.hero-intro {
  padding-top: 36px;
  padding-bottom: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  letter-spacing: .04em;
  margin: 0 0 14px;
  color: var(--chrome-hi);
}
.hero-intro h1 {
  max-width: 18ch;
  margin-bottom: 14px;
}
.hero-intro .lede {
  margin: 0 auto 22px;
  text-align: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-top { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.hero-side { padding: 24px 26px; }
.hero-side p { font-size: .95rem; color: var(--text-soft); margin: 0 0 .7em; }
.hero-side p:last-child { margin: 0; }
.hero-side strong { color: var(--chrome-hi); }

/* ---------- Content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.cue { padding: 28px 26px 96px; }
.cue-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.cue p { color: var(--text-soft); margin: 0; font-size: .98rem; }

.marquee-panel { padding: 44px 40px 110px; text-align: center; }
.marquee-panel h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.marquee-panel p { max-width: 58ch; margin: 0 auto 26px; color: var(--text-soft); }

.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(199, 202, 216, .3);
  background: rgba(20, 4, 31, .5);
}
.trust-strip > div { padding: 22px 22px; border-right: 1px solid rgba(199, 202, 216, .18); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip b { display: block; font-family: var(--font-display); font-size: .82rem; letter-spacing: .05em; color: var(--chrome-hi); margin-bottom: 6px; }
.trust-strip span { font-size: .9rem; color: var(--text-soft); line-height: 1.5; display: block; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--text); }
.doc { padding: 48px 48px 120px; }
.doc .updated { font-size: .9rem; color: var(--text-dim); }

.faq { display: grid; gap: 16px; }
.faq-item { padding: 24px 26px; border-radius: var(--radius-sm); background: rgba(20, 4, 31, .5); border-left: 3px solid var(--magenta-hot); }
.faq-item h3 { margin-bottom: .5em; }
.faq-item p { margin: 0; color: var(--text-soft); }
.contact-card { padding: 32px 30px 110px; }
.contact-card .mail { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; word-break: break-all; }

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius-sm);
  background: rgba(212, 20, 127, .14); border: 1px solid rgba(255, 63, 164, .45);
}
.notice p { margin: 0; color: var(--text-soft); }
.notice strong { color: var(--chrome-hi); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: rgba(12, 2, 20, .88); border-top: 1px solid rgba(199, 202, 216, .22); padding: 56px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--chrome); margin-bottom: 14px; }
.site-footer p { color: var(--text-dim); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: var(--chrome-hi); text-decoration: underline; }
.footer-age { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-age p { margin: 0; color: var(--text-soft); }
.footer-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(199, 202, 216, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-dim); font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav a { padding: 8px 9px; font-size: .9rem; }
  .header-cta .btn { display: none; }
}
@media (max-width: 900px) {
  .hero-top, .split { grid-template-columns: 1fr; gap: 28px; }
  .cues { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(199, 202, 216, .18); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
/* Mobile nav: the menu becomes an always-visible "channel strip" row under the logo */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header { position: static; }
  .header-row { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 12px; }
  .brand { padding-bottom: 10px; }
  .header-cta { padding-bottom: 10px; }
  .nav {
    order: 3; width: calc(100% + 32px); margin: 0 -16px;
    padding: 8px 16px 10px; gap: 6px;
    overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid rgba(199, 202, 216, .16);
    background: linear-gradient(90deg, rgba(212,20,127,.12), rgba(138,60,240,.12));
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; font-size: .85rem; padding: 7px 12px; background: rgba(244,245,250,.06); }
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 24px; }
  .hero--visual { padding: 0 0 20px; }
  .hero-stage, .hero-img { max-height: min(56vh, 480px); height: min(56vh, 480px); }
  .hero-intro { padding-top: 24px; }
  .doc { padding: 28px 20px 110px; }
  .marquee-panel { padding: 32px 20px 100px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { border-right: 0 !important; border-bottom: 1px solid rgba(199, 202, 216, .18); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 44px 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
