:root {
    --bg: #07070a;
    --panel: rgba(12, 12, 16, 0.95);
    --border: rgba(255, 255, 255, 0.10);
    --muted: rgba(255, 255, 255, 0.72);
    --text: rgba(255, 255, 255, 0.92);
    --red: #ff2b2b;
    --red2: #ff4d4d;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.70);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    background:
        repeating-linear-gradient(135deg,
            rgba(255, 43, 43, 0.08) 0,
            rgba(255, 43, 43, 0.08) 2px,
            rgba(255, 43, 43, 0) 2px,
            rgba(255, 43, 43, 0) 120px),
        radial-gradient(900px 420px at 18% -5%, rgba(255, 43, 43, 0.12), rgba(255, 43, 43, 0) 60%),
        radial-gradient(900px 420px at 25% -10%, rgba(255, 43, 43, 0.18), rgba(255, 43, 43, 0) 65%),
        radial-gradient(700px 420px at 90% 0%, rgba(255, 43, 43, 0.10), rgba(255, 43, 43, 0) 60%),
        var(--bg);
}

body {
    margin: 0;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    min-height: 100vh;
    background: transparent;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, 92vw);
    margin-inline: auto;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav__inner {
    height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand__logo {
    display: block;
    height: 50px;
    width: auto;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
}

.brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 43, 43, 0.95), rgba(255, 43, 43, 0.25));
    box-shadow: 0 18px 40px rgba(255, 43, 43, 0.18);
    position: relative;
}

.brand__mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    transform: rotate(12deg);
}

.brand__text {
    font-size: 18px;
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text);
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    justify-self: center;
}

.nav__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav__link:hover {
    color: #fff;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 9px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 43, 43, 0), rgba(255, 43, 43, 0.95), rgba(255, 43, 43, 0));
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav__link:hover::after,
.nav__dropdown:hover .nav__link::after,
.nav__dropdown.is-open .nav__link::after {
    opacity: 1;
    transform: translateY(0);
}

.nav__link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.28);
}

.nav__chev {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.70);
    border-bottom: 2px solid rgba(255, 255, 255, 0.70);
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 160ms ease;
}

.nav__dropdown {
    position: relative;
}

.nav__dropdown:hover .nav__chev,
.nav__dropdown.is-open .nav__chev {
    transform: rotate(225deg);
    margin-top: 2px;
}

.nav__cta {
    margin-left: 10px;
    text-decoration: none;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.95), rgba(255, 43, 43, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 60px rgba(255, 43, 43, 0.12);
}

.nav__cta:hover {
    filter: brightness(1.03);
}

/* Dropdown (Equipas) */
.dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 14px);
    width: min(820px, 92vw);
    padding: 18px;
    border-radius: 18px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.nav__dropdown:hover .dropdown,
.nav__dropdown:focus-within .dropdown,
.nav__dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dropdown__title {
    font-weight: 950;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--red2);
}

.dropdown__hint {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

.dropdown__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
}

.dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 850;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.dropdown__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.12);
    flex: 0 0 auto;
}

.dropdown__item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 43, 43, 0.25);
    background: rgba(0, 0, 0, 0.36);
}

/* Teams page panel (same vibe as dropdown) */
.teams-panel {
    border-radius: 18px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow);
}

.teams-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.teams-panel__title {
    font-weight: 950;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--red2);
}

.teams-panel__hint {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

.teams-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
}

.teams-tile.is-active {
    border-color: rgba(255, 43, 43, 0.35);
    background: rgba(0, 0, 0, 0.42);
}

/* Page */
.page {
    flex: 1 1 auto;
    min-height: 0;
}

.bg3-page .page {
    background:
        linear-gradient(rgba(7, 7, 10, 0.75), rgba(7, 7, 10, 0.75)),
        url('/public/images/site/background3.png') no-repeat center center;
    background-size: cover;
}

.hero {
    padding: 22px 0 22px;
}

.hero__inner {
    padding: 36px 0;
}

.hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 12px;
    font-weight: 700;
}

.hero__title {
    margin: 0;
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 1000;
    letter-spacing: 0.02em;
}

.hero__subtitle {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 650;
}

.hero__actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.btn--with-icon {
    gap: 8px;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.95), rgba(255, 43, 43, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.btn--ghost {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.section {
    padding: 46px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section__title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0.02em;
}

.section__lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

/* Gallery */
.section--gallery .section__lead {
    max-width: 520px;
}

.gallery-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 12, 0.65);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    max-width: 33%;
    margin: 0 auto;
}

.gallery-slider__track {
    display: flex;
    width: 100%;
    transition: transform 500ms ease;
}

.gallery-slide {
    min-width: 100%;
    display: grid;
    gap: 0;
}

.gallery-slide__media {
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(240px 160px at 20% 10%, rgba(255, 43, 43, 0.22), transparent 70%),
        linear-gradient(140deg, rgba(18, 18, 24, 0.9), rgba(6, 6, 10, 0.95));
    display: grid;
    place-items: center;
    position: relative;
}

.gallery-slide__media::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    opacity: 0.6;
}

.gallery-slide__letter {
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    position: relative;
    z-index: 1;
}

.gallery-slide__meta {
    padding: 16px 18px 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.gallery-slider__btn--prev {
    left: 14px;
}

.gallery-slider__btn--next {
    right: 14px;
}

.gallery-slider__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.gallery-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.gallery-slider__dot.is-active {
    background: rgba(255, 77, 77, 0.9);
    box-shadow: 0 0 0 6px rgba(255, 77, 77, 0.2);
}

/* News */
.section--news .section__lead {
    max-width: 520px;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.news-card {
    background: rgba(10, 10, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
}

.news-card--clickable {
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.news-card--clickable:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 77, 0.35);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
}

.news-card__media {
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(220px 160px at 70% 15%, rgba(255, 77, 77, 0.22), transparent 70%),
        linear-gradient(160deg, rgba(20, 20, 28, 0.95), rgba(6, 6, 10, 0.95));
    display: grid;
    place-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card__letter {
    font-size: 42px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.news-card__body {
    padding: 16px 16px 18px;
    display: grid;
    gap: 8px;
}

.news-card__meta {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.news-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.news-card__excerpt {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    white-space: pre-line;
}

/* Partners */
.section--partners .section__lead {
    max-width: 520px;
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.partner-card {
    text-decoration: none;
    color: inherit;
    background: rgba(10, 10, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    place-items: center;
    min-height: 140px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    width: auto;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 77, 0.35);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
}

/* News modal */
.news-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
}

.news-modal[hidden] {
    display: none;
}

.news-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.news-modal__panel {
    position: relative;
    width: min(980px, 92vw);
    height: min(720px, 90vh);
    background: rgba(10, 10, 14, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    z-index: 1;
}

.news-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.news-modal__media {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex: 0 0 58%;
    position: relative;
}

.news-modal__media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    background: #000;
    display: block;
}

.news-modal__image-prev,
.news-modal__image-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.95);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.news-modal__image-prev {
    left: 16px;
}

.news-modal__image-next {
    right: 16px;
}

.news-modal__image-prev[hidden],
.news-modal__image-next[hidden] {
    display: none;
}

.news-modal__image-prev:hover,
.news-modal__image-next:hover {
    transform: translateY(-50%) scale(1.04);
    background: rgba(255, 77, 77, 0.28);
    border-color: rgba(255, 77, 77, 0.55);
}

.news-modal__content {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 77, 77, 0.55) rgba(255, 255, 255, 0.08);
}

.news-modal__content::-webkit-scrollbar {
    width: 10px;
}

.news-modal__content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.news-modal__content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 77, 77, 0.75) 0%, rgba(255, 77, 77, 0.45) 100%);
    border-radius: 999px;
    border: 2px solid rgba(10, 10, 14, 0.95);
}

.news-modal__content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 77, 77, 0.9) 0%, rgba(255, 77, 77, 0.6) 100%);
}

.news-modal__meta {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.news-modal__title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.news-modal__excerpt {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .news-modal__panel {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
    }

    .news-modal__media {
        flex: 0 0 auto;
        width: 100%;
    }

    .news-modal__content {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Filters (Streamers) */
.filters {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* NBA Page Background */
.nba-page .page {
    position: relative;
    background:
        linear-gradient(rgba(7, 7, 10, 0.62), rgba(7, 7, 10, 0.62)),
        url('/public/images/site/NBA.png') no-repeat center center;
    background-size: cover;
}

.nba-page .page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 10, 0.75);
    z-index: -1;
}

/* Rematch Page Background */
.rematch-page .page {
    position: relative;
    min-height: calc(100vh - 78px);
    background:
        linear-gradient(rgba(7, 7, 10, 0.62), rgba(7, 7, 10, 0.62)),
        url('/public/images/site/Rematch.png') no-repeat center center;
    background-size: cover;
    background-position: center top;
}

.rematch-page .page::before {
    display: none;
}

/* Fortnite Page Background */
.fortnite-page .page {
    position: relative;
    background:
        linear-gradient(rgba(7, 7, 10, 0.62), rgba(7, 7, 10, 0.62)),
        url('/public/images/site/fortnite.png') no-repeat center center;
    background-size: cover;
}

.fortnite-page .page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 10, 0.75);
    z-index: -1;
}

/* EA FC Page Background */
.aefc-page .page {
    position: relative;
    background:
        linear-gradient(rgba(7, 7, 10, 0.62), rgba(7, 7, 10, 0.62)),
        url('/public/images/site/EAFC.png') no-repeat center center;
    background-size: cover;
}

.aefc-page .page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 10, 0.75);
    z-index: -1;
}

/* NBA roster court */
.nba-roster-header {
    width: min(100%, 800px);
    margin: 0 auto 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nba-roster-header__logo {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.nba-roster-header__title {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0.02em;
}

.nba-court {
    position: relative;
    margin: 8px auto 0;
    width: min(100%, 800px);
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    background-image: url("/public/images/site/campo.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;

    aspect-ratio: 4 / 3;
}

.nba-court::before {
    display: none;
}

/* Court markings */
.nba-court::after {
    display: none;
}

.nba-player {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
    z-index: 2;
}

.nba-player__avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.55),
        0 0 0 6px rgba(255, 43, 43, 0.10);
    background: rgba(0, 0, 0, 0.25);
}

.nba-player__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.22), rgba(255, 255, 255, 0.06));
}

.nba-player__initials {
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.nba-player__meta {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.nba-player[data-slot="c"] .nba-player__meta,
.nba-player[data-slot="sg"] .nba-player__meta,
.nba-player[data-slot="sf"] .nba-player__meta {
    order: -1;
    margin-bottom: 8px;
}

.nba-player__name {
    font-weight: 1000;
    letter-spacing: 0.01em;
}

.nba-player__pos {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 750;
}

.nba-player__abbr {
    font-weight: 900;
}

.nba-subs {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nba-sub {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

@media (max-width: 720px) {
    .nba-roster-header__logo {
        width: 96px;
        height: 96px;
    }

    .nba-roster-header__title {
        font-size: 20px;
    }

    .nba-court {
        width: min(100%, 680px);
        aspect-ratio: 4 / 3;
        background-size: 160% auto;
        background-position: center 50%;
    }

    .nba-player {
        gap: 8px;
    }

    .nba-player__avatar {
        width: 72px;
        height: 72px;
    }

    .nba-player__meta {
        min-width: 140px;
        padding: 9px 10px;
    }
}

@media (max-width: 460px) {
    .nba-court {
        width: 100%;
        min-height: 420px;
        background-size: 160% auto;
        background-position: center 100%;
    }

    /* Rebalance positions for small screens to avoid overlaps */
    .nba-player[data-slot="pg"] {
        --x: 50%;
        --y: 18%;
    }

    .nba-player[data-slot="sg"] {
        --x: 82%;
        --y: 30%;
    }

    .nba-player[data-slot="sf"] {
        --x: 18%;
        --y: 30%;
    }

    .nba-player[data-slot="pf"] {
        --x: 32%;
        --y: 54%;
    }

    .nba-player[data-slot="c"] {
        --x: 68%;
        --y: 54%;
    }

    .nba-player__avatar {
        width: 68px;
        height: 68px;
    }

    .nba-player__meta {
        min-width: 0;
        padding: 8px 9px;
    }

    .nba-player__name {
        font-size: 13px;
    }

    /* Keep cards compact on mobile */
    .nba-player__dash,
    .nba-player__role {
        display: none;
    }

    .nba-player__pos {
        font-size: 11px;
        margin-top: 3px;
    }

    .nba-sub {
        gap: 8px;
    }

    .nba-subs {
        gap: 10px;
    }
}

/* Fortnite roster */
.fortnite-roster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: clamp(72px, 12vw, 200px) auto 0;
    max-width: 1200px;
}

.fortnite-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fortnite-player:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.fortnite-player__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.20);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.55),
        0 0 0 6px rgba(255, 43, 43, 0.10);
    background: rgba(0, 0, 0, 0.25);
}

.fortnite-player__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.22), rgba(255, 255, 255, 0.06));
}

.fortnite-player__initials {
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.fortnite-player__info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fortnite-player__name {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96);
}

.fortnite-player__stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fortnite-player__stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fortnite-player__stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.01em;
}

.fortnite-player__stat-value {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}

/* EA FC roster */
.eafc-roster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: clamp(72px, 12vw, 200px) auto 0;
    max-width: 1200px;
}

.eafc-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.eafc-player:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.eafc-player__avatar {
    width: 124px;
    height: 124px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.20);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.55),
        0 0 0 6px rgba(255, 43, 43, 0.10);
    background: rgba(0, 0, 0, 0.25);
}

.eafc-player__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.22), rgba(255, 255, 255, 0.06));
}

.eafc-player__initials {
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.86);
}

.eafc-player__info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eafc-player__name {
    margin: 0;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96);
}

.eafc-player__socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eafc-player__social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
}

.eafc-player__social-item i {
    opacity: 0.9;
}

.eafc-player__social-item a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 700;
}

.eafc-player__social-item a:hover {
    text-decoration: underline;
}

.eafc-player__social-item span {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

@media (max-width: 720px) {
    .fortnite-roster {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .fortnite-player {
        padding: 20px;
    }

    .fortnite-player__avatar {
        width: 100px;
        height: 100px;
    }

    .fortnite-player__name {
        font-size: 16px;
    }

    .eafc-roster {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .eafc-player {
        padding: 20px;
    }

    .eafc-player__avatar {
        width: 104px;
        height: 104px;
    }

    .eafc-player__name {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .fortnite-roster {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fortnite-player {
        padding: 18px;
    }

    .eafc-roster {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eafc-player {
        padding: 18px;
    }
}

/* Rematch soccer pitch */
.rematch-squad-toggle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    width: min(360px, 100%);
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.rematch-squad-toggle__thumb {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 6px);
    border-radius: 999px;
    background: rgba(255, 77, 77, 0.25);
    border: 1px solid rgba(255, 77, 77, 0.65);
    transition: transform 180ms ease;
    pointer-events: none;
}

.rematch-squad-toggle[data-active-squad="internacional"] .rematch-squad-toggle__thumb {
    transform: translateX(calc(100% + 4px));
}

.rematch-squad-toggle__btn {
    appearance: none;
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.rematch-squad-toggle__btn:hover {
    transform: translateY(-1px);
}

.rematch-squad-toggle__btn.is-active {
    color: #fff;
}

.rematch-squad-toggle__btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.rematch-pitch {
    position: relative;
    margin: clamp(10px, 2.2vw, 24px) auto 0;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(255, 43, 43, 0.12), rgba(255, 43, 43, 0) 60%),
        repeating-linear-gradient(90deg,
            rgba(35, 145, 86, 0.40) 0,
            rgba(35, 145, 86, 0.40) 44px,
            rgba(26, 112, 66, 0.38) 44px,
            rgba(26, 112, 66, 0.38) 88px),
        linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.55));

    aspect-ratio: 16 / 9;
    min-height: clamp(360px, 52vw, 460px);
}

.rematch-pitch::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
    z-index: 1;
}

.rematch-pitch::after {
    content: "";
    position: absolute;
    inset: 14px;
    pointer-events: none;
    z-index: 1;
    background:
        /* halfway line */
        linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 0 50% / 100% 2px no-repeat,
        /* center circle */
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0 82px, rgba(255, 255, 255, 0.22) 82px 84px, rgba(0, 0, 0, 0) 84px) 0 0 / 100% 100% no-repeat,
        /* center spot */
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 0 3px, rgba(0, 0, 0, 0) 4px) 0 0 / 100% 100% no-repeat,
        /* bottom penalty box (simple) */
        linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)) 50% 84% / 44% 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)) 28% 100% / 2px 16% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)) 72% 100% / 2px 16% no-repeat,
        /* top penalty box (simple) */
        linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)) 50% 16% / 44% 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)) 28% 0% / 2px 16% no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.20)) 72% 0% / 2px 16% no-repeat;
    opacity: 0.95;
}

.rematch-player {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    z-index: 2;
}

.rematch-pitch .rematch-player[hidden] {
    display: none;
}

.rematch-subs {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.rematch-subs__title {
    margin: 18px 0 8px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.rematch-sub {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.36);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.rematch-sub[hidden] {
    display: none;
}

.rematch-sub .rematch-player__avatar {
    width: 60px;
    height: 60px;
}

.rematch-sub .rematch-player__meta {
    width: 100%;
    max-width: none;
}

.rematch-player__avatar {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.55),
        0 0 0 6px rgba(255, 43, 43, 0.10);
    background: rgba(0, 0, 0, 0.25);
}

.rematch-player__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.22), rgba(255, 255, 255, 0.06));
}

.rematch-player__initials {
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.rematch-player__meta {
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    min-width: 0;
    width: 150px;
    max-width: 160px;
    overflow-wrap: anywhere;
}

.rematch-player__name {
    font-weight: 1000;
    letter-spacing: 0.01em;
    font-size: 14px;
    line-height: 1.05;
}

.rematch-player__pos {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 750;
    line-height: 1.05;
}

.rematch-player__abbr {
    font-weight: 900;
}

@media (max-width: 720px) {
    .rematch-squad-toggle {
        margin-bottom: 6px;
    }

    .rematch-pitch {
        margin-top: 14px;
        min-height: 380px;
        aspect-ratio: 4 / 3;
    }

    .rematch-player {
        gap: 8px;
    }

    .rematch-player__avatar {
        width: 72px;
        height: 72px;
    }

    .rematch-player__meta {
        min-width: 130px;
        width: 130px;
        max-width: 140px;
        padding: 9px 10px;
    }
}

@media (max-width: 980px) {

    /* Rebalance positions for mid screens */
    .rematch-player[data-slot="st"] {
        --x: 50%;
        --y: 16%;
    }

    .rematch-player[data-slot="mf1"] {
        --x: 34%;
        --y: 34%;
    }

    .rematch-player[data-slot="mf2"] {
        --x: 66%;
        --y: 34%;
    }

    .rematch-player[data-slot="mf3"] {
        --x: 50%;
        --y: 48%;
    }

    .rematch-player[data-slot="dm"] {
        --x: 30%;
        --y: 62%;
    }

    .rematch-player[data-slot="df"] {
        --x: 50% !important;
        --y: 55% !important;
    }

    .rematch-player[data-slot="gk2"] {
        --x: 50%;
        --y: 72%;
    }

    .rematch-player[data-slot="gk"] {
        --x: 50%;
        --y: 86%;
    }

    .rematch-player[data-slot="try1"] {
        --x: 16%;
        --y: 92%;
    }

    .rematch-player[data-slot="try2"] {
        --x: 84%;
        --y: 92%;
    }
}

@media (max-width: 460px) {
    .rematch-page .page {
        background-size: auto 100%;
        background-position: center top;
    }

    .rematch-pitch {
        margin-top: 12px;
        aspect-ratio: 1 / 1;
        min-height: 360px;
    }

    .rematch-player[data-slot="df"] .rematch-player__meta {
        order: -1;
    }

    /* Compact layout for mobile */
    .rematch-player__avatar {
        width: 54px;
        height: 54px;
    }

    .rematch-player__meta {
        min-width: 0;
        width: 108px;
        max-width: 112px;
        padding: 6px 7px;
        border-radius: 12px;
    }

    .rematch-player__name {
        font-size: 12px;
        line-height: 1.0;
    }

    /* Hide extra text to avoid overlaps */
    .rematch-player__pos {
        display: none;
    }

    .rematch-player {
        gap: 6px;
    }

    /* Slot overrides to prevent overlaps */
    .rematch-player[data-slot="st"] {
        --x: 50%;
        --y: 12%;
    }

    .rematch-player[data-slot="mf1"] {
        --x: 30%;
        --y: 28%;
    }

    .rematch-player[data-slot="mf2"] {
        --x: 70%;
        --y: 28%;
    }

    .rematch-player[data-slot="mf3"] {
        --x: 50%;
        --y: 44%;
    }

    .rematch-player[data-slot="dm"] {
        --x: 30%;
        --y: 60%;
    }

    .rematch-player[data-slot="df"] {
        --x: 50% !important;
        --y: 66% !important;
    }

    .rematch-player[data-slot="gk2"] {
        --x: 50%;
        --y: 74%;
    }

    .rematch-player[data-slot="gk"] {
        --x: 50%;
        --y: 88%;
    }

    .rematch-player[data-slot="try1"] {
        --x: 16%;
        --y: 94%;
    }

    .rematch-player[data-slot="try2"] {
        --x: 84%;
        --y: 94%;
    }
}

/* About / Staff */
.staff-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.staff-card {
    border-radius: 18px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.staff-card__role {
    font-weight: 1000;
    letter-spacing: 0.02em;
}

.staff-card__people {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-slider {
    max-width: 100%;
}

.staff-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.staff-person--clickable {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    padding: 6px 4px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.staff-person--clickable:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.staff-person--clickable:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.28);
}

.staff-person__avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}

.staff-person__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.28), rgba(255, 255, 255, 0.06));
}

.staff-person__initials {
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
}

.staff-person__name {
    font-weight: 900;
    letter-spacing: 0.01em;
}

/* Staff modal */
.staff-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
}

.staff-modal[hidden] {
    display: none;
}

.staff-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.staff-modal__panel {
    position: relative;
    width: min(860px, 92vw);
    height: min(560px, 90vh);
    background: rgba(10, 10, 14, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    z-index: 1;
}

.staff-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.staff-modal__media {
    flex: 0 0 44%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.staff-modal__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}

.staff-modal__content {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
}

.staff-modal__role {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.staff-modal__name {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}

.staff-modal__bio {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .staff-modal__panel {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
    }

    .staff-modal__media {
        flex: 0 0 auto;
        width: 100%;
        min-height: 240px;
    }

    .staff-modal__content {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Streamers */
.notice {
    margin: 14px 0 18px;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.notice__title {
    font-weight: 950;
    letter-spacing: 0.02em;
}

.notice__text {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.74);
}

.streamer {
    margin-top: 12px;
}

.streamers {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.streamers .streamer {
    margin-top: 0;
}

.streamer__card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    height: 100%;
}

.streamer__avatar {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.streamer__avatar--placeholder {
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.25), rgba(255, 255, 255, 0.06));
}

.streamer__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.streamer__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.streamer__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 950;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.78);
}

.streamer__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.streamer__status--live .streamer__dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.streamer__status--offline .streamer__dot,
.streamer__status--unknown .streamer__dot {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.streamer__name {
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 18px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.streamer__link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 850;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .streamers {
        max-width: 100%;
    }

    .streamer__card {
        grid-template-columns: 84px 1fr;
        gap: 14px;
        padding: 16px;
    }

    .streamer__avatar {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 520px) {
    .filters {
        gap: 8px;
    }

    .filters .btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .streamer__card {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }

    .streamer__avatar {
        width: 80px;
        height: 80px;
        border-radius: 16px;
        justify-self: start;
    }

    .streamer__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .streamer__link {
        padding-top: 0;
    }
}

@media (max-width: 380px) {
    .filters .btn {
        flex-basis: 100%;
    }
}

.streamer__link:hover {
    color: rgba(255, 255, 255, 0.92);
}

.streamer__meta {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.pill__label {
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.70);
}

.pill__value {
    font-weight: 1000;
    letter-spacing: 0.02em;
    color: #fff;
}

.streamer__about {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cards {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.card {
    border-radius: 18px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.card__title {
    margin: 0;
    font-weight: 950;
}

.card__text {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.70);
}

.footer {
    padding: 30px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(520px 220px at 50% 120%, rgba(255, 43, 43, 0.35), rgba(255, 43, 43, 0) 70%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
}

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

.footer__top {
    display: flex;
    justify-content: center;
}

.footer .social {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.footer .social a:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: rgba(255, 43, 43, 0.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 43, 43, 0.14);
}

.footer .social a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.35);
}

.footer .social i {
    font-size: 18px;
    line-height: 1;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.footer__link {
    text-decoration: none;
    color: inherit;
}

.footer__link:hover {
    color: rgba(255, 255, 255, 0.92);
}

.footer__bottom {
    display: flex;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.70);
}

.footer__copy {
    font-weight: 650;
}

.to-top {
    position: fixed;
    right: 28px;
    bottom: 26px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: rgba(255, 43, 43, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.10);
}

.to-top:hover {
    filter: brightness(1.02);
}

.to-top:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.35);
}

/* Responsive */
@media (max-width: 860px) {
    .nav__inner {
        display: flex;
        justify-content: space-between;
    }

    .brand__logo {
        height: 44px;
    }

    .nav {
        display: none;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .nav__cta {
        display: none;
    }

    body.nav-open .nav {
        display: flex;
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        max-height: calc(100vh - 78px);
        padding: 0;
        background: rgba(0, 0, 0, 0.78);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        overflow: visible;
        z-index: 100;
    }

    .nav__link {
        justify-content: space-between;
        padding: 0 20px;
        height: 48px;
    }

    .nav__dropdown {
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .nav__link:hover::after,
    .nav__dropdown:hover .nav__link::after {
        opacity: 0 !important;
        transform: translateY(4px) !important;
    }

    .nav__dropdown.is-open .nav__link::after {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .nav__dropdown:not(.is-open) .nav__link::after {
        opacity: 0 !important;
        transform: translateY(4px) !important;
    }

    .nav__chev {
        transform: rotate(45deg) !important;
        margin-top: -2px !important;
    }

    .nav__dropdown.is-open .nav__chev {
        transform: rotate(225deg) !important;
        margin-top: 2px !important;
    }

    .nav__dropdown:not(.is-open) .nav__chev {
        transform: rotate(45deg) !important;
        margin-top: -2px !important;
    }

    .dropdown {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .nav__dropdown.is-open .dropdown {
        display: block !important;
        width: 100%;
    }

    .nav__dropdown:hover .dropdown,
    .nav__dropdown:focus-within .dropdown,
    .nav__dropdown.is-open .dropdown {
        transform: none;
    }

    .dropdown__head {
        display: none;
    }

    .dropdown__grid {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
        overflow: visible;
    }

    .dropdown__item {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        padding: 0 20px;
        height: 48px;
        min-height: 48px;
        background: transparent;
        border: 0;
        border-radius: 0;
        font-weight: 800;
        font-size: 15px;
        padding-left: 20px;
        color: rgba(255, 255, 255, 0.92) !important;
        text-decoration: none;
        white-space: nowrap;
        overflow: visible;
    }

    .dropdown__item:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
    }

    .dropdown__dot {
        display: none;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 18px;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.60);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner__content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1 1 360px;
}

.cookie-banner__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: 0.02em;
    color: var(--red2);
}

.cookie-banner__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 600;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.cookie-banner__btn:hover {
    transform: translateY(-1px);
}

.cookie-banner__btn--accept {
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.95), rgba(255, 43, 43, 0.55));
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 43, 43, 0.18);
}

.cookie-banner__btn--accept:hover {
    filter: brightness(1.05);
}

.cookie-banner__btn--reject {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
}

.cookie-banner__btn--reject:hover {
    background: rgba(0, 0, 0, 0.50);
}

.cookie-banner__link {
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.cookie-banner__link:hover {
    color: var(--red2);
    border-color: var(--red2);
}

@media (max-width: 720px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__btn {
        width: 100%;
    }

    .cookie-banner__link {
        text-align: center;
    }
}