* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #08080b;
    --bg-soft: #101015;
    --card: #141419;
    --card-hover: #1b1b22;
    --gold: #d7ad55;
    --gold-light: #f0d28b;
    --text: #f5f5f5;
    --muted: #92929c;
    --border: rgba(255,255,255,.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

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

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


/* ================= HEADER ================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8,8,11,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );
    color: #111;
    font-size: 19px;
    font-weight: 900;
}

.logo strong,
.logo small {
    display: block;
    line-height: 1;
}

.logo strong {
    font-size: 14px;
    letter-spacing: 2px;
}

.logo small {
    margin-top: 4px;
    color: var(--gold);
    font-size: 8px;
    letter-spacing: 3px;
}

.nav {
    display: flex;
    gap: 30px;
    color: var(--muted);
    font-size: 14px;
}

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

.header-button {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 15px;
    font-size: 13px;
    transition: .2s;
}

.header-button:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}


/* ================= HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -180px;
    top: 50px;
    background: rgba(215,173,85,.08);
    filter: blur(100px);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
}

.badge {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(215,173,85,.25);
    border-radius: 100px;
    color: var(--gold-light);
    background: rgba(215,173,85,.07);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero h1 {
    max-width: 650px;
    margin-top: 22px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: var(--gold-light);
}

.hero-text > p {
    max-width: 560px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
}

.btn-primary {
    gap: 12px;
    color: #111;
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );
}

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

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.trust {
    display: flex;
    gap: 25px;
    margin-top: 32px;
}

.trust div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
}

.trust b {
    color: var(--gold);
}


/* ================= HERO CARD ================= */

.hero-card {
    position: relative;
    min-height: 360px;
    padding: 30px;
    border: 1px solid rgba(215,173,85,.22);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(215,173,85,.13),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #18181e,
            #0d0d11
        );
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(215,173,85,.12);
    border-radius: 50%;
    right: -100px;
    bottom: -100px;
}

.hero-card-top,
.hero-card-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.online {
    color: #8fcf9b;
}

.online i {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #8fcf9b;
    border-radius: 50%;
    margin-right: 5px;
}

.hero-card-icon {
    width: 90px;
    height: 90px;
    margin: 65px auto 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215,173,85,.3);
    border-radius: 25px;
    background: rgba(215,173,85,.08);
    font-size: 38px;
    box-shadow: 0 0 60px rgba(215,173,85,.1);
}

.hero-card h3 {
    text-align: center;
    font-size: 25px;
}

.hero-card p {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.hero-card-bottom {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 25px;
}


/* ================= SECTION ================= */

.games-section,
.features-section,
.how-section {
    padding: 90px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-heading.center {
    display: block;
    text-align: center;
}

.section-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-heading h2 {
    margin-top: 5px;
    font-size: 32px;
    letter-spacing: -1px;
}

.game-count {
    color: var(--muted);
    font-size: 13px;
}


/* ================= SEARCH ================= */

.search-box {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 17px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.search-box span {
    color: var(--gold);
    font-size: 24px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #686871;
}


/* ================= GAME CARDS ================= */

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

.game-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--card);
    transition: .25s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215,173,85,.35);
    background: var(--card-hover);
}

.game-image {
    height: 155px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle,
            rgba(215,173,85,.13),
            transparent 65%
        ),
        #111116;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-placeholder {
    font-size: 42px;
}

.game-info {
    padding: 15px;
}

.game-info h3 {
    font-size: 15px;
}

.game-info span {
    display: block;
    margin-top: 4px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
}

.no-game {
    display: none;
    padding: 40px;
    text-align: center;
    color: var(--muted);
}


/* ================= FEATURES ================= */

.features-section {
    background: #0b0b0f;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.feature-card {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--card);
}

.feature-icon {
    font-size: 25px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 16px;
}

.feature-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}


/* ================= STEPS ================= */

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

.step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.step-number {
    color: var(--gold);
    font-size: 15px;
    font-weight: 800;
}

.step h3 {
    font-size: 16px;
}

.step p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}


/* ================= FOOTER ================= */

.footer {
    border-top: 1px solid var(--border);
    background: #060609;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.footer-brand p {
    max-width: 350px;
    margin-top: 17px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 13px;
}

.footer-links a {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: #62626a;
    font-size: 11px;
}


/* ================= MOBILE ================= */

@media (max-width: 850px) {

    .nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero {
        min-height: auto;
    }

    .hero-card {
        max-width: 520px;
        width: 100%;
        margin: auto;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

}


@media (max-width: 520px) {

    .container {
        width: min(100% - 24px, 1160px);
    }

    .header-inner {
        height: 64px;
    }

    .header-button {
        display: none;
    }

    .hero-content {
        padding: 55px 0 60px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-text > p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .trust {
        gap: 12px;
        justify-content: space-between;
    }

    .trust div {
        font-size: 10px;
    }

    .hero-card {
        min-height: 310px;
        padding: 22px;
        border-radius: 20px;
    }

    .hero-card-icon {
        margin-top: 45px;
    }

    .games-section,
    .features-section,
    .how-section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .games-grid {
        gap: 10px;
    }

    .game-image {
        height: 125px;
    }

    .game-info {
        padding: 12px;
    }

    .game-info h3 {
        font-size: 13px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 20px;
    }

    .step {
        grid-template-columns: 45px 1fr;
        gap: 12px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        gap: 10px;
        flex-direction: column;
    }

}