:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-alt: #eef3f8;
    --text: #142033;
    --muted: #5d6d82;
    --line: #d8e1eb;
    --brand: #c1121f;
    --brand-dark: #8f0d17;
    --accent: #0b6bcb;
    --dark: #07111f;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
    --max: 1120px;
}

* {
    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.65;
    font-size: 17px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 14px max(22px, calc((100vw - var(--max)) / 2));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    width: 45px;
    height: 45px;
    overflow: hidden;
    flex: 0 0 45px;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-nav,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 700;
    font-size: 14px;
}

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

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-toggle::after {
    content: "▾";
    margin-left: 6px;
    font-size: 12px;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--text);
    border-radius: 10px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--surface-alt);
    text-decoration: none;
}

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

.eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #f8d7da;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text);
}

.hero h1 {
    color: #fff;
    font-size: clamp(42px, 7vw, 76px);
    margin: 0 0 22px;
}

.hero-intro {
    font-size: clamp(18px, 2.2vw, 24px);
    max-width: 780px;
    color: #edf4ff;
    margin: 0 0 30px;
}

.hero-actions,
.cta .button {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
}

.button:hover {
    text-decoration: none;
}

.button.primary {
    color: #fff;
    background: var(--brand);
}

.button.primary:hover {
    background: var(--brand-dark);
}

.button.secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
}

.page-shell {
    width: min(var(--max), calc(100% - 44px));
    margin: 0 auto;
    padding: 48px 0 70px;
}

.toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    margin-bottom: 34px;
}

.toc h2 {
    margin-top: 0;
    font-size: 24px;
}

.toc ol {
    columns: 2;
    column-gap: 34px;
    margin: 0;
    padding-left: 22px;
}

.toc li {
    break-inside: avoid;
    margin: 8px 0;
    font-weight: 700;
}

.content-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(7, 17, 31, 0.06);
    padding: clamp(26px, 5vw, 46px);
    margin: 28px 0;
}

.content-section h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin: 0 0 18px;
}

.content-section h3 {
    font-size: clamp(22px, 3vw, 30px);
    margin-top: 34px;
    margin-bottom: 10px;
}

.content-section p {
    margin: 14px 0;
}

.note {
    border-left: 5px solid var(--brand);
    background: #fff5f5;
    padding: 16px 18px;
    border-radius: 14px;
}

figure {
    margin: 28px 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-alt);
    border: 1px solid var(--line);
}

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

figcaption {
    padding: 12px 16px 14px;
    color: var(--muted);
    font-size: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}

th,
td {
    text-align: left;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    background: var(--dark);
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

tr:last-child td {
    border-bottom: 0;
}

ul,
ol {
    padding-left: 24px;
}

li {
    margin: 8px 0;
}

.faq {
    background: #fbfdff;
}

.faq-item {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 18px;
    padding: 20px;
    margin: 16px 0;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.faq-item p {
    margin-bottom: 0;
}

.cta {
    margin: 34px 0 0;
    padding: clamp(30px, 6vw, 58px);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--dark), #12365c);
    color: #fff;
    box-shadow: var(--shadow);
}

.cta h2 {
    color: #fff;
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
}

.cta p {
    max-width: 780px;
    color: #e9f2ff;
    margin-bottom: 24px;
}

.site-footer {
    background: var(--dark);
    color: #dbe7f4;
    padding: 34px max(22px, calc((100vw - var(--max)) / 2));
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
}

.site-footer p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #aebdd0;
}

.site-footer a {
    color: #fff;
}

@media (max-width: 860px) {
    body {
        padding-top: 72px;
    }

    .site-header {
        position: fixed;
        left: 0;
        right: 0;
        padding: 12px 18px;
    }

    .brand {
        max-width: calc(100% - 60px);
    }

    .brand span {
        font-size: 15px;
        line-height: 1.2;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: 0.22s ease;
        z-index: 1001;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 12px;
        color: var(--text);
        border-radius: 12px;
        font-size: 15px;
        font-weight: 800;
    }

    .main-nav > a:hover,
    .nav-dropdown-toggle:hover {
        background: var(--surface-alt);
        text-decoration: none;
    }

    .nav-dropdown {
        width: 100%;
        display: block;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 4px 0 8px;
        padding: 8px;
        background: var(--surface-alt);
        border: 0;
        border-radius: 14px;
        box-shadow: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu,
    .nav-dropdown.is-open:hover .nav-dropdown-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .nav-dropdown-menu a {
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
        background: #fff;
        white-space: normal;
    }

    .toc ol {
        columns: 1;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 28px, var(--max));
        padding-top: 28px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-actions,
    .cta .button {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .content-section,
    .toc,
    .cta,
    figure {
        border-radius: 18px;
    }

    th,
    td {
        padding: 12px;
    }

    figcaption {
        font-size: 14px;
    }

    .nav-dropdown.is-open .nav-dropdown-menu,
    .nav-dropdown.is-open:hover .nav-dropdown-menu {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Teams dropdown navigation */
.main-nav {
    align-items: center;
}

.main-nav a:focus-visible,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-menu a:focus-visible {
    outline: 3px solid rgba(193, 18, 31, 0.28);
    outline-offset: 3px;
    border-radius: 10px;
}

.main-nav a.is-current,
.nav-dropdown.is-current > .nav-dropdown-toggle,
.nav-dropdown-menu a.is-current {
    color: var(--brand);
}

.nav-dropdown-menu {
    display: none;
    max-width: calc(100vw - 44px);
    box-shadow: var(--shadow, 0 18px 50px rgba(7, 17, 31, 0.12));
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu--groups {
    min-width: 190px;
}

.nav-dropdown-menu--teams {
    position: fixed;
    top: 76px;
    left: 50%;
    width: min(760px, calc(100vw - 44px));
    transform: translateX(-50%);
    max-height: min(70vh, 560px);
    overflow-y: auto;
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 4px;
}

.nav-dropdown-grid a {
    white-space: normal;
}

@media (max-width: 860px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu,
    .nav-dropdown.is-open:hover .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu--teams {
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        left: auto;
        transform: none;
        max-height: 46vh;
        overflow-y: auto;
    }

    .nav-dropdown-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .nav-dropdown-menu--groups {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu--groups,
    .nav-dropdown.is-open:hover .nav-dropdown-menu--groups {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .nav-dropdown-grid,
    .nav-dropdown.is-open .nav-dropdown-menu--groups,
    .nav-dropdown.is-open:hover .nav-dropdown-menu--groups {
        grid-template-columns: 1fr;
    }
}

.team-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 0;
}

.team-link-grid a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-alt, #eef3f8);
    color: var(--text);
    font-weight: 800;
}

.team-link-grid a:hover {
    color: var(--brand);
    text-decoration: none;
    background: #ffffff;
}

@media (max-width: 860px) {
    .team-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .team-link-grid {
        grid-template-columns: 1fr;
    }
}

/* Stable desktop hover area for large Teams dropdown */
@media (min-width: 861px) {
    .nav-dropdown--teams::before {
        content: "";
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 60px;
        height: 28px;
        z-index: 49;
        pointer-events: auto;
    }

    .nav-dropdown--teams:hover::before,
    .nav-dropdown--teams.is-open::before {
        display: block;
    }

    .nav-dropdown-menu--teams {
        z-index: 50;
    }
}



/* Host Cities dropdown navigation */
.nav-dropdown-menu--host-cities {
    position: fixed;
    top: 76px;
    left: 50%;
    width: min(560px, calc(100vw - 44px));
    transform: translateX(-50%);
    max-height: min(70vh, 520px);
    overflow-y: auto;
}

.nav-dropdown-grid--host-cities {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
}

@media (max-width: 860px) {
    .nav-dropdown-menu--host-cities {
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        left: auto;
        transform: none;
        max-height: 46vh;
        overflow-y: auto;
    }

    .nav-dropdown-grid--host-cities {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .nav-dropdown-grid--host-cities {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 861px) {
    .nav-dropdown--host-cities::before {
        content: "";
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 60px;
        height: 28px;
        z-index: 49;
        pointer-events: auto;
    }

    .nav-dropdown--host-cities:hover::before,
    .nav-dropdown--host-cities.is-open::before {
        display: block;
    }

    .nav-dropdown-menu--host-cities {
        z-index: 50;
    }
}

/* Footer responsible-gambling resources and legal copy */
.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.8fr) minmax(260px, 1fr);
    gap: 30px;
    align-items: start;
}

.site-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.responsible-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.responsible-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

.responsible-button:hover,
.responsible-button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
}

.site-footer-legal {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
}

.site-footer-legal p {
    max-width: 980px;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer-legal a {
    color: #cfe3ff;
    font-weight: 800;
}

.internal-link {
    color: var(--brand);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.internal-link:hover {
    color: var(--brand-dark, #8f0d17);
    text-decoration-thickness: 3px;
}

.internal-link:focus-visible {
    outline: 3px solid rgba(193, 18, 31, 0.28);
    outline-offset: 3px;
    border-radius: 6px;
}

.related-links {
    background: linear-gradient(135deg, #ffffff, #f4f8fc);
}

@media (max-width: 860px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .responsible-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .responsible-links {
        grid-template-columns: 1fr;
    }

    .responsible-button {
        width: 100%;
    }
}

/* Shared footer brand layout support */
.site-footer-wrap {
    width: 100%;
}

.site-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.site-footer-brand:hover {
    text-decoration: none;
}

.site-footer-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
}

.site-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
}

