:root {
    --bg: #050505;
    --surface: #121212;
    --surface2: #1a1a1a;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --gold: #d4af37;
    --mint: #10b981;
    --ring: rgba(212, 175, 55, 0.35);
    --warning-bg: #facc15;
    --warning-fg: #171717;
    --radius: 8px;
    --radius-lg: 14px;
    --font:
        ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: #000;
    padding: 0.75rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.alert-banner {
    background: linear-gradient(90deg, #fbbf24 0%, #facc15 35%, #fbbf24 100%);
    color: var(--warning-fg);
    text-align: center;
    padding: 0.85rem 1rem;
    font-weight: 800;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    letter-spacing: 0.02em;
    border-bottom: 4px solid #b45309;
    box-shadow: 0 6px 24px rgba(250, 204, 21, 0.35);
}

.alert-banner p {
    margin: 0;
    max-width: 72rem;
    margin-inline: auto;
}

.alert-banner strong {
    display: inline-block;
    margin-right: 0.35rem;
}

.wrap {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.brand img {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition:
        color 0.2s,
        border-color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--text);
}

.nav a[aria-current='page'] {
    color: var(--text);
    border-bottom-color: var(--gold);
}

.header-cta {
    flex-shrink: 0;
}

.gradient-text {
    background: linear-gradient(90deg, var(--gold), var(--mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        transform 0.15s,
        box-shadow 0.2s,
        border-color 0.2s,
        background 0.2s;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(90deg, #c9a227, var(--mint));
    color: #0a0a0a;
    box-shadow: 0 10px 40px var(--ring);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 14px 48px rgba(16, 185, 129, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(212, 175, 55, 0.55);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--mint);
    color: var(--mint);
}

section {
    padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.75rem;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.hero {
    padding-top: clamp(2.5rem, 7vw, 4rem);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.08;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero .lead {
    color: var(--muted);
    max-width: 34rem;
    margin: 0 auto 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.preview-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface2);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.preview-row {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.preview-meta strong {
    color: var(--gold);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.35rem;
    transition:
        border-color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.card-accent {
    border-color: rgba(212, 175, 55, 0.4);
}

.card .tier {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.card .big {
    font-size: 2.25rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--gold), var(--mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 0.5rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.stat .num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gold);
}

.stat .lbl {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.steps-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 0.5rem;
}

.steps-bar::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--mint));
    opacity: 0.5;
    z-index: 0;
}

.step-node {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 0.5rem;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 0.85rem;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--surface2);
    border: 2px solid var(--gold);
    color: var(--text);
}

.step-node h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.step-node p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.well-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    text-decoration: none;
    transition:
        border-color 0.2s,
        transform 0.15s;
}

.partner-link:hover,
.partner-link:focus-visible {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.partner-link img {
    max-height: 44px;
    width: auto;
}

.cta-panel {
    background:
        radial-gradient(
            ellipse at top,
            rgba(212, 175, 55, 0.12),
            transparent 55%
        ),
        var(--surface);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0 1.75rem;
    background: #020202;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-brand img {
    width: 48px;
    height: 48px;
}

.footer-muted {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
    color: var(--mint);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--muted);
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 0.75rem;
}

.page-hero {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 0.5rem;
}

.prose {
    max-width: 48rem;
}

.prose h2 {
    font-size: 1.15rem;
    margin: 1.75rem 0 0.5rem;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul {
    padding-left: 1.25rem;
}

.games-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
    gap: 1.25rem;
}

.game-card {
    max-width: 320px;
    width: 100%;
}

.game-thumb {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15),
        rgba(16, 185, 129, 0.12)
    );
    border: 1px dashed rgba(212, 175, 55, 0.45);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-thumb.has-img {
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.3);
    padding: 0;
    overflow: hidden;
    font-size: unset;
    display: block;
}

.game-thumb.has-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card-link:hover .game-card-play,
.game-card-link:focus-visible .game-card-play {
    box-shadow: 0 14px 48px rgba(16, 185, 129, 0.35);
}

.game-card-play {
    margin-top: 0.85rem;
    width: 100%;
}

.game-card-link:hover h2,
.game-card-link:focus-visible h2 {
    color: var(--mint);
}

.game-card h2 {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.game-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 860px) {
    .nav-wrap {
        width: 100%;
        order: 3;
        flex-basis: 100%;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .steps-bar {
        flex-direction: column;
        gap: 1.5rem;
    }

    .steps-bar::before {
        display: none;
    }
}
