/* ICODES 1xBet promocode site. Breakpoints: mobile < 640px, tablet 640-1023px, desktop >= 1024px */
:root {
  --bg: #050B16; --surface: #0A1526; --surface-2: #0E1D35; --ink: #E8F1FF; --muted: #8FA6C4; --line: #1A2C47;
  --cyan: #2EC5FF; --cyan-soft: rgba(46,197,255,.14); --blue: #1F6FEB; --gold: #D4AF37; --gold-grad: linear-gradient(180deg, #F6E27A 0%, #D4AF37 55%, #A8842A 100%); --green: #16C47F; --green-hover: #12A86C;
  --tg: #229ED9; --hero-bg: #040912; --glow: 0 0 0 1px rgba(46,197,255,.35), 0 0 40px -8px rgba(46,197,255,.45);
  --ease: cubic-bezier(.2,.8,.2,1);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F2F6FC; --surface: #FFFFFF; --surface-2: #EAF1FA; --ink: #06142A; --muted: #4A5F7A; --line: #D3E0F0;
  --cyan: #0A86D0; --cyan-soft: rgba(10,134,208,.10); --glow: 0 0 0 1px rgba(10,134,208,.25), 0 18px 40px -18px rgba(10,134,208,.45);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 "Barlow", "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
@media (min-width: 640px) { body { font-size: 1.0625rem; } }
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: "Chakra Petch", "Barlow", Arial, sans-serif; line-height: 1.08; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
@media (min-width: 1024px) { .wrap { width: min(1160px, 100% - 4rem); } }
.narrow { max-width: 70ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -60px; background: var(--gold); color: #06142A; padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { top: calc(.5rem + env(safe-area-inset-top, 0px)); }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 700 1rem/1 "Chakra Petch", Arial, sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 4px; padding: 1rem 1.35rem; min-height: 48px;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-go { background: var(--green); color: #03140C; box-shadow: 0 0 0 0 rgba(22,196,127,0); }
.btn-go:hover { background: var(--green-hover); box-shadow: 0 0 28px -6px rgba(22,196,127,.7); }
.btn-dark { background: #06142A; color: #fff; border: 1px solid rgba(255,255,255,.12); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { background: #1B87BA; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(4,9,18,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(46,197,255,.14); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.3rem/1 "Chakra Petch", Arial, sans-serif; color: #fff; text-decoration: none; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--gold); }
.top nav { display: flex; gap: .35rem; align-items: center; }
.nav-link { color: #A9BDD8; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .7rem; border-radius: 4px; }
.nav-link:hover { color: #fff; background: rgba(46,197,255,.08); }
.tg-mini { background: var(--tg); color: #fff; text-decoration: none; padding: .55rem .85rem; border-radius: 4px; font-weight: 600; font-size: .95rem; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(46,197,255,.3); border-radius: 4px; background: transparent; color: #fff; cursor: pointer; }
.theme-toggle:hover { border-color: #2EC5FF; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
@media (max-width: 1023px) { .top nav .desk { display: none; } }

/* Hero: always dark, animated grid */
.hero { position: relative; background: var(--hero-bg); color: #fff; padding: 2.75rem 0 3.75rem; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -40px 0 0; z-index: -2;
  background-image: linear-gradient(rgba(46,197,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(46,197,255,.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  animation: grid 18s linear infinite;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,235,.45), rgba(46,197,255,.12) 40%, transparent 70%);
}
@keyframes grid { to { background-position: 0 44px, 44px 0; } }
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; color: #A9E6FF; border: 1px solid rgba(46,197,255,.35); background: rgba(46,197,255,.08); padding: .4rem .75rem; border-radius: 4px; margin-bottom: 1.25rem; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,196,127,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(22,196,127,0); } 100% { box-shadow: 0 0 0 0 rgba(22,196,127,0); } }
.hero h1 { font-size: clamp(2.5rem, 8.5vw, 4.6rem); margin-bottom: .35em; max-width: 11ch; letter-spacing: -.01em; }
.hero h1 .code-word { display: block; color: var(--gold); text-shadow: 0 0 30px rgba(212,175,55,.35); }
.hero .lede { font-size: 1.15rem; color: #B7C8E0; max-width: 38ch; margin-bottom: 0; }
.hero .fine { font-size: .85rem; color: #7C93B3; margin-top: 1.1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
@media (min-width: 640px) { .hero { padding: 3.75rem 0 4.75rem; } .hero-grid .holo { max-width: 480px; } }
@media (min-width: 768px) and (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .hero h1 { font-size: clamp(2.5rem, 6vw, 3.3rem); } }
@media (min-width: 1024px) { .hero { padding: 5.5rem 0 6.5rem; } .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } .hero-grid .holo { justify-self: end; width: 100%; } }
@media (max-width: 767px) { .hero-actions { display: none; } }

.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .05s; } .reveal.d2 { animation-delay: .15s; } .reveal.d3 { animation-delay: .25s; } .reveal.d4 { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Holo card: the signature element */
.holo {
  position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: 8px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, rgba(14,33,62,.92), rgba(6,14,28,.96));
  box-shadow: 0 0 0 1px rgba(46,197,255,.4), 0 0 60px -10px rgba(46,197,255,.5), 0 40px 80px -30px rgba(0,0,0,.8);
  animation: rise .8s var(--ease) .2s both;
}
.holo .corner { position: absolute; width: 18px; height: 18px; border-color: var(--cyan); border-style: solid; }
.holo .c1 { top: 8px; left: 8px; border-width: 2px 0 0 2px; } .holo .c2 { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.holo .c3 { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; } .holo .c4 { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.holo::after { content: ""; position: absolute; left: 0; right: 0; height: 90px; top: -90px; background: linear-gradient(transparent, rgba(46,197,255,.18), transparent); animation: scan 3.2s var(--ease) .9s 1 both; pointer-events: none; }
@keyframes scan { to { top: 110%; } }
.h-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #9FB6D6; }
.h-head .mono { color: var(--cyan); }
.h-bonus { font: 700 clamp(3.6rem, 14vw, 5.4rem)/.95 "Chakra Petch", Arial, sans-serif; color: var(--gold); text-shadow: 0 0 34px rgba(212,175,55,.35); margin-top: .6rem; }
.h-sub { font-weight: 600; color: #DDE8F7; }
.h-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); margin: 1.1rem 0 1.2rem; overflow: hidden; }
.h-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--gold)); animation: fill 1.4s var(--ease) .6s forwards; }
@keyframes fill { to { width: 100%; } }
.code-row { display: flex; gap: .55rem; }
.code {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .2rem;
  background: rgba(46,197,255,.07); border: 1px dashed rgba(46,197,255,.6); border-radius: 4px; color: #fff;
  font: 700 1.85rem/1 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; padding: .6rem .5rem; user-select: all;
}
.code .cur { width: 2px; height: 1.3rem; background: var(--cyan); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.btn-copy { background: var(--cyan); color: #04121F; min-width: 92px; }
.btn-copy:hover { box-shadow: 0 0 24px -4px rgba(46,197,255,.8); }
.btn-copy.done { background: var(--green); }
.holo .btn-go { width: 100%; margin-top: .7rem; font-size: 1.1rem; min-height: 56px; }
.holo .foot { display: flex; justify-content: space-between; margin-top: .9rem; font-size: .78rem; color: #7C93B3; }

/* Sections */
section { padding: 3.5rem 0; }
@media (min-width: 640px) { section { padding: 4.5rem 0; } }
@media (min-width: 1024px) { section { padding: 5.5rem 0; } }
.lead-in { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.kicker { color: var(--cyan); font-size: .92rem; font-weight: 600; margin-bottom: .6rem; }

/* HUD panels */
.panel { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem; }
.panel::before { content: ""; position: absolute; top: -1px; left: 16px; width: 44px; height: 2px; background: var(--cyan); }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0 0; }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.metric { display: flex; flex-direction: column-reverse; }
.metric dd { margin: 0; font: 700 clamp(2.1rem, 6vw, 2.9rem)/1 "Chakra Petch", Arial, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.metric dt { color: var(--muted); font-size: .92rem; margin-top: .45rem; }

/* Counter */
.counter { display: grid; gap: 1.25rem; align-items: center; }
.counter-num { font: 700 clamp(3.2rem, 11vw, 5.5rem)/1 "Chakra Petch", Arial, sans-serif; color: var(--gold); font-variant-numeric: tabular-nums; }
.counter p { color: var(--muted); margin: .4rem 0 0; }
@media (min-width: 1024px) { .counter { grid-template-columns: auto 1fr; gap: 3rem; } }

/* Steps timeline */
.steps { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font: 700 1rem/1 "JetBrains Mono", ui-monospace, monospace; color: var(--cyan); margin-bottom: .9rem; }
.steps p { color: var(--muted); margin: 0; }

/* Table */
.table-scroll { overflow-x: auto; margin-top: 1.5rem; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 460px; background: var(--surface-2); }
th, td { text-align: left; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { font-weight: 600; width: 38%; color: var(--muted); }
td strong { color: var(--gold); font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; }
.note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }

/* Bonus types */
.grid3 { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid3 p { color: var(--muted); margin: 0; }

/* Compare */
.compare { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .panel h3 { display: flex; justify-content: space-between; align-items: baseline; }
.compare ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.compare li { margin-bottom: .45rem; }
.compare .win { border-color: rgba(46,197,255,.5); box-shadow: var(--glow); }
.tag { font: 600 .78rem/1 "JetBrains Mono", ui-monospace, monospace; color: var(--cyan); }

/* Two column */
.two { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .two { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.two ul { padding-left: 1.2rem; margin: 0; }
.two li { margin-bottom: .55rem; color: var(--muted); }

/* Reviews */
.reviews { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; }
.stars { color: var(--gold); letter-spacing: .1em; }
.review blockquote { margin: .7rem 0 1rem; }
.review figcaption { color: var(--muted); font-size: .92rem; }
.review figcaption strong { color: var(--ink); }

/* French */
.fr { background: var(--hero-bg); color: #fff; position: relative; overflow: hidden; }
.fr p { color: #B7C8E0; }
.fr strong { color: var(--gold); }

/* Telegram */
.tg-band { display: grid; gap: 1.25rem; border: 1px solid rgba(34,158,217,.6); border-radius: 8px; padding: 1.75rem; background: linear-gradient(135deg, rgba(34,158,217,.14), transparent 60%); }
.tg-band p { color: var(--muted); margin: 0; max-width: 52ch; }
.tg-band .btn { justify-self: start; }
@media (min-width: 1024px) { .tg-band { grid-template-columns: 1fr auto; align-items: center; padding: 2.25rem 2.5rem; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: 0 0 auto; width: 22px; height: 22px; position: relative; margin-top: 2px; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--cyan); transition: transform .25s var(--ease); }
.faq summary .ic::after { transform: rotate(90deg); }
.faq details[open] summary .ic::after { transform: rotate(0deg); }
.faq .ans { color: var(--muted); padding-bottom: 1.1rem; }
.faq .ans p { margin: 0; }
.faq details[open] .ans { animation: open .3s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Legal */
.legal { padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-size: .92rem; }

/* 404 */
.nf { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; background: var(--hero-bg); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(46,197,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(46,197,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); }
.nf .big { font: 700 clamp(6rem, 25vw, 11rem)/.9 "Chakra Petch", Arial, sans-serif; color: var(--cyan); text-shadow: 0 0 50px rgba(46,197,255,.5); }
.nf p { color: #B7C8E0; margin-inline: auto; }
.nf .row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.nf .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }

/* Footer */
footer { background: #020710; color: #8FA6C4; padding: 3rem 0 7rem; font-size: .93rem; border-top: 1px solid #13233B; }
@media (min-width: 1024px) { footer { padding-bottom: 3rem; } }
footer a { color: #CFE3F7; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 2fr 1fr; gap: 4rem; } }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot-links button { background: none; border: 0; padding: 0; color: #CFE3F7; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.age { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid #E5484D; color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: 1rem; }

/* Sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: .5rem; align-items: center;
  background: rgba(4,9,18,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(46,197,255,.25);
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta .code-mini { font: 700 1.1rem/1 "JetBrains Mono", ui-monospace, monospace; color: var(--gold); letter-spacing: .08em; }
.sticky-cta .btn-go { flex: 1; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* Cookie consent */
.cookie {
  position: fixed; z-index: 60; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); padding: 1rem; max-width: 560px;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.cookie.show { transform: none; opacity: 1; pointer-events: auto; }
.cookie h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.cookie p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-bottom: .75rem; }
.cookie .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie .row .btn { flex: 1 1 0; padding: .7rem .5rem; font-size: .9rem; min-height: 44px; }
@media (min-width: 640px) { .cookie { left: auto; right: 1.5rem; bottom: 1.5rem; padding: 1.25rem; } .cookie p { font-size: .95rem; } .cookie .row .btn { flex: 1 1 auto; padding: .8rem 1rem; } }
.cookie-prefs { display: none; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.cookie.expanded .cookie-prefs { display: block; }
.pref { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .6rem 0; }
.pref small { display: block; color: var(--muted); }
.switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 26px; transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .holo { opacity: 1; transform: none; }
  .h-bar span { width: 100%; }
}
@media (max-width: 639px) { .brand .bw { display: none; } }
@media (max-width: 639px) {
  table { min-width: 0; }
  table tr { display: block; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
  table tr:last-child { border-bottom: 0; }
  table th, table td { display: block; width: auto; padding: 0; border: 0; }
  table th { font-size: .85rem; margin-bottom: .2rem; }
}
:root[data-theme="light"] td strong, :root[data-theme="light"] .counter-num { color: #9A7B1C; }

/* Metallic gold text on the key figures */
.hero h1 .code-word, .h-bonus, .counter-num, .nf .big-gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .code-word, .h-bonus { text-shadow: none; filter: drop-shadow(0 0 22px rgba(212,175,55,.35)); }
:root[data-theme="light"] .counter-num { background: linear-gradient(180deg, #C9A227, #8C6D14); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-bar span { background: linear-gradient(90deg, var(--cyan), #D4AF37); }

/* Bright gold: metallic gradient on the big display numbers */
:root { --gold-grad: linear-gradient(180deg, #FFE7A0 0%, #FFD04D 35%, #F5B301 65%, #D99A00 100%); }
.h-bonus, .hero h1 .code-word, .counter-num, .brand b, .nf .big-gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 22px rgba(245,179,1,.35));
}
:root[data-theme="light"] .counter-num { filter: none; }

/* Language switcher */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; height: 42px; padding: 0 .6rem; border: 1px solid rgba(46,197,255,.3); border-radius: 4px; color: #fff; font: 600 .85rem/1 "JetBrains Mono", ui-monospace, monospace; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang summary:hover { border-color: #2EC5FF; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; display: grid; background: #0A1526; border: 1px solid rgba(46,197,255,.3); border-radius: 6px; padding: .35rem; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); animation: open .2s var(--ease); z-index: 50; }
.lang-menu a { color: #CFE3F7; text-decoration: none; padding: .6rem .75rem; border-radius: 4px; }
.lang-menu a:hover { background: rgba(46,197,255,.1); color: #fff; }
.lang-menu a[aria-current="page"] { color: var(--gold); }
.tg-mini { display: inline-flex; align-items: center; gap: .4rem; }
.tg-mini svg { width: 18px; height: 18px; }
@media (max-width: 639px) { .tg-mini span, .lang summary span { display: none; } .tg-mini { width: 42px; height: 42px; justify-content: center; padding: 0; } }

/* Promo code list */
.codecard .cc-code { font: 700 1.2rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; color: var(--gold); margin-bottom: .8rem; }
.casino-panel { margin-top: 1rem; border-color: rgba(245,179,1,.45); }
.casino-panel::before { background: var(--gold); }
.casino-panel p { color: var(--muted); margin: 0; }

/* Language cards */
.langs { display: grid; gap: .75rem; margin-top: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .langs { grid-template-columns: repeat(4, 1fr); } }
.langcard { display: grid; gap: .35rem; text-decoration: none; color: #fff; background: rgba(14,29,53,.8); border-color: rgba(46,197,255,.25); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.langcard:hover { border-color: #2EC5FF; box-shadow: var(--glow); }
.langcard small { color: #8FA6C4; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p { word-break: keep-all; }
.hero h1:lang(ko), .hero h1:lang(ru) { max-width: 14ch; }
