/* ------------------------------------------------------------------
   Lucky Video Quiz -- the TNM landing site.
   TNM Green #04AF01 and TNM Yellow #FFFD02 (Pantone 354 C / Yellow C).
   Yellow only ever sits on green or dark: on white it cannot be read.
   ------------------------------------------------------------------ */
@font-face { font-family: 'Fredoka'; src: url(../fonts/fredoka.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url(../fonts/outfit.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Mitr'; src: url(../fonts/mitr-medium.woff2) format('woff2'); font-weight: 400 500; font-display: swap; unicode-range: U+0E00-0E7F, U+200C-200D, U+25CC; }
@font-face { font-family: 'Mitr'; src: url(../fonts/mitr-semibold.woff2) format('woff2'); font-weight: 600 700; font-display: swap; unicode-range: U+0E00-0E7F, U+200C-200D, U+25CC; }

:root {
  --g: #04AF01;              /* TNM Green */
  --y: #FFFD02;              /* TNM Yellow */
  --g-bright: #1BD118;
  --g-mid: #038A0F;
  --g-deep: #01420E;
  --g-dark: #012A09;
  --g-night: #011A06;
  --ink: #FFFFFF;
  --muted: rgba(255, 255, 255, .82);
  --dim: rgba(255, 255, 255, .6);
  --card: rgba(255, 255, 255, .07);
  --card-2: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .16);
  --red: #FF5E5E;
  --gold: #FFC24D;
  --radius: 22px;
  --display: 'Fredoka', 'Mitr', system-ui, sans-serif;
  --body: 'Outfit', 'Mitr', system-ui, sans-serif;
  --pad: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.5 var(--body); overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(27, 209, 24, .35), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(4, 175, 1, .25), transparent 60%),
    linear-gradient(180deg, var(--g-deep) 0%, var(--g-dark) 55%, var(--g-night) 100%);
  background-color: var(--g-dark);
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: .2px; }
h2 { font-size: clamp(30px, 6.4vw, 46px); }
.hl { color: var(--y); }
section { position: relative; }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 40; background: rgba(1, 42, 9, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.brand .star { width: 34px; height: 34px; flex: none; }
.brand b { text-transform: uppercase; font: 700 19px/1 var(--display); color: var(--y); letter-spacing: .3px; white-space: nowrap; text-shadow: 0 2px 0 var(--g-dark); }
.brand small { display: block; font: 600 10.5px/1 var(--body); color: var(--muted); letter-spacing: 1.2px; margin-top: 3px; }
.tnm { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 5px; background: var(--g); color: #fff; font: 700 10px/1.4 var(--body); letter-spacing: .5px; }
.spacer { flex: 1; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--card); }
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 12px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px/1 var(--body);
}
.iconbtn:hover { background: var(--card-2); }
.iconbtn .globe { font-size: 16px; }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }

/* the demo ribbon: nothing here charges anyone */
.demo-ribbon { background: var(--y); color: var(--g-dark); text-align: center; font: 700 12px/1 var(--body); padding: 6px 10px; letter-spacing: .4px; }

/* -------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 10px 26px; border-radius: 999px; border: 0; text-decoration: none;
  font: 700 19px/1.1 var(--display); letter-spacing: .3px; transition: transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-main { background: var(--y); color: var(--g-dark); box-shadow: 0 8px 0 #BDB900, 0 14px 30px rgba(255, 253, 2, .25); }
.btn-main:hover { box-shadow: 0 8px 0 #BDB900, 0 16px 40px rgba(255, 253, 2, .4); }
.btn-main small { display: block; font: 600 12.5px/1 var(--body); opacity: .75; margin-top: 3px; }
.btn-main .stack { display: flex; flex-direction: column; align-items: flex-start; }
.btn-main::after {            /* a shine that sweeps across now and then */
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg);
  animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-green { background: var(--g); color: #fff; box-shadow: 0 7px 0 #027A00; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; font-size: 16px; padding: 8px 18px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 26px 0 30px; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 56px 0 64px; } .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.countdown {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 16px;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line); font: 600 13.5px/1.2 var(--body); color: var(--muted);
}
.countdown .fire { font-size: 16px; }
.cd { display: inline-flex; gap: 4px; }
.cd span { display: inline-flex; flex-direction: column; align-items: center; min-width: 42px; padding: 4px 4px 3px; border-radius: 10px; background: var(--g); color: #fff; }
.cd b { font: 700 18px/1 var(--display); font-variant-numeric: tabular-nums; }
.cd i { font: 600 9.5px/1.2 var(--body); font-style: normal; opacity: .85; text-transform: uppercase; letter-spacing: .5px; }
.hero h1 { font-size: clamp(46px, 12.5vw, 76px); margin: 16px 0 12px; text-shadow: 0 4px 0 var(--g-dark); }
.hero h1 .l1 { display: block; }
.hero h1 .win { display: inline-block; color: var(--y); transform-origin: 30% 80%; animation: wobble 2.6s ease-in-out infinite; }
@keyframes wobble { 0%, 70%, 100% { transform: rotate(0) scale(1); } 76% { transform: rotate(-6deg) scale(1.08); } 84% { transform: rotate(5deg) scale(1.1); } 92% { transform: rotate(-2deg) scale(1.03); } }
.lead { font-size: clamp(17px, 4.3vw, 20px); color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.grand {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; margin-bottom: 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 253, 2, .18), rgba(255, 253, 2, .05)); border: 1.5px solid rgba(255, 253, 2, .55);
}
.grand .trophy { font-size: 34px; line-height: 1; animation: bounce 2s ease-in-out infinite; }
.grand span { display: block; font: 600 13px/1.2 var(--body); color: var(--muted); }
.grand b { display: block; font: 700 clamp(26px, 7vw, 34px)/1.05 var(--display); color: var(--y); }
.grand b small { font: 600 14px var(--body); color: var(--ink); margin-left: 4px; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px) rotate(-4deg); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sms-line { margin: 14px 0 0; color: var(--dim); font-size: 14.5px; }
/* one column (phones, tablets): the hero is centred; side by side (desktop) it stays left-aligned */
@media (max-width: 899px) {
  .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero .countdown { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .grand { text-align: left; }
  .hero .cta-row { justify-content: center; }
  .hero .cta-row .btn { width: min(300px, 100%); }
}
.sms-line a { color: var(--ink); font-weight: 700; text-decoration-color: rgba(255, 253, 2, .6); text-underline-offset: 3px; }
.sms-line kbd { font: 700 13.5px/1 var(--body); background: var(--y); color: var(--g-dark); border-radius: 6px; padding: 3px 6px; }

/* the phone with the promo, and the things floating round it */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.stage .rays {
  position: absolute; width: 640px; height: 640px; border-radius: 50%; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 253, 2, .22) 0 9deg, transparent 9deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: relative; z-index: 2; width: min(280px, 72vw); aspect-ratio: 9 / 16; padding: 10px; border-radius: 40px;
  background: linear-gradient(160deg, #1b1b1b, #000); box-shadow: 0 0 0 3px #2c2c2c, 0 30px 60px rgba(0, 0, 0, .55), 0 0 80px rgba(4, 175, 1, .45);
  transform: rotate(-4deg); animation: float 6s ease-in-out infinite;
}
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 70px; height: 7px; margin-left: -35px; border-radius: 6px; background: #111; z-index: 3; }
.phone video, .phone img.poster { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: var(--g-deep); }
.phone .play {
  position: absolute; inset: 10px; border-radius: 30px; display: grid; place-items: center; background: transparent; border: 0; color: var(--y);
}
.phone .play span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); font-size: 32px; }
.phone .play[hidden] { display: none; }
@keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.float { position: absolute; z-index: 3; pointer-events: none; }
.coin {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #9C9200; font: 700 22px/1 var(--display);
  background: radial-gradient(circle at 35% 30%, #FFFFB8, var(--y) 45%, #D6CF00); box-shadow: inset 0 0 0 4px #CFC700, 0 6px 14px rgba(0, 0, 0, .35);
  animation: coinSpin 3s ease-in-out infinite;
}
@keyframes coinSpin { 0%, 100% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-14px) rotateY(180deg); } }
.f1 { top: 8%; left: 6%; } .f2 { top: 20%; right: 4%; animation-delay: -1s; width: 34px; height: 34px; font-size: 17px; }
.f3 { bottom: 16%; left: 2%; animation-delay: -2s; width: 30px; height: 30px; font-size: 15px; } .f4 { bottom: 6%; right: 12%; animation-delay: -.5s; }
.sticker {
  position: absolute; z-index: 4; padding: 8px 12px; border-radius: 16px; font: 700 15px/1.1 var(--display); text-align: center;
  background: var(--y); color: var(--g-dark); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); transform: rotate(8deg);
}
.sticker small { display: block; font: 600 11px/1.2 var(--body); }
.s1 { top: 10%; right: -2%; } .s2 { bottom: 14%; left: -4%; background: #fff; transform: rotate(-7deg); }
.stage .nyota-host { position: absolute; z-index: 4; bottom: -2%; right: 4%; margin: 0; }
.stage .nyota { width: 96px; height: 96px; }
@media (min-width: 900px) { .stage { min-height: 600px; } .phone { width: 300px; } .s1 { right: 4%; } .s2 { left: 2%; } }

/* ----------------------------------------------------------- theme strip */
.strip-box { overflow: hidden; padding: 14px 0; margin: -8px 0; }
.strip { background: var(--y); color: var(--g-dark); overflow: hidden; transform: rotate(-1.6deg) scale(1.04); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.strip-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.strip-track span { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; font: 700 18px/1 var(--display); white-space: nowrap; }
.strip-track span::after { content: '★'; margin-left: 22px; color: var(--g); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- sections */
.sec { padding: 64px 0; }
.sec-head { text-align: center; margin: 0 auto 28px; max-width: 40em; }
.sec-head p { color: var(--muted); margin: 10px 0 0; font-size: 17px; }
.kicker { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--y); margin-bottom: 10px; }

/* --------------------------------------------------------------- try it */
.try-card {
  position: relative; max-width: 460px; margin: 0 auto; padding: 14px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)); border: 1.5px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.try-top { display: flex; align-items: center; justify-content: space-between; margin: 2px 4px 12px; font: 600 14px/1 var(--body); color: var(--muted); }
.try-score { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); color: var(--y); font: 700 15px/1 var(--display); }
.try-score .coin { width: 20px; height: 20px; font-size: 11px; box-shadow: inset 0 0 0 2px #CFC700; animation: none; }
.try-score.bump { animation: bump .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 40% { transform: scale(1.3); } }
.try-clip { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--y); }
.try-clip video { width: 100%; height: 100%; object-fit: cover; }
.try-clip .note { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 10px; background: rgba(0, 0, 0, .55); font: 600 13px/1 var(--body); }
.try-clip .note[hidden] { display: none; }
.try-clip .verdict {
  position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(30px, 8vw, 44px)/1 var(--display); color: var(--y);
  text-shadow: 0 4px 0 var(--g-dark), 0 0 20px rgba(0, 0, 0, .6); pointer-events: none; opacity: 0; transform: scale(.6);
}
.try-clip .verdict.show { animation: verdictIn .5s cubic-bezier(.25, 1.6, .45, 1) forwards; }
.try-clip .verdict.no { color: #fff; }
@keyframes verdictIn { to { opacity: 1; transform: scale(1); } }
.try-q { font: 700 21px/1.25 var(--display); text-align: center; margin: 14px 6px 12px; min-height: 1.25em; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ans {
  display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 10px; border-radius: 16px; border: 0; text-align: left;
  background: #fff; color: var(--g-dark); font: 600 16px/1.15 var(--body); box-shadow: 0 5px 0 #CFE7CF; transition: transform .12s ease, opacity .2s;
  animation: ansIn .4s cubic-bezier(.3, 1.5, .5, 1) backwards;
}
.ans:nth-child(2) { animation-delay: .06s; } .ans:nth-child(3) { animation-delay: .12s; } .ans:nth-child(4) { animation-delay: .18s; }
@keyframes ansIn { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.ans .key { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #fff; font: 700 14px/1 var(--display); }
.ans:disabled { cursor: default; }
.answers.wait .ans { opacity: .55; }
.ans.ok { background: var(--y); box-shadow: 0 5px 0 #BDB900, 0 0 26px rgba(255, 253, 2, .55); }
.ans.ok .key { background: var(--g-dark); color: var(--y); }
.ans.no { background: var(--red); color: #fff; box-shadow: 0 5px 0 #B53737; animation: shake .4s; }
.ans.no .key { background: #fff; color: var(--red); }
.ans.dim { opacity: .45; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.try-foot { display: flex; align-items: center; gap: 10px; min-height: 64px; margin-top: 12px; }
.try-foot .nyota-host { margin: 0; }
.try-foot .nyota { width: 64px; height: 64px; }
.try-msg { flex: 1; font: 600 15px/1.3 var(--body); color: var(--muted); }
.try-end { text-align: center; padding: 14px 6px 6px; }
.try-end[hidden], .try-play[hidden] { display: none; }
.try-end .big { font: 700 clamp(30px, 8vw, 40px)/1.1 var(--display); color: var(--y); margin: 6px 0 8px; }
.try-end p { color: var(--muted); margin: 0 0 16px; }
.try-end .again { margin-top: 12px; background: none; border: 0; color: var(--muted); text-decoration: underline; font-weight: 600; }

/* ------------------------------------------------------------ how it works */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; }
.step .ico { width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 26px; display: grid; place-items: center; font-size: 38px; background: var(--g); box-shadow: 0 8px 0 var(--g-mid), inset 0 -6px 0 rgba(0, 0, 0, .12); }
.step .num { position: absolute; top: 14px; left: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: var(--g-dark); font: 700 17px/1 var(--display); }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- prizes */
.prizes { background: radial-gradient(700px 400px at 50% 10%, rgba(255, 253, 2, .14), transparent 70%); }
.pot { text-align: center; margin-bottom: 26px; }
.pot .amount { font: 700 clamp(48px, 13vw, 92px)/1 var(--display); color: var(--y); text-shadow: 0 5px 0 var(--g-dark), 0 0 40px rgba(255, 253, 2, .35); font-variant-numeric: tabular-nums; }
.pot .amount small { font-size: .42em; color: var(--ink); vertical-align: .55em; margin-right: 8px; text-shadow: none; }
.pot p { margin: 8px 0 0; font: 600 18px/1.3 var(--body); color: var(--muted); }
.tiers { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier {
  position: relative; padding: 20px 14px 18px; border-radius: var(--radius); text-align: center; background: var(--card); border: 1.5px solid var(--line);
  transition: transform .2s ease;
}
.tier:hover { transform: translateY(-4px); }
.tier .medal { font-size: 38px; line-height: 1; }
.tier .who { font: 600 14px/1.2 var(--body); color: var(--muted); margin: 8px 0 2px; }
.tier .amt { font: 700 clamp(16px, 4.5vw, 28px)/1.1 var(--display); white-space: nowrap; }
.tier:not(.t1) { padding: 16px 6px 14px; }
.tier:not(.t1) .medal { font-size: 30px; }
.tier .what { font: 600 13px/1.2 var(--body); color: var(--dim); margin-top: 3px; }
.tier.t1 { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(255, 253, 2, .28), rgba(255, 253, 2, .06)); border-color: rgba(255, 253, 2, .7); box-shadow: 0 0 40px rgba(255, 253, 2, .18); }
.tier.t1 .amt { color: var(--y); font-size: clamp(34px, 9vw, 46px); }
@media (min-width: 760px) { .tier.t1 { grid-column: auto; } .tier.t1 .amt { font-size: clamp(28px, 3.1vw, 38px); } .tier:not(.t1) { padding: 20px 14px 18px; } }
.tie { text-align: center; color: var(--dim); margin: 18px 0 0; font-size: 14.5px; }
.center { text-align: center; margin-top: 22px; }

/* ----------------------------------------------------------------- games */
.games { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 14px; overflow-x: auto; padding: 4px var(--pad) 18px; margin: 0 calc(-1 * var(--pad));
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.games::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .games { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }
.game { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.game:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.game .shot { position: relative; aspect-ratio: 16 / 10; background: #000 center / cover no-repeat; }
.game .tag { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: var(--y); color: var(--g-dark); font: 700 12px/1 var(--body); letter-spacing: .4px; }
.game .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game h3 { font-size: 21px; }
.game p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.game .btn { margin-top: 8px; align-self: flex-start; }

/* --------------------------------------------------------------- pricing */
.plans { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1.1fr .9fr; } }
.plan { position: relative; padding: 24px 22px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); }
.plan.best { background: linear-gradient(160deg, rgba(4, 175, 1, .55), rgba(4, 175, 1, .12)); border-color: var(--g-bright); }
.plan .ribbon { position: absolute; top: -12px; right: 18px; padding: 6px 12px; border-radius: 999px; background: var(--y); color: var(--g-dark); font: 700 12px/1 var(--body); }
.plan h3 { font-size: 22px; color: var(--muted); }
.plan .price { font: 700 44px/1 var(--display); margin: 10px 0 2px; }
.plan .price small { display: block; margin-top: 6px; font: 600 15px var(--body); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: var(--g-dark); font: 700 13px/1 var(--display); margin-top: 1px; }

/* ------------------------------------------------------------------- faq */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; font: 600 17.5px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--g); font: 700 20px/1 var(--body); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--y); color: var(--g-dark); }
.faq details p, .faq details ul { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.faq details ul { padding-left: 36px; display: grid; gap: 6px; }
.games [hidden] { display: none; }
/* text written in the console's editor: an FAQ answer, the terms, the privacy policy */
.rich { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0; } .rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 12px; } .rich h2, .rich h3, .rich h4 { color: var(--ink); font-family: var(--display); margin: 22px 0 8px; line-height: 1.25; }
.rich h2 { font-size: 22px; } .rich h3 { font-size: 18px; } .rich h4 { font-size: 16px; }
.rich ul, .rich ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; } .rich a { color: var(--y); }
.rich blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 3px solid var(--g); background: var(--card); border-radius: 0 12px 12px 0; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.faq details .rich { padding: 0 18px 16px; }
.doc-page { max-width: 820px; } .doc { padding: 22px; } .doc-builtin h3 { font: 600 19px var(--display); margin-bottom: 10px; } .doc-builtin ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }

/* ---------------------------------------------------------- final CTA band */
.final { padding: 0; }
.final .band {
  position: relative; overflow: hidden; margin: 20px auto 0; padding: 34px 22px; border-radius: 30px; text-align: center; background: var(--y); color: var(--g-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.final .band::before { content: ''; position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg, rgba(4, 175, 1, .1) 0 10deg, transparent 10deg 22deg); animation: spin 50s linear infinite; }
.final .band > * { position: relative; }
.final h2 { font-size: clamp(28px, 7vw, 42px); }
.final p { margin: 10px 0 20px; font: 600 17px/1.4 var(--body); }
.final .nyota-host { margin: -6px 0 6px; }
.final .nyota { width: 110px; height: 110px; }
.final .btn-green { min-height: 60px; font-size: 21px; }
.final .sms-line { color: var(--g-deep); }
.final .sms-line a { color: var(--g-dark); text-decoration-color: rgba(1, 42, 9, .5); }

/* ---------------------------------------------------------------- footer */
.foot { padding: 40px 0 120px; color: var(--dim); font-size: 14px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.foot .links a { color: var(--muted); font-weight: 600; text-decoration: none; }
.foot .links a:hover { color: var(--ink); text-decoration: underline; }
.foot p { margin: 0 0 10px; max-width: 60em; }
.foot .brand b { font-size: 16px; }

/* ---------------------------------------------------------- sticky CTA */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(1, 26, 6, .92) 30%); transform: translateY(110%); transition: transform .3s ease;
}
.sticky.show { transform: none; }
.sticky .btn { width: 100%; max-width: 520px; margin: 0 auto; display: flex; }
@media (min-width: 900px) { .sticky { display: none; } }

/* --------------------------------------------------------- sheets/dialogs */
.sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(0, 10, 2, .66); display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .2s ease; }
.sheet-back[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #03501A, var(--g-dark)); border: 1px solid var(--line); box-shadow: 0 -20px 50px rgba(0, 0, 0, .45);
  animation: sheetUp .32s cubic-bezier(.2, 1.1, .3, 1);
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 600px) { .sheet-back { align-items: center; } .sheet { border-radius: 28px; } }
.sheet .x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card-2); color: var(--ink); font-size: 18px; }
.sheet h3 { font-size: 25px; margin: 4px 36px 14px 0; }
.sheet .step[hidden] { display: none; }
.sheet .step { padding: 0; background: none; border: 0; text-align: left; }
.field { display: flex; align-items: center; gap: 0; border-radius: 16px; background: #fff; color: var(--g-dark); overflow: hidden; box-shadow: 0 0 0 3px transparent; transition: box-shadow .2s; }
.field:focus-within { box-shadow: 0 0 0 3px var(--y); }
.field .pre { padding: 0 10px 0 16px; font: 700 18px/1 var(--display); color: var(--g-mid); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 16px 16px 16px 0; font: 700 20px/1 var(--display); letter-spacing: 1px; color: var(--g-dark); background: transparent; }
.label { display: block; font: 600 14px/1.2 var(--body); color: var(--muted); margin: 0 0 8px; }
.err { color: #FFB3B3; font-size: 14px; min-height: 20px; margin: 6px 2px 8px; }
.facts { list-style: none; margin: 0 0 14px; padding: 14px; border-radius: 16px; background: var(--card); display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; }
.facts li::before { content: '✓'; color: var(--y); font-weight: 800; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--y); flex: none; margin: 0; }
.otp { letter-spacing: 12px !important; text-align: center; padding-left: 16px !important; }
.hint { font-size: 13.5px; color: var(--dim); margin: 8px 2px 0; }
.alt { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: 14px; }
.done { text-align: center; }
.done .nyota-host { margin: 0 auto 4px; }
.done .nyota { width: 110px; height: 110px; }
.done p { color: var(--muted); margin: 0 0 18px; }
.done .btn + .btn { margin-top: 10px; }

.langs { display: grid; gap: 8px; }
.langs button { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 17px/1 var(--body); }
.langs button[aria-checked="true"] { border-color: var(--y); background: rgba(255, 253, 2, .12); }
.langs button[aria-checked="true"]::after { content: '✓'; color: var(--y); font-weight: 800; }
.menu-list { display: grid; gap: 8px; }
.menu-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); text-decoration: none; font: 600 17px/1 var(--body); }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--g-dark); font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
#fx { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ----------------------------------------------------- inner pages (board…) */
.page-head { padding: 30px 0 10px; }
.page-head h1 { font-size: clamp(32px, 8vw, 50px); }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.panel { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.panel + .panel { margin-top: 14px; }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .18); }
.row .rk { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); font: 700 16px/1 var(--display); }
.row.r1 .rk { background: var(--y); color: var(--g-dark); } .row.r2 .rk { background: #E6E6E6; color: #333; } .row.r3 .rk { background: #E0A15A; color: #3a2000; }
.row .nm { font-weight: 600; font-variant-numeric: tabular-nums; }
.row .pt { font: 700 18px/1 var(--display); color: var(--y); }
.row.me { background: rgba(255, 253, 2, .16); outline: 2px solid var(--y); }
.row.gap { background: none; text-align: center; grid-template-columns: 1fr; color: var(--dim); padding: 2px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; }
.kv dt { color: var(--dim); font-weight: 600; } .kv dd { margin: 0; font: 700 18px/1.2 var(--display); text-align: right; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: 700 14px/1 var(--body); }
.pill.on { background: var(--g); color: #fff; } .pill.off { background: var(--card-2); color: var(--muted); }
.big-coins { display: flex; align-items: center; gap: 14px; }
.big-coins .coin { width: 64px; height: 64px; font-size: 30px; }
.big-coins b { font: 700 46px/1 var(--display); color: var(--y); }
.pack { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 253, 2, .2), rgba(255, 253, 2, .05)); border: 1.5px solid rgba(255, 253, 2, .6); }
.pack .stackc { display: flex; }
.pack .stackc .coin { width: 40px; height: 40px; margin-right: -14px; animation: none; }
.pack b { display: block; font: 700 24px/1.1 var(--display); }
.pack span { color: var(--muted); }
.pack-done { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); font-weight: 600; }
.pack-done > span:first-child { color: var(--y); font-weight: 700; }
#buyBox.used .pack { opacity: .55; filter: grayscale(.4); }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1.3fr 1fr; align-items: start; } }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------ Nyota (from the quiz) */
.nyota-host{display:flex;justify-content:center;margin:-6px 0 -2px;flex:none;}
.nyota{width:94px;height:94px;position:relative;}
.nyota-svg{width:100%;height:100%;display:block;overflow:visible;}
.n-body{transform-origin:60px 70px;animation:nBob 3.4s ease-in-out infinite;}
.n-glow{opacity:.5;}
.n-mouth{display:none;}
.n-eyes-shut{display:none;}
.n-fire{display:none;transform-origin:60px 20px;}
.nyota.idle  .m-idle{display:block;}
.nyota.think .m-idle{display:block;}
.nyota.happy .m-happy{display:block;}
.nyota.fire  .m-happy{display:block;}
.nyota.sad   .m-sad{display:block;}
.nyota.panic .m-panic{display:block;}
.nyota.blink .n-eyes{display:none;}
.nyota.blink .n-eyes-shut{display:block;}
.nyota.happy .n-body{animation:nJump .62s cubic-bezier(.25,1.6,.4,1) 2;}
.nyota.happy .n-eyes{display:none;}
.nyota.happy .n-eyes-shut{display:block;}
.nyota.happy .n-glow{opacity:1;}
.nyota.happy .n-cheek{opacity:.9;}
.nyota.sad .n-body{animation:nSink .5s ease-out forwards;}
.nyota.sad .n-glow{opacity:.2;}
.nyota.sad .n-pupil{transform:translateY(2px);}
.nyota.fire .n-fire{display:block;animation:nFlame .42s ease-in-out infinite alternate;}
.nyota.fire .n-body{animation:nBob 1.1s ease-in-out infinite;}
.nyota.fire .n-glow{opacity:1;animation:nPulse .9s ease-in-out infinite;}
@keyframes nBob{0%,100%{transform:translateY(0) rotate(-1.5deg);}50%{transform:translateY(-5px) rotate(1.5deg);}}
@keyframes nJump{0%{transform:translateY(0) scale(1,1);}  28%{transform:translateY(-19px) scale(.93,1.09);}  55%{transform:translateY(0) scale(1.09,.9);}  75%{transform:translateY(-5px) scale(1,1);}  100%{transform:translateY(0) scale(1,1);}}
@keyframes nSink{to{transform:translateY(7px) scale(1.04,.9) rotate(0deg);}}
@keyframes nFlame{from{transform:scaleY(.82) translateY(2px);}to{transform:scaleY(1.15) translateY(-2px);}}
@keyframes nPulse{0%,100%{opacity:.6;}50%{opacity:1;}}

/* --------------------------------------------------- calm, when asked */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------ the smallest phones */
@media (max-width: 370px) {
  .brand .star { width: 28px; height: 28px; }
  .brand b { font-size: 15px; }
  .brand small { font-size: 9.5px; }
  .top .wrap { gap: 6px; }
  .iconbtn { height: 38px; min-width: 38px; padding: 0 9px; font-size: 13px; }
  .sticky .btn { font-size: 16.5px; min-height: 52px; padding: 8px 18px; }
}

/* ------------------------------------------------------------------ console-controlled sections */
/* Until the published content is in (html.lq-wait, at most 1.5 s, and not at
   all once a visit has left a copy of it), the sections a switch can remove
   and the figures the console sets (prizes, prices, keywords, rule numbers:
   empty in the page itself) keep their space but stay unseen. The wording
   shows at once, so a first visit on a slow line is never a blank page. */
.lq-wait [data-if], .lq-wait [data-prize], .lq-wait [data-price], .lq-wait [data-rule], .lq-wait [data-sms-kw], .lq-wait [data-sc], .lq-wait #potAmount { visibility: hidden; }
.preview-tag { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 200; padding: 8px 14px; border-radius: 999px; background: #111; color: #FFFD02; font: 700 12.5px var(--body); text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); white-space: nowrap; }
