/* ==========================================================================
   Luvendo Portal — main stylesheet
   Theme colours: #ff0000 (red) + #fdcf58 (gold)
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  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";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  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;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #05060d;
  --bg-1: #080915;
  --bg-2: #0c0d1e;
  --card: #13142c;
  --card-2: #0e0f23;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4f4fb;
  --text-2: #cfd0e6;
  --muted: #9a9cbd;
  --dim: #6d7093;

  --gold: #fdcf58;
  --red: #ff0000;
  --gold-rgb: 253, 207, 88;
  --red-rgb: 255, 0, 0;
  --grad: linear-gradient(100deg, #fdcf58 8%, #ff0000 125%);
  --grad-text: linear-gradient(96deg, #fdcf58 15%, #ff0000 150%);
  --grad-line: linear-gradient(90deg, #ff0000, #fdcf58);

  --teal: #2fd3b5;
  --teal-rgb: 47, 211, 181;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: 28px;

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

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 82px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at -10% 35%, rgba(var(--red-rgb), 0.07), transparent 70%),
    radial-gradient(55vw 55vh at 110% 60%, rgba(var(--gold-rgb), 0.06), transparent 70%),
    linear-gradient(180deg, #06070f 0%, #05060d 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(var(--gold-rgb), 0.35); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page__skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a0b00; font-weight: 700; transition: top 0.2s; }
.page__skip:focus { top: 12px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1.2;
  white-space: nowrap; transition: transform 0.25s 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); color: #1c0800;
  box-shadow: 0 10px 28px -10px rgba(255, 60, 20, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(120, 0, 0, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 40, 10, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(120, 0, 0, 0.25); }
.btn--ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.btn--outline { border-color: rgba(var(--gold-rgb), 0.75); color: var(--gold); background: transparent; }
.btn--outline:hover { background: rgba(var(--gold-rgb), 0.08); border-color: var(--gold); }
.btn--sm { padding: 9px 17px; font-size: 14.5px; }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; }
.header__disclaimer {
  background: linear-gradient(90deg, #2a0f05 0%, #1d1608 55%, #15110b 100%);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
}
.header__disclaimer-inner {
  max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.header__disclaimer-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--grad); color: #1c0800; font-weight: 800; font-size: 12.5px; letter-spacing: 0.02em;
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.35);
}
.header__disclaimer-text { font-size: 13px; line-height: 1.45; color: #f3e7c9; }
.header__inner {
  position: relative;
  background: rgba(7, 8, 18, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled .header__inner { box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.8); }
.header__bar { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.35), 0 0 26px rgba(var(--gold-rgb), 0.28), 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__tag { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.header .logo__tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.header__tools { display: flex; align-items: center; gap: 10px; }
.heartbeat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 24px; border-radius: 999px;
  background: rgba(var(--teal-rgb), 0.1); border: 1px solid rgba(var(--teal-rgb), 0.35);
}
.heartbeat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2.2s infinite; }
.heartbeat__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--teal-rgb), 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(var(--teal-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--teal-rgb), 0); }
}
.lang-switcher { display: inline-flex; align-items: center; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.lang-switcher__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding: 0 10px;
  border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); transition: color 0.2s, background 0.2s;
}
.lang-switcher__btn:hover { color: var(--text); }
.lang-switcher__btn--active { background: var(--grad); color: #1c0800; box-shadow: 0 4px 14px -4px rgba(255, 70, 20, 0.7); }
.lang-switcher__btn--active:hover { color: #1c0800; }

/* Desktop inline navigation (hidden on small screens) */
.header__nav { display: none; }
.header__nav-list { display: flex; align-items: center; gap: 2px; }
.header__nav-link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 13px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.header__nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.header__nav-link--active { color: var(--gold); }
.header__nav-link--active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-line); }

.nav__burger {
  width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: background 0.2s, border-color 0.2s;
}
.nav__burger:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-2); }
.nav__burger-lines { position: relative; width: 20px; height: 14px; }
.nav__burger-lines span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease); }
.nav__burger-lines span:nth-child(1) { top: 0; }
.nav__burger-lines span:nth-child(2) { top: 6px; }
.nav__burger-lines span:nth-child(3) { top: 12px; }
.nav-open .nav__burger-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav__burger-lines span:nth-child(2) { opacity: 0; }
.nav-open .nav__burger-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Drawer navigation */
.nav-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(3, 4, 10, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(400px, 88vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f1024 0%, #090a17 100%);
  border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.7);
  transform: translateX(104%); visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
}
.nav::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; background: radial-gradient(80% 100% at 100% 0%, rgba(var(--red-rgb), 0.16), transparent 70%); pointer-events: none; }
.nav-open .nav { transform: translateX(0); visibility: visible; }
.nav-open .nav-overlay { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.nav__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.nav__list-title { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.nav__close { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-size: 22px; line-height: 1; color: var(--text); }
.nav__close:hover { background: rgba(255, 255, 255, 0.08); }
.nav__list { position: relative; flex: 1; overflow-y: auto; padding: 10px 26px; }
.nav__item { border-bottom: 1px solid var(--line); }
.nav__link { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--text-2); transition: color 0.2s, padding 0.3s var(--ease); }
.nav__link::after { content: "→"; font-family: var(--font-body); font-size: 16px; color: var(--dim); transition: transform 0.3s var(--ease), color 0.2s; }
.nav__link:hover { color: var(--text); padding-left: 6px; }
.nav__link:hover::after { transform: translateX(4px); color: var(--gold); }
.nav__link--active { color: var(--gold); }
.nav__link--active::after { color: var(--gold); }
.nav__actions { position: relative; display: grid; gap: 10px; padding: 22px 26px 30px; border-top: 1px solid var(--line); }
.nav__meta { font-size: 12.5px; color: var(--dim); text-align: center; margin-top: 6px; }

/* ---------- Generic sections ---------- */
.main { display: block; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 36px 0 90px; }
.section--flush-top { padding-top: 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head__title { display: flex; align-items: flex-start; gap: 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.02em; }
.section-head__title .spark { flex: none; width: 22px; height: 22px; margin-top: 0.42em; color: var(--gold); filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.6)); }
.section-head__sub { margin-top: 10px; color: var(--muted); font-size: 16.5px; max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold); white-space: nowrap; transition: gap 0.25s var(--ease), color 0.2s; }
.link-arrow:hover { gap: 10px; color: #ffe28f; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(var(--gold-rgb), 0.35); background: rgba(var(--gold-rgb), 0.06);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.18), 0 0 10px var(--gold); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pill--teal { color: var(--teal); background: rgba(var(--teal-rgb), 0.08); border: 1px solid rgba(var(--teal-rgb), 0.3); }
.pill--teal .pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.pill--gold { color: var(--gold); background: rgba(var(--gold-rgb), 0.08); border: 1px solid rgba(var(--gold-rgb), 0.3); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 78px 0 56px; text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 80% at 50% 30%, #000 20%, transparent 75%);
}
.page-hero::after { content: ""; position: absolute; left: 50%; top: 45%; width: 620px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.12), rgba(var(--red-rgb), 0.05) 55%, transparent); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { opacity: 0.6; }
.page-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; max-width: 900px; margin: 0 auto; background: linear-gradient(180deg, #ffffff 35%, #f6d9a8 115%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__sub { margin: 18px auto 0; max-width: 720px; color: var(--muted); font-size: 17px; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 66px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, transparent 0 128px, rgba(0, 0, 0, 0.25) 128px 192px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(var(--red-rgb), 0.1), rgba(var(--gold-rgb), 0.05) 50%, transparent); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.hero__title { margin-top: 26px; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -0.03em; max-width: 640px; }
.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; line-height: 1.6; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__actions .btn { padding: 16px 30px; font-size: 16.5px; }
.stats-strip { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.018); overflow: hidden; }
.stats-strip__item { padding: 20px 22px; border-left: 1px solid var(--line); }
.stats-strip__item:first-child { border-left: 0; }
.stats-strip__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-strip__label { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* Hero tickets */
.tickets { position: relative; max-width: 600px; margin: 0 auto; width: 100%; padding: 10px 0 20px; }
.ticket {
  position: relative; display: grid; grid-template-columns: 66px 1fr; border-radius: 24px;
  background: linear-gradient(160deg, #1d1630 0%, #131430 45%, #0e0f24 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.6s var(--ease);
}
.ticket::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 3px; background: var(--grad-line); }
.ticket--ej { transform: rotate(-2.4deg) translateX(-14px); z-index: 1; }
.ticket--vl { transform: rotate(1.6deg) translateX(30px); margin-top: -10px; z-index: 2; background: linear-gradient(160deg, #0f2830 0%, #12193a 50%, #0d1024 100%); }
.ticket--vl::before { background: linear-gradient(90deg, #14b89a, #7ff0dc); }
.tickets:hover .ticket--ej { transform: rotate(-1deg) translateX(-8px); }
.tickets:hover .ticket--vl { transform: rotate(0.6deg) translateX(20px); }
.ticket__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0 18px; border-right: 2px dashed rgba(255, 255, 255, 0.13); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.ticket__stub::before { top: -11px; clip-path: inset(50% 0 0 0); }
.ticket__stub::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.ticket__code { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--dim); white-space: nowrap; }
.ticket__code b { color: var(--gold); font-weight: 700; }
.ticket--vl .ticket__code b { color: var(--teal); }
.ticket__barcode { width: 34px; height: 22px; margin-top: 14px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0 1px, transparent 1px 3px, rgba(255, 255, 255, 0.75) 3px 5px, transparent 5px 6px, rgba(255, 255, 255, 0.75) 6px 7px, transparent 7px 9px); opacity: 0.7; }
.ticket__body { padding: 26px 28px 22px; min-width: 0; }

/* ---------- Lottery cards (shared) ---------- */
.draw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.draw-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.lotto-logo { flex: none; width: 78px; height: 58px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; }
.lotto-logo--ej { background: linear-gradient(140deg, #ffe7a3 0%, #fdcf58 42%, #ff6a1a 115%); color: #1a1030; box-shadow: 0 8px 22px -8px rgba(255, 90, 20, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.lotto-logo--ej span:last-child { color: #b10000; }
.lotto-logo--vl { background: linear-gradient(140deg, #8ff3e0 0%, #2fd3b5 50%, #0c9c83 110%); color: #06302a; box-shadow: 0 8px 22px -8px rgba(var(--teal-rgb), 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.lotto-logo--vl span:last-child { color: #ffffff; }
.draw-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: #fff; }
.draw-date { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.jackpot-chip { flex: none; text-align: right; padding: 10px 18px 9px; border-radius: 14px; border: 1px solid rgba(var(--gold-rgb), 0.28); background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08), rgba(var(--gold-rgb), 0.02)); }
.jackpot-chip__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.jackpot-chip__value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label-caps { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); }
.balls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.ball {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #12131f;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, #eceef5 38%, #b8bccd 100%);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.6), inset -3px -5px 9px rgba(0, 0, 0, 0.16), inset 2px 3px 6px rgba(255, 255, 255, 0.7);
}
.ball--euro { background: radial-gradient(circle at 34% 28%, #fff0bf 0%, #fdcf58 40%, #c78612 100%); color: #2a1500; }
.ball--viking { background: radial-gradient(circle at 34% 28%, #a6f6e6 0%, #2fd3b5 45%, #097a66 100%); color: #032620; }
.ball--hot { background: radial-gradient(circle at 34% 28%, #ffb4a6 0%, #ff3b2a 45%, #a10000 100%); color: #fff; }
.balls__plus { color: var(--dim); font-size: 20px; padding: 0 2px; }
.balls--sm { gap: 7px; margin-top: 10px; }
.balls--sm .ball { width: 36px; height: 36px; font-size: 13.5px; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.6), inset -2px -3px 6px rgba(0, 0, 0, 0.16), inset 1px 2px 4px rgba(255, 255, 255, 0.7); }
.draw-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.draw-foot__next { font-size: 14.5px; color: var(--muted); }
.draw-foot__next strong { color: #fff; font-weight: 600; }
.ticket .draw-name { font-size: 21px; }
.ticket .jackpot-chip__value { font-size: 24px; }
.ticket .jackpot-chip { padding: 9px 15px 8px; }
.ticket .balls { margin-top: 12px; gap: 8px; flex-wrap: nowrap; }
.ticket .ball { width: 46px; height: 46px; font-size: 16.5px; flex: none; }
.ticket .lotto-logo { width: 66px; height: 50px; font-size: 11px; }
.ticket .draw-id { gap: 14px; }

/* Result cards */
.draw-card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: radial-gradient(90% 70% at 100% 0%, rgba(var(--red-rgb), 0.09), transparent 60%), linear-gradient(180deg, #15162f 0%, #0f1024 100%);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.draw-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad-line); }
.draw-card--vl { background: radial-gradient(90% 70% at 100% 0%, rgba(var(--teal-rgb), 0.1), transparent 60%), linear-gradient(180deg, #111a33 0%, #0d1124 100%); }
.draw-card--vl::before { background: linear-gradient(90deg, #14b89a, #7ff0dc); }
.draw-card:hover { border-color: var(--line-2); }
.draw-card.is-selected { border-color: rgba(var(--gold-rgb), 0.55); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.08), 0 30px 60px -40px rgba(0, 0, 0, 0.9); }
.draw-card + .draw-card { margin-top: 28px; }
.draw-card .pill { margin-top: 20px; }
.draw-card__nums { margin-top: 20px; }
.prize-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--gold); }
.prize-toggle__icon { transition: transform 0.3s var(--ease); }
.prize-toggle[aria-expanded="true"] .prize-toggle__icon { transform: rotate(180deg); }
.prize-table-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.prize-table-wrap.is-open { grid-template-rows: 1fr; }
.prize-table-wrap > div { overflow: hidden; }
.prize-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.prize-table th { padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line-2); }
.prize-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.prize-table td:last-child, .prize-table th:last-child { text-align: right; }
.prize-table td:last-child { color: #fff; font-weight: 600; }
.prize-table tr:first-child td:last-child { color: var(--gold); }
.prize-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Jackpot banner */
.jackpot-banner {
  position: relative; overflow: hidden; text-align: center; padding: 38px 30px 52px; border-radius: 32px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  background: radial-gradient(60% 75% at 50% 0%, rgba(var(--gold-rgb), 0.22), transparent 70%), radial-gradient(50% 60% at 50% 110%, rgba(var(--red-rgb), 0.12), transparent 70%), linear-gradient(180deg, #1b1a2c 0%, #121326 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.jackpot-banner__amount { display: block; margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 92px); line-height: 1; letter-spacing: -0.04em; background: linear-gradient(180deg, #ffe28d 0%, #fdcf58 40%, #ff3a10 130%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(255, 90, 20, 0.35)); }
.jackpot-banner__meta { margin-top: 16px; color: var(--muted); font-size: 17px; }
.jackpot-banner__meta strong { color: #fff; font-weight: 600; }
.jackpot-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.jackpot-banner__actions .btn { padding: 16px 30px; font-size: 16.5px; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--gold) 0%, rgba(var(--gold-rgb), 0.35) 60%, transparent 100%); }
.timeline__item { position: relative; }
.timeline__item + .timeline__item { margin-top: 18px; }
.timeline__dot { position: absolute; left: -36px; top: 30px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a8, #fdcf58 45%, #e0571a 100%); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.16), 0 0 16px rgba(var(--gold-rgb), 0.55); }
.timeline__card { padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); transition: border-color 0.3s, transform 0.4s var(--ease); }
.timeline__card:hover { border-color: rgba(var(--gold-rgb), 0.3); transform: translateX(4px); }
.timeline__meta { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); }
.timeline__amount { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 27px; line-height: 1.15; letter-spacing: -0.02em; background: linear-gradient(96deg, #ffe08a 0%, #fdcf58 50%, #ff8a3a 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline__title { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.35; color: #fff; }
.timeline__text { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* Quick facts */
.facts { position: relative; margin-top: 50px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(70% 60% at 100% 0%, rgba(var(--red-rgb), 0.08), transparent 60%), linear-gradient(180deg, #16172f 0%, #101125 100%); }
.facts::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad-line); }
.facts__block + .facts__block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; }
.facts__list { margin-top: 14px; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.facts__list strong { color: var(--gold); font-weight: 600; }
.facts__block--vl .facts__list strong { color: var(--teal); }

/* Newsletter */
.newsletter {
  position: relative; overflow: hidden; padding: 46px 30px 30px; border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(45% 55% at 72% 0%, rgba(var(--gold-rgb), 0.14), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(var(--red-rgb), 0.16), transparent 70%), linear-gradient(180deg, #17182f 0%, #0f1026 100%);
}
.newsletter__title { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; max-width: 760px; }
.newsletter__text { margin-top: 12px; max-width: 560px; color: var(--muted); font-size: 16.5px; }
.newsletter__form { margin-top: 30px; display: flex; align-items: center; gap: 8px; max-width: 540px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 6, 13, 0.75); transition: border-color 0.2s, box-shadow 0.2s; }
.newsletter__form:focus-within { border-color: rgba(var(--gold-rgb), 0.55); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.08); }
.newsletter__input { flex: 1; min-width: 0; padding: 12px 18px; background: transparent; border: 0; outline: 0; font-size: 16px; color: var(--text); }
.newsletter__input::placeholder { color: var(--dim); }
.newsletter__fine { margin-top: 16px; font-size: 12.5px; color: var(--dim); }
.newsletter__fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.form-msg { margin-top: 14px; font-size: 14.5px; font-weight: 500; min-height: 1px; }
.form-msg--ok { color: var(--teal); }
.form-msg--err { color: #ff7a6b; }
.mini-stats { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-stat { padding: 22px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(5, 6, 13, 0.45); text-align: center; }
.mini-stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-stat__label { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Results page ---------- */
.lottery-block + .lottery-block { margin-top: 84px; }
.lottery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.lottery-head__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.8vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.lottery-head__next { margin-top: 8px; color: var(--muted); font-size: 17px; }
.lottery-head__next strong { color: var(--gold); font-weight: 700; }
.lottery-block--vl .lottery-head__next strong { color: var(--teal); }
.selected-draw { margin-bottom: 56px; }
.selected-draw__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }

/* ---------- Archive ---------- */
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #121330, #0e0f25); }
.filter-bar__group { display: flex; align-items: center; gap: 12px; }
.filter-bar__label { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); }
.select {
  -webkit-appearance: none; appearance: none; padding: 11px 40px 11px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #07080f 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='%23fdcf58' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 15.5px; color: var(--text); cursor: pointer; transition: border-color 0.2s;
}
.select:hover, .select:focus { border-color: rgba(var(--gold-rgb), 0.55); outline: none; }
.select option { background: #0c0d1e; color: var(--text); }
.filter-bar__count { margin-left: auto; color: var(--muted); font-size: 15.5px; }
.filter-bar__count strong { color: var(--gold); font-weight: 700; }
.archive-list { margin-top: 28px; display: grid; gap: 14px; }
.archive-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: linear-gradient(180deg, #111228, #0d0e22);
  transition: border-color 0.25s, transform 0.35s var(--ease), background 0.25s;
}
.archive-item:hover { border-color: rgba(var(--gold-rgb), 0.35); transform: translateY(-2px); background: linear-gradient(180deg, #15162f, #0f1025); }
.archive-item__date { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.archive-item__jackpot { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--gold); }
.archive-item__lottery { display: inline-flex; align-items: center; gap: 10px; align-self: start; font-weight: 600; font-size: 15px; color: #fff; }
.archive-item__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(var(--red-rgb), 0.8); }
.archive-item__dot--vl { background: var(--teal); box-shadow: 0 0 10px rgba(var(--teal-rgb), 0.8); }
.archive-empty { padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 18px; }
.pager { margin-top: 32px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); font-size: 14.5px; font-weight: 600; color: var(--text); transition: background 0.2s, border-color 0.2s; }
.pager__btn:hover { border-color: rgba(var(--gold-rgb), 0.5); background: rgba(var(--gold-rgb), 0.06); }
.pager__btn--active { background: var(--grad); color: #1c0800; border-color: transparent; box-shadow: 0 8px 22px -6px rgba(255, 70, 20, 0.7); }
.pager__btn--active:hover { background: var(--grad); }
.pager__btn[disabled] { opacity: 0.35; pointer-events: none; }
.pager__gap { color: var(--dim); padding: 0 4px; }

/* ---------- Premium ---------- */
.notice { max-width: var(--container); margin: 0 auto; padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(var(--gold-rgb), 0.3); background: rgba(var(--gold-rgb), 0.05); color: var(--muted); font-size: 15.5px; line-height: 1.6; text-align: center; }
.notice strong { display: block; color: var(--gold); font-weight: 700; margin-bottom: 4px; text-align: left; }
.plans { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 480px; margin: 0 auto; align-items: start; }
.plan { position: relative; padding: 34px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(70% 50% at 80% 0%, rgba(var(--gold-rgb), 0.06), transparent 70%), linear-gradient(180deg, #181a35 0%, #0f1126 100%); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9); transition: transform 0.4s var(--ease), border-color 0.3s; }
.plan:hover { transform: translateY(-4px); }
.plan--popular { border: 1.5px solid rgba(var(--gold-rgb), 0.55); box-shadow: 0 0 50px -16px rgba(var(--gold-rgb), 0.35), 0 40px 70px -40px rgba(0, 0, 0, 0.9); }
.plan__badge { position: absolute; top: -15px; right: 28px; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: #1c0800; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 8px 20px -6px rgba(255, 70, 20, 0.7); }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.plan__sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.plan__amount { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.plan--popular .plan__amount { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__per { color: var(--dim); font-size: 15px; }
.plan__save { padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(var(--teal-rgb), 0.35); background: rgba(var(--teal-rgb), 0.08); color: var(--teal); font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.plan__features { margin-top: 24px; display: grid; gap: 14px; }
.plan__features li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.check { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--teal-rgb), 0.12); border: 1px solid rgba(var(--teal-rgb), 0.35); color: var(--teal); font-size: 11px; font-weight: 800; }
.plan .btn { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin: 0 auto; display: grid; gap: 16px; }
.faq__item { border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #13142f, #0e0f25); transition: border-color 0.3s; }
.faq__item[open] { border-color: rgba(var(--gold-rgb), 0.28); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; cursor: pointer; font-weight: 600; font-size: 17px; color: #fff; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font-family: var(--font-mono); font-size: 12px; color: var(--gold); margin-right: 14px; }
.faq__q { flex: 1; display: flex; align-items: baseline; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--gold-rgb), 0.3); background: rgba(var(--gold-rgb), 0.06); color: var(--gold); font-size: 20px; font-weight: 500; line-height: 1; transition: transform 0.35s var(--ease), background 0.2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: rgba(var(--gold-rgb), 0.14); }
.faq__answer { margin: 0 26px; padding: 20px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16.5px; line-height: 1.65; }

/* ---------- Legal / prose ---------- */
.legal { max-width: 920px; margin: 0 auto; padding: 50px 52px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(60% 40% at 100% 0%, rgba(var(--gold-rgb), 0.05), transparent 70%), linear-gradient(180deg, #16172f 0%, #0f1025 100%); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9); }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; color: var(--gold); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: 16.5px; line-height: 1.68; }
.legal p + p { margin-top: 14px; }
.legal strong { color: #fff; font-weight: 600; }
.legal em { color: var(--text-2); }
.legal a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb), 0.4); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--gold); }
.legal ul { margin-top: 12px; display: grid; gap: 10px; }
.legal ul + p { margin-top: 14px; }
.legal li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.7); }
.legal__updated { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim) !important; }

/* ---------- Forms ---------- */
.form { max-width: 480px; margin: 0 auto; padding: 40px; border-radius: 30px; border: 1px solid var(--line-2); background: radial-gradient(70% 50% at 80% 0%, rgba(var(--gold-rgb), 0.07), transparent 70%), linear-gradient(180deg, #181a35 0%, #0f1126 100%); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.form__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.form__sub { margin-top: 8px; color: var(--muted); font-size: 16px; }
.form__group { margin-top: 22px; }
.form__label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.form__input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #07080f; color: var(--text); font-size: 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form__input:focus { border-color: rgba(var(--gold-rgb), 0.6); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.1); }
.form__input.is-invalid { border-color: rgba(255, 90, 70, 0.75); }
.form > .btn { margin-top: 26px; }
.form__foot { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; }
.form__foot a { color: var(--gold); font-weight: 600; }
.form__consent { margin: 26px 0 0; padding: 0; border: 0; display: grid; gap: 14px; }
.form__consent-legend { margin-bottom: 12px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.form__check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.form__check input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1px solid var(--line-2); background: #07080f; display: grid; place-content: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.form__check input::before { content: ""; width: 11px; height: 6px; border-left: 2px solid #1c0800; border-bottom: 2px solid #1c0800; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 0.2s var(--ease); }
.form__check input:checked { background: var(--grad); border-color: transparent; }
.form__check input:checked::before { transform: rotate(-45deg) scale(1); }
.form__check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.form__check-req { color: var(--gold); }

/* ---------- Status ---------- */
.status-overall { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px 34px; border-radius: 24px; border: 1px solid rgba(var(--teal-rgb), 0.35); background: radial-gradient(60% 100% at 0% 50%, rgba(var(--teal-rgb), 0.12), transparent 70%), linear-gradient(180deg, #0f1c2c, #0d1326); }
.status-overall__main { display: flex; align-items: center; gap: 20px; }
.status-overall__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); animation: pulse 2.2s infinite; }
.status-overall__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.status-overall__sub { margin-top: 4px; color: var(--muted); font-size: 15px; }
.status-overall__uptime { font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--teal); }
.status-overall__uptime small { font-size: 11px; color: var(--dim); letter-spacing: 0.14em; margin-left: 6px; }
.status-table { margin-top: 28px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #121330, #0e0f25); overflow: hidden; }
.status-row { display: grid; grid-template-columns: 1.4fr 0.9fr 0.65fr 1.3fr 0.9fr; align-items: center; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
.status-row--head { border-top: 0; padding-top: 16px; padding-bottom: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.status-row__name { font-weight: 600; color: #fff; }
.status-row__uptime { font-family: var(--font-mono); font-weight: 700; font-size: 14.5px; color: #fff; }
.status-row__check { font-family: var(--font-mono); font-size: 14px; color: var(--muted); text-align: right; }
.status-row--head .status-row__check { text-align: right; }
.status-pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgba(var(--teal-rgb), 0.1); border: 1px solid rgba(var(--teal-rgb), 0.3); color: var(--teal); font-size: 13px; font-weight: 600; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.uptime-bars { display: flex; gap: 2px; height: 22px; }
.uptime-bars i { flex: 1; max-width: 5px; border-radius: 2px; background: rgba(var(--teal-rgb), 0.75); }
.uptime-bars i.warn { background: var(--gold); }
.status-incidents { margin-top: 28px; padding: 28px 30px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #121330, #0e0f25); }
.status-incidents h2 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.status-incidents p { margin-top: 16px; display: flex; align-items: center; gap: 14px; color: var(--muted); }

/* ---------- About (feature list, terminal) ---------- */
.about-hero { position: relative; padding: 70px 0 70px; overflow: hidden; }
.about-hero__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.about-hero__title { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; }
.about-hero__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-hero__text { margin-top: 20px; color: var(--muted); font-size: 17.5px; line-height: 1.65; max-width: 560px; }
.about-hero__border { padding-left: 22px; border-left: 3px solid; border-image: linear-gradient(180deg, var(--gold), var(--red)) 1; }
.terminal { border-radius: 20px; border: 1px solid rgba(var(--gold-rgb), 0.22); background: linear-gradient(180deg, #11122a, #0b0c1d); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.terminal__dots { display: flex; gap: 7px; }
.terminal__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.terminal__dots i:nth-child(2) { background: var(--gold); }
.terminal__dots i:nth-child(3) { background: var(--teal); }
.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: 12px; letter-spacing: 0.2em; color: var(--dim); }
.terminal .ball { width: 44px; height: 44px; font-family: var(--font-mono); font-size: 15px; }
.terminal__grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.terminal__cell { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-mono); }
.terminal__cell:nth-child(2n) { border-right: 0; }
.terminal__cell:nth-last-child(-n + 2) { border-bottom: 0; }
.terminal__cell span { font-size: 11.5px; letter-spacing: 0.16em; color: var(--dim); }
.terminal__cell b { font-size: 16px; color: var(--gold); }
.terminal__cell b.live { color: var(--teal); font-size: 13.5px; }
.terminal__chart { margin-top: 20px; height: 70px; display: flex; align-items: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.terminal__chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold), rgba(var(--red-rgb), 0.35)); opacity: 0.85; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.features { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #101127, #0c0d20); overflow: hidden; }
.feature { border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; }
.feature summary { list-style: none; display: grid; grid-template-columns: 90px 1fr 30px; align-items: center; gap: 16px; padding: 26px 28px; cursor: pointer; transition: background 0.2s; }
.feature summary::-webkit-details-marker { display: none; }
.feature summary:hover { background: rgba(255, 255, 255, 0.015); }
.feature__num { font-family: var(--font-mono); font-weight: 600; font-size: 26px; color: var(--gold); }
.feature__title { font-family: var(--font-display); font-weight: 600; font-size: 18.5px; color: #fff; }
.feature__desc { margin-top: 6px; color: var(--muted); font-size: 15px; }
.feature__icon { color: var(--dim); font-size: 20px; text-align: center; transition: transform 0.3s var(--ease), color 0.2s; }
.feature[open] .feature__icon { transform: rotate(45deg); color: var(--gold); }
.feature__more { padding: 0 28px 24px calc(28px + 90px + 16px); color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #101127, #0c0d20); }
.metric { padding: 28px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric__tag { font-family: var(--font-mono); font-size: 12px; color: var(--dim); letter-spacing: 0.12em; }
.metric__num { margin-top: 12px; font-family: var(--font-mono); font-weight: 700; font-size: 38px; line-height: 1; color: var(--gold); }
.metric__label { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.metric__bars { margin-top: 16px; display: flex; align-items: flex-end; gap: 4px; height: 24px; }
.metric__bars i { width: 6px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), rgba(var(--red-rgb), 0.6)); }
.cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(50% 120% at 100% 0%, rgba(var(--red-rgb), 0.14), transparent 70%), linear-gradient(180deg, #17182f, #0f1025); }
.cta__cmd { font-family: var(--font-mono); font-size: 13px; color: var(--teal); }
.cta__title { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.01em; }
.cta__text { margin-top: 10px; color: var(--muted); max-width: 600px; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 60px; padding: 74px 0 40px; background: linear-gradient(180deg, #0a0b1a 0%, #05060d 100%); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.45) 30%, rgba(var(--red-rgb), 0.45) 70%, transparent); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer .logo__name { font-size: 20px; }
.footer .logo__mark { width: 34px; height: 34px; }
.footer__about { margin-top: 20px; max-width: 400px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge--age { color: #ff8a80; background: rgba(var(--red-rgb), 0.1); border: 1px solid rgba(var(--red-rgb), 0.4); }
.badge--rg { color: var(--teal); background: rgba(var(--teal-rgb), 0.08); border: 1px solid rgba(var(--teal-rgb), 0.3); }
.badge--gdpr { color: var(--gold); background: rgba(var(--gold-rgb), 0.07); border: 1px solid rgba(var(--gold-rgb), 0.3); }
.footer__social { margin-top: 22px; }
.footer__social-label, .footer__title { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.footer__social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-2); transition: background 0.2s, color 0.2s, transform 0.3s var(--ease), border-color 0.2s; }
.social-icon:hover { background: rgba(var(--gold-rgb), 0.1); border-color: rgba(var(--gold-rgb), 0.35); color: var(--gold); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 30px; }
.footer__list { margin-top: 18px; display: grid; gap: 12px; }
.footer__list a { color: var(--muted); font-size: 15.5px; transition: color 0.2s; }
.footer__list a:hover { color: var(--gold); }
.footer__list--meta li { color: var(--muted); font-size: 15.5px; }
.footer__list--meta strong { color: #fff; font-weight: 600; }
.footer__list--meta a { white-space: nowrap; }
.footer__list--meta a:hover { color: var(--gold); }
.footer__trust { margin-top: 56px; padding: 28px 30px 30px; border-radius: 24px; border: 1px solid rgba(var(--gold-rgb), 0.22); background: linear-gradient(135deg, rgba(var(--red-rgb), 0.07) 0%, rgba(20, 18, 34, 0.9) 35%, rgba(16, 17, 36, 0.9) 100%); }
.footer__trust-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__trust-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__trust-sub { font-size: 13.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.footer__trust-row { margin-top: 26px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.trust-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 92px; padding: 12px 8px; border-radius: 16px; transition: background 0.2s; text-align: center; }
.trust-badge:hover { background: rgba(255, 255, 255, 0.03); }
.trust-badge--age { border: 1px solid rgba(var(--gold-rgb), 0.25); background: rgba(var(--gold-rgb), 0.04); }
.trust-badge__age { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; line-height: 1; }
.trust-badge__age sup { font-size: 15px; vertical-align: super; color: var(--gold); }
.trust-badge__tile { width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.trust-badge__tile--a { background: linear-gradient(140deg, #3a1f5a, #23123e); color: #fdcf58; }
.trust-badge__tile--b { background: linear-gradient(140deg, #ff5a1f, #d63a00); font-size: 12px; }
.trust-badge__tile--c { background: linear-gradient(140deg, #39b7e8, #1b8fc2); color: #0a1820; }
.trust-badge__tile--d { background: #ffffff; color: #138b74; font-size: 13px; }
.trust-badge__tile--e { background: linear-gradient(140deg, #2fd3b5, #0e8c75); color: #052620; }
.trust-badge__label { font-size: 12.5px; font-weight: 700; color: #fff; }
.disclosure { margin-top: 28px; display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start; padding: 26px; border-radius: 22px; border: 1px solid rgba(var(--teal-rgb), 0.25); background: linear-gradient(135deg, rgba(var(--teal-rgb), 0.07), rgba(10, 12, 26, 0.6) 60%); }
.disclosure__badge { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--teal-rgb), 0.45); background: rgba(var(--teal-rgb), 0.08); color: var(--teal); font-family: var(--font-display); font-weight: 800; font-size: 17px; box-shadow: 0 0 22px rgba(var(--teal-rgb), 0.25); }
.disclosure__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; }
.disclosure__text { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer__bottom { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--dim); line-height: 1.6; }
.footer__copy { max-width: 720px; }
.footer__copy strong { color: var(--muted); }
.footer__copy a:hover, .footer__legal a:hover { color: var(--gold); }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 50%; bottom: 20px; z-index: 200; width: min(840px, calc(100% - 24px)); transform: translate(-50%, 30px); opacity: 0; visibility: hidden; transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0.5s; }
.cookie-bar.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cookie-bar__inner { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(10, 11, 26, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.cookie-bar__row { display: flex; align-items: center; gap: 24px; }
.cookie-bar__copy { flex: 1; }
.cookie-bar__title { font-weight: 700; font-size: 16px; color: #fff; }
.cookie-bar__text { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cookie-bar__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; }
.cookie-prefs { display: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-bar.show-prefs .cookie-prefs { display: block; }
.cookie-pref { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.cookie-pref + .cookie-pref { border-top: 1px dashed var(--line); }
.cookie-pref__name { font-weight: 600; font-size: 14.5px; color: #fff; }
.cookie-pref__desc { font-size: 13px; color: var(--muted); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); 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); border-color: transparent; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: 0.6; }
.cookie-prefs__save { margin-top: 12px; display: flex; justify-content: flex-end; }

/* ---------- Motion ---------- */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.rise--1 { animation-delay: 0.05s; } .rise--2 { animation-delay: 0.15s; } .rise--3 { animation-delay: 0.25s; } .rise--4 { animation-delay: 0.35s; } .rise--5 { animation-delay: 0.45s; } .rise--6 { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.tickets .ball { animation: pop 0.6s var(--ease) both; }
.tickets .ball:nth-child(1) { animation-delay: 0.5s; } .tickets .ball:nth-child(2) { animation-delay: 0.58s; } .tickets .ball:nth-child(3) { animation-delay: 0.66s; } .tickets .ball:nth-child(4) { animation-delay: 0.74s; } .tickets .ball:nth-child(5) { animation-delay: 0.82s; } .tickets .ball:nth-child(6) { animation-delay: 0.9s; } .tickets .ball:nth-child(7) { animation-delay: 0.98s; } .tickets .ball:nth-child(8) { animation-delay: 1.06s; } .tickets .ball:nth-child(9) { animation-delay: 1.14s; }
@keyframes pop { from { opacity: 0; transform: scale(0.4) translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .rise { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .plans { max-width: 480px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
  .tickets { max-width: none; }
  .about-hero__grid { grid-template-columns: 1.05fr 1fr; }
  .plans { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .footer__top { grid-template-columns: 1fr 2.3fr; }
  .footer__cols { grid-template-columns: 0.9fr 1.1fr 1.35fr; }
  .newsletter { padding: 54px 56px 46px; }
}
@media (max-width: 1099px) {
  .tickets { padding-left: 14px; padding-right: 14px; }
}
@media (min-width: 1120px) {
  .header__nav { display: flex; flex: 1; justify-content: center; min-width: 0; }
  .nav__burger, .nav, .nav-overlay { display: none; }
}
@media (min-width: 1120px) and (max-width: 1239px) {
  .header__nav-link { padding: 0 10px; font-size: 14.5px; }
  .header__nav-link--active::after { left: 10px; right: 10px; }
  .heartbeat { display: none; }
}
@media (max-width: 860px) {
  .footer__trust-row { grid-template-columns: repeat(3, 1fr); }
  .status-row { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .status-row--head { display: none; }
  .status-row .uptime-bars { grid-column: 1 / -1; }
  .status-row__check { grid-column: 1 / -1; text-align: left; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 70px; }
  .header__btn-auth { display: none; }
  .header__disclaimer-text { font-size: 12.5px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 20px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 26px 0 70px; }
  .hero { padding: 40px 0 50px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip__item { border-left: 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
  .stats-strip__item:first-child { border-top: 0; }
  .stats-strip__label { margin-top: 0; }
  .ticket { grid-template-columns: 48px 1fr; }
  .ticket--ej { transform: rotate(-1.2deg); }
  .ticket--vl { transform: rotate(0.8deg); margin-top: 18px; }
  .tickets:hover .ticket--ej, .tickets:hover .ticket--vl { transform: none; }
  .tickets { padding-left: 0; padding-right: 0; }
  .ticket__body { padding: 22px 18px 18px; }
  .ticket .balls { flex-wrap: wrap; gap: 7px; }
  .ticket .ball { width: 34px; height: 34px; font-size: 13.5px; }
  .ticket .lotto-logo { width: 58px; height: 44px; font-size: 10px; }
  .ticket .draw-head, .draw-card .draw-head { flex-direction: column; align-items: stretch; }
  .ticket .jackpot-chip, .draw-card .jackpot-chip { text-align: left; }
  .lotto-logo { width: 58px; height: 44px; font-size: 10px; border-radius: 11px; }
  .ball { width: 36px; height: 36px; font-size: 14px; }
  .balls { gap: 6px; }
  .balls__plus { font-size: 16px; padding: 0; }
  .draw-card { padding: 22px 18px; }
  .draw-foot { align-items: flex-start; }
  .prize-table { font-size: 13px; }
  .prize-table th, .prize-table td { padding: 9px 6px; }
  .section-head, .lottery-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .jackpot-banner { padding: 30px 18px 38px; border-radius: 26px; }
  .jackpot-banner__actions .btn { flex: 1 1 100%; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 10px; }
  .timeline__dot { left: -32px; width: 20px; height: 20px; }
  .timeline__card { padding: 20px; }
  .timeline__amount { font-size: 23px; }
  .newsletter { padding: 34px 20px 22px; border-radius: 26px; }
  .newsletter__form { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .newsletter__form .btn { width: 100%; }
  .mini-stats { grid-template-columns: 1fr; gap: 12px; }
  .mini-stat { display: flex; align-items: baseline; gap: 14px; text-align: left; padding: 16px 18px; }
  .mini-stat__label { margin-top: 0; }
  .filter-bar { padding: 16px; }
  .filter-bar__group { width: 100%; justify-content: space-between; }
  .filter-bar__group .select { flex: 1; max-width: 70%; }
  .filter-bar__count { margin-left: 0; }
  .archive-item { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .archive-item__lottery { order: -1; }
  .legal { padding: 30px 22px; border-radius: 24px; }
  .legal h2 { font-size: 20px; }
  .form { padding: 28px 20px; border-radius: 24px; }
  .plan { padding: 28px 22px; }
  .faq__item summary { padding: 20px 18px; font-size: 16px; }
  .faq__answer { margin: 0 18px; }
  .feature summary { grid-template-columns: 50px 1fr 24px; padding: 20px 18px; }
  .feature__num { font-size: 20px; }
  .feature__more { padding: 0 18px 20px 18px; }
  .cta { padding: 28px 22px; }
  .footer { padding: 56px 0 34px; }
  .footer__cols { grid-template-columns: 1fr; gap: 30px; }
  .footer__trust { padding: 22px 18px; }
  .footer__trust-row { grid-template-columns: repeat(2, 1fr); }
  .disclosure { grid-template-columns: 1fr; padding: 22px 18px; }
  .cookie-bar { bottom: 12px; }
  .cookie-bar__row { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-bar__copy { text-align: center; }
  .cookie-bar__actions { flex-direction: column; }
  .cookie-bar__actions .btn { width: 100%; padding: 12px 16px; }
  .status-overall { padding: 24px 20px; }
  .status-row { padding: 16px 18px; }
  .status-incidents { padding: 22px 20px; }
}
@media (max-width: 400px) {
  .lang-switcher__btn { min-width: 34px; padding: 0 8px; }
  .heartbeat { display: none; }
  .ball { width: 34px; height: 34px; font-size: 13.5px; }
  .balls { gap: 5px; }
}
