:root {
    --bg: #111111;
    --bg-soft: #151515;
    --card: #1a1a1a;
    --card-hover: #202020;
    --text: #f5f5f5;
    --muted: #a3a3a3;
    --muted-soft: #737373;
    --line: #2a2a2a;
    --brand: #f8ff13;
    --brand-dark: #d8df00;
    --max: 1180px;
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #111111;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

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

/* Top note */

.top-note {
    background: #0f0f0f;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.top-note .inner {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding: 9px 0;
    text-align: center;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    border-radius: 999px;
    background: var(--brand);
    color: #111111;
    font-size: 13px;
    font-weight: 900;
}

/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 17, 17, 0.96);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.logo-img {
    width: 36px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a {
    color: var(--muted);
    transition: color 0.18s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition:
            background 0.18s ease,
            border-color 0.18s ease,
            color 0.18s ease;
}

.header-btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #111111;
}

.header-btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #111111;
}

.header-btn-secondary {
    background: transparent;
    color: var(--text);
}

.header-btn-secondary:hover {
    background: #202020;
    border-color: #3a3a3a;
    color: var(--text);
}

/* Typography */

h1,
h2,
h3 {
    margin: 0 0 16px;
    color: var(--text);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(34px, 5vw, 58px);
}

h2 {
    font-size: clamp(28px, 3.6vw, 44px);
}

h3 {
    font-size: 22px;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

strong {
    color: var(--text);
}

.lead {
    max-width: 680px;
    color: #c9c9c9;
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.55;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: #161616;
    font-size: 15px;
    font-weight: 750;
    transition:
            background 0.18s ease,
            border-color 0.18s ease,
            color 0.18s ease;
}

.btn:hover {
    background: #202020;
    border-color: #3a3a3a;
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #111111;
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #111111;
}

.btn-glass {
    background: transparent;
}

/* Hero */

.section-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    max-height: 800px;
    padding: 72px 0 54px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.section-hero .hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
    align-items: center;
    gap: 32px;
    min-height: 520px;
}

.hero-content {
    position: relative;
    z-index: 6;
    max-width: 620px;
}

.hero-content h1 {
    max-width: 680px;
    margin: 14px 0 18px;
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.05;
}

.hero-content .lead {
    max-width: 590px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 11px;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
    color: var(--brand);
    background: #181818;
    font-size: 13px;
    font-weight: 750;
}

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

/* Hero visual */

.hero-visual {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 auto;
    width: min(76vw, 1020px);
    height: 100%;
    pointer-events: none;
}

.hero-visual picture {
    display: contents;
}

.hero-flag {
    position: absolute;
    z-index: 1;
    right: -470px;
    bottom: -185px;
    width: min(98vw, 1320px);
    max-width: none;
    height: auto;
    transform: rotate(-2deg);
    opacity: 0.78;
    filter: none;
}

.hero-athletes {
    position: absolute;
    z-index: 3;
    right: clamp(-20px, 3vw, 42px);
    bottom: -34px;
    width: min(54vw, 700px);
    max-width: none;
    height: auto;
    filter: none;
}

/* Plain overlay: only transitions images into background */

.section-hero::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
    background:
            linear-gradient(
                    0deg,
                    #111111 0%,
                    rgba(17, 17, 17, 1) 10%,
                    rgba(17, 17, 17, 0.72) 24%,
                    rgba(17, 17, 17, 0.24) 52%,
                    rgba(17, 17, 17, 0) 80%
            ),
            linear-gradient(
                    90deg,
                    #111111 0%,
                    rgba(17, 17, 17, 0.96) 30%,
                    rgba(17, 17, 17, 0.42) 52%,
                    rgba(17, 17, 17, 0) 80%
            );
}

/* Sections */

section {
    padding: 56px 0;
}

.section-head {
    max-width: 800px;
    margin-bottom: 28px;
}

.grid {
    display: grid;
    gap: 16px;
}

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

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

.card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    transition:
            background 0.18s ease,
            border-color 0.18s ease;
}

.card:hover {
    background: var(--card-hover);
    border-color: #363636;
}

.card small {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--muted-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 800;
}

.list {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.list li {
    margin: 7px 0;
}

.notice {
    padding: 22px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
    background: var(--card);
}

/* FAQ */

.faq details {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
}

.faq details + details {
    margin-top: 10px;
}

.faq summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
}

.faq details[open] {
    background: var(--card-hover);
}

/* Footer */

footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    background: #0f0f0f;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 24px;
}

.footer-links {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

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

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

.legal {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted-soft);
    font-size: 13px;
}

/* Performance */

main > section:not(.section-hero) {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* Responsive */

@media (max-width: 1080px) {
    .section-hero {
        min-height: 680px;
        max-height: none;
        padding: 64px 0 46px;
    }

    .section-hero .hero-grid {
        grid-template-columns: 1fr;
        min-height: 620px;
        align-items: start;
    }

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

    .hero-content h1 {
        max-width: 680px;
        font-size: clamp(32px, 6vw, 50px);
    }

    .hero-content .lead {
        max-width: 640px;
        font-size: clamp(16px, 2vw, 19px);
    }

    .hero-visual {
        width: 100%;
        height: 460px;
        top: auto;
        bottom: 0;
    }

    .hero-flag {
        right: -390px;
        bottom: -130px;
        width: 1120px;
        opacity: 0.58;
    }

    .hero-athletes {
        right: 50%;
        bottom: -34px;
        width: min(78vw, 610px);
        transform: translateX(50%);
    }

    .section-hero::after {
        background:
                linear-gradient(
                        0deg,
                        #111111 0%,
                        rgba(17, 17, 17, 1) 12%,
                        rgba(17, 17, 17, 0.72) 28%,
                        rgba(17, 17, 17, 0.28) 56%,
                        rgba(17, 17, 17, 0) 80%
                ),
                linear-gradient(
                        180deg,
                        #111111 0%,
                        rgba(17, 17, 17, 0.96) 34%,
                        rgba(17, 17, 17, 0.28) 64%,
                        rgba(17, 17, 17, 0) 80%
                );
    }
}

@media (max-width: 880px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-actions {
        margin-left: 0;
        flex-wrap: wrap;
    }

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

    section {
        padding: 44px 0;
    }
}

@media (max-width: 640px) {
    .container,
    .top-note .inner,
    .nav {
        width: min(100% - 24px, var(--max));
    }

    .nav-actions {
        width: 100%;
    }

    .header-btn {
        flex: 1 1 0;
    }

    .top-note .inner {
        align-items: flex-start;
        text-align: left;
    }

    .section-hero {
        min-height: 660px;
        padding: 48px 0 30px;
    }

    .section-hero .hero-grid {
        min-height: 600px;
        gap: 22px;
    }

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

    .hero-content h1 {
        margin: 12px 0 16px;
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.06;
    }

    .hero-content .lead {
        font-size: 16px;
        line-height: 1.52;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        height: 360px;
    }

    .hero-flag {
        right: -360px;
        bottom: -78px;
        width: 880px;
        opacity: 0.48;
    }

    .hero-athletes {
        bottom: -12px;
        width: min(100vw, 470px);
    }

    .section-hero::after {
        background:
                linear-gradient(
                        0deg,
                        #111111 0%,
                        rgba(17, 17, 17, 1) 14%,
                        rgba(17, 17, 17, 0.78) 32%,
                        rgba(17, 17, 17, 0.36) 58%,
                        rgba(17, 17, 17, 0) 80%
                ),
                linear-gradient(
                        180deg,
                        #111111 0%,
                        rgba(17, 17, 17, 0.96) 38%,
                        rgba(17, 17, 17, 0.3) 66%,
                        rgba(17, 17, 17, 0) 80%
                );
    }

    header {
        background: rgba(17, 17, 17, 0.98);
    }
}

@media (max-width: 420px) {
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-hero {
        min-height: 625px;
        padding-top: 42px;
    }

    .section-hero .hero-grid {
        min-height: 570px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 9.4vw, 37px);
    }

    .hero-visual {
        height: 320px;
    }

    .hero-flag {
        right: -330px;
        bottom: -62px;
        width: 740px;
    }

    .hero-athletes {
        bottom: -4px;
        width: 106vw;
    }
}

#sobre .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 24px;
    background: var(--brand);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    overflow: hidden;
}

#sobre .card {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 34px 34px 36px;
    min-height: 320px;
    transition:
            background 0.22s ease,
            color 0.22s ease;
}

#sobre .card:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

#sobre .card small,
#sobre .card h3,
#sobre .card p {
    transition: color 0.22s ease;
}

#sobre .card small {
    display: inline-block;
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.56);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 900;
}

#sobre .card h3 {
    margin: 0 0 18px;
    color: #111111;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

#sobre .card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.78);
    font-size: 17px;
    line-height: 1.65;
}

#sobre .card:hover {
    background: #111111;
}

#sobre .card:hover small {
    color: rgba(255, 255, 255, 0.58);
}

#sobre .card:hover h3,
#sobre .card:hover p {
    color: #ffffff;
}

@media (max-width: 880px) {
    #sobre .grid-3 {
        grid-template-columns: 1fr;
    }

    #sobre .card {
        min-height: auto;
        padding: 26px 24px 28px;
    }

    #sobre .card:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    }
}

#casino .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 24px;
    background: var(--brand);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    overflow: hidden;
}

#casino .card {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 34px 34px 36px;
    min-height: 240px;
    transition:
            background 0.22s ease,
            color 0.22s ease;
}

#casino .card:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

#casino .card h3,
#casino .card p {
    transition: color 0.22s ease;
}

#casino .card h3 {
    margin: 0 0 18px;
    color: #111111;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

#casino .card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.78);
    font-size: 17px;
    line-height: 1.65;
}

#casino .card:hover {
    background: #111111;
}

#casino .card:hover h3,
#casino .card:hover p {
    color: #ffffff;
}

@media (max-width: 880px) {
    #casino .grid-3 {
        grid-template-columns: 1fr;
    }

    #casino .card {
        min-height: auto;
        padding: 26px 24px 28px;
    }

    #casino .card:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    }
}
