/* ==========================================================================
   National — European draw information portal
   Plain CSS. Theme colours: #0a2a1f (plum) and #57d98c (teal)
   ========================================================================== */

/* ---------- Local fonts (no external CDN) ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --sec: #0a2a1f;
  --sec-2: #134a36;
  --sec-3: #1f7a5a;
  --sec-4: #78ffd6;
  --sec-5: #c4fff0;
  --acc: #57d98c;
  --acc-2: #7fe88a;
  --acc-3: #a8ff78;
  --acc-4: #d4ffbf;

  --bg: #050c09;
  --bg-2: #07120d;
  --surface: #0a1712;
  --surface-2: #0f1f18;
  --surface-3: #13261e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-teal: rgba(168, 255, 120, 0.28);

  --text: #f1f8f3;
  --muted: #a9bfb2;
  --dim: #7a9184;
  --danger: #ff8aa1;
  --warn: #f2b45a;

  --lime: #a8ff78;
  --mint: #78ffd6;
  --ink: #04170f;

  --grad-primary: linear-gradient(135deg, #a8ff78 0%, #78ffd6 100%);
  --grad-text: linear-gradient(95deg, #a8ff78 0%, #78ffd6 100%);
  --grad-title: linear-gradient(180deg, #ffffff 0%, #eafff6 45%, #b9f5dc 100%);
  --grad-mint: linear-gradient(135deg, #78ffd6 0%, #a8ffe6 100%);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --pad: 28px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 640px at 6% -8%, rgba(22, 56, 40, 0.9), transparent 62%),
    radial-gradient(900px 620px at 104% 18%, rgba(120, 255, 214, 0.07), transparent 62%),
    radial-gradient(900px 700px at -10% 70%, rgba(22, 56, 40, 0.5), transparent 62%),
    radial-gradient(800px 600px at 110% 95%, rgba(168, 255, 120, 0.05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(168, 255, 120, 0.85); color: #04170f; }
:focus-visible { outline: 2px solid var(--acc-3); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 500;
  padding: 10px 16px; border-radius: 10px; background: var(--lime); color: var(--ink); font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--grad-primary); color: var(--ink);
  box-shadow: 0 10px 28px -8px rgba(168, 255, 120, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--primary:hover { box-shadow: 0 14px 36px -6px rgba(168, 255, 120, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn--outline { background: transparent; border-color: var(--acc-3); color: var(--acc-3); }
.btn--outline:hover { background: rgba(168, 255, 120, 0.1); }
.btn--sec { background: var(--grad-mint); color: var(--ink); border-color: rgba(196, 255, 238, 0.25); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.link-arrow { color: var(--acc-3); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s; }
.link-arrow:hover { gap: 10px; color: var(--acc-4); }

/* ---------- Header & 18+ bar (sticky) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 12, 9, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.7); }
.age-bar {
  background: linear-gradient(90deg, #0a2a1f 0%, #0f2a1e 50%, #0b1d15 100%);
  border-bottom: 1px solid rgba(168, 255, 120, 0.22);
}
.age-bar__inner {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--container); margin: 0 auto; padding: 8px var(--pad);
}
.age-badge {
  flex: none; display: inline-grid; place-items: center;
  min-width: 44px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--grad-primary); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.02em;
  box-shadow: 0 0 0 3px rgba(168, 255, 120, 0.14), 0 4px 14px rgba(168, 255, 120, 0.23);
}
.age-bar__text { font-size: 12.5px; line-height: 1.45; color: #dcefe3; }
.age-bar__text strong { color: #fff; font-weight: 600; }

.header-inner {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 26px -4px rgba(168, 255, 120, 0.28);
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__tag { margin-top: 5px; font-size: 11px; color: var(--dim); letter-spacing: 0.01em; display: none; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav__link {
  position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 12px;
  border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.main-nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav__link.is-active { color: #fff; background: rgba(168, 255, 120, 0.16); box-shadow: inset 0 0 0 1px rgba(168, 255, 120, 0.3); }

.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.heartbeat {
  display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 999px;
  background: rgba(168, 255, 120, 0.12); border: 1px solid rgba(168, 255, 120, 0.3);
}
.heartbeat__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--acc-3);
  box-shadow: 0 0 0 0 rgba(168, 255, 120, 0.35); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 255, 120, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(168, 255, 120, 0.0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 255, 120, 0.0); }
}
.lang-switch {
  display: inline-flex; align-items: center; padding: 3px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.lang-switch__btn {
  display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 10px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; color: var(--dim);
  transition: color 0.2s, background 0.2s;
}
.lang-switch__btn:hover { color: var(--text); }
.lang-switch__btn.is-active { background: var(--grad-primary); color: var(--ink); box-shadow: 0 4px 14px -2px rgba(168, 255, 120, 0.3); }

.burger {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; border-radius: 2px;
  background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before, .burger span::after { content: ""; left: 0; margin-left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(2, 6, 4, 0.65); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 390px);
  display: flex; flex-direction: column; gap: 18px; padding: 20px 22px 28px; overflow-y: auto;
  background: radial-gradient(500px 300px at 100% 0%, rgba(168, 255, 120, 0.18), transparent 70%), linear-gradient(180deg, #0d2019 0%, #06100c 100%);
  border-left: 1px solid var(--line-2); box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%); transition: transform 0.38s var(--ease);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--acc-3); }
.drawer__close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); display: grid; place-items: center; font-size: 22px; line-height: 1; }
.drawer__nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text);
  border: 1px solid transparent; transition: background 0.2s, border-color 0.2s;
}
.drawer__link::after { content: "→"; color: var(--dim); font-family: var(--font-body); transition: transform 0.2s, color 0.2s; }
.drawer__link:hover, .drawer__link.is-active { background: rgba(168, 255, 120, 0.12); border-color: rgba(168, 255, 120, 0.25); }
.drawer__link.is-active::after, .drawer__link:hover::after { color: var(--acc-3); transform: translateX(3px); }
.drawer__actions { display: grid; gap: 10px; }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.drawer__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); display: flex; gap: 10px; align-items: center; }

/* ---------- Sections & headings ---------- */
main { display: block; }
.section { padding: 72px 0; position: relative; }
.section--tight { padding: 36px 0 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head__title { display: flex; align-items: center; gap: 14px; font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.035em; }
.section-head__title .spark { flex: none; width: 22px; height: 22px; color: var(--acc-3); filter: drop-shadow(0 0 10px rgba(168, 255, 120, 0.3)); }
.section-head__sub { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(168, 255, 120, 0.32); background: rgba(168, 255, 120, 0.1);
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc-4);
}
.eyebrow__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acc-3); box-shadow: 0 0 0 3px rgba(168, 255, 120, 0.2), 0 0 12px var(--acc-3); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding: 80px 0 44px; text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 260px at 50% 55%, rgba(168, 255, 120, 0.16), transparent 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 75%);
}
.page-hero .container { position: relative; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--acc-3); }
.page-hero__title {
  font-size: clamp(36px, 6vw, 56px); font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 900px; margin: 0 auto;
}
.page-hero__sub { margin: 18px auto 0; max-width: 700px; color: var(--muted); font-size: 17px; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero__title { margin-top: 26px; font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; }
.hero__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: 18px; color: var(--muted); line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.hero-stat { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.hero-stat__num { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat__label { margin-top: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* ---------- Tickets (hero visual) ---------- */
.tickets {
  --shift: 48px;
  position: relative; width: 100%; max-width: 600px; margin: 0 auto; padding: 10px 0 30px;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; /* equal-height rows */
}
.ticket {
  position: relative; display: grid; grid-template-columns: 62px 1fr; border-radius: 22px;
  background: linear-gradient(160deg, #122a20 0%, #0b1a14 55%, #08130e 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 34px 70px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease);
}
.ticket::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--acc), var(--acc-3), var(--sec-4)); }
.ticket--vk::before { background: linear-gradient(90deg, var(--sec-4), var(--acc-3)); }
/* Both tickets share one identical width; the second is offset by alignment, not by shrinking */
.tickets .ticket { width: calc(100% - var(--shift)); height: 100%; }
.ticket--1 { justify-self: start; transform: rotate(-2deg); z-index: 1; }
.ticket--2 { justify-self: end; transform: translateY(-10px) rotate(1.6deg); z-index: 2; }
.tickets:hover .ticket--1 { transform: translateY(-4px) rotate(-3deg); }
.tickets:hover .ticket--2 { transform: translateY(-6px) rotate(2.4deg); }
.ticket__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0 16px; border-right: 2px dashed rgba(255, 255, 255, 0.12); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; right: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket__stub::before { top: -12px; box-shadow: inset 0 -1px 0 var(--line-2); }
.ticket__stub::after { bottom: -12px; box-shadow: inset 0 1px 0 var(--line-2); }
.ticket__code { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--dim); white-space: nowrap; }
.ticket__code b { color: var(--acc-3); font-weight: 700; }
.ticket--vk .ticket__code b { color: var(--sec-5); }
.ticket__barcode { width: 30px; height: 20px; background: repeating-linear-gradient(90deg, #cfdcd4 0 2px, transparent 2px 3px, #cfdcd4 3px 4px, transparent 4px 6px, #cfdcd4 6px 9px, transparent 9px 10px); opacity: 0.8; }
.ticket__body { padding: 22px 24px 18px; min-width: 0; display: flex; flex-direction: column; }
.ticket__body > .balls { margin-bottom: 18px; flex-wrap: nowrap; gap: 8px; }
.ticket .ball { --s: 44px; }
.ticket .draw-head { flex-wrap: wrap; row-gap: 12px; }
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .ticket .ball { --s: 38px; }
  .ticket__body > .balls { gap: 6px; }
  .ticket__body { padding: 20px 18px 16px; }
}
.ticket .draw-date { white-space: nowrap; }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.ticket__foot strong { color: var(--text); font-weight: 600; }

/* ---------- Draw identity ---------- */
.draw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.draw-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tile {
  flex: none; display: grid; place-items: center; width: 76px; height: 56px; border-radius: 12px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 11px; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase;
}
.tile--ej { background: linear-gradient(140deg, #e2ffd2 0%, #a8ff78 55%, #86e85c 100%); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(168, 255, 120, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.tile--ej .tile__b { color: #1d5c35; }
.tile--vk { background: linear-gradient(140deg, #dcfff5 0%, #78ffd6 55%, #4fe0b6 100%); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(120, 255, 214, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.tile--vk .tile__b { color: #10594a; }
.tile--sm { width: 58px; height: 42px; font-size: 9px; border-radius: 10px; }
.draw-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.draw-date { margin-top: 3px; font-size: 13px; color: var(--dim); }
.jp-box { flex: none; text-align: right; padding: 10px 18px; border-radius: 14px; border: 1px solid rgba(168, 255, 120, 0.25); background: rgba(168, 255, 120, 0.07); }
.jp-box__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-3); }
.jp-box__amount { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.label-xs { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.chip-live {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 10px; border-radius: 999px;
  background: rgba(168, 255, 120, 0.12); border: 1px solid rgba(168, 255, 120, 0.3);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc-3);
}
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-3); box-shadow: 0 0 8px var(--acc-3); }
.chip-won { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(120, 255, 214, 0.16); border: 1px solid rgba(196, 255, 238, 0.3); color: var(--sec-5); }

/* ---------- Balls ---------- */
.balls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.ball {
  --s: 50px; flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: calc(var(--s) * 0.36); letter-spacing: -0.02em; color: #0a1a13;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #eef5f0 28%, #bccbc2 68%, #84948a 100%);
  box-shadow: inset -3px -5px 10px rgba(0, 0, 0, 0.22), inset 2px 3px 6px rgba(255, 255, 255, 0.75), 0 8px 18px -4px rgba(0, 0, 0, 0.6);
}
.ball--euro { color: var(--ink); background: radial-gradient(circle at 32% 26%, #f2ffe9 0%, #a8ff78 32%, #74d44c 72%, #3c8f2a 100%); }
.ball--viking { color: var(--ink); background: radial-gradient(circle at 32% 26%, #ecfffa 0%, #78ffd6 32%, #3fcfa6 72%, #1c7d63 100%); }
.ball--md { --s: 42px; }
.ball--sm { --s: 36px; }
.ball--xs { --s: 30px; }
.ball-plus { color: var(--dim); font-weight: 600; font-size: 18px; padding: 0 2px; }

/* ---------- Result card ---------- */
.rcards { display: grid; gap: 26px; }
.rcard {
  position: relative; border-radius: 26px; padding: 30px; overflow: hidden;
  background: linear-gradient(165deg, rgba(22, 56, 40, 0.62) 0%, rgba(10, 24, 18, 0.94) 52%, rgba(6, 14, 11, 0.96) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.rcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--acc), var(--acc-3) 50%, var(--sec-4)); }
.rcard--vk::before { background: linear-gradient(90deg, var(--sec-4), var(--sec-3) 40%, var(--acc-3)); }
.rcard::after { content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 255, 120, 0.16), transparent 68%); pointer-events: none; }
.rcard--vk::after { background: radial-gradient(circle, rgba(120, 255, 214, 0.16), transparent 68%); }
.rcard > * { position: relative; z-index: 1; }
.rcard__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rcard__nums { margin-top: 20px; }
.rcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rcard__foot strong { color: var(--text); font-weight: 600; }
.rcard.is-highlight { border-color: rgba(168, 255, 120, 0.23); box-shadow: 0 0 0 4px rgba(168, 255, 120, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }

.tiers-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 0; background: none; border: 0; color: var(--acc-3); font-weight: 600; font-size: 14.5px; }
.tiers-toggle svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.tiers-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tiers { margin-top: 16px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: rgba(0, 0, 0, 0.18); }
.tiers[hidden] { display: none; }
.tiers-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tiers-table th { text-align: left; padding: 12px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); background: rgba(255, 255, 255, 0.03); }
.tiers-table td { padding: 11px 16px; border-top: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.tiers-table td:first-child { color: var(--text); font-weight: 600; }
.tiers-table th:nth-child(n+3), .tiers-table td:nth-child(n+3) { text-align: right; }
.tiers-table tr:first-child td:last-child { color: var(--acc-3); font-weight: 700; }
.tier-match { display: inline-flex; gap: 3px; }
.tier-match i { width: 9px; height: 9px; border-radius: 50%; background: #cfdcd4; display: inline-block; }
.tier-match i.e { background: var(--acc-3); }
.tier-match i.v { background: var(--sec-4); }

/* ---------- Jackpot banner ---------- */
.jackpot {
  position: relative; overflow: hidden; text-align: center; padding: 46px 24px 52px; border-radius: 32px;
  border: 1px solid rgba(168, 255, 120, 0.22);
  background:
    radial-gradient(620px 280px at 50% -10%, rgba(168, 255, 120, 0.4), transparent 70%),
    radial-gradient(500px 300px at 85% 110%, rgba(120, 255, 214, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(22, 56, 40, 0.7) 0%, rgba(7, 17, 13, 0.95) 100%);
  box-shadow: 0 40px 90px -40px rgba(168, 255, 120, 0.23);
}
.jackpot__amount {
  margin-top: 22px; font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 12vw, 128px); line-height: 1; letter-spacing: -0.05em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 40px rgba(168, 255, 120, 0.2));
}
.jackpot__meta { margin-top: 16px; color: var(--muted); font-size: 16px; }
.jackpot__meta strong { color: var(--text); }
.countdown { display: inline-flex; gap: 10px; margin-top: 22px; }
.countdown__cell { min-width: 70px; padding: 10px 8px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.countdown__num { font-family: var(--font-mono); font-weight: 700; font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; }
.countdown__unit { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.jackpot__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; padding-left: 44px; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 20px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--acc-3), rgba(168, 255, 120, 0.35) 70%, transparent); }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -38px; top: 34px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8ffdc, #b6ff8c 50%, #57d98c);
  box-shadow: 0 0 0 4px rgba(5, 12, 9, 1), 0 0 0 6px rgba(168, 255, 120, 0.3), 0 0 18px rgba(168, 255, 120, 0.28);
}
.tl-card { padding: 26px 30px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(22, 56, 40, 0.42) 0%, rgba(8, 20, 15, 0.85) 100%); transition: border-color 0.3s, transform 0.3s var(--ease); }
.tl-card:hover { border-color: rgba(168, 255, 120, 0.3); transform: translateX(4px); }
.tl-meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--acc-3); }
.tl-amount { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.035em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-title { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; letter-spacing: -0.015em; color: #fff; }
.tl-text { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ---------- Facts box ---------- */
.facts { position: relative; overflow: hidden; margin-top: 40px; padding: 34px 32px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(22, 56, 40, 0.62), rgba(7, 18, 13, 0.95)); }
.facts::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--acc), var(--sec-4)); }
.facts__grid { display: grid; gap: 28px; }
.facts h3 { font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.facts ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.facts b { color: var(--acc-3); font-weight: 600; }
.facts .facts__col--vk b { color: var(--sec-5); }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative; overflow: hidden; padding: 44px 32px 32px; border-radius: 32px; border: 1px solid var(--line-2);
  background:
    radial-gradient(520px 300px at 85% 0%, rgba(168, 255, 120, 0.22), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(40, 120, 90, 0.35), transparent 70%),
    linear-gradient(180deg, #0c1e17 0%, #08130e 100%);
}
.newsletter__eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(168, 255, 120, 0.35); background: rgba(168, 255, 120, 0.1); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-3); }
.newsletter__title { margin-top: 18px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.035em; max-width: 780px; }
.newsletter__text { margin-top: 12px; max-width: 580px; color: var(--muted); }
.nl-form { display: flex; gap: 8px; margin-top: 26px; max-width: 560px; padding: 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-2); }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; outline: none; font-size: 15px; }
.nl-form input::placeholder { color: var(--dim); }
.nl-note { margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.nl-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 500; }
.form-msg.is-ok { color: var(--acc-3); }
.form-msg.is-err { color: var(--danger); }
.nl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.nl-stat { text-align: center; padding: 20px 10px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.22); }
.nl-stat__num { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nl-stat__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Archive ---------- */
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); margin-bottom: 22px; }
.filters__group { display: flex; align-items: center; gap: 10px; }
.filters__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.select {
  appearance: none; -webkit-appearance: none; height: 42px; padding: 0 40px 0 16px; border-radius: 12px;
  background: #08140f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8ff78' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line-2); color: var(--text); font-size: 15px;
}
.select:focus { border-color: var(--acc-3); outline: none; }
.filters__count { margin-left: auto; color: var(--muted); font-size: 14.5px; }
.filters__count strong { color: var(--acc-3); font-family: var(--font-display); }
.arc-list { display: grid; gap: 12px; list-style: none; }
.arc-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 24px; padding: 18px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: linear-gradient(120deg, rgba(22, 56, 40, 0.35), rgba(7, 18, 13, 0.75));
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.arc-row:hover { border-color: rgba(168, 255, 120, 0.35); transform: translateY(-2px); }
.arc-row__date { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.arc-row .balls { gap: 7px; margin-top: 10px; }
.arc-row__amount { margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--acc-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.arc-row__game { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.arc-row__game::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--acc-3); box-shadow: 0 0 10px var(--acc-3); }
.arc-row--vk .arc-row__game::before { background: var(--sec-4); box-shadow: 0 0 10px var(--sec-4); }
.arc-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.arc-row__go { font-size: 13px; color: var(--dim); transition: color 0.2s; }
.arc-row:hover .arc-row__go { color: var(--acc-3); }
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-weight: 600; font-size: 14.5px; transition: background 0.2s, border-color 0.2s; }
.pager__btn:hover { border-color: var(--acc-3); }
.pager__btn.is-active { background: var(--grad-primary); border-color: transparent; color: var(--ink); box-shadow: 0 8px 24px -6px rgba(168, 255, 120, 0.35); }
.pager__btn[disabled] { opacity: 0.4; pointer-events: none; }
.pager__dots { color: var(--dim); padding: 0 4px; }
.empty { padding: 40px; text-align: center; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); }

/* ---------- Statistics ---------- */
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); margin-bottom: 26px; }
.tab { height: 42px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; transition: background 0.2s, color 0.2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--grad-primary); color: var(--ink); box-shadow: 0 6px 18px -4px rgba(168, 255, 120, 0.35); }
.tab--vk[aria-selected="true"] { background: var(--grad-mint); box-shadow: 0 6px 18px -4px rgba(120, 255, 214, 0.3); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kpi { display: block; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(22, 56, 40, 0.45), rgba(7, 18, 13, 0.85)); transition: border-color 0.25s, transform 0.25s var(--ease); }
a.kpi:hover { border-color: rgba(168, 255, 120, 0.35); transform: translateY(-3px); }
.kpi__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.kpi__num { margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); white-space: nowrap; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi__sub { margin-top: 4px; font-size: 13px; color: var(--muted); }
.panel { margin-top: 22px; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(22, 56, 40, 0.45), rgba(6, 16, 12, 0.92)); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.panel__title { font-size: 20px; font-weight: 700; }
.panel__sub { color: var(--muted); font-size: 14px; }
.heat { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.heat__cell {
  position: relative; aspect-ratio: 1 / 1; max-height: 74px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(168, 255, 120, var(--a, 0.1));
  transition: transform 0.2s var(--ease);
}
.heat--vk .heat__cell { background: rgba(120, 255, 214, var(--a, 0.1)); }
.heat__cell:hover { transform: scale(1.08); z-index: 1; border-color: rgba(255, 255, 255, 0.3); }
.heat__n { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1; }
.heat__c { margin-top: 3px; font-family: var(--font-mono); font-size: 10px; color: rgba(255, 255, 255, 0.7); }
.heat__cell.is-hot { color: var(--ink); }
.heat__cell.is-hot .heat__c { color: rgba(4, 23, 15, 0.75); }
.legend { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12.5px; color: var(--dim); }
.legend__bar { width: 140px; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(168, 255, 120, 0.1), rgba(168, 255, 120, 1)); }
.legend--vk .legend__bar { background: linear-gradient(90deg, rgba(120, 255, 214, 0.1), rgba(120, 255, 214, 1)); }
.split { display: grid; gap: 22px; }
.ranked { display: grid; gap: 12px; list-style: none; }
.ranked li { display: flex; align-items: center; gap: 14px; }
.ranked__bar { flex: 1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.ranked__bar span { display: block; height: 100%; border-radius: 6px; background: var(--grad-primary); }
.ranked--cold .ranked__bar span { background: linear-gradient(90deg, #134a36, #78ffd6); }
.ranked__val { min-width: 74px; text-align: right; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 40px 1fr 60px; align-items: center; gap: 12px; }
.hbar__track { height: 22px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.hbar__fill { height: 100%; border-radius: 8px; background: var(--grad-primary); transform-origin: left; animation: grow 0.9s var(--ease) both; }
.hbar--vk .hbar__fill { background: var(--grad-mint); }
.hbar__val { font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-align: right; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.chart { width: 100%; height: auto; }
.chart text { font-family: var(--font-mono); font-size: 11px; fill: var(--dim); }
.note-box { margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(242, 180, 90, 0.3); background: rgba(242, 180, 90, 0.06); color: var(--muted); font-size: 14.5px; }
.note-box strong { color: #f8d9a8; }
.note-box__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 180, 90, 0.18); color: #f8d9a8; font-weight: 800; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.faq__item { border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(22, 56, 40, 0.38), rgba(8, 20, 15, 0.85)); transition: border-color 0.25s; }
.faq__item[open] { border-color: rgba(168, 255, 120, 0.3); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-weight: 600; font-size: 16.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: rgba(168, 255, 120, 0.14); border: 1px solid rgba(168, 255, 120, 0.3); transition: transform 0.3s var(--ease), background 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--acc-3); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: rgba(168, 255, 120, 0.28); }
.faq__answer { padding: 0 24px 22px; margin: 0 24px 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- Legal / prose card ---------- */
.legal { max-width: 920px; margin: 0 auto; padding: 48px 50px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(22, 56, 40, 0.5), rgba(6, 16, 12, 0.94)); }
.legal h2 { margin: 34px 0 12px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--acc-3); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { list-style: none; display: grid; gap: 8px; margin-top: 8px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-3); box-shadow: 0 0 8px rgba(168, 255, 120, 0.3); }
.legal__meta { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.cookie-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14.5px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.cookie-table td { color: var(--muted); }
.cookie-table code { font-family: var(--font-mono); font-size: 13px; color: var(--acc-4); }

/* ---------- Premium ---------- */
.notice { max-width: 1040px; margin: 0 auto; padding: 20px 24px; border-radius: 18px; border: 1px solid rgba(168, 255, 120, 0.28); background: rgba(168, 255, 120, 0.07); text-align: center; color: var(--muted); font-size: 15px; }
.notice strong { display: block; margin-bottom: 4px; color: var(--acc-3); font-size: 15.5px; }
.plans { display: grid; gap: 26px; max-width: 480px; margin: 50px auto 0; }
.plan { position: relative; padding: 34px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(22, 56, 40, 0.58) 0%, rgba(7, 18, 13, 0.95) 100%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; }
.plan--popular { border-color: rgba(168, 255, 120, 0.25); box-shadow: 0 0 0 4px rgba(168, 255, 120, 0.08), 0 40px 80px -30px rgba(168, 255, 120, 0.25); }
.plan__badge { position: absolute; top: -14px; right: 28px; padding: 6px 14px; border-radius: 999px; background: var(--grad-primary); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 8px 20px -4px rgba(168, 255, 120, 0.35); }
.plan__name { font-size: 24px; font-weight: 700; }
.plan__desc { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.plan__amount { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.05em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan:not(.plan--popular) .plan__amount { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; }
.plan__per { color: var(--dim); font-size: 15px; }
.plan__save { padding: 4px 10px; border-radius: 8px; background: rgba(168, 255, 120, 0.16); border: 1px solid rgba(168, 255, 120, 0.35); color: var(--acc-3); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.checks { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.checks li { position: relative; padding-left: 36px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--acc-3); background: rgba(168, 255, 120, 0.16); border: 1px solid rgba(168, 255, 120, 0.35); }
.plan .btn { margin-top: auto; }

/* ---------- Status ---------- */
.status-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 30px; border-radius: 24px; border: 1px solid rgba(168, 255, 120, 0.35); background: radial-gradient(500px 200px at 0% 50%, rgba(168, 255, 120, 0.22), transparent 70%), linear-gradient(120deg, rgba(168, 255, 120, 0.1), rgba(22, 56, 40, 0.45)); }
.status-hero__main { display: flex; align-items: center; gap: 20px; }
.status-hero__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--acc-3); animation: pulse 2s infinite; flex: none; }
.status-hero__title { font-size: 22px; font-weight: 700; }
.status-hero__sub { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.status-hero__uptime { font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--acc-3); }
.status-hero__uptime small { font-size: 11px; letter-spacing: 0.14em; color: var(--dim); margin-left: 6px; }
.status-table-wrap { margin-top: 22px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(22, 56, 40, 0.4), rgba(6, 16, 12, 0.92)); overflow-x: auto; }
.status-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.status-table th { text-align: left; padding: 16px 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.status-table td { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.status-table tr:last-child td { border-bottom: 0; }
.status-table td:first-child { font-weight: 600; }
.status-table th:last-child, .status-table td:last-child { text-align: right; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(168, 255, 120, 0.14); border: 1px solid rgba(168, 255, 120, 0.32); color: var(--acc-3); font-size: 12.5px; font-weight: 600; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-3); }
.uptime { display: flex; align-items: center; gap: 14px; }
.uptime__pct { font-family: var(--font-mono); font-weight: 700; min-width: 64px; }
.uptime__bars { display: flex; gap: 2px; }
.uptime__bars i { width: 4px; height: 22px; border-radius: 2px; background: rgba(168, 255, 120, 0.6); }
.uptime__bars i.w { background: var(--warn); }
.status-time { font-family: var(--font-mono); color: var(--muted); font-size: 13.5px; }
.incidents { margin-top: 22px; padding: 26px 30px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.incidents__title { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.incidents__ok { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--muted); }
.incidents__ok span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(168, 255, 120, 0.16); border: 1px solid rgba(168, 255, 120, 0.35); color: var(--acc-3); font-size: 13px; font-weight: 800; }

/* ---------- Forms (login/register) ---------- */
.form-card { max-width: 480px; margin: 0 auto; padding: 40px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(400px 220px at 100% 0%, rgba(168, 255, 120, 0.14), transparent 70%), linear-gradient(170deg, rgba(22, 56, 40, 0.6), rgba(6, 16, 12, 0.96)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.form-card__title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.form-card__sub { margin-top: 8px; color: var(--muted); font-size: 16px; }
.field { margin-top: 22px; }
.field__label { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.field__input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); color: var(--text); font-size: 15.5px; transition: border-color 0.2s, box-shadow 0.2s; }
.field__input:focus { outline: none; border-color: var(--acc-3); box-shadow: 0 0 0 4px rgba(168, 255, 120, 0.14); }
.field__input.is-invalid { border-color: var(--danger); }
.consent { margin: 26px 0 0; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); display: grid; gap: 16px; }
.consent legend { padding: 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.check input:checked { background: var(--grad-primary); border-color: transparent; }
.check input:checked::after { content: "✓"; color: var(--ink); font-size: 13px; font-weight: 800; }
.check a { color: var(--acc-3); text-decoration: underline; text-underline-offset: 2px; }
.req { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 1px; background: rgba(255, 138, 161, 0.12); border: 1px solid rgba(255, 138, 161, 0.35); color: var(--danger); }
.req--opt { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--dim); }
.form-card .btn--block { margin-top: 26px; }
.form-card__foot { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14.5px; }
.form-card__foot a { color: var(--acc-3); font-weight: 600; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; gap: 18px; max-width: 920px; margin: 26px auto 0; }
.contact-card { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.contact-card__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-3); }
.contact-card__value { margin-top: 8px; font-size: 16px; color: var(--text); font-weight: 500; word-break: break-word; }
.contact-card__value a:hover { color: var(--acc-3); }

/* ---------- About (subdomain-style landing) ---------- */
.about-hero { padding: 70px 0 60px; border-bottom: 1px solid var(--line); }
.about-hero__grid { display: grid; gap: 50px; align-items: center; }
.about-hero__copy { padding-left: 22px; border-left: 3px solid var(--acc); }
.mono-eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-3); }
.mono-eyebrow::before { content: "// "; color: var(--sec-4); }
.about-hero__title { margin-top: 18px; font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; }
.about-hero__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-hero__lead { margin-top: 20px; color: var(--muted); font-size: 17.5px; max-width: 560px; }
.about-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.about-hero__cta .sub-link { color: var(--muted); font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.terminal { border-radius: 20px; border: 1px solid rgba(168, 255, 120, 0.25); background: linear-gradient(180deg, #091610, #06100b); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.terminal__dots { display: flex; gap: 7px; }
.terminal__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--acc-3); }
.terminal__dots i:nth-child(2) { background: var(--sec-4); }
.terminal__dots i:nth-child(3) { background: var(--acc); }
.terminal__url { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); }
.terminal__body { padding: 24px; }
.terminal__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.2em; color: var(--dim); }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.term-grid > div { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); }
.term-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.term-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.term-grid span { font-size: 11px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.term-grid b { color: var(--acc-3); font-size: 15px; }
.term-bars { display: flex; align-items: flex-end; gap: 10px; height: 64px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.term-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--acc-3), rgba(168, 255, 120, 0.25)); }
.term-bars i:nth-child(3n) { background: linear-gradient(180deg, var(--sec-4), rgba(40, 120, 90, 0.25)); }
.focus-list { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, 0.015); }
.focus-item { border-bottom: 1px solid var(--line); }
.focus-item:last-child { border-bottom: 0; }
.focus-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 80px 1fr 24px; gap: 16px; align-items: center; padding: 26px 28px; transition: background 0.2s; }
.focus-item summary::-webkit-details-marker { display: none; }
.focus-item summary:hover { background: rgba(255, 255, 255, 0.02); }
.focus-item__num { font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--acc-3); }
.focus-item__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.focus-item__text { margin-top: 6px; color: var(--muted); font-size: 15px; }
.focus-item__plus { color: var(--dim); font-size: 22px; transition: transform 0.3s var(--ease), color 0.2s; text-align: center; }
.focus-item[open] .focus-item__plus { transform: rotate(45deg); color: var(--acc-3); }
.focus-item__more { padding: 0 28px 24px 124px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.qa-grid { display: grid; gap: 34px; }
.qa-list { display: grid; gap: 12px; }
.qa-item { border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.25s, background 0.25s; }
.qa-item[open] { border-color: rgba(168, 255, 120, 0.2); background: rgba(168, 255, 120, 0.06); box-shadow: inset 3px 0 0 var(--acc-3); }
.qa-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 26px; gap: 12px; align-items: center; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item__q { font-family: var(--font-mono); font-size: 12px; color: var(--acc-3); }
.qa-item__icon { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(168, 255, 120, 0.4); display: grid; place-items: center; color: var(--acc-3); font-family: var(--font-mono); font-weight: 700; }
.qa-item__icon::before { content: "+"; }
.qa-item[open] .qa-item__icon::before { content: "−"; }
.qa-item__a { padding: 0 22px 20px 74px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.cta-term { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: 40px; border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(500px 240px at 80% 0%, rgba(168, 255, 120, 0.2), transparent 70%), linear-gradient(160deg, #0c1d16, #07130e); }
.cta-term__prompt { font-family: var(--font-mono); font-size: 13px; color: var(--acc-3); }
.cta-term__title { margin-top: 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.cta-term__text { margin-top: 12px; color: var(--muted); max-width: 620px; }
.metrics { display: grid; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.metric { padding: 26px; border-bottom: 1px solid var(--line); }
.metric:last-child { border-bottom: 0; }
.metric__tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); letter-spacing: 0.12em; }
.metric__num { margin-top: 10px; font-family: var(--font-mono); font-weight: 700; font-size: 40px; color: var(--acc-3); letter-spacing: -0.02em; }
.metric__label { color: var(--muted); }
.metric__bars { display: flex; align-items: flex-end; gap: 4px; height: 24px; margin-top: 14px; }
.metric__bars i { width: 7px; border-radius: 2px; background: linear-gradient(180deg, var(--acc-3), var(--acc)); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 40px; padding: 70px 0 34px; border-top: 1px solid transparent; background: linear-gradient(180deg, rgba(7, 17, 13, 0.9), rgba(4, 10, 7, 1)); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(168, 255, 120, 0.6), rgba(120, 255, 214, 0.5), transparent); }
.footer-top { display: grid; gap: 40px; }
.footer-brand__about { margin-top: 18px; max-width: 420px; color: var(--muted); font-size: 15.5px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; }
.badge--age { color: #ffc2cf; border-color: rgba(255, 138, 161, 0.4); background: rgba(255, 138, 161, 0.08); }
.badge--rg { color: var(--acc-3); border-color: rgba(168, 255, 120, 0.4); background: rgba(168, 255, 120, 0.1); }
.badge--gdpr { color: var(--sec-5); border-color: rgba(196, 255, 238, 0.35); background: rgba(40, 120, 90, 0.18); }
.footer-label { display: block; margin-top: 22px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-3); }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.social:hover { color: #fff; border-color: rgba(168, 255, 120, 0.4); background: rgba(168, 255, 120, 0.15); }
.social svg { width: 18px; height: 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-col__title { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-3); margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.footer-list a:hover { color: #fff; }
.footer-list--meta li { color: var(--muted); font-size: 15px; }
.footer-list--meta strong { color: #fff; font-weight: 600; }
.trust { margin-top: 44px; padding: 28px 30px; border-radius: 24px; border: 1px solid rgba(168, 255, 120, 0.2); background: linear-gradient(120deg, rgba(22, 56, 40, 0.55), rgba(5, 13, 10, 0.9) 60%, rgba(168, 255, 120, 0.08)); }
.trust__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust__sub { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.trust__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.trust-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: 14px 8px; border-radius: 16px; border: 1px solid transparent; text-align: center; transition: border-color 0.2s, background 0.2s; }
.trust-badge:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.trust-badge--age { border-color: rgba(168, 255, 120, 0.3); background: rgba(168, 255, 120, 0.08); }
.trust-badge__age { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.trust-badge__age sup { font-size: 14px; }
.trust-badge__icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #04170f; }
.trust-badge__label { font-size: 12.5px; font-weight: 700; color: #fff; }
.disclosure { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 22px; padding: 24px 26px; border-radius: 22px; border: 1px solid rgba(168, 255, 120, 0.25); background: linear-gradient(120deg, rgba(168, 255, 120, 0.1), rgba(5, 13, 10, 0.6)); }
.disclosure__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--acc-3); background: rgba(168, 255, 120, 0.14); border: 1px solid rgba(168, 255, 120, 0.2); box-shadow: 0 0 24px rgba(168, 255, 120, 0.3); }
.disclosure__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.disclosure__text { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); line-height: 1.7; }
.footer-bottom strong { color: var(--muted); }
.footer-bottom a:hover { color: var(--acc-3); }
.footer-bottom__legal { display: flex; align-items: center; gap: 10px; white-space: nowrap; }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 18px; z-index: 400; width: calc(100% - 28px); max-width: 880px;
  transform: translate(-50%, 140%); opacity: 0; visibility: hidden;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(14, 32, 24, 0.97), rgba(5, 13, 10, 0.98));
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0.4s;
}
.cookie.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cookie__inner { display: flex; align-items: center; gap: 24px; padding: 20px 22px; }
.cookie__copy { flex: 1; min-width: 0; }
.cookie__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.cookie__text { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cookie__text a { color: var(--acc-3); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 8px; flex: none; }
.cookie__prefs { display: none; padding: 0 22px 20px; }
.cookie.is-expanded .cookie__prefs { display: grid; gap: 10px; }
.pref { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.22); }
.pref__name { font-weight: 600; font-size: 14.5px; }
.pref__desc { margin-top: 2px; font-size: 12.5px; color: var(--dim); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line-2); transition: background 0.2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.switch input:checked + span { background: var(--grad-primary); border-color: transparent; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: 0.6; }
.switch input:disabled { cursor: not-allowed; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .stagger > * { animation: rise 0.8s var(--ease) both; }
.hero .stagger > *:nth-child(2) { animation-delay: 0.08s; }
.hero .stagger > *:nth-child(3) { animation-delay: 0.16s; }
.hero .stagger > *:nth-child(4) { animation-delay: 0.24s; }
.hero .stagger > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.tickets { animation: rise 1s 0.2s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .trust__row { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metric { border-bottom: 0; border-right: 1px solid var(--line); }
  .metric:last-child { border-right: 0; }
}
@media (min-width: 900px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.15fr 2fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .trust__row { grid-template-columns: repeat(6, 1fr); }
  .qa-grid { grid-template-columns: 0.8fr 1.6fr; align-items: start; }
  .qa-grid__head { position: sticky; top: 140px; }
  .cta-term { grid-template-columns: 1fr auto; padding: 44px 48px; }
}
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; gap: 40px; }
  .about-hero__grid { grid-template-columns: 1fr 0.95fr; }
  .plans { grid-template-columns: repeat(3, 1fr); max-width: none; align-items: stretch; }
}

/* Desktop navigation vs. hamburger */
@media (max-width: 1099.98px) {
  .main-nav { display: none; }
  .burger { display: inline-block; }
}
@media (min-width: 1100px) {
  .drawer { display: none !important; }
}
@media (max-width: 1279.98px) and (min-width: 1100px) {
  .heartbeat { display: none; }
  .header-auth.btn--ghost { display: none; }
  .main-nav__link { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 760px) {
  .header-auth { display: none !important; }
  .heartbeat { display: none; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }
  .section { padding: 54px 0; }
  .header-inner { height: 66px; gap: 12px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 19px; }
  .age-bar__inner { padding: 7px var(--pad); align-items: flex-start; }
  .age-bar__text { font-size: 11.5px; }
  .hero { padding-top: 40px; }
  .hero__lead { font-size: 16.5px; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 14px 12px; }
  .hero-stat__num { font-size: 22px; }
  .hero-stat__label { font-size: 10px; letter-spacing: 0.08em; }
  .tickets { --shift: 14px; }
  .ticket { grid-template-columns: 46px 1fr; }
  .ticket__body { padding: 16px 12px 12px; }
  .ticket .ball { --s: 30px; }
  .ticket .balls { gap: 4px; }
  .ticket .ball-plus { font-size: 15px; padding: 0; }
  .ticket__foot .btn { --h: 34px; padding: 0 12px; font-size: 13px; }
  .ticket .jp-box { padding: 6px 10px; }
  .ticket .jp-box__amount { font-size: 19px; }
  .ticket .tile { width: 56px; height: 42px; font-size: 8.5px; }
  .ticket .draw-name { font-size: 16px; }
  .ticket__code { font-size: 9px; }
  .draw-head { flex-wrap: wrap; }
  .rcard { padding: 22px 18px; border-radius: 22px; }
  .rcard .ball { --s: 36px; }
  .rcard .balls { gap: 5px; }
  .rcard .ball-plus { padding: 0; }
  .rcard__foot .btn { width: 100%; }
  .jp-box__amount { font-size: 22px; }
  .tiers { overflow-x: auto; }
  .tiers-table { min-width: 420px; font-size: 13px; }
  .tiers-table th, .tiers-table td { padding: 10px 12px; }
  .jackpot { padding: 36px 18px 40px; border-radius: 26px; }
  .countdown__cell { min-width: 58px; }
  .countdown__num { font-size: 20px; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 8px; }
  .tl-item::before { left: -32px; }
  .tl-card { padding: 20px; }
  .newsletter { padding: 32px 20px 22px; border-radius: 26px; }
  .nl-form { flex-direction: column; border-radius: 20px; }
  .nl-form input { height: 48px; }
  .nl-stats { gap: 8px; }
  .nl-stat__num { font-size: 24px; }
  .nl-stat__label { font-size: 10px; letter-spacing: 0.08em; }
  .arc-row { grid-template-columns: 1fr; padding: 16px; }
  .arc-row__side { flex-direction: row; align-items: center; justify-content: space-between; }
  .arc-row .ball--sm { --s: 32px; }
  .filters__count { margin-left: 0; width: 100%; }
  .filters__group { width: 100%; }
  .filters__group .select { flex: 1; }
  .heat { grid-template-columns: repeat(7, 1fr); }
  .panel { padding: 20px 16px; }
  .legal { padding: 30px 22px; border-radius: 22px; }
  .cookie-table { display: block; overflow-x: auto; font-size: 13.5px; }
  .cookie-table th, .cookie-table td { padding: 10px; min-width: 110px; }
  .faq__item summary { padding: 18px; font-size: 15.5px; }
  .faq__answer { margin: 0 18px; }
  .form-card { padding: 30px 20px; border-radius: 24px; }
  .plan { padding: 28px 22px; }
  .plan__amount { font-size: 44px; }
  .status-hero { padding: 22px; }
  .focus-item summary { grid-template-columns: 48px 1fr 20px; padding: 20px 18px; gap: 12px; }
  .focus-item__num { font-size: 20px; }
  .focus-item__title { font-size: 17px; }
  .focus-item__more { padding: 0 18px 20px 78px; }
  .qa-item summary { grid-template-columns: 34px 1fr 26px; padding: 16px; font-size: 15px; }
  .qa-item__a { padding: 0 16px 18px 62px; }
  .cta-term { padding: 28px 22px; }
  .term-grid { grid-template-columns: 1fr; }
  .term-grid > div:nth-child(odd) { border-right: 0; }
  .term-grid > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .term-grid > div:last-child { border-bottom: 0; }
  .terminal .ball { --s: 36px; }
  .disclosure { grid-template-columns: 1fr; }
  .footer-bottom__legal { white-space: normal; }
  .cookie { bottom: 10px; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .cookie__actions { flex-direction: column; }
  .cookie__actions .btn { width: 100%; }
  .cookie__prefs { padding: 0 18px 18px; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { grid-column: span 2; order: 3; }
  .hero-stat__num { font-size: 24px; }
  .nl-stat { padding: 14px 6px; }
  .nl-stat__num { font-size: 20px; }
  .kpis .kpi { padding: 16px; }
}
@media (max-width: 400px) {
  .ticket .ball { --s: 27px; }
  .ticket__body > .balls { gap: 3px; }
}
@media (max-width: 420px) {
  .lang-switch__btn { min-width: 34px; padding: 0 8px; }
  .footer-cols { grid-template-columns: 1fr; }
  .countdown { gap: 6px; }
  .countdown__cell { min-width: 52px; }
}
