:root {
    --bg: #08111f;
    --bg-soft: #101d33;
    --panel: rgba(11, 22, 39, 0.78);
    --text: #eef4ff;
    --muted: #9aabc8;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(143, 209, 79, 0.26);
    --accent: #8fd14f;
    --accent-strong: #b8ff6e;
    --accent-cold: #58a3ff;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 24px 80px rgba(143, 209, 79, 0.14);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0;
    overflow-x: hidden;
    font-family: "Sora", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(143, 209, 79, 0.15), transparent 30%),
        radial-gradient(circle at top right, rgba(81, 178, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #08111f 0%, #050b15 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.24;
    background: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 5px;
    mix-blend-mode: soft-light;
}

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

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

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-shell {
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 18s ease-in-out infinite;
}

.orb-one {
    top: 8%;
    left: -8rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(143, 209, 79, 0.45), transparent 68%);
}

.orb-two {
    top: 42%;
    right: -6rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(88, 163, 255, 0.42), transparent 68%);
    animation-duration: 22s;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(6, 11, 20, 0.72);
    border-bottom: 1px solid var(--line);
}

.nav-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 108px;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 30px rgba(88, 163, 255, 0.12);
    overflow: hidden;
}

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

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong,
.brand-copy small,
.site-nav a,
.eyebrow,
.button,
.stat-card h3,
.service-card h3,
.event-content h3,
.member-card h3,
.leader-card h3,
.site-footer h3,
.client-pill {
    font-family: "Rajdhani", sans-serif;
}

.brand-copy strong {
    font-size: 1.45rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop {
    display: flex;
}

.nav-left,
.nav-right {
    flex: 1 1 0;
}

.nav-left {
    justify-content: flex-start;
    padding-right: 8.5rem;
}

.nav-right {
    justify-content: flex-end;
    padding-left: 8.5rem;
}

.site-nav a {
    position: relative;
    color: var(--muted);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), var(--accent-cold));
    transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 1rem;
    border: 1px solid rgba(143, 209, 79, 0.28);
    border-radius: 999px;
    background: rgba(143, 209, 79, 0.08);
    color: var(--text);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: rgba(143, 209, 79, 0.16);
    border-color: rgba(143, 209, 79, 0.45);
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.4rem;
}

.site-nav-mobile {
    display: none;
}

.hero {
    position: relative;
    overflow: clip;
    padding: 5rem 0 3rem;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(7, 12, 24, 0.84), rgba(7, 12, 24, 0.45)),
        url("https://r4.wallpaperflare.com/wallpaper/41/28/5/sas-csgo-counter-strike-global-offensive-hd-wallpaper-48a6fd6860b0bc2860cc816e4862a4da.jpg") center/cover;
    opacity: 0.42;
    transform: scale(1.05);
    animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(143, 209, 79, 0.08), transparent 30%, rgba(88, 163, 255, 0.08) 72%, transparent),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
        radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.08), transparent 20%);
    opacity: 0.75;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 2rem;
    align-items: end;
}

.hero-copy h1 {
    margin: 0.35rem 0 1rem;
    max-width: 12ch;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-shadow: 0 0 24px rgba(143, 209, 79, 0.12);
}

.hero-text,
.contact-copy p,
.service-card p,
.event-prize,
.member-card-meta,
.leader-card p,
.team-card p,
.site-footer p {
    color: var(--muted);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #08111f;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(143, 209, 79, 0.22);
}

.button-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(143, 209, 79, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-stat-card,
.service-card,
.stat-card,
.event-card,
.member-card,
.leader-card,
.team-card,
.contact-card,
.client-pill {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.tilt-card {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tilt-card:hover {
    transform: perspective(1200px) rotateX(4deg) rotateY(-4deg) translateY(-8px);
    box-shadow: var(--shadow), var(--shadow-glow);
    border-color: var(--line-strong);
}

.hero-stat-card {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-stat-card span,
.event-meta,
.eyebrow {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-stat-card strong {
    display: block;
    margin: 0.35rem 0 0.55rem;
    font-family: "Rajdhani", sans-serif;
    font-size: 2rem;
}

.hero-stat-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.hero-stat-card.accent {
    background: linear-gradient(180deg, rgba(143, 209, 79, 0.14), rgba(11, 22, 39, 0.82));
}

.hero-stat-card::before,
.service-card::before,
.stat-card::before,
.member-card::before,
.leader-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 600ms ease;
}

.hero-stat-card:hover::before,
.service-card:hover::before,
.stat-card:hover::before,
.member-card:hover::before,
.leader-card:hover::before,
.contact-card:hover::before {
    transform: translateX(120%);
}

.section {
    padding: 5rem 0;
}

.section-tight {
    padding-top: 2rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading.compact {
    margin-top: 3rem;
}

.section-heading--slider {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section-heading--slider > div:first-child {
    flex: 1;
    min-width: 220px;
}

.section-heading h2,
.section-heading h3,
.contact-copy h2 {
    margin: 0.35rem 0 0;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 0.95;
}

.section-heading h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.stats-grid,
.services-grid,
.events-grid,
.members-grid,
.leaders-grid,
.team-grid,
.contact-grid {
    display: grid;
    gap: 1rem;
}

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

.stat-card {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.stat-card h3 {
    margin: 0;
    font-size: 2.7rem;
    line-height: 0.95;
}

.stat-card h3 span:last-child {
    color: var(--accent);
    font-size: 1.35rem;
}

.stat-card p {
    margin: 0.7rem 0 0;
    color: var(--muted);
}

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

.service-card {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(143, 209, 79, 0.24), transparent 70%);
}

.service-thumbnail {
    position: relative;
    margin: -1.6rem -1.6rem 0;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

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

.service-card h3 {
    margin: 0.1rem 0 0.25rem;
    font-size: 1.65rem;
}

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

.event-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.event-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 500ms ease, filter 500ms ease;
}

.event-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(3, 8, 16, 0.88));
    pointer-events: none;
}

.event-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.1);
}

.event-content {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
    margin-top: -5.2rem;
}

.event-content h3 {
    margin: 0.45rem 0;
    font-size: 1.8rem;
    line-height: 1;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.9rem;
}

/* ── Tournaments (GamePlex-inspired, mangroveesp theme) ── */
.page-hero {
    padding: 7rem 0 2rem;
}

.page-hero h1 {
    margin: 0.4rem 0 0.8rem;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.95;
}

.page-hero-text {
    max-width: 62ch;
    color: var(--muted);
    line-height: 1.75;
}

.site-nav a.is-active {
    color: var(--accent-strong);
}

.tournaments-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tournaments-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(14, 27, 46, 0.92), rgba(8, 15, 28, 0.88));
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.tournaments-toolbar {
    margin-bottom: 1.5rem;
}

.tournaments-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tournament-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tournament-tab:hover {
    border-color: rgba(143, 209, 79, 0.35);
    background: rgba(143, 209, 79, 0.08);
}

.tournament-tab.is-active {
    border-color: rgba(143, 209, 79, 0.45);
    background: rgba(143, 209, 79, 0.16);
    color: var(--accent-strong);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: var(--muted);
}

.tournament-tab.is-active .tab-count {
    background: rgba(143, 209, 79, 0.2);
    color: var(--accent-strong);
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.tournament-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tournament-card:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 209, 79, 0.28);
    box-shadow: var(--shadow-glow);
}

.tournament-card.is-hidden {
    display: none;
}

.tournament-card-media {
    position: relative;
    overflow: hidden;
}

.tournament-card-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 500ms ease, filter 500ms ease;
}

.tournament-card:hover .tournament-card-media img {
    transform: scale(1.05);
    filter: saturate(1.08);
}

.tournament-status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(6, 12, 22, 0.82);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tournament-status-badge.status-active {
    color: #dfffbd;
    border-color: rgba(143, 209, 79, 0.35);
}

.tournament-status-badge.status-upcoming {
    color: #d6e8ff;
    border-color: rgba(88, 163, 255, 0.3);
}

.tournament-status-badge.status-finished {
    color: #c5d0e4;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

.tournament-status-badge.status-active .status-dot {
    background: var(--accent-strong);
    box-shadow: 0 0 10px var(--accent-strong);
}

.tournament-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.35rem;
}

.tournament-card-title-link h3 {
    margin: 0;
    font-family: "Rajdhani", sans-serif;
    font-size: 1.65rem;
    line-height: 1;
    transition: color 180ms ease;
}

.tournament-card-title-link:hover h3 {
    color: var(--accent-strong);
}

.tournament-card-subtitle {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.tournament-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tournament-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.82rem;
}

.tournament-meta-chip i {
    color: var(--accent);
    font-size: 1rem;
}

.tournament-meta-chip.prize-chip {
    border-color: rgba(143, 209, 79, 0.22);
    background: rgba(143, 209, 79, 0.08);
}

.tournament-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
}

.tournament-card-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tournament-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.tournament-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tournament-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tournament-card-arrow:hover {
    transform: translateX(3px);
    border-color: rgba(143, 209, 79, 0.4);
    background: rgba(143, 209, 79, 0.12);
}

.tournament-card-arrow i {
    font-size: 1.5rem;
    color: var(--accent-strong);
}

.tournament-live-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.72rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 209, 79, 0.28);
    background: rgba(143, 209, 79, 0.12);
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tournament-live-link:hover {
    border-color: rgba(143, 209, 79, 0.45);
    background: rgba(143, 209, 79, 0.18);
}

.tournament-game-tags {
    margin-top: 0.15rem;
}

.tournaments-empty {
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
}

.tournaments-empty[hidden] {
    display: none;
}

.clients-marquee {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 0;
}

.clients-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: marquee 24s linear infinite;
}

.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}

.client-pill {
    display: inline-grid;
    place-items: center;
    min-width: 180px;
    min-height: 90px;
    padding: 1rem 1.6rem;
    border-radius: 20px;
    color: #d5e2f6;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.members-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.team-section-gap {
    margin-top: 3.5rem;
}

/* Team member slider */
.members-slider {
    position: relative;
    margin-bottom: 0.5rem;
    overflow: visible;
}

.members-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    padding: 0.35rem 0 1rem;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.members-slider-viewport.is-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
    cursor: grabbing;
}

.members-slider-fade {
    position: absolute;
    top: 0;
    bottom: 1rem;
    width: 2.5rem;
    pointer-events: none;
    z-index: 2;
}

.members-slider-fade--left {
    left: 0;
    background: linear-gradient(90deg, rgba(8, 17, 31, 0.95), transparent);
}

.members-slider-fade--right {
    right: 0;
    background: linear-gradient(270deg, rgba(8, 17, 31, 0.95), transparent);
}

.members-slider-viewport::-webkit-scrollbar {
    display: none;
}

.members-slider-viewport:focus-visible {
    outline: 2px solid rgba(135, 214, 73, 0.55);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.members-slider-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
}

.member-slide {
    flex: 0 0 var(--slide-width, 260px);
    width: var(--slide-width, 260px);
    max-width: var(--slide-width, 260px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.members-slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.slider-arrow {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid rgba(86, 164, 255, 0.45);
    border-radius: 50%;
    background: rgba(86, 164, 255, 0.1);
    color: #d6e8ff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.slider-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(135, 214, 73, 0.55);
    background: rgba(135, 214, 73, 0.14);
    color: var(--accent-strong);
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.members-slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.members-slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(158, 180, 212, 0.35);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, width 180ms ease;
}

.slider-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.members-slider-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.members-slider-hint i {
    font-size: 1.1rem;
    color: var(--accent);
}

.member-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.member-card:hover {
    transform: translateY(-6px);
    border-color: rgba(88, 163, 255, 0.28);
    box-shadow: var(--shadow), 0 18px 40px rgba(8, 17, 29, 0.45);
}

.member-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(143, 209, 79, 0.12), rgba(88, 163, 255, 0.18));
}

.member-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.member-card:hover .member-card-media img {
    transform: scale(1.06);
}

.member-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(7, 12, 24, 0.15) 60%,
        rgba(7, 12, 24, 0.72) 100%
    );
    pointer-events: none;
    transition: opacity 220ms ease;
}

.member-card:hover .member-card-overlay {
    opacity: 0.92;
}

.member-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(143, 209, 79, 0.2), rgba(88, 163, 255, 0.28));
}

.member-card-placeholder span {
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--accent-strong);
    text-shadow: 0 8px 24px rgba(7, 12, 24, 0.35);
}

.member-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
}

.member-card-body h3 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 1.6vw, 1.55rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.member-card-meta {
    margin: 0;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.9;
}

.member-card-assignments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.member-card-assignments span {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(88, 163, 255, 0.2);
    border-radius: 999px;
    background: rgba(88, 163, 255, 0.08);
    color: #dbeafe;
    font-size: 0.72rem;
    line-height: 1.35;
}

/* Legacy class hooks (unused markup) */
.leaders-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.live-section {
    padding-top: 1rem;
}

.live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    gap: 1.5rem;
    align-items: start;
}

.live-stage,
.live-info-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(11, 22, 39, 0.95), rgba(9, 17, 31, 0.86));
    box-shadow: var(--shadow);
}

.live-stage {
    padding: 1.5rem;
    overflow: hidden;
}

.live-stage::before,
.live-info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(143, 209, 79, 0.12), transparent 32%, rgba(88, 163, 255, 0.1));
    opacity: 0.7;
}

.live-stage-top,
.live-meta-row,
.live-specs,
.live-sidebar {
    position: relative;
    z-index: 1;
}

.live-stage-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.live-stage-top h2,
.live-info-card h3 {
    margin: 0.35rem 0 0;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
}

.live-summary {
    position: relative;
    z-index: 1;
    max-width: 60ch;
    margin: 1rem 0 1.35rem;
    color: var(--muted);
    line-height: 1.75;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Rajdhani", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-badge.is-live {
    border-color: rgba(143, 209, 79, 0.35);
    background: rgba(143, 209, 79, 0.14);
    color: #dfffbd;
}

.live-badge.is-live i {
    color: #8fd14f;
}

.live-badge.is-offline {
    border-color: rgba(88, 163, 255, 0.22);
    background: rgba(88, 163, 255, 0.12);
    color: #cae2ff;
}

.live-player-shell {
    position: relative;
    z-index: 1;
    min-height: 380px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(4, 8, 15, 0.85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.live-video-player,
.live-embed-frame,
.live-placeholder {
    width: 100%;
    min-height: 380px;
    border: 0;
}

.live-embed-frame {
    display: block;
}

.live-placeholder {
    display: grid;
    place-items: center;
    padding: 2rem;
    background-position: center;
    background-size: cover;
}

.live-placeholder div {
    max-width: 32rem;
    text-align: center;
}

.live-placeholder h3 {
    margin: 1rem 0 0.75rem;
    font-family: "Rajdhani", sans-serif;
    font-size: 2rem;
}

.live-placeholder p {
    color: var(--muted);
    line-height: 1.75;
}

.live-meta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.live-chip {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.live-chip span,
.live-code-block span,
.live-specs dt {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-chip strong,
.live-specs dd {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.2rem;
}

.live-sidebar {
    display: grid;
    gap: 1rem;
}

.live-info-card {
    padding: 1.35rem;
}

.live-info-card.accent {
    background: linear-gradient(180deg, rgba(16, 31, 50, 0.96), rgba(9, 17, 31, 0.92));
    box-shadow: var(--shadow-glow);
}

.live-info-card h3 {
    font-size: 1.8rem;
}

.live-info-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    line-height: 1.75;
}

.live-specs {
    display: grid;
    gap: 0.9rem;
    margin: 1.2rem 0;
}

.live-specs div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-specs div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.live-specs dt,
.live-specs dd {
    margin: 0;
}

.live-code-block {
    position: relative;
    z-index: 1;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.live-code-block code {
    display: block;
    overflow-wrap: anywhere;
    color: #dce9ff;
    line-height: 1.65;
}

.live-cta {
    margin-top: 1rem;
}

.contact-card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-card label {
    display: grid;
    gap: 0.55rem;
}

.contact-card span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 1rem 1.05rem;
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: #6f84a7;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: rgba(143, 209, 79, 0.5);
    box-shadow: 0 0 0 4px rgba(143, 209, 79, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.site-footer {
    padding: 1.5rem 0 2.25rem;
    border-top: 1px solid var(--line);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(1.5rem, -1.75rem, 0) scale(1.08);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.03);
    }
    to {
        transform: scale(1.12);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

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

    .members-slider-hint {
        display: none;
    }

    .stats-grid,
    .services-grid,
    .events-grid,
    .tournaments-grid,
    .leaders-grid,
    .team-grid,
    .contact-grid,
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-desktop {
        display: none;
    }

    .nav-row {
        justify-content: space-between;
        min-height: 88px;
    }

    .brand-center {
        position: static;
        transform: none;
        margin-right: auto;
    }

    .site-nav-mobile {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(7, 12, 24, 0.96);
    }

    .site-nav-mobile.is-open {
        display: flex;
    }

    .hero,
    .section {
        padding: 4rem 0;
    }

    .hero-grid,
    .stats-grid,
    .services-grid,
    .events-grid,
    .tournaments-grid,
    .leaders-grid,
    .team-grid,
    .contact-grid,
    .live-meta-row {
        grid-template-columns: 1fr;
    }

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

    .tournaments-panel {
        padding: 1rem;
    }

    .tournaments-heading {
        align-items: flex-start;
    }

    .event-content {
        margin-top: 0;
    }

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

    .brand-mark {
        width: 54px;
        height: 54px;
    }

    .live-stage {
        padding: 1.15rem;
    }

    .live-stage-top {
        flex-direction: column;
    }

    .live-player-shell,
    .live-video-player,
    .live-embed-frame,
    .live-placeholder {
        min-height: 260px;
    }
}
