:root {
    --bg: #07100c;
    --panel: rgba(10, 24, 17, 0.92);
    --panel-soft: rgba(10, 24, 17, 0.78);
    --text: #f4f1e8;
    --muted: #aaa99f;
    --gold: #e1b84d;
    --gold-light: #f3d77d;
    --green: #13643f;
    --border: rgba(225, 184, 77, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: auto;
    padding: 22px 28px;
}

.brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 26px;
}

.nav a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: 14px;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.56) 38%,
            rgba(0,0,0,.24) 70%,
            rgba(0,0,0,.35) 100%
        ),
        linear-gradient(
            0deg,
            var(--bg) 0%,
            transparent 30%
        ),
        url('/assets/poker-mongolia-home.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding: 110px 28px 70px;
}

.hero-content {
    max-width: 540px;
}

.logo {
    display: block;
    width: min(450px, 90%);
    max-height: 310px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 12px;
}

.tagline {
    color: var(--muted);
    max-width: 480px;
    margin: 0 0 30px;
    font-size: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.36);
    color: var(--gold-light);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1b774d, #105537);
    border: 1px solid rgba(255,255,255,.12);
    color: white;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.button:hover {
    filter: brightness(1.08);
}

.section {
    padding: 80px 28px;
}

.container {
    max-width: 1080px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin: 0 0 12px;
    font-size: 34px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background:
        linear-gradient(
            145deg,
            rgba(23,49,35,.9),
            rgba(8,21,15,.94)
        );
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
}

.card h3 {
    margin-top: 0;
    color: var(--gold-light);
}

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

.legal {
    min-height: calc(100vh - 80px);
    padding: 120px 28px 70px;
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(34,83,54,.30),
            transparent 40%
        ),
        var(--bg);
}

.legal-inner {
    max-width: 850px;
    margin: auto;
}

.legal h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.legal h2 {
    margin-top: 36px;
    color: var(--gold-light);
}

.legal p,
.legal li {
    color: #c3c1b8;
}

.updated {
    color: #85857e;
    margin-bottom: 40px;
}

.footer {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 30px 28px;
    background: #050b08;
    color: #85857e;
}

.footer-inner {
    max-width: 1080px;
    margin: auto;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

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

.footer a {
    color: #aaa99f;
    text-decoration: none;
}

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

@media (max-width: 760px) {
    .nav {
        gap: 14px;
    }

    .nav a:nth-child(2) {
        display: none;
    }

    .hero {
        background-position: 60% center;
    }

    .hero-inner {
        padding-top: 120px;
    }

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

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Language switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.16);
    font-size: 13px;
    font-weight: 700;
}

.lang-switch a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--gold-light);
}

.lang-switch span {
    color: rgba(255,255,255,.22);
}

@media (max-width: 760px) {
    .lang-switch {
        margin-left: 0;
        padding-left: 10px;
    }
}
