/* =========================================================
   BMW 530D Giveaway — design tokens
   Palette: graphite/black base, blue + cyan "tricolor mood"
   Type: Bebas Neue (display) / Manrope (body) / JetBrains Mono (data)
   ========================================================= */
:root {
    --c-bg: #08090b;
    --c-bg-alt: #0c0e12;
    --c-panel: #14161b;
    --c-panel-2: #1a1d24;
    --c-line: rgba(255, 255, 255, 0.09);
    --c-line-strong: rgba(255, 255, 255, 0.16);
    --c-text: #f2f3f5;
    --c-text-dim: #9aa1ac;
    --c-text-faint: #676d78;
    --c-accent: #3b5fe0;
    --c-accent-light: #6f8dff;
    --c-accent-2: #5ee1e8;
    --c-danger: #f2555a;

    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 6px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Ambient backdrop: soft radial glow + faint carbon weave, pure CSS/no images */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 40% at 50% -5%, rgba(59, 95, 224, 0.22), transparent 60%),
        radial-gradient(45% 30% at 85% 15%, rgba(94, 225, 232, 0.10), transparent 60%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image:
        repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 1px, transparent 6px),
        repeating-linear-gradient(-45deg, #fff 0, #fff 1px, transparent 1px, transparent 6px);
    background-size: 8px 8px;
    mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--c-accent); color: #fff; }

:focus-visible {
    outline: 2px solid var(--c-accent-2);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.wrap {
    position: relative;
    z-index: 1;
}

/* ---------- Tricolor accent mark (abstract, no logo) ---------- */
.tri-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}
.tri-mark span {
    width: 3px;
    border-radius: 1px;
    display: block;
}
.tri-mark span:nth-child(1) { height: 60%; background: #fff; }
.tri-mark span:nth-child(2) { height: 100%; background: var(--c-accent); }
.tri-mark span:nth-child(3) { height: 78%; background: var(--c-accent-2); }

.accent-rule {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #fff, var(--c-accent) 45%, var(--c-accent-2));
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-text-dim);
}

.ref-banner {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.82rem;
    color: var(--c-text-dim);
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    padding: var(--space-2) var(--space-4);
    border-radius: 999px;
    margin-bottom: var(--space-6);
}
.ref-banner strong { color: var(--c-text); font-weight: 700; }

/* Pulsing variant of .eyebrow's dot — used on the landing hero */
.eyebrow--pulse::before,
.g-eyebrow--pulse::before {
    animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(244, 81, 30, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(244, 81, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 81, 30, 0); }
}

/* =========================================================
   Giveaway landing (index.html) — light/orange theme
   Scoped entirely under .g-page so the dark check.html page
   (which shares .wrap / .eyebrow / .tri-mark) is untouched.
   ========================================================= */
.g-page {
    --g-bg: #ffffff;
    --g-surface: #faf8f5;
    --g-ink: #15120f;
    --g-ink-dim: #6b655c;
    --g-ink-faint: #9c948a;
    --g-line: #ece6de;
    --g-line-strong: #ddd5c9;
    --g-accent: #F4511E;
    --g-accent-dark: #cf3f14;
    --g-accent-soft: rgba(244, 81, 30, 0.08);
    --g-accent-soft-strong: rgba(244, 81, 30, 0.16);
    --g-danger: #d63c2f;
    --g-danger-soft: rgba(214, 60, 47, 0.07);
    --g-danger-line: rgba(214, 60, 47, 0.22);

    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: var(--g-bg);
    color: var(--g-ink);
    padding-bottom: var(--space-9);
}

.g-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--g-accent-dark);
}
.g-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--g-accent);
    flex: none;
}

.g-ref-banner {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.82rem;
    color: var(--g-ink-dim);
    background: var(--g-surface);
    border: 1px solid var(--g-line);
    padding: var(--space-2) var(--space-4);
    border-radius: 999px;
}
.g-ref-banner strong { color: var(--g-ink); font-weight: 700; }

/* =========================================================
   Landing page redesign (2026 export from Claude Design)
   Orange/white theme, Unbounded (display) + Onest (body).
   Scoped under .lp-page / .lp-* — check.html is untouched.
   ========================================================= */
.lp-page {
    --lp-font-display: 'Unbounded', 'Arial Narrow', sans-serif;
    --lp-font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lp-dark: #0B0B0C;
    font-family: var(--lp-font-body);
    padding-bottom: 0;
}

/* ---------- Fixed nav ---------- */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px clamp(12px, 4vw, 56px);
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(11, 11, 12, 0.07);
    font-family: var(--lp-font-display);
}
.lp-nav-brand {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 10px);
    min-width: 0;
    font-weight: 800;
    font-size: clamp(10px, 1vw, 13px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--g-ink, #0B0B0C);
    overflow: hidden;
    white-space: nowrap;
}
.lp-nav-dot {
    flex: 0 0 auto;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--g-accent);
    box-shadow: 0 0 0 4px rgba(244, 81, 30, 0.18);
}
.lp-nav-links {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 28px);
}
.lp-nav-link {
    white-space: nowrap;
    font-family: var(--lp-font-body);
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 500;
    color: rgba(11, 11, 12, 0.5);
    letter-spacing: 0.02em;
}
.lp-nav-link:hover { color: var(--lp-dark); }
.lp-nav-cta {
    flex: 0 0 auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--g-accent);
    color: #fff;
    font-weight: 600;
    font-size: clamp(10px, 1vw, 12px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px clamp(13px, 1.6vw, 20px);
    border-radius: 100px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.lp-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244, 81, 30, 0.35); color: #fff; }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    padding: clamp(120px, 14vh, 190px) clamp(16px, 4vw, 56px) 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}
.lp-hero-glow {
    position: absolute;
    top: -14vw; right: -10vw;
    width: 52vw; height: 52vw;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(244, 81, 30, 0.16), rgba(244, 81, 30, 0) 62%);
    pointer-events: none;
}
.lp-hero-ghost {
    position: absolute;
    top: 22vh; left: -8vw;
    font-family: var(--lp-font-display);
    font-weight: 900;
    font-size: 26vw;
    line-height: 0.8;
    color: rgba(11, 11, 12, 0.035);
    letter-spacing: -0.04em;
    pointer-events: none;
    white-space: nowrap;
}
.lp-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}
.lp-hero-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: clamp(18px, 3vh, 34px);
}
.lp-h1 {
    margin: 0;
    font-family: var(--lp-font-display);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.82;
    font-size: clamp(58px, 15.5vw, 244px);
    text-transform: uppercase;
    color: var(--g-ink);
}
.lp-h1-sub {
    display: block;
    font-size: clamp(26px, 7.2vw, 112px);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.lp-h1-main { display: block; color: var(--g-accent); }

.lp-hero-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(20px, 3vw, 48px);
    align-items: end;
    margin-top: clamp(22px, 3.5vh, 44px);
}
.lp-hero-sub {
    margin: 0;
    max-width: 46ch;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.55;
    color: rgba(11, 11, 12, 0.62);
}
.lp-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.lp-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--lp-dark);
    color: #fff;
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: clamp(13px, 1.1vw, 15px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 20px 26px;
    border-radius: 100px;
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.lp-btn-dark:hover { transform: translateY(-3px); background: var(--g-accent); color: #fff; }
.lp-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--g-accent);
    color: #fff;
    font-size: 12px;
}
.lp-link-quiet {
    font-size: 13px;
    color: rgba(11, 11, 12, 0.45);
    border-bottom: 1px solid rgba(11, 11, 12, 0.18);
    padding-bottom: 2px;
}
.lp-link-quiet:hover { color: var(--lp-dark); }

.lp-hero-media {
    position: relative;
    z-index: 2;
    margin: clamp(24px, 5vh, 60px) auto 0;
    width: 100%;
    max-width: 1440px;
}
.lp-hero-media-glow {
    position: absolute;
    left: 50%; top: 8%;
    transform: translateX(-50%);
    width: min(78vw, 900px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--g-accent);
    opacity: 0.1;
}
.lp-hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    min-height: 240px;
    border-radius: 26px;
}

@keyframes lp-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes lp-pulse-out { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.1); opacity: 0; } }

/* ---------- Placeholder photo tiles (no real photography in the export) ---------- */
.lp-photo-tile {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--g-surface);
    border: 1px solid var(--g-line);
    border-radius: 26px;
    color: var(--g-ink-faint);
    text-align: center;
    overflow: hidden;
}
.lp-photo-tile span {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: 20ch;
}
.lp-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Marquee ribbon ---------- */
.lp-marquee {
    position: relative;
    margin-top: clamp(56px, 9vh, 120px);
    background: var(--g-accent);
    transform: rotate(-1.6deg) scale(1.04);
    padding: clamp(12px, 1.6vw, 20px) 0;
    overflow: hidden;
}
.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee 26s linear infinite;
}
.lp-marquee-group {
    display: flex;
    align-items: baseline;
    gap: clamp(20px, 3vw, 48px);
    padding-right: clamp(20px, 3vw, 48px);
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(20px, 3.4vw, 46px);
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.lp-marquee-group i { font-style: normal; opacity: 0.45; }
@keyframes lp-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Stats + gallery ---------- */
.lp-stats {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(70px, 11vh, 150px) clamp(16px, 4vw, 56px) 0;
}
.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(20px, 3vw, 40px);
    border-top: 1px solid rgba(11, 11, 12, 0.1);
    padding-top: clamp(24px, 3vw, 44px);
}
.lp-stat-num {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(38px, 5.4vw, 84px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--g-ink);
}
.lp-accent-text { color: var(--g-accent); }
.lp-stat-label {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--g-ink-faint);
}

.lp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(12px, 1.6vw, 22px);
    margin-top: clamp(28px, 4vw, 56px);
}
.lp-gallery-tile { aspect-ratio: 4 / 5; border-radius: 18px; transition: transform 0.5s var(--ease); }
.lp-gallery-tile:hover { transform: translateY(-10px); }
.lp-gallery-tile > * { border-radius: 18px; }
.lp-prize-card {
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--g-surface);
    border-radius: 18px;
    padding: clamp(18px, 2vw, 28px);
}
.lp-prize-card p {
    margin: 0;
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--g-ink);
}

/* ---------- Video section (IDs/classes required by JS — do not rename) ---------- */
.lp-video {
    position: relative;
    background: var(--lp-dark);
    color: #fff;
    padding: clamp(70px, 11vh, 150px) clamp(16px, 4vw, 56px);
    margin-top: clamp(70px, 11vh, 150px);
    overflow: hidden;
}
.lp-video-glow {
    position: absolute;
    left: 50%; top: -20%;
    transform: translateX(-50%);
    width: 120vw; height: 60vw;
    background: radial-gradient(ellipse at center, rgba(244, 81, 30, 0.22), rgba(244, 81, 30, 0) 60%);
    pointer-events: none;
}
.lp-video-inner { position: relative; max-width: 1440px; margin: 0 auto; }
.lp-video-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(24px, 3.5vw, 52px);
}
.lp-h2 {
    margin: 0;
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(34px, 6.2vw, 104px);
    line-height: 0.9;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: #fff;
}
.lp-h2--dark { color: var(--g-ink); }
.lp-accent { color: var(--g-accent); }
.lp-video-meta {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* video-wrap / video-play: shared element IDs/classes the page JS binds to */
.video-wrap {
    position: relative;
    border-radius: clamp(18px, 2vw, 30px);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #151517;
    cursor: pointer;
    transition: transform 0.6s var(--ease);
}
.video-wrap:hover { transform: scale(1.012); }
.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background:
        linear-gradient(180deg, rgba(11, 11, 12, 0.15), rgba(11, 11, 12, 0.55)),
        radial-gradient(circle at 30% 30%, #232326, #151517 70%);
}
.video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 12, 0.15), rgba(11, 11, 12, 0.55));
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.video-wrap.is-playing::after { opacity: 0; }

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(74px, 9vw, 124px);
    height: clamp(74px, 9vw, 124px);
    border-radius: 50%;
    background: var(--g-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(20px, 2.4vw, 30px);
    box-shadow: 0 24px 70px rgba(244, 81, 30, 0.45);
    border: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.video-play::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(244, 81, 30, 0.6);
    animation: lp-pulse-out 2.6s ease-out infinite;
}
.video-play svg { position: relative; z-index: 1; margin-left: 4px; }
.video-wrap:hover .video-play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 26px 76px rgba(244, 81, 30, 0.55); }
.video-wrap.is-playing .video-play { display: none; }
.lp-video-caption {
    position: absolute;
    left: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(13px, 1.3vw, 18px);
    letter-spacing: -0.01em;
    color: #fff;
    pointer-events: none;
}
.video-wrap.is-playing .lp-video-caption { display: none; }

@media (prefers-reduced-motion: reduce) {
    .video-play::before { animation: none; }
}

/* ---------- Three-step cards ---------- */
.lp-steps {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(70px, 11vh, 150px) clamp(16px, 4vw, 56px);
}
.lp-steps-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    margin-bottom: clamp(28px, 4vw, 60px);
}
.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: clamp(14px, 1.8vw, 26px);
}
.lp-step-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 11, 12, 0.12);
    border-radius: 22px;
    padding: clamp(22px, 2.6vw, 40px);
    min-height: clamp(260px, 26vw, 360px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    transition: background 0.5s, color 0.5s, transform 0.5s var(--ease);
}
.lp-step-card:hover { background: var(--lp-dark); color: #fff; transform: translateY(-8px); }
.lp-step-num {
    font-family: var(--lp-font-display);
    font-weight: 900;
    font-size: clamp(54px, 7vw, 110px);
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--g-accent);
}
.lp-step-card h3 {
    margin: 0 0 10px;
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(18px, 1.7vw, 26px);
    letter-spacing: -0.02em;
    color: var(--g-ink);
}
.lp-step-card:hover h3 { color: #fff; }
.lp-step-card ul { display: flex; flex-direction: column; gap: 8px; }
.lp-step-card li {
    font-size: 15px;
    line-height: 1.55;
    color: var(--g-ink-dim);
    opacity: 0.85;
}
.lp-step-card:hover li { color: rgba(255, 255, 255, 0.75); }

/* ---------- 3D model block ---------- */
.lp-model {
    max-width: 48rem;
    margin: 0 auto clamp(70px, 11vh, 150px);
    padding: 0 clamp(16px, 4vw, 56px);
    text-align: center;
}
.g-model-frame {
    position: relative;
    margin-top: clamp(20px, 2.6vw, 32px);
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: var(--g-surface);
    border: 1px solid var(--g-line);
}
.g-model-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}
.g-model-frame.js-spin-frame {
    cursor: ew-resize;
}
.g-spin-hint {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 999px;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.g-spin-hint.is-hidden {
    opacity: 0;
}

/* ---------- CTA banner ---------- */
.lp-cta {
    position: relative;
    background: var(--g-accent);
    color: #fff;
    padding: clamp(80px, 13vh, 170px) clamp(16px, 4vw, 56px);
    overflow: hidden;
}
.lp-cta-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.lp-cta-ring--1 {
    right: -6vw; bottom: -16vw;
    width: 44vw; height: 44vw;
    border: 1px solid rgba(255, 255, 255, 0.28);
    animation: lp-spin 40s linear infinite;
}
.lp-cta-ring--2 {
    left: -12vw; top: -16vw;
    width: 36vw; height: 36vw;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.lp-cta-inner { position: relative; max-width: 1240px; margin: 0 auto; text-align: center; }
.lp-cta-eyebrow {
    font-family: var(--lp-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.8;
}
.lp-cta-h2 {
    margin: clamp(18px, 2.4vw, 34px) 0 0;
    font-family: var(--lp-font-display);
    font-weight: 900;
    font-size: clamp(26px, 6.2vw, 100px);
    line-height: 0.9;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}
.lp-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: clamp(28px, 4vw, 54px);
}
.lp-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    color: var(--lp-dark);
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(14px, 1.5vw, 20px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: clamp(20px, 2.2vw, 28px) clamp(28px, 3.4vw, 48px);
    border-radius: 100px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.lp-btn-light:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28); color: var(--lp-dark); }
.lp-btn-arrow--dark {
    width: clamp(28px, 2.6vw, 36px);
    height: clamp(28px, 2.6vw, 36px);
    background: var(--g-accent);
}
.lp-link-quiet-light {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
}
.lp-link-quiet-light:hover { color: #fff; }

/* ---------- Footer ---------- */
.lp-footer {
    padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 56px);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(11, 11, 12, 0.45);
}
.lp-footer-brand {
    font-family: var(--lp-font-display);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-dark);
}

@media (max-width: 640px) {
    .lp-hero-media { margin-top: 40px; }
    .lp-cta-actions { width: 100%; }
    .lp-btn-light, .lp-btn-dark { width: 100%; justify-content: center; }
}

/* Below ~480px the nav's three items (brand, "Мои билеты", CTA button) no
   longer fit on one row — stack them deliberately instead of letting them
   squeeze/wrap unpredictably. */
@media (max-width: 480px) {
    .lp-nav {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }
    .lp-nav-brand { font-size: 11px; }
    .lp-nav-links { width: 100%; justify-content: center; }
}

/* ---------- Check participation page (light/orange, shares .g-page) ---------- */
.g-check {
    max-width: 560px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-5) var(--space-9);
}

.g-check-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9rem;
    color: var(--g-ink-dim);
    margin-bottom: var(--space-6);
    transition: color 0.2s var(--ease);
}
.g-check-back:hover { color: var(--g-accent); }

.g-check-head { margin-bottom: var(--space-7); text-align: center; }
.g-check-head h1 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 0.95;
    font-size: clamp(2.6rem, 9vw, 4.2rem);
    color: var(--g-ink);
    margin-top: var(--space-3);
}
.g-check-head h1 .g-hl { color: var(--g-accent); }
.g-check-head p {
    color: var(--g-ink-dim);
    font-size: 1rem;
    max-width: 40ch;
    margin: var(--space-3) auto 0;
}

/* ---------- Form ---------- */
.g-check-form { margin-bottom: var(--space-5); }
.g-check-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--g-ink-faint);
    margin-bottom: var(--space-2);
}
.g-check-row {
    display: flex;
    gap: var(--space-3);
}
.g-check-input {
    flex: 1;
    min-width: 0;
    min-height: 56px;
    padding: 0 var(--space-5);
    border-radius: var(--radius-md);
    background: var(--g-surface);
    border: 1px solid var(--g-line-strong);
    color: var(--g-ink);
    font-family: var(--font-mono);
    font-size: clamp(1.05rem, 4vw, 1.25rem);
    letter-spacing: 0.04em;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.g-check-input::placeholder { color: var(--g-ink-faint); }
.g-check-input:focus {
    outline: none;
    border-color: var(--g-accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--g-accent-soft-strong);
}

.g-check-submit {
    flex: none;
    min-height: 56px;
    padding: 0 var(--space-7);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: var(--g-accent);
    border: none;
    box-shadow: 0 16px 36px -14px rgba(244, 81, 30, 0.55);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.g-check-submit:hover {
    background: var(--g-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -14px rgba(244, 81, 30, 0.65);
}
.g-check-submit:active { transform: translateY(0); }

/* ---------- Error state ---------- */
.g-check-error {
    text-align: center;
    font-size: 0.95rem;
    color: var(--g-danger);
    background: var(--g-danger-soft);
    border: 1px solid var(--g-danger-line);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-5);
}

/* ---------- Result card ---------- */
.g-result {
    background: var(--g-surface);
    border: 1px solid var(--g-line);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.g-result::before {
    content: '';
    position: absolute;
    top: 0; left: var(--space-6); right: var(--space-6);
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--g-accent);
}

.g-result-user {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--g-ink-faint);
    margin-bottom: var(--space-4);
}

/* The hero of this screen: this participant's ticket count. */
.g-result-tickets {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.88;
    font-size: clamp(5rem, 24vw, 9rem);
    letter-spacing: 0.01em;
    color: var(--g-accent);
}
.g-result-tickets-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--g-ink-dim);
    margin-top: var(--space-2);
    margin-bottom: var(--space-7);
}

/* Gauge-style progress bar. Mechanism preserved: width comes from
   inline style="width: {{ result.progress_percent }}%" on .g-progress-fill */
.g-progress { margin-bottom: var(--space-3); }
.g-progress-track {
    position: relative;
    height: 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--g-line-strong);
    overflow: hidden;
}
.g-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--g-accent-dark), var(--g-accent));
    box-shadow: 0 0 16px rgba(244, 81, 30, 0.4);
    transition: width 1.1s var(--ease);
}
.g-progress-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 1px;
    margin-top: var(--space-2);
}
.g-progress-ticks span {
    width: 1px;
    height: 5px;
    background: var(--g-line-strong);
}

.g-progress-caption {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--g-ink-dim);
    letter-spacing: 0.02em;
}
.g-progress-caption b { color: var(--g-ink); font-weight: 700; }

/* ---------- Scroll-reveal ----------
   .reveal elements are visible by default (progressive enhancement / no-JS
   and no-GSAP fallback). GSAP, when available, animates the "from" state
   itself via inline styles — no CSS opacity:0 default needed here. */

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .lp-step-card { padding: var(--space-5) var(--space-4); }
    .g-check { padding: var(--space-6) var(--space-4) var(--space-8); }
    .g-check-row { flex-direction: column; }
    .g-check-submit { padding: var(--space-4); }
    .g-result { padding: var(--space-6) var(--space-4); }
}

@media (max-width: 767px) {
    .g-model-frame { aspect-ratio: 1 / 1; }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(14px, 1.8vw, 26px);
}
.pricing-card {
    border: 1px solid rgba(11, 11, 12, 0.12);
    border-radius: 22px;
    padding: clamp(22px, 2.6vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -20px rgba(11, 11, 12, 0.25);
}
.pricing-card--featured {
    border-color: var(--g-accent);
    background: var(--g-accent);
    color: #fff;
}
.pricing-tier-name {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(16px, 1.5vw, 20px);
    letter-spacing: -0.01em;
    margin: 0;
}
.pricing-price {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}
.pricing-price span {
    font-family: var(--lp-font-body);
    font-weight: 500;
    font-size: 14px;
    opacity: 0.6;
    margin-left: 4px;
}
.pricing-card--featured .pricing-price span { opacity: 0.85; }
.pricing-tickets {
    display: inline-flex;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--g-accent-soft);
    color: var(--g-accent-dark);
}
.pricing-card--featured .pricing-tickets {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pricing-features li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--g-ink-dim);
    padding-left: 20px;
    position: relative;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g-accent);
}
.pricing-card--featured .pricing-features li { color: rgba(255, 255, 255, 0.85); }
.pricing-card--featured .pricing-features li::before { background: #fff; }