/* ==========================================================================
   GM Report — main stylesheet (plain CSS, no frameworks)
   Theme: #833ab4 (purple) · #fd1d1d (red) · #fcb045 (amber)
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --c-purple: #833ab4;
  --c-red: #fd1d1d;
  --c-amber: #fcb045;
  --c-purple-soft: #c48ef0;
  --c-amber-soft: #ffd38a;

  --grad: linear-gradient(90deg, #833ab4 0%, #fd1d1d 52%, #fcb045 100%);
  --grad-diag: linear-gradient(135deg, #833ab4 0%, #fd1d1d 55%, #fcb045 100%);
  --grad-text: linear-gradient(95deg, #fcb045 0%, #fd5634 55%, #fd1d1d 100%);
  --grad-btn: linear-gradient(180deg, #ffcb6e 0%, #fcb045 42%, #fd7a35 100%);
  --grad-viking: linear-gradient(90deg, #833ab4 0%, #b765ec 100%);

  --bg: #0a0710;
  --bg-2: #0d0915;
  --surface: #140f1e;
  --surface-2: #1a1427;
  --surface-3: #231b34;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-amber: rgba(252, 176, 69, 0.28);

  --text: #f5f0fa;
  --muted: #a8a0ba;
  --dim: #716987;
  --ok: #3ad69c;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-xl: 34px;

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

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

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -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(900px 600px at -10% 18%, rgba(131, 58, 180, 0.16), transparent 60%),
    radial-gradient(800px 600px at 110% 62%, rgba(252, 176, 69, 0.09), transparent 60%),
    radial-gradient(700px 500px at 60% 110%, rgba(253, 29, 29, 0.07), transparent 60%),
    var(--bg);
}
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 {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
::selection {
  background: rgba(253, 29, 29, 0.35);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  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: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--c-amber);
  color: #1b0d0a;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow {
  max-width: 980px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn--primary {
  background: var(--grad-btn);
  color: #1d0c08;
  box-shadow:
    0 12px 32px -10px rgba(253, 110, 50, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(150, 40, 0, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -10px rgba(253, 110, 50, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(150, 40, 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(252, 176, 69, 0.65);
  color: var(--c-amber);
  background: rgba(252, 176, 69, 0.04);
}
.btn--outline:hover {
  background: rgba(252, 176, 69, 0.12);
}
.btn--sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}
.btn--lg {
  height: 58px;
  padding: 0 32px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-amber);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.link-arrow:hover {
  gap: 10px;
  color: var(--c-amber-soft);
}

/* ---------- Pills / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(252, 176, 69, 0.32);
  background: rgba(252, 176, 69, 0.07);
  color: var(--c-amber);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(252, 176, 69, 0.2), 0 0 12px rgba(252, 176, 69, 0.8);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill--ok {
  color: var(--ok);
  background: rgba(58, 214, 156, 0.08);
  border: 1px solid rgba(58, 214, 156, 0.28);
}
.pill--ok::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.pill--purple {
  color: #d9b0ff;
  background: rgba(131, 58, 180, 0.16);
  border: 1px solid rgba(160, 90, 220, 0.4);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--age {
  color: #ff8d8d;
  background: rgba(253, 29, 29, 0.1);
  border: 1px solid rgba(253, 29, 29, 0.35);
}
.badge--rg {
  color: var(--c-amber);
  background: rgba(252, 176, 69, 0.08);
  border: 1px solid rgba(252, 176, 69, 0.32);
}
.badge--gdpr {
  color: #d1a8f5;
  background: rgba(131, 58, 180, 0.14);
  border: 1px solid rgba(131, 58, 180, 0.45);
}

/* ==========================================================================
   HEADER (sticky: 18+ bar + nav)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.agebar {
  background:
    linear-gradient(90deg, rgba(131, 58, 180, 0.28), rgba(253, 29, 29, 0.14) 50%, rgba(252, 176, 69, 0.2)),
    #130c17;
  border-bottom: 1px solid rgba(252, 176, 69, 0.2);
}
.agebar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.agebar__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #1d0c08;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px -4px rgba(253, 120, 50, 0.7);
}
.agebar__text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #f0e4dc;
}
.navbar {
  background: rgba(10, 7, 16, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  box-shadow: 0 8px 26px -6px rgba(253, 29, 29, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.logo__tag {
  font-size: 11.5px;
  color: var(--dim);
  margin-top: 3px;
  white-space: nowrap;
  display: none;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.heartbeat {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 999px;
  background: rgba(58, 214, 156, 0.08);
  border: 1px solid rgba(58, 214, 156, 0.3);
}
.heartbeat__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
.heartbeat__dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
.lang-switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.lang-switch__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-switch__btn:hover {
  color: var(--text);
}
.lang-switch__btn.is-active {
  background: var(--grad-btn);
  color: #1d0c08;
  box-shadow: 0 6px 18px -6px rgba(253, 120, 50, 0.8);
}
.header-auth {
  display: none;
  gap: 10px;
}
.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s;
}
.burger:hover {
  background: var(--surface-3);
  border-color: var(--line-2);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .burger span:nth-child(2) {
  opacity: 0;
}
.nav-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Desktop inline navigation ---------- */
.main-nav {
  display: none;
}
.main-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 14px;
  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: var(--text);
  font-weight: 600;
}
.main-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-text);
}
@media (min-width: 1280px) {
  .navbar .header-tools {
    gap: 8px;
  }
  .main-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }
  .navbar .burger {
    display: none;
  }
  .navbar .logo__tag {
    display: none;
  }
}

/* ---------- Drawer navigation ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(6, 3, 10, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(380px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 26px;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(253, 29, 29, 0.12), transparent 70%),
    radial-gradient(400px 300px at 0% 100%, rgba(131, 58, 180, 0.18), transparent 70%),
    #110b19;
  border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(105%);
  transition: transform 0.42s var(--ease);
  overflow-y: auto;
}
.nav-open .drawer {
  transform: translateX(0);
}
.nav-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}
.nav-open {
  overflow: hidden;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.drawer__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
}
.drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: background 0.2s, padding 0.25s var(--ease);
}
.drawer__link::after {
  content: "→";
  font-family: var(--font-body);
  color: var(--dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.drawer__link:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 18px;
}
.drawer__link:hover::after {
  opacity: 1;
  transform: none;
  color: var(--c-amber);
}
.drawer__link.is-active {
  background: linear-gradient(90deg, rgba(252, 176, 69, 0.14), rgba(253, 29, 29, 0.04));
}
.drawer__link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--grad-text);
}
.drawer__actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.drawer__foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--dim);
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.section {
  padding: 96px 0;
}
.section--tight {
  padding: 40px 0 110px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.section-head__title svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}
.section-head__sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}
.section-head__link {
  flex: 0 0 auto;
}
.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.6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.lottery-head__next {
  margin-top: 8px;
  font-size: 17px;
  color: var(--muted);
}
.lottery-head__next strong {
  color: var(--c-amber);
  font-weight: 700;
}
.lottery-head--viking .lottery-head__next strong {
  color: var(--c-purple-soft);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 64px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 30%, #000 30%, transparent 80%);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30%;
  z-index: -1;
  width: 640px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(253, 120, 50, 0.16), rgba(131, 58, 180, 0.08) 60%, transparent);
  filter: blur(10px);
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--c-amber);
}
.page-hero__title {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 20%, #cdbfe2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero__sub {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero__title {
  margin-top: 26px;
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero__title em,
.grad-text {
  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.65;
  color: var(--muted);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.stat-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.stat-card__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card__label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Ticket stack ---------- */
.tickets {
  position: relative;
  display: grid;
  gap: 0;
  padding: 20px 0 30px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  border-radius: 24px;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(253, 29, 29, 0.1), transparent 70%),
    linear-gradient(160deg, #1f1730 0%, #150f22 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.ticket::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
.ticket--viking::before {
  background: var(--grad-viking);
}
.ticket--viking {
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(131, 58, 180, 0.2), transparent 70%),
    linear-gradient(160deg, #1d1631 0%, #130e22 100%);
}
.ticket:nth-child(1) {
  transform: rotate(-2.2deg) translateX(-14px);
  z-index: 2;
}
.ticket:nth-child(2) {
  transform: rotate(1.6deg) translateX(18px);
  margin-top: -14px;
  z-index: 1;
}
.tickets:hover .ticket:nth-child(1) {
  transform: rotate(-1deg) translateX(-8px) translateY(-6px);
}
.tickets:hover .ticket:nth-child(2) {
  transform: rotate(0.6deg) translateX(10px) translateY(6px);
}
.ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 18px;
  border-right: 2px dashed rgba(255, 255, 255, 0.1);
}
.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  right: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.ticket__stub::before {
  top: -10px;
}
.ticket__stub::after {
  bottom: -10px;
}
.ticket__code {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  white-space: nowrap;
}
.ticket__code b {
  color: var(--c-amber);
  font-weight: 700;
}
.ticket--viking .ticket__code b {
  color: var(--c-purple-soft);
}
.barcode {
  width: 30px;
  height: 22px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 2px, transparent 2px 3px, rgba(255, 255, 255, 0.55) 3px 4px, transparent 4px 7px);
  opacity: 0.6;
}
.ticket__body {
  padding: 26px 28px 22px;
  min-width: 0;
}
.ticket .ball {
  width: 44px;
  height: 44px;
  font-size: 15.5px;
}
.ticket .balls {
  gap: 8px;
}
.ticket .jackpot-box__value {
  font-size: 23px;
}

/* ---------- Draw / result cards ---------- */
.draw-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.draw-id {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 56px;
  border-radius: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11.5px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.chip--ej {
  background: linear-gradient(145deg, #ffd27a 0%, #fcb045 45%, #fd5a2a 100%);
  color: #3a0d05;
  box-shadow: 0 10px 26px -8px rgba(253, 110, 50, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.chip--ej span:last-child {
  color: #9a0f0f;
}
.chip--viking {
  background: linear-gradient(145deg, #c88af5 0%, #9b4fd1 45%, #6a2596 100%);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(131, 58, 180, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.draw-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.draw-date {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}
.jackpot-box {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-amber);
  background: rgba(252, 176, 69, 0.06);
  text-align: right;
}
.jackpot-box__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.jackpot-box__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.label-caps {
  display: block;
  margin: 22px 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.balls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ball {
  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: #16101f;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #eeebf3 30%, #c4bdd1 70%, #8e869f 100%);
  box-shadow:
    0 8px 16px -4px rgba(0, 0, 0, 0.6),
    inset -3px -5px 9px rgba(40, 20, 60, 0.22),
    inset 2px 2px 3px rgba(255, 255, 255, 0.6);
}
.ball--euro {
  color: #3d1504;
  background: radial-gradient(circle at 32% 26%, #fff0c8 0%, #ffc561 32%, #f3922d 72%, #b35710 100%);
}
.ball--viking {
  color: #fff;
  background: radial-gradient(circle at 32% 26%, #f1d6ff 0%, #b26ae6 32%, #833ab4 70%, #4e1a75 100%);
}
.ball--sm {
  width: 38px;
  height: 38px;
  font-size: 14px;
}
.ball--xs {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.balls__plus {
  color: var(--dim);
  font-size: 20px;
  font-weight: 300;
  padding: 0 2px;
}
.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);
  font-size: 14.5px;
  color: var(--muted);
}
.draw-foot strong {
  color: var(--text);
  font-weight: 600;
}

.result-card {
  position: relative;
  padding: 32px 32px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(253, 70, 40, 0.08), transparent 70%),
    linear-gradient(170deg, #1b1429 0%, #120d1d 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
.result-card--viking {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(131, 58, 180, 0.18), transparent 70%),
    linear-gradient(170deg, #1a1430 0%, #110d1e 100%);
}
.result-card--viking::before {
  background: var(--grad-viking);
}
.result-card .pill--ok {
  margin-top: 20px;
}
.results-stack {
  display: grid;
  gap: 28px;
}
.prize-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--c-amber);
  font-weight: 600;
  font-size: 15px;
}
.prize-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.prize-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.prize-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.prize-wrap.is-open {
  grid-template-rows: 1fr;
}
.prize-wrap > div {
  overflow: hidden;
}
.prize-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 14px;
}
.prize-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line-2);
}
.prize-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.prize-table td:last-child,
.prize-table th:last-child {
  text-align: right;
}
.prize-table td:last-child {
  color: var(--text);
  font-weight: 600;
}
.prize-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.tier {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(252, 176, 69, 0.1);
  color: var(--c-amber);
  font-weight: 700;
  font-size: 12.5px;
}
.result-card--viking .tier {
  background: rgba(131, 58, 180, 0.18);
  color: #d6abfb;
}

/* ---------- Jackpot banner ---------- */
.jackpot-banner {
  position: relative;
  padding: 56px 32px 60px;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(252, 176, 69, 0.28);
  background:
    radial-gradient(520px 260px at 50% -5%, rgba(252, 176, 69, 0.3), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(131, 58, 180, 0.22), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(253, 29, 29, 0.14), transparent 70%),
    linear-gradient(180deg, #221a2c, #150f20);
  overflow: hidden;
}
.jackpot-banner__value {
  margin: 22px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 11vw, 120px);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffd88f 0%, #fcb045 45%, #fd5a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 40px rgba(253, 120, 50, 0.35));
}
.jackpot-banner__sub {
  color: var(--muted);
  font-size: 17px;
}
.jackpot-banner__sub strong {
  color: var(--text);
}
.jackpot-banner__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.countdown {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
}
.countdown__cell {
  min-width: 64px;
  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: 22px;
  color: var(--text);
}
.countdown__lbl {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  list-style: none;
  display: grid;
  gap: 20px;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-amber), rgba(253, 29, 29, 0.6) 50%, rgba(131, 58, 180, 0.15));
}
.timeline__item {
  position: relative;
}
.timeline__dot {
  position: absolute;
  left: -36px;
  top: 32px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe0a0, #fcb045 50%, #e0751f);
  box-shadow: 0 0 0 4px rgba(10, 7, 16, 1), 0 0 0 5px rgba(252, 176, 69, 0.4), 0 0 18px rgba(252, 176, 69, 0.6);
}
.timeline__card {
  padding: 28px 30px;
  border-radius: 20px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(131, 58, 180, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.timeline__card:hover {
  border-color: rgba(252, 176, 69, 0.25);
  transform: translateX(4px);
}
.timeline__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-amber);
}
.timeline__amount {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: var(--grad-text);
  -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;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.timeline__text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  padding: 52px 48px 44px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(480px 260px at 75% 0%, rgba(252, 176, 69, 0.18), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(131, 58, 180, 0.3), transparent 70%),
    linear-gradient(160deg, #1f1730, #120d1e 70%);
  overflow: hidden;
}
.newsletter__title {
  margin-top: 22px;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.newsletter__text {
  margin-top: 14px;
  max-width: 560px;
  color: var(--muted);
}
.subscribe {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin-top: 30px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(8, 5, 12, 0.7);
  border: 1px solid var(--line-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe:focus-within {
  border-color: rgba(252, 176, 69, 0.5);
  box-shadow: 0 0 0 4px rgba(252, 176, 69, 0.1);
}
.subscribe input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 20px;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 15.5px;
}
.subscribe input::placeholder {
  color: var(--dim);
}
.form-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--dim);
}
.form-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-msg {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.2em;
}
.form-msg.is-ok {
  color: var(--ok);
}
.form-msg.is-err {
  color: #ff7b7b;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.mini-stat {
  padding: 22px 18px;
  text-align: center;
  border-radius: 18px;
  background: rgba(8, 5, 12, 0.55);
  border: 1px solid var(--line);
}
.mini-stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mini-stat__label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding: 80px 0 40px;
  background: linear-gradient(180deg, #0e0a16, #08060c);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 176, 69, 0.45), rgba(253, 29, 29, 0.3), transparent);
}
.footer-top {
  display: grid;
  gap: 44px;
}
.footer-brand .logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.footer-brand .logo__name {
  font-size: 19px;
}
.footer-about {
  max-width: 400px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15.5px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.footer-social {
  margin-top: 26px;
}
.footer-social .footer-title {
  margin-bottom: 12px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease), background 0.2s;
}
.social-icon svg {
  width: 18px;
  height: 18px;
}
.social-icon:hover {
  color: #fff;
  background: var(--surface-3);
  border-color: rgba(252, 176, 69, 0.4);
  transform: translateY(-2px);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
}
.footer-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer-list a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: var(--text);
}
.footer-list--meta li {
  color: var(--muted);
  font-size: 15px;
}
.footer-list--meta strong {
  color: var(--text);
  font-weight: 600;
}
.footer-list--meta a:hover {
  color: var(--c-amber);
}
.trust {
  margin-top: 56px;
  padding: 30px 32px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(252, 176, 69, 0.22);
  background:
    radial-gradient(500px 200px at 0% 0%, rgba(252, 176, 69, 0.07), transparent 70%),
    linear-gradient(135deg, #1a1218, #130f1f);
}
.trust__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.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;
}
.trust__sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 92px;
  padding: 12px 8px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.trust-badge:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}
.trust-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}
.trust-badge__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}
.trust-badge__age {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.trust-badge__age sup {
  font-size: 15px;
}
.trust-badge--age {
  border-color: rgba(252, 176, 69, 0.25);
  background: rgba(252, 176, 69, 0.04);
}
.disclosure {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(131, 58, 180, 0.4);
  background:
    radial-gradient(400px 200px at 0% 50%, rgba(131, 58, 180, 0.16), transparent 70%),
    #110c1a;
}
.disclosure__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: #e2bfff;
  background: rgba(131, 58, 180, 0.2);
  border: 1px solid rgba(160, 90, 220, 0.55);
  box-shadow: 0 0 24px rgba(131, 58, 180, 0.45);
}
.disclosure__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.disclosure__text {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.6;
}
.footer-bottom strong {
  color: var(--muted);
}
.footer-bottom a {
  color: var(--muted);
}
.footer-bottom a:hover {
  color: var(--c-amber);
}
.footer-copy {
  max-width: 720px;
}

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 120;
  width: min(860px, calc(100% - 32px));
  transform: translate(-50%, 30px);
  opacity: 0;
  visibility: hidden;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(16, 11, 24, 0.97);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease), opacity 0.35s, visibility 0.35s;
}
.cookie.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
.cookie__main {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie__copy {
  flex: 1 1 auto;
}
.cookie__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.cookie__text {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.cookie__text a {
  color: var(--c-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}
.cookie__settings {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cookie.is-expanded .cookie__settings {
  display: grid;
  gap: 12px;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.toggle-row__title {
  font-weight: 600;
  font-size: 14px;
}
.toggle-row__desc {
  font-size: 12.5px;
  color: var(--dim);
}
.switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
}
.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  transition: background 0.2s;
  pointer-events: none;
}
.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-btn);
}
.switch input:checked + span::after {
  transform: translateX(20px);
}
.switch input:disabled {
  cursor: not-allowed;
}
.switch input:disabled + span {
  opacity: 0.6;
}

/* ==========================================================================
   LEGAL / PROSE
   ========================================================================== */
.legal {
  max-width: 940px;
  margin: 0 auto;
  padding: 56px 52px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(131, 58, 180, 0.1), transparent 70%),
    linear-gradient(180deg, #191329, #110d1d);
  border: 1px solid var(--line);
}
.legal h2 {
  margin: 38px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal h3 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.legal p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}
.legal ul {
  list-style: none;
  margin: 12px 0;
  display: grid;
  gap: 10px;
}
.legal li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 8px rgba(252, 176, 69, 0.8);
}
.legal strong {
  color: var(--text);
  font-weight: 600;
}
.legal a {
  color: var(--c-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal .note {
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-amber);
  background: rgba(252, 176, 69, 0.05);
  font-size: 14.5px;
}
.legal .updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* Contacts grid */
.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.contact-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.contact-card__value {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
}
.contact-card__desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq__item {
  border-radius: 18px;
  background: linear-gradient(180deg, #19132a, #130e20);
  border: 1px solid var(--line);
  transition: border-color 0.25s;
}
.faq__item[open] {
  border-color: rgba(252, 176, 69, 0.3);
}
.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;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__q {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.faq__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-amber);
}
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(252, 176, 69, 0.1);
  border: 1px solid rgba(252, 176, 69, 0.3);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.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(--c-amber);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: rgba(252, 176, 69, 0.2);
}
.faq__answer {
  margin: 0 26px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.faq__answer a {
  color: var(--c-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   ARCHIVE
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #181226, #120e1e);
  border: 1px solid var(--line);
}
.filter-bar__group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-bar__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:
    linear-gradient(45deg, transparent 50%, var(--c-amber) 50%) no-repeat calc(100% - 20px) 50% / 6px 6px,
    linear-gradient(135deg, var(--c-amber) 50%, transparent 50%) no-repeat calc(100% - 14px) 50% / 6px 6px,
    #0c0912;
  border: 1px solid var(--line-2);
  font-size: 15px;
  cursor: pointer;
}
.select:hover {
  border-color: rgba(252, 176, 69, 0.4);
}
.select option {
  background: #140f1e;
}
.filter-bar__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
}
.filter-bar__count strong {
  color: var(--c-amber);
  font-family: var(--font-mono);
}
.archive-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.archive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #161125, #110d1d);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.3s var(--ease);
}
.archive-row:hover {
  border-color: var(--line-2);
  transform: translateY(-1px);
}
.archive-row__date {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted);
}
.archive-row .balls {
  gap: 6px;
  margin: 12px 0 10px;
}
.archive-row__jackpot {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-amber);
}
.archive-row__jackpot small {
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
}
.archive-row__lottery {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot--ej {
  background: var(--c-amber);
  box-shadow: 0 0 10px rgba(252, 176, 69, 0.8);
}
.dot--viking {
  background: var(--c-purple-soft);
  box-shadow: 0 0 10px rgba(196, 142, 240, 0.8);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.2s, border-color 0.2s;
}
.page-btn:hover {
  background: rgba(255, 255, 255, 0.07);
}
.page-btn.is-active {
  background: var(--grad-btn);
  border-color: transparent;
  color: #1d0c08;
  box-shadow: 0 8px 24px -6px rgba(253, 120, 50, 0.7);
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.page-gap {
  color: var(--dim);
  padding: 0 4px;
}
.empty-state {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  border-radius: 18px;
  border: 1px dashed var(--line-2);
}

/* ==========================================================================
   STATISTICS
   ========================================================================== */
.tabs {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.tab {
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.tab:hover {
  color: var(--text);
}
.tab.is-active {
  background: var(--grad-btn);
  color: #1d0c08;
  box-shadow: 0 8px 22px -8px rgba(253, 120, 50, 0.8);
}
.stats-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.stats-toolbar__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}
.stats-grid {
  display: grid;
  gap: 20px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.panel {
  padding: 28px 28px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(131, 58, 180, 0.08), transparent 70%),
    linear-gradient(180deg, #181226, #110d1d);
  border: 1px solid var(--line);
  min-width: 0;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.panel__sub {
  font-size: 13.5px;
  color: var(--dim);
}
.freq-chart {
  display: grid;
  grid-template-columns: repeat(var(--cols, 50), minmax(0, 1fr));
  align-items: end;
  gap: 3px;
  height: 220px;
  padding-top: 10px;
}
.freq-bar {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: default;
}
.freq-bar__track {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  min-height: 0;
}
.freq-bar__fill {
  width: 100%;
  min-height: 3px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #fcb045, #fd1d1d 70%, #833ab4);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}
.freq-bar:hover .freq-bar__fill {
  opacity: 1;
  filter: brightness(1.2);
}
.freq-bar__num {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dim);
}
.freq-bar__tip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff;
  color: #16101f;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 2;
}
.freq-bar:hover .freq-bar__tip {
  opacity: 1;
}
.freq-chart--secondary .freq-bar__fill {
  background: linear-gradient(180deg, #ffd27a, #fcb045 60%, #fd5a2a);
}
.freq-chart--viking .freq-bar__fill {
  background: linear-gradient(180deg, #e1b6ff, #a55ad8 60%, #833ab4);
}
.freq-chart--secondary .freq-bar__num,
.freq-chart--viking .freq-bar__num {
  font-size: 11px;
}
.hotcold {
  display: grid;
  gap: 18px;
}
.hotcold__row {
  display: grid;
  gap: 12px;
}
.hotcold__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hotcold__label--hot {
  color: var(--c-amber);
}
.hotcold__label--cold {
  color: var(--c-purple-soft);
}
.hotcold .balls {
  gap: 8px;
}
.ball-with-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ball-with-count span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}
.split {
  display: grid;
  gap: 18px;
}
.split__row {
  display: grid;
  gap: 8px;
}
.split__labels {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
}
.split__labels strong {
  color: var(--text);
  font-family: var(--font-mono);
}
.split__bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-3);
}
.split__a {
  background: linear-gradient(90deg, #fcb045, #fd5a2a);
}
.split__b {
  background: linear-gradient(90deg, #a55ad8, #833ab4);
}
.line-chart {
  width: 100%;
  height: auto;
  display: block;
}
.line-chart text {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--dim);
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chart-legend i {
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-text);
}
.split__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.split__fact {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.split__fact b {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--c-amber);
}
.split__fact span {
  font-size: 12.5px;
  color: var(--dim);
}
.stats-note {
  display: block;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line-amber);
  background: rgba(252, 176, 69, 0.05);
  color: var(--muted);
  font-size: 14.5px;
}
.stats-note b {
  color: var(--c-amber);
}

/* ==========================================================================
   HISTORY quick facts
   ========================================================================== */
.facts {
  position: relative;
  margin-top: 56px;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 280px at 90% 0%, rgba(131, 58, 180, 0.16), transparent 70%),
    linear-gradient(170deg, #1d1631, #120d1e);
  border: 1px solid var(--line);
  overflow: hidden;
}
.facts::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
.facts__grid {
  display: grid;
  gap: 30px;
}
.facts__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.facts__list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 15.5px;
}
.facts__list b {
  color: var(--c-amber);
  font-weight: 600;
}
.facts--viking b {
  color: var(--c-purple-soft);
}

/* ==========================================================================
   PREMIUM
   ========================================================================== */
.notice {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid var(--line-amber);
  background: rgba(252, 176, 69, 0.05);
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--c-amber);
}
.pricing {
  display: grid;
  gap: 26px;
  max-width: 520px;
  margin: 56px auto 0;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 34px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 200px at 80% 0%, rgba(131, 58, 180, 0.12), transparent 70%),
    linear-gradient(180deg, #1c1530, #130e20);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.price-card--featured {
  border-color: rgba(252, 176, 69, 0.55);
  background:
    radial-gradient(420px 220px at 70% 0%, rgba(252, 176, 69, 0.14), transparent 70%),
    linear-gradient(180deg, #221930, #150f21);
  box-shadow: 0 30px 80px -30px rgba(253, 120, 50, 0.45), 0 0 0 1px rgba(252, 176, 69, 0.15);
}
.price-card__tag {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #1d0c08;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px -6px rgba(253, 120, 50, 0.8);
}
.price-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.price-card__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.price-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 26px 0 24px;
}
.price-card__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 54px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.price-card--featured .price-card__amount {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-card__period {
  color: var(--dim);
  font-size: 15px;
}
.save {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(131, 58, 180, 0.18);
  border: 1px solid rgba(160, 90, 220, 0.4);
  color: #dcb4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  flex: 1 1 auto;
}
.checklist li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(131, 58, 180, 0.2);
  border: 1px solid rgba(160, 90, 220, 0.45);
  color: #e0bcff;
  font-size: 12px;
  font-weight: 700;
}
.compare {
  max-width: 980px;
  margin: 70px auto 0;
}

/* ==========================================================================
   STATUS
   ========================================================================== */
.status-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(58, 214, 156, 0.3);
  background:
    radial-gradient(500px 200px at 0% 50%, rgba(58, 214, 156, 0.1), transparent 70%),
    linear-gradient(180deg, #141a24, #0f1219);
}
.status-hero__main {
  display: flex;
  align-items: center;
  gap: 20px;
}
.status-hero__dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 14px var(--ok);
}
.status-hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ok);
  animation: pulse 2s ease-out infinite;
}
.status-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.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(--ok);
}
.status-hero__uptime small {
  margin-left: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.status-table-wrap {
  margin-top: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #161125, #110d1d);
  overflow-x: auto;
}
.status-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.status-table th {
  padding: 16px 24px;
  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);
}
.status-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.status-table tr:last-child td {
  border-bottom: 0;
}
.status-table td:first-child {
  font-weight: 600;
}
.status-table .mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.status-table td:last-child,
.status-table th:last-child {
  text-align: right;
  color: var(--muted);
}
.status-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(58, 214, 156, 0.3);
  background: rgba(58, 214, 156, 0.08);
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
}
.status-ok::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
.uptime-bars {
  display: flex;
  gap: 3px;
  height: 24px;
}
.uptime-bars i {
  flex: 1 1 0;
  min-width: 3px;
  border-radius: 2px;
  background: rgba(58, 214, 156, 0.55);
}
.uptime-bars i.is-warn {
  background: var(--c-amber);
}
.incidents {
  margin-top: 24px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #161125, #110d1d);
}
.incidents__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.incidents__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
}
.incidents__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(58, 214, 156, 0.1);
  border: 1px solid rgba(58, 214, 156, 0.35);
  color: var(--ok);
  font-size: 13px;
}

/* ==========================================================================
   AUTH (login / register placeholders)
   ========================================================================== */
.auth-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 42px;
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(252, 176, 69, 0.14), transparent 70%),
    linear-gradient(180deg, #1c1530, #120d1e);
  border: 1px solid var(--line-2);
}
.auth-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--grad-diag);
  box-shadow: 0 14px 34px -10px rgba(253, 29, 29, 0.6);
}
.auth-card__icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
.auth-card__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.auth-card__text {
  margin-top: 12px;
  color: var(--muted);
}
.auth-card__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
  text-align: left;
}
.auth-card__list li {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.auth-card__list li b {
  color: var(--c-amber);
  font-family: var(--font-mono);
  font-size: 13px;
}
.auth-card__actions {
  display: grid;
  gap: 10px;
}
.auth-card__alt {
  margin-top: 22px;
  font-size: 14px;
  color: var(--dim);
}
.auth-card__alt a {
  color: var(--c-amber);
}

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  padding: 60px 0 40px;
  text-align: center;
}
.error-page__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #ffd88f 0%, #fcb045 40%, #fd1d1d 80%, #833ab4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 60px rgba(253, 80, 40, 0.35));
}
.error-page__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
}
.error-page__sub {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
}
.error-page__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--dim);
}
.error-page__links a {
  color: var(--c-amber);
}

/* ==========================================================================
   ABOUT (landing variant inspired by the Finnish sub-site)
   ========================================================================== */
.mono-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.about-hero {
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--line);
}
.about-hero__grid {
  display: grid;
  gap: 50px;
  align-items: center;
  min-height: 520px;
}
/* Hero is always visible: CSS-only entrance animation (no JS dependency) */
.about-hero__copy > *,
.about-hero .terminal {
  animation: hero-in 0.8s var(--ease) both;
}
.about-hero__copy > :nth-child(2) {
  animation-delay: 0.07s;
}
.about-hero__copy > :nth-child(3) {
  animation-delay: 0.14s;
}
.about-hero__copy > :nth-child(4) {
  animation-delay: 0.21s;
}
.about-hero .terminal {
  animation-delay: 0.18s;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Terminal feed balls: amber main numbers, purple extra numbers (as on the reference landing) */
.terminal .ball {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #3d1504;
  background: radial-gradient(circle at 32% 26%, #fff0c8 0%, #ffc561 32%, #f3922d 72%, #b35710 100%);
}
.terminal .ball--euro {
  color: #fff;
  background: radial-gradient(circle at 32% 26%, #f1d6ff 0%, #b26ae6 32%, #833ab4 70%, #4e1a75 100%);
}
.about-hero__copy {
  position: relative;
  padding-left: 24px;
}
.about-hero__copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c-amber), var(--c-red) 60%, transparent);
}
.about-hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.about-hero__lead {
  margin-top: 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
}
.about-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}
.underline-link {
  color: var(--muted);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s;
}
.underline-link:hover {
  color: var(--text);
}
.terminal {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #140f1f, #0e0a16);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  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%;
}
.terminal__dots i:nth-child(1) {
  background: var(--c-amber);
}
.terminal__dots i:nth-child(2) {
  background: var(--c-red);
}
.terminal__dots i:nth-child(3) {
  background: var(--c-purple);
}
.terminal__path {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
}
.terminal__body {
  padding: 26px 24px 24px;
}
.terminal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.terminal__cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.terminal__cell:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.terminal__cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.terminal__cell span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.terminal__cell b {
  font-size: 15px;
  color: var(--c-amber);
}
.terminal__cell b.is-live {
  color: var(--ok);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}
.terminal__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.terminal__bars i {
  flex: 1 1 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(252, 176, 69, 0.9), rgba(253, 29, 29, 0.35));
}
.features {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #120e1c, #0f0b17);
  overflow: hidden;
}
.feature {
  border-bottom: 1px solid var(--line);
}
.feature:last-child {
  border-bottom: 0;
}
.feature summary {
  list-style: none;
  display: grid;
  grid-template-columns: 90px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 28px 28px;
  cursor: pointer;
  transition: background 0.2s;
}
.feature summary::-webkit-details-marker {
  display: none;
}
.feature summary:hover {
  background: rgba(255, 255, 255, 0.02);
}
.feature__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--c-amber);
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.feature__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.feature__plus {
  color: var(--dim);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s var(--ease), color 0.2s;
}
.feature[open] .feature__plus {
  transform: rotate(45deg);
  color: var(--c-amber);
}
.feature__more {
  padding: 0 28px 26px calc(28px + 90px + 16px);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.about-faq {
  display: grid;
  gap: 40px;
}
.about-faq__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.about-faq__sub {
  margin-top: 14px;
  color: var(--muted);
}
.about-faq .faq {
  margin: 0;
}
.about-faq .faq__item[open] {
  box-shadow: inset 3px 0 0 var(--c-amber);
}
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(500px 240px at 70% 0%, rgba(252, 176, 69, 0.12), transparent 70%),
    linear-gradient(160deg, #1b1428, #110c1c);
}
.cta-box__cmd {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ok);
}
.cta-box__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.02em;
}
.cta-box__text {
  margin-top: 10px;
  max-width: 600px;
  color: var(--muted);
}
.metrics {
  display: grid;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.metric {
  padding: 28px 28px 26px;
  border-bottom: 1px solid var(--line);
}
.metric:last-child {
  border-bottom: 0;
}
.metric__id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.1em;
}
.metric__value {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 38px;
  color: var(--c-amber);
  letter-spacing: -0.02em;
}
.metric__label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}
.metric__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
  margin-top: 16px;
}
.metric__bars i {
  width: 7px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #fcb045, #fd5a2a);
}
.center-note {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero .reveal:nth-child(2) {
  transition-delay: 0.06s;
}
.hero .reveal:nth-child(3) {
  transition-delay: 0.12s;
}
.hero .reveal:nth-child(4) {
  transition-delay: 0.18s;
}
.hero .reveal:nth-child(5) {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kpis {
    grid-template-columns: repeat(4, 1fr);
  }
  .facts__grid {
    grid-template-columns: 1fr 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) {
  .logo__tag {
    display: block;
  }
  .header-auth {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1.3fr 2fr;
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid--2 {
    grid-template-columns: 1.4fr 1fr;
  }
  .about-faq {
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
  }
}
@media (min-width: 1100px) {
  .pricing {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .price-card--featured {
    transform: translateY(-12px);
  }
  .about-hero__grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
@media (min-width: 1180px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

@media (max-width: 899px) {
  :root {
    --header-h: 72px;
  }
  .section {
    padding: 72px 0;
  }
  .section-head,
  .lottery-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust__row {
    grid-template-columns: repeat(3, 1fr);
  }
  .cookie__main {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .cookie__actions {
    flex-wrap: wrap;
  }
  .cookie__actions .btn {
    flex: 1 1 auto;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .agebar__inner {
    gap: 10px;
  }
  .agebar__text {
    font-size: 11.5px;
  }
  .logo__mark {
    width: 38px;
    height: 38px;
  }
  .logo__name {
    font-size: 19px;
  }
  .header-tools {
    gap: 8px;
  }
  .lang-switch__btn {
    min-width: 34px;
    padding: 0 8px;
  }
  .burger {
    width: 42px;
    height: 42px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero__lead {
    font-size: 16.5px;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 18px;
  }
  .ticket {
    grid-template-columns: 44px 1fr;
  }
  .ticket:nth-child(1),
  .ticket:nth-child(2),
  .tickets:hover .ticket:nth-child(1),
  .tickets:hover .ticket:nth-child(2) {
    transform: none;
  }
  .ticket:nth-child(2) {
    margin-top: 18px;
  }
  .ticket__body {
    padding: 22px 18px 18px;
  }
  .ticket .ball {
    width: 36px;
    height: 36px;
    font-size: 13.5px;
  }
  .ticket .balls {
    gap: 6px;
  }
  .result-card {
    padding: 26px 18px 22px;
    border-radius: 22px;
  }
  .draw-top {
    flex-direction: column;
  }
  .jackpot-box {
    width: 100%;
    text-align: left;
  }
  .ball {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .balls {
    gap: 7px;
  }
  .ball--xs {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .draw-foot .btn {
    width: 100%;
  }
  .prize-table th,
  .prize-table td {
    padding: 9px 6px;
  }
  .jackpot-banner {
    padding: 40px 18px 44px;
    border-radius: 24px;
  }
  .jackpot-banner__cta .btn {
    width: 100%;
  }
  .timeline {
    padding-left: 30px;
  }
  .timeline::before {
    left: 9px;
  }
  .timeline__dot {
    left: -31px;
    width: 18px;
    height: 18px;
  }
  .timeline__card {
    padding: 22px 20px;
  }
  .newsletter {
    padding: 36px 20px 26px;
    border-radius: 24px;
  }
  .subscribe {
    flex-direction: column;
    border-radius: 20px;
    padding: 8px;
  }
  .subscribe input {
    height: 46px;
  }
  .mini-stats {
    grid-template-columns: 1fr;
  }
  .mini-stat {
    display: flex;
    align-items: baseline;
    gap: 14px;
    text-align: left;
  }
  .trust {
    padding: 24px 18px;
  }
  .trust__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust__row {
    grid-template-columns: repeat(2, 1fr);
  }
  .disclosure {
    flex-direction: column;
    padding: 22px 20px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .legal {
    padding: 34px 20px;
    border-radius: 24px;
  }
  .legal p,
  .legal li {
    font-size: 15.5px;
  }
  .faq__item summary {
    padding: 20px 18px;
    font-size: 16px;
  }
  .faq__answer {
    margin: 0 18px;
  }
  .filter-bar {
    padding: 16px;
  }
  .filter-bar__group {
    width: 100%;
    justify-content: space-between;
  }
  .filter-bar__group .select {
    flex: 1 1 auto;
    max-width: 220px;
  }
  .filter-bar__count {
    margin-left: 0;
  }
  .archive-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 16px;
  }
  .archive-row__lottery {
    order: -1;
  }
  .panel {
    padding: 22px 16px;
  }
  .freq-chart {
    height: 180px;
    gap: 2px;
  }
  .freq-bar__num {
    display: none;
  }
  .freq-chart--secondary .freq-bar__num,
  .freq-chart--viking .freq-bar__num {
    display: block;
  }
  .price-card {
    padding: 30px 22px 26px;
  }
  .price-card__amount {
    font-size: 46px;
  }
  .status-hero {
    padding: 24px 20px;
  }
  .auth-card {
    padding: 34px 20px;
  }
  .about-hero__copy {
    padding-left: 16px;
  }
  .feature summary {
    grid-template-columns: 50px 1fr 20px;
    padding: 22px 18px;
    gap: 12px;
  }
  .feature__num {
    font-size: 20px;
  }
  .feature__more {
    padding: 0 18px 22px 80px;
  }
  .cta-box {
    padding: 32px 20px;
  }
  .cta-box .btn {
    width: 100%;
  }
  .cookie {
    bottom: 12px;
    padding: 20px 18px;
  }
  .cookie__actions {
    flex-direction: column;
  }
}
@media (max-width: 400px) {
  .heartbeat {
    display: none;
  }
  .agebar__badge {
    min-width: 38px;
  }
}
