:root {
    --bg: #0c1117;
    --bg-soft: #141b23;
    --panel: rgba(18, 24, 32, 0.88);
    --panel-2: rgba(22, 30, 39, 0.94);
    --line: rgba(255, 255, 255, 0.08);
    --text: #ecf1f7;
    --muted: #a9b6c7;
    --orange: #ff6a00;
    --orange-2: #ff8b2b;
    --glow: rgba(255, 106, 0, 0.35);
    --max: 1180px;
    --radius: 22px;
    --shadow: 0 25px 80px rgba(0,0,0,.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(255,106,0,.25), transparent 30%),
        radial-gradient(circle at top left, rgba(255,106,0,.12), transparent 25%),
        linear-gradient(180deg, #0a0f15 0%, #0d131a 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(10,14,19,.8);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand img {
    height: 44px;
    width: auto;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: .95rem;
    transition: color .2s ease;
}

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

.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: .2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: white;
    box-shadow: 0 12px 35px rgba(255,106,0,.28);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,.03);
    border-color: var(--line);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.06);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 54px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 420px;
    grid-template-areas:
        "copy video"
        "stats video";
    gap: 24px 36px;
    align-items: start;
}

.hero-copy {
    grid-area: copy;
}

.hero-video-slot {
    grid-area: video;
    padding-top: 72px;
    align-self: stretch;
    min-height: 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    color: #ffd4b6;
    font-size: .84rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 800;
}

.uk-flag {
    width: 18px;
    height: 12px;
    display: inline-block;
    object-fit: cover;
    flex-shrink: 0;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.03em;
    max-width: 820px;
}

.hero-typed-heading {
    color: var(--text);
}

.typed-hero-box {
    position: relative;
    display: block;
    width: 100%;
    max-width: 820px;
}

.typed-hero-sizer {
    display: block;
    visibility: hidden;
    pointer-events: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.typed-hero-live {
    position: absolute;
    inset: 0;
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}

.typed-cursor {
    display: inline-block;
    margin-left: 4px;
    color: #ffd4b6;
    animation: blink 0.85s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero p.lead {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-checks {
    margin: 18px 0 28px;
}

.checks {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.checks li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.checks.hero-checks li {
    position: relative;
    padding: 10px 0 10px 40px;
    border-top: 1px solid var(--line);
    color: #d8e2ee;
}

.checks.hero-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255,106,0,.25);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 28px;
}

.stat-strip {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: 220px;
    transition: transform .2s ease, border-color .2s ease;
}

.stat:hover {
    transform: translateY(-2px);
    border-color: rgba(255,106,0,.25);
}

.stat strong {
    display: block;
    font-size: 1.28rem;
    margin-bottom: 10px;
}

.stat span {
    color: var(--muted);
    font-size: .94rem;
}

.hero-card {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8,11,15,.92) 100%);
}

.hero-video-card::before {
    display: none;
}

.hero-video-card {
    height: 100%;
    min-height: 0;
    padding: 0;
}

.hero-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #05080c;
    border-radius: 28px;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
    border-radius: 28px;
}

.hero-card img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.hero-card-copy {
    position: absolute;
    inset: auto 24px 24px 24px;
}

.hero-card-copy h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.hero-card-copy p {
    margin: 0;
    color: #d0dae6;
}

.section {
    padding: 38px 0 72px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.section-head p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
}

.section-copy {
    max-width: 760px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.info-card,
.game-card,
.feature-panel,
.pricing,
.faq-item,
.content-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card {
    padding: 24px 22px;
    transition: transform .2s ease, border-color .2s ease;
}

.info-card:hover,
.game-card:hover,
.feature-panel:hover,
.pricing:hover {
    transform: translateY(-2px);
    border-color: rgba(255,106,0,.25);
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    align-items: stretch;
}

.game-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color .2s ease;
}

.game-card:hover {
    transform: translateY(-6px);
}

.game-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.game-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-card h3 {
    margin: 0 0 8px;
}

.game-card p {
    margin: 0 0 16px;
    color: var(--muted);
    flex-grow: 1;
}

.game-card .meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #d8e2ee;
    font-size: .92rem;
    margin-top: auto;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-panel {
    padding: 24px;
}

.feature-panel h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

.pricing-wrap {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.pricing {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.pricing.popular {
    border-color: rgba(255,106,0,.45);
    box-shadow: 0 0 0 1px rgba(255,106,0,.18), var(--shadow);
}

.badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(255,106,0,.12);
    color: #ffbf8b;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 14px 0 6px;
}

.small {
    color: var(--muted);
    font-size: .95rem;
}

.cta {
    width: min(calc(100% - 32px), var(--max));
    margin: 28px auto 82px auto;
    background: linear-gradient(135deg, rgba(255,106,0,.18), rgba(255,255,255,.03));
    border: 1px solid rgba(255,106,0,.22);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: center;
}

.footer {
    padding: 28px 0 42px;
    border-top: 1px solid var(--line);
    background: rgba(8,12,16,.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr .85fr .85fr;
    gap: 32px;
    align-items: start;
}

.footer h4 {
    margin: 0 0 14px;
    font-size: 1rem;
}

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

.footer ul,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.footer-contact .contact-list li {
    line-height: 1.35;
}

.footer-contact .contact-list li strong {
    color: var(--text);
    font-weight: 700;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #7f8c9c;
    font-size: .92rem;
}

.muted-link {
    color: #ffb37a;
}

.centered-card {
    text-align: center;
}

.centered-card h3,
.centered-card p {
    text-align: center;
}

.info-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 14px 0 16px;
}

.info-icon-wrap img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .hero-grid,
    .cta-grid,
    .split,
    .footer-grid,
    .card-grid,
    .pricing-wrap,
    .games-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-grid {
        grid-template-areas:
            "copy copy"
            "video video"
            "stats stats";
        gap: 24px;
    }

    .hero-video-slot {
        padding-top: 0;
    }

    .hero-card img {
        min-height: 420px;
    }

    .hero-video-wrap {
        min-height: 520px;
    }

    .stat-strip {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .topbar-inner,
    .section-head {
        align-items: start;
    }

    .topbar-inner {
        flex-direction: column;
        padding: 16px 0;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-grid,
    .cta-grid,
    .split,
    .footer-grid,
    .card-grid,
    .pricing-wrap,
    .games-grid,
    .stat-strip {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-areas:
            "copy"
            "video"
            "stats";
    }

    .hero {
        padding-top: 36px;
    }

    .hero-card img {
        min-height: 320px;
    }

    .hero-video-wrap {
        min-height: 360px;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .stat {
        min-height: 0;
    }

    .hero-checks {
        margin-bottom: 22px;
    }

    .hero h1 {
        max-width: 100%;
    }

    .typed-hero-box {
        max-width: 100%;
    }
}