:root {
    --ink: #101314;
    --muted: #5d6668;
    --surface: #f6f3ec;
    --panel: #fffdf8;
    --green: #17624f;
    --green-deep: #073b31;
    --gold: #d8a640;
    --red: #b24d43;
    --line: rgba(16, 19, 20, 0.12);
    --shadow: 0 20px 60px rgba(6, 28, 24, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    background: var(--surface) url("/assets/img/felt-pattern.png") repeat;
    line-height: 1.5;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 12px clamp(20px, 4vw, 64px);
    color: #fff;
    background: rgba(7, 59, 49, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--green-deep);
    background: #fff8df;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: rgba(255, 255, 255, 0.72);
}

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

.header-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.language-current {
    padding-left: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.language-current strong {
    color: #fff;
}

.language-options {
    display: flex;
    gap: 3px;
}

.language-options a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
}

.language-options a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.language-options a.is-active {
    color: var(--green-deep);
    background: var(--gold);
}

.main-nav a,
.mobile-nav a {
    padding: 9px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover,
.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

.mobile-nav {
    display: none;
    position: sticky;
    top: 72px;
    z-index: 19;
    padding: 8px 20px 16px;
    background: var(--green-deep);
}

.hero {
    min-height: min(760px, calc(100vh - 72px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: end;
    gap: 32px;
    padding: clamp(48px, 9vw, 120px) clamp(20px, 4vw, 64px) 56px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 28, 24, 0.9), rgba(5, 28, 24, 0.58) 52%, rgba(5, 28, 24, 0.18)),
        url("/assets/img/hero-table.png") center / cover no-repeat;
}

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

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 14ch;
    margin-bottom: 18px;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.86;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.hero p {
    max-width: 620px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.86);
}

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

.button {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 6px;
    font-weight: 800;
}

.button-primary {
    border-color: var(--gold);
    color: var(--green-deep);
    background: var(--gold);
}

.button-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.match-panel,
.news-card,
.room-card,
.event-list article,
.content-card,
.stats-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.match-panel {
    padding: 24px;
    color: var(--ink);
}

.panel-label,
.tag,
.status {
    display: inline-flex;
    width: max-content;
    padding: 5px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    font-size: 0.75rem;
    font-weight: 800;
}

.match-panel strong {
    display: block;
    margin: 14px 0 8px;
    font-size: 1.35rem;
}

.match-panel p {
    color: var(--muted);
}

.shot-meter {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6ded0;
}

.shot-meter span {
    display: block;
    width: var(--meter);
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.stats-grid,
.section-block {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    transform: translateY(-32px);
}

.stats-grid article {
    padding: 22px;
}

.stats-grid strong {
    display: block;
    color: var(--green);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 700;
}

.section-block {
    padding: 54px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
}

.content-grid,
.notes-grid {
    display: grid;
    gap: 18px;
}

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

.content-card {
    padding: 24px;
}

.content-card-wide {
    grid-column: 1 / -1;
}

.rich-text ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

.rich-text li + li {
    margin-top: 7px;
}

.rich-text h4 {
    margin: 18px 0 8px;
    color: var(--green);
}

.news-grid,
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card,
.room-card {
    padding: 22px;
}

.news-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.news-card time,
.room-card p,
.event-list span {
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
    gap: 40px;
    align-items: start;
}

.event-list {
    display: grid;
    gap: 14px;
}

.event-list article {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    box-shadow: none;
}

.event-list time {
    color: var(--green);
    font-weight: 800;
}

.table-section {
    width: 100%;
    max-width: none;
    padding-right: clamp(20px, 4vw, 64px);
    padding-left: clamp(20px, 4vw, 64px);
    color: #fff;
    background:
        linear-gradient(rgba(7, 59, 49, 0.9), rgba(7, 59, 49, 0.92)),
        url("/assets/img/chalk-room.png") center / cover no-repeat;
}

.table-section .section-heading {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.table-section .eyebrow {
    color: #f1c866;
}

.table-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

th {
    color: #f1c866;
    font-size: 0.78rem;
    text-transform: uppercase;
}

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

.room-section {
    padding-bottom: 80px;
}

.room-card {
    min-height: 150px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.82)),
        url("/assets/img/felt-pattern.png");
}

.status {
    background: var(--green);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(20px, 4vw, 64px);
    color: #fff;
    background: #101314;
}

.site-footer span {
    display: block;
    color: rgba(255, 255, 255, 0.64);
}

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

    .language-current {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav:not([hidden]) {
        display: grid;
    }

    .hero,
    .split-section {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    h1 {
        max-width: 8ch;
        font-size: 4.2rem;
    }

    .stats-grid,
    .news-grid,
    .room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-list article {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .brand small {
        display: none;
    }

    .stats-grid,
    .news-grid,
    .room-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        transform: none;
        margin-top: 20px;
    }

    h1 {
        font-size: 3.4rem;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        justify-content: center;
    }

    .site-footer {
        display: grid;
    }
}
