/* =====================================================================
   Raymond — Premium gambling design system (BEM)
   Concept: cinematic dark luxe, ambient gradients, glassmorphism,
   true 3D lottery balls, gold + neon accents.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&family=JetBrains+Mono:wght@600;700&display=swap');

/* =====================================================================
   1. Tokens
   ===================================================================== */
:root {
    /* Surfaces — layered depth */
    --bg-0: #050613;
    --bg-1: #0a0c1f;
    --bg-2: #0f1230;
    --bg-3: #161a3d;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --surface-glass: rgba(20, 24, 56, 0.55);
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.16);
    --line-glow: rgba(255, 203, 61, 0.35);

    /* Type */
    --text: #f1f3ff;
    --text-muted: #9aa1cf;
    --text-faint: #5e668f;

    /* Brand */
    --gold-1: #ffe18a;
    --gold-2: #ffcb3d;
    --gold-3: #ff9d2c;
    --gold-deep: #b76e10;
    --emerald: #2dd4a7;
    --emerald-2: #06b6d4;
    --violet: #8b5cf6;
    --violet-2: #c084fc;
    --crimson: #fb7185;
    --euro: #5d8cff;
    --viking: #2dd4a7;

    /* Gradients */
    --grad-gold: linear-gradient(135deg, #ffe18a 0%, #ffcb3d 35%, #ff9d2c 70%, #b76e10 100%);
    --grad-gold-soft: linear-gradient(135deg, rgba(255, 225, 138, 0.15), rgba(255, 157, 44, 0.1));
    --grad-euro: linear-gradient(135deg, #6f8eff 0%, #7c3aed 100%);
    --grad-viking: linear-gradient(135deg, #2dd4a7 0%, #06b6d4 100%);
    --grad-violet: linear-gradient(135deg, #c084fc 0%, #7c3aed 60%, #4338ca 100%);

    /* Shadows */
    --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.85), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-glow-gold: 0 0 0 1px rgba(255, 203, 61, 0.18), 0 24px 60px -16px rgba(255, 157, 44, 0.35);
    --shadow-glow-euro: 0 0 0 1px rgba(124, 58, 237, 0.22), 0 24px 60px -16px rgba(111, 142, 255, 0.3);
    --shadow-glow-viking: 0 0 0 1px rgba(45, 212, 167, 0.22), 0 24px 60px -16px rgba(45, 212, 167, 0.3);

    /* Radii */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Layout */
    --container: 1280px;
    --header-h: 84px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================================
   2. Reset & base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--bg-0);
}
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--bg-0);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

/* Ambient global background — fixed viewport-tied base layer */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(1100px 800px at 92% -10%, rgba(124, 58, 237, 0.30), transparent 65%),
        radial-gradient(900px 700px at -8% 6%, rgba(255, 157, 44, 0.18), transparent 65%),
        radial-gradient(900px 600px at 50% 115%, rgba(45, 212, 167, 0.14), transparent 65%),
        linear-gradient(180deg, #07091c 0%, #050613 50%, #050613 100%);
}
/* Soft vignette so edges feel framed */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0.7;
}

/* === Page-level decorative layer that SCROLLS with content === */
/* Lives inside <main>, positioned absolute, pointer-events disabled */
.page-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.page-decor__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.42;
    will-change: opacity;
}
.page-decor__orb--gold-1 {
    width: 620px; height: 620px;
    top: 480px; right: -180px;
    background: radial-gradient(circle, rgba(255, 157, 44, 0.62), transparent 70%);
}
.page-decor__orb--violet-1 {
    width: 720px; height: 720px;
    top: 1280px; left: -260px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
}
.page-decor__orb--blue-1 {
    width: 580px; height: 580px;
    top: 2280px; right: -160px;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.50), transparent 70%);
}
.page-decor__orb--emerald-1 {
    width: 700px; height: 700px;
    top: 3080px; left: -220px;
    background: radial-gradient(circle, rgba(45, 212, 167, 0.42), transparent 70%);
}
.page-decor__orb--gold-2 {
    width: 540px; height: 540px;
    top: 4080px; right: -120px;
    background: radial-gradient(circle, rgba(255, 203, 61, 0.42), transparent 70%);
}
.page-decor__orb--violet-2 {
    width: 600px; height: 600px;
    top: 5080px; left: -180px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.42), transparent 70%);
}

/* Subtle grid pattern overlaid on the top portion of the page */
.page-decor__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1100px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, #000 25%, transparent 80%);
    opacity: 0.55;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-2); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 {
    font-family: 'Sora', 'Inter', sans-serif;
    line-height: 1.1;
    margin: 0 0 0.6em;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }

::selection { background: rgba(255, 203, 61, 0.3); color: #fff; }

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

.text-grad {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page__skip {
    position: absolute;
    left: 8px;
    top: 0;
    transform: translateY(-120%);
    background: var(--gold-2);
    color: #000;
    padding: 8px 16px;
    border-radius: 0 0 8px 0;
    z-index: 200;
}
.page__skip:focus { transform: translateY(0); }

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 200;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.04);
}
.scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: var(--grad-gold);
    box-shadow: 0 0 14px rgba(255, 203, 61, 0.6);
    transition: width 80ms linear;
}

.main { min-height: 60vh; position: relative; z-index: 1; }

/* =====================================================================
   3. Buttons
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    background: transparent;
    color: var(--text);
    white-space: nowrap;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.2s var(--ease), border-color 0.3s var(--ease);
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
    background: var(--grad-gold);
    color: #1a1206;
    box-shadow:
        0 14px 40px -12px rgba(255, 157, 44, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    font-weight: 700;
}
.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out);
    pointer-events: none;
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover {
    color: #1a1206;
    box-shadow:
        0 18px 46px -10px rgba(255, 157, 44, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
    color: var(--gold-2);
    border-color: var(--line-glow);
    background: rgba(255, 203, 61, 0.06);
}

.btn--outline {
    border-color: var(--gold-2);
    color: var(--gold-2);
}
.btn--outline:hover {
    background: var(--grad-gold);
    color: #1a1206;
    border-color: transparent;
}

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg { padding: 18px 30px; font-size: 1.02rem; }

.btn__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #1a1206;
    font-size: 0.75rem;
    font-weight: 800;
}

/* =====================================================================
   4. Header — full-width premium with drawer mobile nav
   ===================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header__disclaimer {
    background:
        linear-gradient(180deg, rgba(255, 157, 44, 0.10), rgba(255, 157, 44, 0)),
        linear-gradient(90deg, #14100a 0%, #1c1408 50%, #14100a 100%);
    border-bottom: 1px solid rgba(255, 203, 61, 0.18);
    color: #ffe9b3;
    font-size: 0.82rem;
    position: relative;
    overflow: hidden;
}
.header__disclaimer::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.55), transparent);
}
.header__disclaimer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px clamp(14px, 3vw, 40px);
    max-width: 1680px;
    margin: 0 auto;
}
.header__disclaimer-badge {
    flex: none;
    background: var(--grad-gold);
    color: #1a1206;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px -4px rgba(255, 157, 44, 0.55);
}
.header__disclaimer-text {
    margin: 0;
    line-height: 1.45;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 24px);
    height: var(--header-h);
    padding: 0 clamp(14px, 3vw, 40px);
    background: rgba(7, 9, 28, 0.82);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.header__inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.25), transparent);
}
.header__tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex: none;
}

/* =====================================================================
   5. Logo
   ===================================================================== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
    transition: transform 0.25s var(--ease);
}
.logo:hover { transform: scale(1.02); }
.logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 22px rgba(255, 157, 44, 0.5));
    position: relative;
}
.logo__mark::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 203, 61, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    filter: blur(8px);
    z-index: -1;
}
.logo:hover .logo__mark::after { opacity: 1; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.logo__tag {
    font-size: 0.66rem;
    color: var(--text-faint);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.logo__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 12px;
    background: linear-gradient(135deg, rgba(45, 212, 167, 0.18), rgba(45, 212, 167, 0.08));
    border: 1px solid rgba(45, 212, 167, 0.45);
    border-radius: 999px;
    color: var(--emerald);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
    margin-left: 4px;
}
.logo__chip::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(45, 212, 167, 0.25), 0 0 10px var(--emerald);
    animation: pulse 1.4s ease-in-out infinite;
}
.logo--footer .logo__name { font-size: 1.15rem; }

/* =====================================================================
   6. Navigation
   ===================================================================== */
.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
}
.nav__toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav__backdrop { display: none; }
.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav__item--head,
.nav__item--actions { display: none; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 999px;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav__link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}
.nav__link--active {
    color: #1a1206;
    background: var(--grad-gold);
    box-shadow:
        0 6px 18px -6px rgba(255, 157, 44, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    font-weight: 700;
}
.nav__link--active:hover { color: #1a1206; background: var(--grad-gold); }

/* Burger button */
.nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
    flex: none;
    position: relative;
    z-index: 112;
}
.nav__burger:hover {
    background: rgba(255, 203, 61, 0.06);
    border-color: rgba(255, 203, 61, 0.45);
}
.nav__burger span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Drawer-open state (mobile) */
.header:has(.nav__toggle:checked) .nav__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header:has(.nav__toggle:checked) .nav__burger span:nth-child(2) { opacity: 0; }
.header:has(.nav__toggle:checked) .nav__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================================
   7. Lang switcher
   ===================================================================== */
.lang-switcher {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 0;
    border-radius: 999px;
    padding: 3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 30px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0 10px;
    transition: all 0.25s var(--ease);
}
.lang-switcher__btn:hover { color: var(--text); }
.lang-switcher__btn--active {
    background: var(--grad-gold);
    color: #1a1206;
    box-shadow: 0 4px 14px -4px rgba(255, 157, 44, 0.55);
}

/* =====================================================================
   8. Hero
   ===================================================================== */
.hero {
    position: relative;
    padding: 64px 0 50px;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before,
.hero__bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.32;
    will-change: transform;
    animation: float 22s ease-in-out infinite;
}
.hero__bg::before {
    width: 460px;
    height: 460px;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(255, 157, 44, 0.5), transparent 70%);
}
.hero__bg::after {
    width: 500px;
    height: 500px;
    bottom: -180px;
    left: -180px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 70%);
    animation-delay: -11s;
}
@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(20px, -28px, 0) scale(1.05); }
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: rgba(255, 203, 61, 0.08);
    border: 1px solid rgba(255, 203, 61, 0.25);
    border-radius: 999px;
    color: var(--gold-2);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-2);
    box-shadow: 0 0 0 4px rgba(255, 203, 61, 0.25), 0 0 14px var(--gold-2);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.hero__title {
    margin: 22px 0 18px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 16ch;
}
.hero__title em {
    font-style: normal;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}
.hero__sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 540px;
    line-height: 1.6;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 44px;
}
.hero__stat {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    border: 1px solid var(--line);
    padding: 18px 20px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.hero__stat::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.4), transparent);
}
.hero__stat-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
}
.hero__stat-label {
    color: var(--text-faint);
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 6px;
}

/* Hero preview cards */
.hero__preview {
    position: relative;
    perspective: 1600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero__preview-card {
    transform: rotateY(-7deg) rotateX(3deg);
    transition: transform 0.5s var(--ease-out);
    animation: heroCardIn 0.9s var(--ease-out) backwards;
}
.hero__preview-card:nth-child(1) { animation-delay: 0.1s; transform: rotateY(-7deg) rotateX(3deg) translateY(0); }
.hero__preview-card:nth-child(2) {
    animation-delay: 0.25s;
    transform: rotateY(-7deg) rotateX(3deg) translateX(50px);
    margin-top: -34px;
}
.hero__preview:hover .hero__preview-card { transform: rotateY(-3deg) rotateX(1deg); }
@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(20px) rotateY(-7deg) rotateX(3deg); }
    to { opacity: 1; }
}

/* =====================================================================
   8b. Mega jackpot banner
   ===================================================================== */
.mega {
    position: relative;
    padding: 56px 56px 50px;
    background:
        radial-gradient(720px 240px at 50% 0%, rgba(255, 203, 61, 0.22), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005)),
        var(--surface-glass);
    border: 1px solid rgba(255, 203, 61, 0.30);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    text-align: center;
}
.mega::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 203, 61, 0.55), transparent 40%, rgba(255, 157, 44, 0.35) 70%, rgba(255, 203, 61, 0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.mega::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1100px;
    height: 800px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 203, 61, 0.26), transparent 60%);
    pointer-events: none;
    filter: blur(40px);
    z-index: -1;
}

/* Wrap section around mega: spread its glow far above and below */
.mega-host {
    position: relative;
    padding-top: 0;
    padding-bottom: 60px;
}
.mega-host::before {
    content: '';
    position: absolute;
    inset: -180px 0 -120px;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 50% 50%, rgba(255, 203, 61, 0.10), transparent 70%);
}
.mega__rays {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: screen;
}
.mega__rays::before,
.mega__rays::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    transform-origin: center;
    background:
        conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 203, 61, 0.12) 8deg,
            transparent 22deg,
            rgba(255, 203, 61, 0.10) 60deg,
            transparent 75deg,
            rgba(255, 203, 61, 0.10) 130deg,
            transparent 150deg,
            rgba(255, 203, 61, 0.12) 210deg,
            transparent 230deg,
            rgba(255, 203, 61, 0.10) 290deg,
            transparent 320deg);
    margin-left: -600px;
    margin-top: -600px;
    animation: spin 60s linear infinite;
}
.mega__rays::after {
    animation-duration: 90s;
    animation-direction: reverse;
    opacity: 0.6;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mega__inner { position: relative; }
.mega__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 203, 61, 0.35);
    border-radius: 999px;
    color: var(--gold-2);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}
.mega__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-2);
    box-shadow: 0 0 0 4px rgba(255, 203, 61, 0.22), 0 0 14px var(--gold-2);
    animation: pulse 1.6s ease-in-out infinite;
}
.mega__amount {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    background: linear-gradient(120deg, #ffe18a 0%, #ffcb3d 30%, #ff9d2c 50%, #ffcb3d 70%, #ffe18a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 6px 40px rgba(255, 157, 44, 0.45);
    animation: gradShift 6s ease-in-out infinite;
    font-variant-numeric: tabular-nums;
    margin: 6px 0 8px;
}
@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.mega__caption {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0 auto 28px;
    max-width: 540px;
}
.mega__caption strong { color: var(--text); font-weight: 600; }

.mega__cta {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================================
   8b1. Premium demo notice (legal disclosure on /premium)
   ===================================================================== */
.premium-demo-notice {
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 215, 100, 0.32);
    background: rgba(255, 215, 100, 0.06);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.premium-demo-notice strong { color: var(--gold-2); }

/* =====================================================================
   8b2. Press strip — "As featured in" social proof
   ===================================================================== */
.press-strip {
    padding: 32px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.012);
}
.press-strip__inner {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    justify-content: center;
}
.press-strip__title {
    color: var(--text-faint);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    flex: none;
}
.press-strip__items {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    justify-content: center;
}
.press-strip__item {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
    user-select: none;
}
.press-strip__item:hover {
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 0 14px rgba(255, 203, 61, 0.25);
}

/* =====================================================================
   9. Sections
   ===================================================================== */
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 56px 0; }

/* Section ambient halos that bleed across boundaries */
.section--ambient-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(700px 400px at 30% 50%, rgba(91, 141, 239, 0.06), transparent 70%);
}
.section--ambient-violet::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(700px 400px at 70% 50%, rgba(124, 58, 237, 0.07), transparent 70%);
}
.section--ambient-emerald::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(700px 400px at 50% 50%, rgba(45, 212, 167, 0.06), transparent 70%);
}
.section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.section__heading { max-width: 720px; }
.section__title { margin-bottom: 10px; }
.section__sub { color: var(--text-muted); margin: 0; font-size: 1.02rem; max-width: 640px; }
.section__cta a {
    color: var(--gold-2);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s var(--ease);
}
.section__cta a:hover { gap: 10px; }

.section__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section__divider::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold-2);
    box-shadow: 0 0 8px var(--gold-2);
}

/* Sparkle decoration before titles */
.section__title--sparkle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.section__title--sparkle::before {
    content: '';
    width: 22px;
    height: 22px;
    background: var(--grad-gold);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L13.5 9 L22 12 L13.5 14.5 L12 24 L10.5 14.5 L2 12 L10.5 9 Z' fill='black'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L13.5 9 L22 12 L13.5 14.5 L12 24 L10.5 14.5 L2 12 L10.5 9 Z' fill='black'/></svg>") center/contain no-repeat;
    flex: none;
    animation: twinkle 3.5s ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
    50% { transform: scale(0.85) rotate(8deg); opacity: 0.7; }
}

/* Reveal-on-scroll */
[data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .mega__amount, .mega__rays::before, .mega__rays::after, .hero__bg::before, .hero__bg::after { animation: none; }
}

/* =====================================================================
   10. Lottery balls — true 3D feel
   ===================================================================== */
.ball {
    --bg-c: #ffffff;
    --bg-d: #d2d4e0;
    --txt: #0a0d18;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--txt);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 18%, transparent 38%),
        radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, var(--bg-c) 0%, var(--bg-d) 100%);
    box-shadow:
        inset 0 -5px 12px rgba(0, 0, 0, 0.22),
        inset 0 3px 5px rgba(255, 255, 255, 0.65),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 10px 22px -8px rgba(0, 0, 0, 0.7);
    position: relative;
    transition: transform 0.25s var(--ease);
    flex: none;
}
.ball::after {
    content: '';
    position: absolute;
    top: 8%;
    left: 16%;
    width: 30%;
    height: 24%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.85) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.ball:hover { transform: scale(1.08) rotate(-4deg); }

.draw-card__balls .ball {
    animation: ballIn 0.5s var(--ease-out) backwards;
    animation-delay: calc(var(--ball-i, 0) * 60ms + 100ms);
}
@keyframes ballIn {
    from { opacity: 0; transform: translateY(10px) scale(0.7); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ball--main { --bg-c: #ffffff; --bg-d: #b8bcd0; --txt: #0a0d18; }
.ball--euro { --bg-c: #ffd76a; --bg-d: #c97f1f; --txt: #2a1606; }
.ball--viking { --bg-c: #5cf0c0; --bg-d: #0e8973; --txt: #04261d; }

.ball--sm { width: 36px; height: 36px; font-size: 0.85rem; }
.ball--lg { width: 60px; height: 60px; font-size: 1.25rem; }

.ball--ghost {
    background: transparent;
    border: 1.5px dashed var(--line-strong);
    color: var(--text-muted);
    box-shadow: none;
    text-shadow: none;
}
.ball--ghost::after { display: none; }

.ball__plus {
    color: var(--text-faint);
    font-size: 1.4rem;
    align-self: center;
    margin: 0 4px;
    font-weight: 300;
}

/* =====================================================================
   11. Draw card — premium glassmorphism with gradient border
   ===================================================================== */
.draw-card {
    --accent: var(--grad-euro);
    --accent-glow: rgba(111, 142, 255, 0.3);
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.draw-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}
.draw-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 240px;
    height: 240px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
}
.draw-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}
.draw-card--viking {
    --accent: var(--grad-viking);
    --accent-glow: rgba(45, 212, 167, 0.3);
}

.draw-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
}
.draw-card__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.draw-card__brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    box-shadow: 0 12px 28px -8px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.draw-card__brand-logo {
    width: 78px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 4px;
    flex: none;
    font-family: 'Sora', sans-serif;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -10px rgba(255, 157, 44, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
}
.draw-card__brand-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 60%);
    pointer-events: none;
}
.draw-card__brand-logo--euro {
    background: var(--grad-gold);
    color: #1a0d00;
    border: 1px solid rgba(255, 232, 138, 0.6);
}
.draw-card__brand-logo--viking {
    background: var(--grad-viking);
    color: #042a23;
    border: 1px solid rgba(52, 224, 177, 0.55);
    box-shadow: 0 10px 24px -10px rgba(45, 212, 167, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.draw-card__brand-logo-top,
.draw-card__brand-logo-bot {
    position: relative;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.draw-card__brand-logo-top { font-size: 0.68rem; }
.draw-card__brand-logo--euro .draw-card__brand-logo-bot { color: #8a0e0e; }
.draw-card__brand-logo--viking .draw-card__brand-logo-bot { color: #ffffff; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); }
.draw-card__brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.01em;
}
.draw-card__brand-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.draw-card__jackpot {
    text-align: right;
    background: linear-gradient(135deg, rgba(255, 203, 61, 0.10), rgba(255, 157, 44, 0.04));
    border: 1px solid rgba(255, 203, 61, 0.25);
    border-radius: 14px;
    padding: 10px 18px;
    position: relative;
}
.draw-card__jackpot-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-2);
    font-weight: 700;
}
.draw-card__jackpot-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.draw-card__row { margin-bottom: 22px; position: relative; }
.draw-card__row-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 12px;
    font-weight: 700;
}
.draw-card__balls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.draw-card__details {
    margin-top: 14px;
}
.draw-card__details-summary {
    cursor: pointer;
    color: var(--gold-2);
    font-size: 0.85rem;
    font-weight: 600;
    list-style: none;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.draw-card__details-summary::-webkit-details-marker { display: none; }
.draw-card__details-summary::after {
    content: '↓';
    transition: transform 0.3s var(--ease);
}
.draw-card__details[open] .draw-card__details-summary::after {
    transform: rotate(180deg);
}

.draw-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 12px;
}
.draw-card__date { font-size: 0.85rem; color: var(--text-muted); }
.draw-card__date strong { color: var(--text); font-weight: 600; }

.draws-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

/* =====================================================================
   11b. Lottery ticket variant (perforated tear-off edge)
   ===================================================================== */
.draw-card--ticket {
    --stub-w: 72px;            /* width of the tear-off stub */
    --punch-r: 11px;           /* radius of perforation punch holes */
    --perf-x: var(--stub-w);   /* x position of the dashed perforation line */
    padding-left: calc(var(--stub-w) + 22px);
    /* Two punch-hole semicircles cut out of the top and bottom edges,
       aligned with the perforation line. mask-composite: intersect ensures
       both holes are punched together. */
    -webkit-mask-image:
        radial-gradient(circle var(--punch-r) at var(--perf-x) 0, transparent 99%, #000 100%),
        radial-gradient(circle var(--punch-r) at var(--perf-x) 100%, transparent 99%, #000 100%);
    -webkit-mask-composite: source-in;
    -webkit-mask-size: 100% 100%;
    mask-image:
        radial-gradient(circle var(--punch-r) at var(--perf-x) 0, transparent 99%, #000 100%),
        radial-gradient(circle var(--punch-r) at var(--perf-x) 100%, transparent 99%, #000 100%);
    mask-composite: intersect;
    mask-size: 100% 100%;
    /* Drop-shadow follows the masked silhouette (box-shadow would not) */
    box-shadow: none;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.55)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.draw-card__stub {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--stub-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 22px;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent 0 8px,
            rgba(255, 255, 255, 0.015) 8px 9px
        ),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
    z-index: 1;
}
/* Dashed perforation line on the right edge of the stub */
.draw-card__stub::after {
    content: '';
    position: absolute;
    top: calc(var(--punch-r) + 6px);
    bottom: calc(var(--punch-r) + 6px);
    right: 0;
    width: 0;
    border-left: 1.5px dashed rgba(255, 255, 255, 0.22);
}
.draw-card__stub-label {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.6rem;
    color: var(--gold-2);
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(255, 203, 61, 0.35);
}
.draw-card--ticket.draw-card--viking .draw-card__stub-label { color: var(--emerald); text-shadow: 0 0 12px rgba(45, 212, 167, 0.35); }
.draw-card__stub-no {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.16em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    line-height: 1.4;
}
.draw-card__stub-bars {
    width: 36px;
    height: 18px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.65) 0 1px,
        transparent 1px 3px,
        rgba(255, 255, 255, 0.45) 3px 4px,
        transparent 4px 6px,
        rgba(255, 255, 255, 0.7) 6px 8px,
        transparent 8px 10px,
        rgba(255, 255, 255, 0.5) 10px 11px,
        transparent 11px 14px,
        rgba(255, 255, 255, 0.65) 14px 16px,
        transparent 16px 18px,
        rgba(255, 255, 255, 0.55) 18px 19px,
        transparent 19px 22px,
        rgba(255, 255, 255, 0.7) 22px 24px,
        transparent 24px 26px,
        rgba(255, 255, 255, 0.45) 26px 27px,
        transparent 27px 30px,
        rgba(255, 255, 255, 0.65) 30px 32px,
        transparent 32px 34px,
        rgba(255, 255, 255, 0.55) 34px 36px
    );
    border-radius: 1px;
    opacity: 0.85;
}

/* Disable cursor-glow gradient inside the masked card (would clash with mask) */
.draw-card--ticket { --glow-opacity: 0 !important; }

/* =====================================================================
   12. Prize tiers
   ===================================================================== */
.tiers {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
}
.tiers__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    padding: 13px 18px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.tiers__row:last-child { border-bottom: none; }
.tiers__row--head {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 700;
}
.tiers__row--top {
    background: linear-gradient(90deg, rgba(255, 203, 61, 0.12), transparent);
    border-bottom-color: rgba(255, 203, 61, 0.18);
}
.tiers__cell--right { text-align: right; }
.tiers__cell--prize { color: var(--gold-2); font-weight: 700; font-family: 'JetBrains Mono', monospace; }

/* =====================================================================
   14. Timeline / big wins
   ===================================================================== */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 14px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-2) 0%, rgba(255, 203, 61, 0.2) 50%, transparent 100%);
}
.timeline__item {
    position: relative;
    padding: 26px 28px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.timeline__item:hover {
    transform: translateX(4px);
    border-color: rgba(255, 203, 61, 0.25);
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__dot {
    position: absolute;
    left: -33px;
    top: 32px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--grad-gold);
    box-shadow:
        0 0 0 4px var(--bg-1),
        0 0 0 5px rgba(255, 203, 61, 0.35),
        0 0 18px rgba(255, 203, 61, 0.7);
}
.timeline__year {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold-2);
    letter-spacing: 0.06em;
}
.timeline__amount {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    margin: 6px 0;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.timeline__title { font-size: 1.12rem; margin: 4px 0 8px; font-weight: 700; }
.timeline__meta { color: var(--text-faint); font-size: 0.8rem; margin-bottom: 10px; }
.timeline__text { color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Quick facts side card */
.facts {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 120px;
}
.facts__title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.facts__title--euro { color: #a4baff; }
.facts__title--viking { color: var(--emerald); }
.facts__list { display: grid; gap: 14px; color: var(--text-muted); font-size: 0.92rem; }
.facts__list dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 700; margin-bottom: 4px; }
.facts__list dd { color: var(--text); margin: 0; font-weight: 500; }
.facts__divider { border: 0; border-top: 1px dashed var(--line); margin: 22px 0; }

/* =====================================================================
   15. Premium plans
   ===================================================================== */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.plan {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 34px;
    position: relative;
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.plan::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(180px 140px at 50% 0%, rgba(255, 203, 61, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.plan:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}
.plan:hover::before { opacity: 1; }

/* Cursor-aware ambient glow */
.plan,
.draw-card {
    --glow-x: 50%;
    --glow-y: 0%;
    --glow-opacity: 0;
}
.plan {
    background:
        radial-gradient(420px 320px at var(--glow-x) var(--glow-y), rgba(255, 203, 61, calc(0.16 * var(--glow-opacity))), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
}
.plan--popular {
    border-color: rgba(255, 203, 61, 0.35);
    background:
        radial-gradient(420px 320px at var(--glow-x) var(--glow-y), rgba(255, 203, 61, calc(0.22 * var(--glow-opacity))), transparent 70%),
        radial-gradient(260px 200px at 80% 0%, rgba(255, 203, 61, 0.18), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    box-shadow: var(--shadow-glow-gold);
}
.plan--popular::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 203, 61, 0.6), rgba(255, 157, 44, 0.1) 50%, rgba(255, 203, 61, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.plan__badge {
    position: absolute;
    top: -14px;
    right: 28px;
    background: var(--grad-gold);
    color: #1a1206;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px -6px rgba(255, 157, 44, 0.6);
}
.plan__name {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.plan__sub { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.plan__price {
    margin: 26px 0 22px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.plan__price-value {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.04em;
    line-height: 1;
}
.plan--popular .plan__price-value {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.plan__price-period { color: var(--text-faint); font-size: 0.95rem; }
.plan__features { display: grid; gap: 14px; margin-bottom: 28px; }
.plan__feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.94rem;
    color: var(--text-muted);
}
.plan__feature::before {
    content: '✓';
    color: var(--emerald);
    font-weight: 800;
    flex: none;
    width: 22px;
    height: 22px;
    background: rgba(45, 212, 167, 0.12);
    border: 1px solid rgba(45, 212, 167, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.78rem;
    margin-top: 1px;
}

.plan__save {
    display: inline-block;
    color: var(--emerald);
    background: rgba(45, 212, 167, 0.12);
    border: 1px solid rgba(45, 212, 167, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =====================================================================
   16. Forms
   ===================================================================== */
.form {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 480px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}
.form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(280px 180px at 100% 0%, rgba(255, 203, 61, 0.12), transparent 70%);
    pointer-events: none;
}
.form > * { position: relative; }
.form--wide { max-width: 760px; }
.form__title {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}
.form__sub { color: var(--text-muted); margin-bottom: 28px; }
.form__group { margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 8px;
    font-weight: 700;
}
.form__input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.96rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form__input::placeholder { color: var(--text-faint); }
.form__input:focus {
    outline: none;
    border-color: var(--gold-2);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 203, 61, 0.12);
}
.form__error {
    background: rgba(248, 113, 113, 0.10);
    border: 1px solid rgba(248, 113, 113, 0.28);
    color: #ffd5d5;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.form__error::before { content: '⚠'; flex: none; }
.form__success {
    background: rgba(45, 212, 167, 0.12);
    border: 1px solid rgba(45, 212, 167, 0.32);
    color: #c7fbe6;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.form__success::before { content: '✓'; flex: none; font-weight: 800; }
.form__foot { margin-top: 22px; color: var(--text-muted); font-size: 0.92rem; text-align: center; }
.form__foot a { color: var(--gold-2); font-weight: 600; }

/* ---------- Consent checkboxes ---------- */
.form__consent {
    margin: 6px 0 24px;
    padding: 18px 18px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 203, 61, 0.025), rgba(255, 255, 255, 0.01)),
        rgba(255, 255, 255, 0.015);
    position: relative;
}
.form__consent::before {
    content: '';
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.35), transparent);
    border-radius: inherit;
    pointer-events: none;
}
.form__consent-legend {
    padding: 2px 10px;
    margin-left: -4px;
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-2);
    background: rgba(7, 9, 28, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(255, 203, 61, 0.22);
}
.form__check {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: start;
    column-gap: 14px;
    row-gap: 0;
    padding: 12px 12px;
    margin: 0 -8px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.55;
    transition: background 0.18s var(--ease);
    position: relative;
}
.form__check:hover { background: rgba(255, 203, 61, 0.04); }
.form__check:has(input:checked) { background: rgba(255, 203, 61, 0.05); }
.form__check + .form__check { margin-top: 2px; }

.form__check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    margin: 1px 0 0;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    position: relative;
    flex: none;
    transition: border-color 0.18s var(--ease), background 0.25s var(--ease), box-shadow 0.18s var(--ease), transform 0.15s var(--ease);
}
.form__check:hover input[type="checkbox"]:not(:checked) {
    border-color: rgba(255, 203, 61, 0.6);
    background: rgba(255, 203, 61, 0.06);
}
.form__check input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--gold-2);
    outline-offset: 3px;
}
.form__check input[type="checkbox"]:checked {
    background: var(--grad-gold);
    border-color: transparent;
    box-shadow: 0 6px 14px -4px rgba(255, 157, 44, 0.55), inset 0 -2px 4px rgba(122, 68, 4, 0.25);
}
.form__check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 1px;
    width: 7px;
    height: 12px;
    border: solid #1a1206;
    border-width: 0 2.6px 2.6px 0;
    transform: rotate(45deg);
    animation: consentCheck 0.22s var(--ease-out);
}
@keyframes consentCheck {
    from { opacity: 0; transform: rotate(45deg) scale(0.6); }
    to   { opacity: 1; transform: rotate(45deg) scale(1); }
}
.form__check-mark { display: none; }
.form__check-text { color: var(--text); }
.form__check-text a {
    color: var(--gold-2);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.15s var(--ease);
}
.form__check-text a:hover { color: var(--gold-1); text-decoration-thickness: 2px; }
.form__check-required {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.32);
    color: #fda4a4;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}
.form__check-required::before { content: 'required'; }
:lang(fi) .form__check-required::before { content: 'pakollinen'; }

.form__check--optional {
    background: rgba(255, 255, 255, 0.015);
}
.form__check--optional::after {
    content: 'optional';
    grid-column: 3;
    align-self: start;
    margin-top: 2px;
    padding: 3px 9px;
    background: rgba(124, 137, 161, 0.10);
    border: 1px solid rgba(124, 137, 161, 0.28);
    color: var(--text-faint);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}
:lang(fi) .form__check--optional::after { content: 'valinnainen'; }
.form__check--optional .form__check-text { color: var(--text-muted); }

@media (max-width: 480px) {
    .form__check { grid-template-columns: 22px 1fr; padding: 12px 10px; }
    .form__check-required,
    .form__check--optional::after {
        grid-column: 2;
        justify-self: start;
        margin-top: 6px;
    }
}

/* =====================================================================
   17. Profile
   ===================================================================== */
.profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}
.profile__side {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    align-self: start;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.checkout-verify {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px clamp(20px, 4vw, 44px);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 203, 61, 0.06), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}
.checkout-verify::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: var(--grad-gold);
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.16;
    pointer-events: none;
}
.checkout-verify > * { position: relative; }
.checkout-verify__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 203, 61, 0.08);
    border: 1px solid rgba(255, 203, 61, 0.28);
    margin-bottom: 18px;
}
.checkout-verify__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin: 0 0 12px;
    color: var(--text);
}
.checkout-verify__text {
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 14px;
    font-size: 0.98rem;
}
.checkout-verify__email {
    display: inline-block;
    margin: 0 auto 18px;
    padding: 8px 16px;
    background: rgba(255, 203, 61, 0.08);
    border: 1px solid rgba(255, 203, 61, 0.25);
    border-radius: 999px;
    color: #ffe9b3;
    font-weight: 600;
    font-size: 0.95rem;
    word-break: break-all;
}
.checkout-verify__hint {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0 0 24px;
    opacity: 0.85;
}
.checkout-verify__plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    text-align: left;
}
.checkout-verify__plan-name {
    font-weight: 700;
    color: var(--text);
}
.checkout-verify__plan-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.checkout-verify__plan-price {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffd24a;
}
.checkout-verify__actions {
    display: grid;
    gap: 10px;
}
@media (max-width: 540px) {
    .checkout-verify { padding: 30px 18px; }
    .checkout-verify__plan { flex-direction: column; align-items: stretch; text-align: center; gap: 8px; }
}
.profile__side::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    background: var(--grad-gold);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}
.profile__avatar {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #1a1206;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 14px 36px -8px rgba(255, 157, 44, 0.65),
        inset 0 -4px 8px rgba(0, 0, 0, 0.18),
        inset 0 3px 5px rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}
.profile__name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.25rem; }
.profile__email { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }
.profile__plan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 203, 61, 0.10);
    border: 1px solid rgba(255, 203, 61, 0.28);
    color: var(--gold-2);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.profile__main { display: grid; gap: 22px; }

/* =====================================================================
   18. FAQ
   ===================================================================== */
.faq { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.faq__item {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 24px;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.faq__item:hover { border-color: var(--line-strong); }
.faq__item[open] {
    border-color: rgba(255, 203, 61, 0.25);
    background:
        radial-gradient(400px 100px at 0% 0%, rgba(255, 203, 61, 0.08), transparent 70%),
        var(--surface-glass);
}
.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-weight: 600;
    font-size: 1.04rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--gold-2);
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 203, 61, 0.08);
    border: 1px solid rgba(255, 203, 61, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
    flex: none;
}
.faq__item[open] summary::after {
    transform: rotate(45deg);
    background: rgba(255, 203, 61, 0.18);
}
.faq__answer {
    color: var(--text-muted);
    padding: 0 0 24px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    line-height: 1.65;
}

/* =====================================================================
   19. Filter / archive
   ===================================================================== */
.filter {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 26px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
}
.filter__group { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.filter__label {
    font-size: 0.74rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.filter__select {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line-strong);
    color: var(--text);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s var(--ease);
}
.filter__select:hover { border-color: var(--gold-2); }
.filter__select:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(255, 203, 61, 0.15); }

.archive { display: grid; gap: 12px; }
.archive__row {
    display: grid;
    grid-template-columns: 150px 150px 1fr 150px;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.25s var(--ease);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.archive__row:hover {
    border-color: var(--line-strong);
    transform: translateX(4px);
    background:
        linear-gradient(90deg, rgba(255, 203, 61, 0.04), transparent 40%),
        var(--surface-glass);
}
.archive__date { color: var(--text-muted); font-size: 0.88rem; font-family: 'JetBrains Mono', monospace; }
.archive__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.archive__brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--euro);
    box-shadow: 0 0 10px var(--euro);
}
.archive__brand-dot--viking { background: var(--viking); box-shadow: 0 0 10px var(--viking); }
.archive__numbers { display: flex; flex-wrap: wrap; gap: 7px; }
.archive__jackpot {
    text-align: right;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.05rem;
}

/* =====================================================================
   19b. 404 / error page
   ===================================================================== */
.error-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 0 40px;
}
.error-page__code {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(6rem, 18vw, 12rem);
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(120deg, #ffe18a 0%, #ffcb3d 30%, #ff9d2c 50%, #ffcb3d 70%, #ffe18a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 6px 40px rgba(255, 157, 44, 0.45);
    animation: gradShift 6s ease-in-out infinite;
    margin-bottom: 6px;
}
.error-page__title { margin-bottom: 12px; }
.error-page__sub { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto 26px; }
.error-page__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.error-page__links { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 16px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-glass); }
.error-page__links-label { color: var(--text-faint); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.error-page__links a { color: var(--gold-2); font-weight: 600; font-size: 0.9rem; }
.error-page__links a:hover { color: var(--text); }

/* =====================================================================
   20. Legal pages
   ===================================================================== */
.legal {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 50px;
    max-width: 920px;
    margin: 0 auto;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.legal h2 {
    margin-top: 32px;
    color: var(--gold-2);
    font-size: 1.25rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 24px; list-style: none; margin-bottom: 18px; }
.legal ul li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.legal ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--gold-2);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 203, 61, 0.6);
}

/* Sub-processor table inside .legal */
.subproc {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 14px 0 22px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.92rem;
}
.subproc thead th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-faint);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.subproc tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    vertical-align: top;
}
.subproc tbody tr:last-child td { border-bottom: none; }
.subproc tbody tr:hover td { background: rgba(255, 203, 61, 0.03); }
.subproc tbody td:first-child { color: var(--text); font-weight: 600; }
.subproc tbody td:first-child a { color: var(--gold-2); text-decoration: none; border-bottom: 1px dashed rgba(255, 203, 61, 0.4); }
.subproc tbody td:first-child a:hover { border-bottom-color: var(--gold-2); }
.subproc__region {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(45, 212, 167, 0.10);
    border: 1px solid rgba(45, 212, 167, 0.28);
    color: var(--emerald);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .subproc, .subproc thead, .subproc tbody, .subproc tr { display: block; }
    .subproc thead { display: none; }
    .subproc tbody td { display: block; padding: 6px 14px; border: none; }
    .subproc tbody td:first-child { padding-top: 14px; font-size: 1rem; }
    .subproc tbody td:last-child { padding-bottom: 14px; }
    .subproc tbody tr { border-bottom: 1px solid var(--line); }
    .subproc tbody tr:last-child { border-bottom: none; }
    .subproc tbody td:not(:first-child)::before {
        content: attr(data-label);
        display: none;
    }
}

/* =====================================================================
   20b. Newsletter signup section
   ===================================================================== */
.newsletter {
    padding: 80px 0 70px;
    position: relative;
}
.newsletter__inner {
    background:
        radial-gradient(600px 300px at 80% 0%, rgba(255, 203, 61, 0.16), transparent 70%),
        radial-gradient(500px 300px at 0% 100%, rgba(124, 58, 237, 0.18), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        var(--surface-glass);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    padding: 56px clamp(28px, 5vw, 64px);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.newsletter__inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 203, 61, 0.4), transparent 40%, rgba(124, 58, 237, 0.3) 70%, rgba(255, 203, 61, 0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.newsletter__copy { position: relative; }
.newsletter__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(45, 212, 167, 0.10);
    border: 1px solid rgba(45, 212, 167, 0.28);
    color: var(--emerald);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.newsletter__title {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.newsletter__sub { color: var(--text-muted); margin-bottom: 24px; max-width: 540px; }
.newsletter__form {
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 6px;
    margin-bottom: 22px;
    max-width: 540px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.newsletter__form:focus-within {
    border-color: var(--gold-2);
    box-shadow: 0 0 0 4px rgba(255, 203, 61, 0.12);
}
.newsletter__input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.96rem;
    padding: 12px 18px;
    outline: none;
}
.newsletter__input::placeholder { color: var(--text-faint); }
.newsletter__form .btn { padding: 12px 22px; flex: none; }
.newsletter__legal { font-size: 0.78rem; color: var(--text-faint); }
.newsletter__legal a { color: var(--text-muted); text-decoration: underline; }

.newsletter__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.newsletter__stat {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
}
.newsletter__stat-value {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
}
.newsletter__stat-label {
    color: var(--text-faint);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 8px;
}

@media (max-width: 1100px) {
    .newsletter__inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 28px; }
}
@media (max-width: 640px) {
    .newsletter { padding: 50px 0 40px; }
    .newsletter__form { flex-direction: column; border-radius: 18px; padding: 8px; }
    .newsletter__form .btn { width: 100%; border-radius: 14px; }
    .newsletter__input { padding: 10px 14px; }
    .newsletter__stats { grid-template-columns: 1fr; gap: 10px; }
    .newsletter__stat { padding: 16px; display: flex; gap: 12px; align-items: baseline; text-align: left; }
    .newsletter__stat-label { margin-top: 0; }
}

/* =====================================================================
   20c. Freshness pill (data verified X min ago)
   ===================================================================== */
.freshness {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    background: rgba(45, 212, 167, 0.10);
    border: 1px solid rgba(45, 212, 167, 0.28);
    border-radius: 999px;
    color: var(--emerald);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.freshness::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(45, 212, 167, 0.22), 0 0 8px var(--emerald);
    animation: pulse 1.6s ease-in-out infinite;
}

/* =====================================================================
   21. Footer
   ===================================================================== */
.footer {
    margin-top: 100px;
    padding: 70px 0 30px;
    background: linear-gradient(180deg, var(--bg-1) 0%, #03040b 100%);
    border-top: 1px solid var(--line);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.4), transparent);
}
.footer__top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}
.footer__about { color: var(--text-muted); margin: 18px 0; max-width: 380px; line-height: 1.65; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.badge--age { background: rgba(248, 113, 113, 0.10); border-color: rgba(248, 113, 113, 0.32); color: #fda4a4; }
.badge--rg { background: rgba(45, 212, 167, 0.10); border-color: rgba(45, 212, 167, 0.30); color: #6ee7c1; }
.badge--gdpr { background: rgba(91, 141, 239, 0.10); border-color: rgba(91, 141, 239, 0.30); color: #a4c1f9; }

.footer__social { margin-top: 22px; }
.footer__social-label {
    display: block;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 12px;
}
.footer__social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text-muted);
    transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-icon:hover {
    color: var(--gold-2);
    background: rgba(255, 203, 61, 0.08);
    border-color: rgba(255, 203, 61, 0.32);
    transform: translateY(-2px);
}
.social-icon:focus-visible {
    outline: 2px solid var(--gold-2);
    outline-offset: 2px;
}

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer__title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 18px;
}
.footer__list { display: grid; gap: 11px; }
.footer__list a, .footer__list li { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer__list a:hover { color: var(--gold-2); }
.footer__list strong { color: var(--text); font-weight: 600; }
.footer__trust {
    margin: 30px 0 28px;
    padding: 28px 30px;
    background:
        linear-gradient(135deg, rgba(255, 203, 61, 0.07) 0%, rgba(124, 58, 237, 0.05) 100%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.footer__trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.5), transparent);
}
.footer__trust-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.footer__trust-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.01em;
}
.footer__trust-sub {
    color: var(--text-faint);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.footer__trust-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: stretch;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: transparent;
    border: 0;
    border-radius: 14px;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
    text-align: center;
    min-height: 92px;
}
.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -10px rgba(255, 157, 44, 0.4);
}
.trust-badge img {
    height: 38px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.trust-badge__label {
    font-size: 0.72rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.trust-badge--age {
    background: transparent;
    box-shadow: none;
}
.trust-badge--age:hover {
    box-shadow: 0 12px 32px -10px rgba(255, 157, 44, 0.4);
}
.trust-badge__age {
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: -0.04em;
    line-height: 1;
    text-shadow: none;
}
.trust-badge__age sup {
    font-size: 0.95rem;
    margin-left: 2px;
    top: -0.5em;
}

.footer__bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    color: var(--text-faint);
    font-size: 0.85rem;
}

/* =====================================================================
   21a. Status page + heartbeat
   ===================================================================== */
.status { display: grid; gap: 26px; }
.status__overall {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 30px;
    background:
        linear-gradient(135deg, rgba(45, 212, 167, 0.10), rgba(45, 212, 167, 0.02)),
        var(--surface-glass);
    border: 1px solid rgba(45, 212, 167, 0.32);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}
.status__overall::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 167, 0.55), transparent);
}
.status__overall--warn {
    background:
        linear-gradient(135deg, rgba(255, 157, 44, 0.12), rgba(255, 157, 44, 0.02)),
        var(--surface-glass);
    border-color: rgba(255, 157, 44, 0.35);
}
.status__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--emerald);
    flex: none;
    box-shadow: 0 0 0 4px rgba(45, 212, 167, 0.18), 0 0 16px var(--emerald);
    animation: pulse 1.6s ease-in-out infinite;
}
.status__overall--warn .status__dot { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(255, 203, 61, 0.18), 0 0 16px var(--gold-2); }
.status__overall-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}
.status__overall-sub { color: var(--text-muted); font-size: 0.88rem; margin-top: 2px; }
.status__overall-uptime {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--emerald);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}
.status__overall-uptime small {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.status__components {
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.status__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr 1fr;
    align-items: center;
    gap: 18px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.status__row:last-child { border-bottom: none; }
.status__row--head {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 700;
}
.status__name { font-weight: 600; color: var(--text); }
.status__cell--right { text-align: right; }
.status__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 10px;
    background: rgba(45, 212, 167, 0.10);
    border: 1px solid rgba(45, 212, 167, 0.32);
    color: var(--emerald);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    width: max-content;
}
.status__pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(45, 212, 167, 0.22), 0 0 8px var(--emerald);
    animation: pulse 1.6s ease-in-out infinite;
}
.status__uptime {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.status__uptime strong {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
    font-weight: 700;
    min-width: 64px;
}
.status__bars {
    display: inline-flex;
    gap: 2px;
    height: 20px;
    align-items: stretch;
}
.status__bar {
    width: 4px;
    background: var(--emerald);
    border-radius: 1px;
    opacity: 0.55;
    transition: opacity 0.2s var(--ease);
}
.status__bar:hover { opacity: 1; }
.status__bar--warn { background: var(--gold-2); opacity: 0.85; }
.status__last { color: var(--text-muted); font-size: 0.85rem; font-family: 'JetBrains Mono', monospace; }

.status__history {
    background: var(--surface-glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.status__history-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 18px;
}
.status__history-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.status__check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(45, 212, 167, 0.18);
    border: 1px solid rgba(45, 212, 167, 0.35);
    color: var(--emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: none;
}

/* Heartbeat indicator in header */
.heartbeat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 10px;
    background: rgba(45, 212, 167, 0.08);
    border: 1px solid rgba(45, 212, 167, 0.30);
    border-radius: 999px;
    color: var(--emerald);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
    flex: none;
    white-space: nowrap;
}
.heartbeat:hover {
    background: rgba(45, 212, 167, 0.14);
    border-color: rgba(45, 212, 167, 0.50);
    color: var(--emerald);
}
.heartbeat__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(45, 212, 167, 0.20), 0 0 10px var(--emerald);
    animation: pulse 1.4s ease-in-out infinite;
    flex: none;
}

@media (max-width: 768px) {
    .status__overall { padding: 20px 22px; gap: 14px; flex-wrap: wrap; }
    .status__overall-uptime { font-size: 1.3rem; margin-left: 0; width: 100%; padding-left: 30px; }
    .status__row {
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
        padding: 14px 18px;
    }
    .status__row--head { display: none; }
    .status__name { grid-column: 1 / -1; font-size: 1rem; }
    .status__uptime { grid-column: 1 / -1; }
    .status__last { text-align: left; }
    .status__history { padding: 22px; }
}
@media (max-width: 480px) {
    .heartbeat { padding: 5px 9px 5px 8px; font-size: 0.66rem; gap: 5px; }
    .heartbeat__label { display: none; }
}

/* =====================================================================
   21b. No-affiliate disclosure
   ===================================================================== */
.disclosure {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 28px 0 22px;
    padding: 22px 26px;
    background:
        linear-gradient(135deg, rgba(45, 212, 167, 0.08), rgba(45, 212, 167, 0.02)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(45, 212, 167, 0.28);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.disclosure::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 167, 0.55), transparent);
}
.disclosure__badge {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(45, 212, 167, 0.22), rgba(45, 212, 167, 0.06));
    border: 1px solid rgba(45, 212, 167, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--emerald);
    letter-spacing: -0.02em;
    box-shadow: 0 0 0 4px rgba(45, 212, 167, 0.08), 0 8px 22px -8px rgba(45, 212, 167, 0.45);
}
.disclosure__body { min-width: 0; }
.disclosure__title {
    margin: 0 0 4px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.disclosure__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}
@media (max-width: 640px) {
    .disclosure { padding: 18px; gap: 14px; flex-direction: column; align-items: flex-start; text-align: left; }
    .disclosure__badge { width: 48px; height: 48px; font-size: 0.95rem; }
}

@media (max-width: 980px) {
    .footer__trust-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .page-decor { display: none; }
    .section { padding: 44px 0; }
    .section--tight { padding: 38px 0; }
    .footer__trust { padding: 22px 18px; }
    .footer__trust-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .trust-badge { min-height: 80px; padding: 12px 10px; }
    .trust-badge img { height: 30px; }
}

/* =====================================================================
   22. Cookie bar
   ===================================================================== */
.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 820px;
    z-index: 120;
    background: rgba(7, 9, 28, 0.96);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow:
        0 28px 64px -22px rgba(0, 0, 0, 0.75),
        0 8px 24px -8px rgba(0, 0, 0, 0.45);
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
}
.cookie-bar::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.55), transparent);
    pointer-events: none;
}
.cookie-bar:not([hidden]) {
    animation: cookieBarIn 0.35s var(--ease-out) backwards;
}
@keyframes cookieBarIn {
    from { opacity: 0; transform: translate(-50%, 120%); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-bar .cookie-bar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    flex-wrap: wrap;
}
.cookie-bar__copy {
    flex: 1 1 280px;
    min-width: 0;
}
.cookie-bar__title {
    margin: 0 0 3px;
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.cookie-bar__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.cookie-bar__text a { color: var(--gold-2); text-decoration: underline; }
.cookie-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: none;
    margin-left: auto;
}
.cookie-bar .btn {
    flex: none;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.84rem;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .cookie-bar {
        bottom: 12px;
        width: calc(100% - 20px);
        border-radius: 14px;
    }
    .cookie-bar .cookie-bar__inner {
        padding: 18px 18px 20px;
        gap: 14px;
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-bar__copy { text-align: center; }
    .cookie-bar__actions {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        width: 100%;
    }
    .cookie-bar__actions .btn { width: 100%; min-height: 44px; }
}

/* ---------- Cookie preferences modal ---------- */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 32px);
}

.cookie-modal[hidden] { display: none; }

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 14, 0.75);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    animation: cookieModalFade 0.25s var(--ease-out);
}

.cookie-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(20, 24, 56, 0.96), rgba(7, 9, 28, 0.98));
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow:
        0 32px 72px -24px rgba(0, 0, 0, 0.8),
        0 12px 32px -8px rgba(0, 0, 0, 0.55);
    animation: cookieModalIn 0.32s var(--ease-out);
}

.cookie-modal__panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 203, 61, 0.55), transparent);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

@keyframes cookieModalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes cookieModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cookie-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 160ms var(--ease), color 160ms var(--ease);
}
.cookie-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.cookie-modal__head { margin-bottom: 18px; }

.cookie-modal__title {
    margin: 0 0 6px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.cookie-modal__intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.cookie-modal__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 20px;
}

.cookie-cat {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color 200ms var(--ease);
}
.cookie-cat:hover { border-color: var(--line-strong); }
.cookie-cat--locked {
    background: linear-gradient(135deg, rgba(255, 203, 61, 0.05), rgba(255, 157, 44, 0.025));
    border-color: rgba(255, 203, 61, 0.20);
}

.cookie-cat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-cat__title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-cat__name {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.cookie-cat__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1206;
    background: var(--grad-gold);
    border-radius: 999px;
}

.cookie-cat__desc {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* iOS-style switch */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch__slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    cursor: pointer;
    transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.switch__slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 220ms var(--ease-out);
}
.switch input:checked + .switch__slider {
    background: var(--grad-gold);
    border-color: transparent;
}
.switch input:checked + .switch__slider::before {
    transform: translateX(18px);
}
.switch input:disabled + .switch__slider { cursor: not-allowed; opacity: 0.85; }
.switch--locked .switch__slider { opacity: 0.85; }

.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.cookie-modal__actions .btn {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.85rem;
    border-radius: 10px;
}

.cookie-modal__legal {
    margin: 0;
    text-align: center;
    color: var(--text-faint);
    font-size: 0.78rem;
}
.cookie-modal__legal a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(154, 161, 207, 0.3);
}
.cookie-modal__legal a:hover { color: var(--gold-2); }

@media (max-width: 480px) {
    .cookie-modal__actions { flex-direction: column; }
    .cookie-modal__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-modal__backdrop,
    .cookie-modal__panel { animation: none; }
    .cookie-bar:not([hidden]) { animation: none; }
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 20px);
    z-index: 200;
    padding: 14px 22px;
    background: linear-gradient(180deg, rgba(20, 24, 56, 0.95), rgba(7, 9, 28, 0.98));
    border: 1px solid rgba(255, 203, 61, 0.32);
    border-radius: 999px;
    color: #ffe9b3;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow:
        0 0 0 1px rgba(255, 203, 61, 0.08),
        0 18px 48px -12px rgba(0, 0, 0, 0.7),
        0 8px 22px -6px rgba(255, 157, 44, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    max-width: calc(100vw - 32px);
    text-align: center;
}
.toast--visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
@media (max-width: 480px) {
    .toast { bottom: 16px; font-size: 0.85rem; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .toast { transition: opacity 0.2s linear; transform: translate(-50%, 0); }
}

/* =====================================================================
   23. Page hero
   ===================================================================== */
.page-hero {
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: min(600px, 100%);
    height: 400px;
    margin: 0 auto;
    background: radial-gradient(ellipse, rgba(255, 203, 61, 0.10), transparent 70%);
    pointer-events: none;
}
.page-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 14px;
    background: linear-gradient(180deg, #fff 0%, #aab2dc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero__sub { color: var(--text-muted); max-width: 720px; margin: 0 auto; font-size: 1.04rem; }

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-faint);
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.breadcrumb__sep { color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-2); }

/* =====================================================================
   24. Two column split
   ===================================================================== */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: start; }

/* =====================================================================
   25. Pagination
   ===================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.pagination__dots {
    padding: 12px 8px;
    color: var(--text-faint);
}

/* =====================================================================
   26. Responsive — 6-tier system
   1920+ wide / 1440 desktop / 1280 small desktop / 1100 tablet+
   980 tablet / 768 phablet / 480 mobile / 360 small mobile
   ===================================================================== */

/* -------- 1440-1280: tighten gaps slightly, hide LIVE chip earlier -------- */
@media (max-width: 1440px) {
    .nav__link { padding: 8px 12px; font-size: 0.88rem; }
    /* Heartbeat collapses to dot-only on laptops/small desktops to free room for nav
       (FI labels are wider than EN, so we lose the "LIVE" text early) */
    .heartbeat { padding: 6px 10px; }
    .heartbeat__label { display: none; }
    /* Hide decorative logo "LIVE" chip — heartbeat already signals liveness */
    .logo__chip { display: none; }
}
@media (max-width: 1280px) {
    .header__inner { gap: 12px; }
    .nav__link { padding: 8px 11px; font-size: 0.86rem; }
    .logo__tag { display: none; }
}

/* -------- 1100: hero stacks, layouts collapse to 1 column -------- */
@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 36px; }
    .split { grid-template-columns: 1fr; }
    .hero__preview { max-width: 620px; margin: 0 auto; }
}

/* -------- 1100: switch to mobile drawer pattern (FI nav labels are wider; even EN gets cramped under 1100) -------- */
@media (max-width: 1100px) {
    .nav { flex: none; }
    .nav__list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: auto;
        width: min(380px, 92vw);
        height: 100dvh;
        max-height: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 92px 22px 32px;
        background:
            radial-gradient(420px 320px at 100% 0%, rgba(255, 203, 61, 0.10), transparent 70%),
            linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
        backdrop-filter: blur(24px) saturate(140%);
        -webkit-backdrop-filter: blur(24px) saturate(140%);
        border: none;
        border-left: 1px solid var(--line-strong);
        border-radius: 0;
        box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.7);
        z-index: 110;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .header:has(.nav__toggle:checked) .nav__list {
        display: flex;
    }

    .nav__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(3, 4, 12, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        z-index: 109;
        transition: opacity 0.3s var(--ease);
        cursor: pointer;
    }
    .header:has(.nav__toggle:checked) .nav__backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .nav__item {
        width: 100%;
        animation: drawerItemIn 0.45s var(--ease-out) backwards;
    }
    .nav__item:nth-child(2)  { animation-delay: 0.06s; }
    .nav__item:nth-child(3)  { animation-delay: 0.10s; }
    .nav__item:nth-child(4)  { animation-delay: 0.14s; }
    .nav__item:nth-child(5)  { animation-delay: 0.18s; }
    .nav__item:nth-child(6)  { animation-delay: 0.22s; }
    .nav__item:nth-child(7)  { animation-delay: 0.26s; }
    .nav__item:nth-child(8)  { animation-delay: 0.30s; }
    .header:not(:has(.nav__toggle:checked)) .nav__item { animation: none; }
    @keyframes drawerItemIn {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .nav__item--head { display: block; padding: 0 6px 14px; }
    .nav__list-title {
        font-family: 'Sora', sans-serif;
        font-weight: 800;
        font-size: 0.74rem;
        color: var(--text-faint);
        text-transform: uppercase;
        letter-spacing: 0.18em;
    }
    .nav__item--actions {
        display: grid;
        gap: 10px;
        margin-top: 16px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
    }
    .nav__item--actions .btn { width: 100%; }

    .nav__link {
        display: block;
        padding: 14px 18px;
        font-size: 1.02rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid transparent;
    }
    .nav__link:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--line);
    }
    .nav__link--active,
    .nav__link--active:hover {
        color: #1a1206;
        background: var(--grad-gold);
        border-color: transparent;
    }

    .nav__burger { display: inline-flex; }

    /* Layout */
    .draws-grid { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .profile { grid-template-columns: 1fr; }
    .archive__row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
    .archive__numbers { grid-column: 1 / -1; }
    .archive__jackpot { text-align: left; grid-column: 1 / -1; }
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
    .form__row { grid-template-columns: 1fr; }
}

/* -------- 768: tablet portrait -------- */
@media (max-width: 768px) {
    :root { --header-h: 76px; }
    .header__disclaimer-text { font-size: 0.78rem; }
    .header__btn-auth { display: none; }
    .lang-switcher__btn { min-width: 36px; padding: 0 8px; }
    .container { padding: 0 18px; }
    .section { padding: 56px 0; }
    .hero { padding: 40px 0 30px; }
    .hero__title { font-size: clamp(1.9rem, 6vw, 2.6rem); }
    .hero__sub { font-size: 0.96rem; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hero__stat { padding: 14px; }
    .hero__stat-value { font-size: 1.4rem; }
    .hero__stat-label { font-size: 0.7rem; }
    .mega { padding: 38px 24px 36px; }
    .mega__amount { font-size: clamp(2.6rem, 12vw, 4rem); }
    .ball { width: 44px; height: 44px; font-size: 0.95rem; }
    .ball--sm { width: 32px; height: 32px; font-size: 0.78rem; }
    .draw-card { padding: 22px; }
    .draw-card__head {
        margin-bottom: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .draw-card__brand { min-width: 0; }
    .draw-card__jackpot { text-align: left; padding: 10px 14px; }
    .draw-card__brand-logo { width: 64px; height: 46px; padding: 6px 8px; }
    .draw-card__brand-name { font-size: 1.05rem; }
    .draw-card__jackpot-value { font-size: 1.25rem; }
    .form { padding: 28px; }
    .legal { padding: 28px; }
    .filter__group { width: 100%; margin-left: 0 !important; }
    .filter__select { min-width: 0; flex: 1; }
    .page-hero { padding: 60px 0 30px; }
    .page-hero__title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .timeline { padding-left: 32px; }
    .timeline__item { padding: 22px 22px; }
    .timeline__amount { font-size: 1.4rem; }
}

/* -------- 480: mobile -------- */
@media (max-width: 480px) {
    :root { --header-h: 70px; }
    .main { overflow-x: hidden; }
    .btn {
        max-width: 100%;
        min-width: 0;
        min-height: 44px;
        white-space: normal;
        line-height: 1.15;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .btn--lg { padding: 15px 20px; }
    .header__disclaimer-inner { padding: 7px 14px; gap: 10px; }
    .header__disclaimer-badge { padding: 3px 9px; font-size: 0.65rem; }
    .header__disclaimer-text { font-size: 0.74rem; line-height: 1.4; }
    .header__inner { padding: 0 14px; gap: 10px; }
    .logo__name { font-size: 1.18rem; }
    .container { padding: 0 14px; }
    .hero__preview {
        perspective: none;
        gap: 14px;
    }
    .hero__preview-card,
    .hero__preview-card:nth-child(1),
    .hero__preview-card:nth-child(2),
    .hero__preview:hover .hero__preview-card {
        transform: none;
        margin-top: 0;
    }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .hero__stats > .hero__stat:nth-child(3) { grid-column: 1 / -1; }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }
    .ball { width: 40px; height: 40px; font-size: 0.9rem; }
    .ball--lg { width: 46px; height: 46px; font-size: 1rem; }
    .form { padding: 22px; }
    .legal { padding: 22px; }
    .tiers__row { grid-template-columns: 1fr 1fr 1fr 1fr; font-size: 0.74rem; padding: 10px; }
    .draw-card { padding: 18px; }
    .draw-card--ticket {
        --stub-w: 48px;
        --punch-r: 8px;
        padding-left: calc(var(--stub-w) + 14px);
    }
    .draw-card__stub { padding: 24px 0 18px; }
    .draw-card__stub-label { font-size: 0.5rem; letter-spacing: 0.12em; }
    .draw-card__stub-no { font-size: 0.6rem; letter-spacing: 0.1em; }
    .draw-card__head { gap: 12px; }
    .draw-card__jackpot { padding: 8px 12px; }
    .draw-card__brand-logo { width: 56px; height: 40px; }
    .draw-card__jackpot-value { font-size: 1.1rem; }
    .draw-card__balls { gap: 7px; }
    .footer__cols { grid-template-columns: 1fr; }
    .footer__trust { padding: 22px 18px; }
    .plans { gap: 18px; }
    .plan { padding: 26px 22px; border-radius: var(--radius-lg); }
    .plan__price-value { font-size: 2.4rem; }
    .timeline__item { padding: 20px 20px; }
    .filter { padding: 12px; gap: 10px; }
    .filter__group { width: 100%; margin-left: 0 !important; }
    .filter__select { font-size: 0.84rem; padding: 8px 10px; min-width: 0; flex: 1; }
    .archive__row { padding: 14px 16px; gap: 8px; }
    .nav__link,
    .section__cta a,
    .draw-card__details-summary {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* -------- 360: ultra-small -------- */
@media (max-width: 360px) {
    .header__inner { padding: 0 10px; }
    .header__disclaimer-inner { padding: 6px 12px; }
    .header__disclaimer-badge { padding: 3px 8px; font-size: 0.62rem; }
    .header__disclaimer-text { font-size: 0.7rem; }
    .lang-switcher { padding: 2px; }
    .lang-switcher__btn { min-width: 32px; height: 26px; font-size: 0.68rem; padding: 0 6px; }
    .logo__name { font-size: 1.05rem; }
    .nav__list {
        left: 0;
        width: 100%;
        padding-top: 84px;
        padding-left: 18px;
        padding-right: 18px;
    }
    .container { padding: 0 12px; }
    .hero__title { font-size: 1.7rem; }
    .ball { width: 36px; height: 36px; font-size: 0.84rem; }
    .mega { padding: 28px 18px 28px; }
    .mega__amount { font-size: 2.2rem; }
}

/* -------- Touch optimization -------- */
@media (hover: none) {
    .draw-card:hover, .plan:hover, .timeline__item:hover, .archive__row:hover {
        transform: none;
    }
    .ball:hover { transform: none; }
}
