:root {
    --bg: #070509;
    --bg-soft: #0d0911;
    --surface: rgba(18, 12, 24, 0.86);
    --surface-strong: rgba(25, 16, 34, 0.94);
    --surface-light: rgba(32, 21, 43, 0.78);
    --purple: #a855f7;
    --purple-light: #c084fc;
    --purple-dark: #6d28d9;
    --red: #7f1d1d;
    --white: #ffffff;
    --text: #ddd6e7;
    --muted: #91879c;
    --border: rgba(192, 132, 252, 0.16);
    --border-strong: rgba(192, 132, 252, 0.34);
    --green: #86efac;
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.34);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(109, 40, 217, 0.14), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(127, 29, 29, 0.12), transparent 30%),
        linear-gradient(180deg, #070509 0%, #09060d 42%, #070509 100%);
    color: var(--white);
    font-family: "Rajdhani", sans-serif;
}

::selection {
    background: var(--purple);
    color: var(--white);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.progress-bar {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
    box-shadow: 0 0 18px var(--purple);
}

.page-noise {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 4px 4px;
}

.background-glow {
    position: fixed;
    z-index: -2;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.13;
    pointer-events: none;
}

.background-glow.purple {
    top: 8%;
    left: -250px;
    background: var(--purple);
}

.background-glow.red {
    right: -250px;
    bottom: 5%;
    background: var(--red);
}

.main-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 88px;
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(7, 5, 9, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.site-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(192, 132, 252, 0.42);
    box-shadow:
        0 0 18px rgba(168, 85, 247, 0.48),
        0 0 45px rgba(109, 40, 217, 0.2);
    transition: 0.3s ease;
}

.logo:hover .site-logo {
    transform: scale(1.06) rotate(4deg);
}

.logo-text h1 {
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text h1 span {
    color: var(--purple-light);
    text-shadow: 0 0 14px rgba(192, 132, 252, 0.4);
}

.logo-text p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.main-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.main-header nav a {
    position: relative;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s ease;
}

.main-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--purple-light);
    transition: 0.3s ease;
}

.main-header nav a:hover,
.main-header nav a.active {
    color: var(--white);
}

.main-header nav a:hover::after,
.main-header nav a.active::after {
    width: 100%;
}

.header-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(192, 132, 252, 0.25);
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
    transition: 0.35s ease;
    cursor: pointer;
}

.header-btn:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.45);
}

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

.btn.secondary:hover {
    background: rgba(168, 85, 247, 0.12);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 130px 0 90px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle, black 40%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 95%);
}

.hero-light {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
}

.hero-light-left {
    left: -140px;
    top: 80px;
    background: var(--purple);
}

.hero-light-right {
    right: -160px;
    bottom: -60px;
    background: #5f1010;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-tag,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-tag {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.18);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #67ff8f;
    box-shadow: 0 0 12px #67ff8f;
}

.hero-top-title {
    margin-top: 28px;
    color: var(--purple-light);
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin-top: 18px;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.95;
}

.hero h1 span {
    display: block;
    color: var(--purple-light);
    text-shadow: 0 0 22px rgba(192, 132, 252, 0.45);
}

.hero-description {
    max-width: 620px;
    margin-top: 26px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 22px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    min-width: 165px;
    padding: 22px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192, 132, 252, 0.45);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.18);
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
}

.stat-card h3 {
    margin: 10px 0;
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 42px;
}

.stat-card p {
    color: var(--text);
    font-size: 15px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 650px;
    will-change: transform;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(192, 132, 252, 0.12);
    animation: rotateRing 24s linear infinite;
}

.ring-one {
    width: 500px;
    height: 500px;
}

.ring-two {
    width: 390px;
    height: 390px;
    animation-direction: reverse;
    animation-duration: 18s;
}

.ring-three {
    width: 280px;
    height: 280px;
    animation-duration: 12s;
}

.hero-logo-card {
    position: relative;
    width: 360px;
    height: 360px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(35, 24, 47, 0.95), rgba(16, 10, 22, 0.95));
    border: 1px solid rgba(192, 132, 252, 0.22);
    box-shadow:
        0 0 45px rgba(168, 85, 247, 0.18),
        inset 0 0 40px rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease;
    will-change: transform;
}

.logo-label {
    position: absolute;
    top: 22px;
    color: var(--purple-light);
    font-size: 12px;
    letter-spacing: 3px;
}

.hero-logo {
    position: relative;
    z-index: 3;
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(192, 132, 252, 0.25);
}

.logo-glow {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.35);
    filter: blur(55px);
}

.logo-info {
    position: relative;
    z-index: 3;
    margin-top: 28px;
    text-align: center;
}

.logo-info small {
    display: block;
    color: var(--muted);
    letter-spacing: 2px;
}

.logo-info strong {
    display: block;
    margin-top: 8px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
}

.floating-card {
    position: absolute;
    padding: 18px 24px;
    border-radius: 18px;
    background: rgba(20, 14, 28, 0.9);
    border: 1px solid rgba(192, 132, 252, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

.floating-card span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.floating-card strong {
    display: block;
    margin-top: 8px;
    color: var(--white);
    font-size: 20px;
}

.floating-card.top {
    top: 70px;
    right: -10px;
}

.floating-card.bottom {
    bottom: 80px;
    left: -20px;
}

.status-online {
    color: var(--green) !important;
    text-shadow:
        0 0 7px rgba(134, 239, 172, 0.85),
        0 0 18px rgba(74, 222, 128, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 4px;
}

.section,
.standings {
    position: relative;
    padding: 120px 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-title h2 {
    margin-top: 16px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.18),
        0 0 22px rgba(168, 85, 247, 0.28);
}

.section-title p {
    margin-top: 18px;
    color: #cfc6d8;
    font-size: 19px;
    line-height: 1.7;
}

.tournament-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 28px;
    align-items: stretch;
}

.tournament-card,
.tournament-sidebar,
.participants-block,
.playoff-meta,
.match-card,
.next-stage-card,
.history-table,
.about-card,
.champion-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(27, 18, 36, 0.88), rgba(12, 8, 17, 0.94));
    box-shadow: var(--shadow);
}

.tournament-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border-radius: 28px;
}

.tournament-card::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.14);
    filter: blur(70px);
}

.live-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(110, 231, 151, 0.08);
    border: 1px solid rgba(110, 231, 151, 0.18);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.live-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 14px #4ade80;
    animation: livePulse 1.5s infinite;
}

.tournament-card h3,
.tournament-sidebar h3,
.participants-heading h3,
.next-stage-card h3,
.about-card h3,
.champion-card h3 {
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.18),
        0 0 22px rgba(168, 85, 247, 0.28);
}

.tournament-card h3 {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    font-size: clamp(30px, 4vw, 48px);
}

.tournament-card > p {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-top: 18px;
    color: #cfc6d8;
    font-size: 18px;
    line-height: 1.75;
}

.tournament-info {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.info-box {
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.info-box strong {
    display: block;
    margin-top: 10px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.35);
}

.tournament-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.tournament-sidebar {
    padding: 30px;
    border-radius: 28px;
}

.tournament-sidebar h3 {
    font-size: 24px;
}

.tournament-sidebar p {
    margin-top: 12px;
    color: #cfc6d8;
    line-height: 1.65;
}

.sidebar-progress {
    margin-top: 32px;
}

.progress-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--text);
    font-weight: 600;
}

.progress-track {
    height: 10px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.progress-fill {
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

.sidebar-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-item:last-child {
    border-bottom: 0;
}

.sidebar-item span {
    color: var(--muted);
}

.sidebar-item strong {
    color: var(--white);
    text-align: right;
}

.participants-block {
    margin-top: 30px;
    padding: 34px;
    border-radius: 28px;
}

.participants-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.participants-heading h3 {
    margin-top: 10px;
    font-size: 26px;
}

.participants-count {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(192, 132, 252, 0.22);
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple-light);
    font-weight: 700;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.participant-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.3s ease;
}

.participant-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 132, 252, 0.28);
    background: rgba(168, 85, 247, 0.07);
}

.participant-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.18);
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 12px;
}

.participant-card div {
    min-width: 0;
}

.participant-card strong,
.participant-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-card strong {
    display: block;
    color: var(--white);
    font-size: 16px;
}

.participant-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.playoffs-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.08), transparent 35%);
}

.playoff-meta {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 22px;
}

.playoff-stage-badge,
.playoff-deadline {
    display: flex;
    align-items: center;
    gap: 14px;
}

.playoff-stage-badge span,
.playoff-deadline span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1.6px;
}

.playoff-stage-badge strong,
.playoff-deadline strong {
    color: var(--white);
    font-family: "Orbitron", sans-serif;
}

.quarterfinal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.match-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    transition: 0.35s ease;
}

.match-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent 42%);
    pointer-events: none;
}

.match-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow:
        0 26px 75px rgba(0, 0, 0, 0.34),
        0 0 34px rgba(168, 85, 247, 0.12);
}

.match-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.match-card-head span {
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.match-card-head strong {
    color: var(--muted);
    font-size: 13px;
}

.match-team {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
}

.match-team small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.match-team strong {
    display: block;
    margin-top: 5px;
    color: var(--white);
    font-size: 21px;
}

.match-score {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.2);
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 24px;
    box-shadow: inset 0 0 25px rgba(168, 85, 247, 0.06);
}

.match-divider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.match-divider::before,
.match-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.next-stage-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: 24px;
}

.next-stage-label {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.2);
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.next-stage-card h3 {
    font-size: 22px;
}

.next-stage-card p {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.55;
}

.next-stage-card > strong {
    color: var(--muted);
    font-family: "Orbitron", sans-serif;
    font-size: 12px;
    letter-spacing: 1.4px;
}

.history-table {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(15, 10, 20, 0.92);
}

.history-row {
    display: grid;
    grid-template-columns: 75px minmax(250px, 1.5fr) minmax(190px, 1fr) 140px;
    align-items: center;
    gap: 20px;
}

.history-head {
    padding: 18px 24px;
    background: linear-gradient(90deg, rgba(98, 64, 228, 0.95), rgba(113, 79, 194, 0.68));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.history-item {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: 0.25s ease;
}

.history-item:last-child {
    border-bottom: 0;
}

.history-item:hover {
    background: rgba(132, 90, 255, 0.07);
}

.history-number {
    color: #bda8ff;
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    text-shadow:
        0 0 8px rgba(189, 168, 255, 0.8),
        0 0 18px rgba(121, 76, 255, 0.42);
}

.history-tournament {
    display: flex;
    align-items: center;
    gap: 15px;
}

.history-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(184, 149, 255, 0.3);
    background: rgba(128, 82, 255, 0.12);
    color: #d3baff;
    box-shadow: 0 0 20px rgba(108, 68, 255, 0.12);
}

.history-tournament strong {
    display: block;
    color: var(--white);
}

.history-tournament small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.76rem;
}

.history-winner {
    color: var(--white);
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.22),
        0 0 18px rgba(160, 119, 255, 0.36);
}

.history-season {
    display: inline-flex;
    width: fit-content;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(182, 145, 255, 0.26);
    background: rgba(140, 92, 255, 0.12);
    color: #decfff;
    font-weight: 700;
    text-shadow: 0 0 9px rgba(185, 145, 255, 0.58);
}

.about-grid,
.champions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card,
.champion-card {
    padding: 34px;
    border-radius: 24px;
    transition: 0.35s ease;
}

.about-card:hover,
.champion-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192, 132, 252, 0.35);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(168, 85, 247, 0.09);
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.about-card p,
.champion-card p {
    color: #cfc6d8;
    font-size: 17px;
    line-height: 1.8;
}

.champion-card {
    text-align: center;
}

.champion-cup {
    margin-bottom: 18px;
    font-size: 54px;
}

.champion-season {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.2);
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.champion-card h3 {
    font-size: 23px;
}

.champion-card p {
    margin-top: 12px;
}

footer {
    margin-top: 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 6, 11, 0.9);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 60px 0 30px;
}

.footer-navigation {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: var(--muted);
    transition: 0.3s ease;
}

.footer-navigation a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom p:last-child {
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes livePulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.82);
    }
}

@media (max-width: 1100px) {
    .hero-container,
    .tournament-layout,
    .about-grid,
    .champions {
        grid-template-columns: 1fr;
    }

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

    .hero-visual {
        min-height: 500px;
    }

    .hero-logo-card {
        width: 320px;
        height: 320px;
    }

    .floating-card.top {
        right: 20px;
    }

    .floating-card.bottom {
        left: 20px;
    }
}

@media (max-width: 900px) {
    .main-header {
        position: static;
        flex-direction: column;
        min-height: auto;
        padding: 18px;
    }

    .main-header nav {
        flex-wrap: wrap;
        gap: 16px;
    }

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

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

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

    .history-table {
        overflow-x: auto;
    }

    .history-row {
        min-width: 760px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero {
        text-align: center;
    }

    .hero-tag,
    .section-label {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-stats,
    .tournament-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 380px);
        margin-left: auto;
        margin-right: auto;
    }

    .tournament-info {
        grid-template-columns: 1fr;
    }

    .participants-heading,
    .playoff-meta,
    .footer-content,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .playoff-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .next-stage-card {
        grid-template-columns: 1fr;
    }

    .footer-navigation {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .section,
    .standings {
        padding: 82px 0;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .section-title p,
    .hero-description {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-logo-card {
        width: 260px;
        height: 260px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .ring-one {
        width: 340px;
        height: 340px;
    }

    .ring-two {
        width: 260px;
        height: 260px;
    }

    .ring-three {
        width: 180px;
        height: 180px;
    }

    .floating-card {
        display: none;
    }

    .tournament-card,
    .tournament-sidebar,
    .participants-block,
    .match-card,
    .next-stage-card,
    .about-card,
    .champion-card {
        padding: 24px;
    }

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

    .match-team strong {
        font-size: 18px;
    }

    .footer-content,
    .footer-bottom {
        align-items: center;
        text-align: center;
    }

    .footer-navigation {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   DYNASTY — RESULTS + PREMIUM PLAYOFF BRACKET
========================================================= */

.stage-results {
    background:
        radial-gradient(circle at 12% 15%, rgba(168, 85, 247, 0.08), transparent 30%),
        radial-gradient(circle at 88% 80%, rgba(59, 130, 246, 0.06), transparent 28%);
}

.results-shell {
    overflow: hidden;
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(27, 18, 36, 0.93), rgba(11, 8, 16, 0.96));
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.34),
        0 0 40px rgba(168, 85, 247, 0.08);
}

.results-summary {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(115deg, rgba(109, 40, 217, 0.2), transparent 55%);
}

.results-kicker {
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.results-summary-main h3 {
    margin-top: 10px;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
}

.results-summary-main p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.results-summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.results-summary-stats div {
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.025);
}

.results-summary-stats span,
.results-summary-stats strong {
    display: block;
}

.results-summary-stats span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
}

.results-summary-stats strong {
    margin-top: 8px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
}

.elo-list {
    display: grid;
}

.elo-row {
    display: grid;
    grid-template-columns: 75px minmax(210px, 1fr) 100px 110px;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 14px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    transition: 0.25s ease;
}

.elo-row:last-child {
    border-bottom: 0;
}

.elo-row:hover {
    background: rgba(168, 85, 247, 0.07);
}

.elo-row.qualified {
    background:
        linear-gradient(90deg, rgba(168, 85, 247, 0.07), transparent 45%);
}

.elo-row.qualified:hover {
    background:
        linear-gradient(90deg, rgba(168, 85, 247, 0.13), transparent 55%);
}

.elo-row.eliminated {
    opacity: 0.68;
}

.elo-place {
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.rank-gold .elo-place {
    color: #facc15;
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.rank-silver .elo-place {
    color: #d7dce4;
    text-shadow: 0 0 14px rgba(215, 220, 228, 0.3);
}

.rank-bronze .elo-place {
    color: #d28a42;
    text-shadow: 0 0 14px rgba(210, 138, 66, 0.35);
}

.elo-club strong,
.elo-club small {
    display: block;
}

.elo-club strong {
    color: var(--white);
    font-size: 20px;
}

.elo-club small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.elo-points {
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    text-align: right;
}

.elo-status {
    justify-self: end;
    min-width: 90px;
    padding: 8px 11px;
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-align: center;
}

.eliminated .elo-status {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
}

.live-center {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 0.7fr);
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 26px;
    border: 1px solid rgba(192, 132, 252, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(100deg, rgba(109, 40, 217, 0.2), rgba(17, 11, 24, 0.92) 45%);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28),
        0 0 30px rgba(168, 85, 247, 0.08);
}

.live-center-status,
.live-center-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 20px 24px;
}

.live-center-item {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.live-center-status small,
.live-center-item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.live-center-status strong,
.live-center-item strong {
    display: block;
    margin-top: 5px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 15px;
}

.live-center-status strong {
    color: var(--green);
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

.live-pulse {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow:
        0 0 10px #4ade80,
        0 0 25px rgba(74, 222, 128, 0.7);
    animation: livePulse 1.5s infinite;
}

.bracket-scroll {
    overflow-x: auto;
    padding: 4px 2px 22px;
    scrollbar-width: thin;
    scrollbar-color: rgba(192, 132, 252, 0.45) rgba(255, 255, 255, 0.03);
}

.tournament-bracket {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 0.9fr;
    gap: 88px;
    min-width: 1080px;
    padding: 20px 12px 30px;
}

.bracket-column {
    position: relative;
    display: grid;
}

.quarter-column {
    grid-template-rows: auto repeat(4, 1fr);
    gap: 24px;
}

.semifinal-column {
    grid-template-rows: auto 1fr 1fr;
    gap: 48px;
    padding-top: 94px;
}

.final-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 75px;
}

.bracket-column-title {
    min-height: 58px;
    margin-bottom: 8px;
}

.bracket-column-title span,
.bracket-column-title strong {
    display: block;
}

.bracket-column-title span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.bracket-column-title strong {
    margin-top: 7px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 18px;
}

.bracket-match {
    position: relative;
    z-index: 2;
    align-self: center;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(192, 132, 252, 0.22);
    border-radius: 21px;
    background:
        linear-gradient(180deg, rgba(31, 20, 43, 0.96), rgba(13, 9, 19, 0.98));
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(168, 85, 247, 0.07);
}

.bracket-match::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -45px;
    width: 45px;
    height: 2px;
    background:
        linear-gradient(90deg, rgba(192, 132, 252, 0.65), rgba(192, 132, 252, 0.18));
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.32);
}

.final-match::after {
    display: none;
}

.bracket-match-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(168, 85, 247, 0.07);
}

.bracket-match-head span {
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.bracket-match-head strong {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.8px;
}

.bracket-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.bracket-team:last-child {
    border-bottom: 0;
}

.bracket-team small,
.bracket-team strong {
    display: block;
}

.bracket-team small {
    color: var(--muted);
    font-size: 12px;
}

.bracket-team strong {
    margin-top: 3px;
    color: var(--white);
    font-size: 17px;
}

.bracket-team > span {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.11);
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
}

.locked-match {
    opacity: 0.66;
    filter: saturate(0.75);
}

.placeholder-team strong {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.semifinal-one::before,
.semifinal-two::before,
.final-match::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -45px;
    width: 45px;
    height: 2px;
    background:
        linear-gradient(90deg, rgba(192, 132, 252, 0.18), rgba(192, 132, 252, 0.65));
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.32);
}

.champion-slot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(250, 204, 21, 0.17);
    border-radius: 20px;
    background:
        linear-gradient(110deg, rgba(250, 204, 21, 0.08), rgba(168, 85, 247, 0.08));
}

.champion-slot-icon {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    border-radius: 15px;
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    font-size: 27px;
    box-shadow: 0 0 22px rgba(250, 204, 21, 0.08);
}

.champion-slot small,
.champion-slot strong {
    display: block;
}

.champion-slot small {
    color: #d8c27d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.champion-slot strong {
    margin-top: 6px;
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
}

.bracket-note {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 4px;
    padding: 19px 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.bracket-note span {
    flex-shrink: 0;
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.bracket-note p {
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .results-summary {
        grid-template-columns: 1fr;
    }

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

    .live-center-status {
        grid-column: 1 / -1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .live-center-item:first-of-type {
        border-left: 0;
    }
}

@media (max-width: 700px) {
    .results-summary,
    .elo-row {
        padding-left: 18px;
        padding-right: 18px;
    }

    .results-summary-stats {
        grid-template-columns: 1fr;
    }

    .elo-row {
        grid-template-columns: 50px minmax(155px, 1fr) 72px;
        gap: 10px;
    }

    .elo-status {
        display: none;
    }

    .elo-club strong {
        font-size: 17px;
    }

    .elo-points {
        font-size: 13px;
    }

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

    .live-center-status {
        grid-column: auto;
    }

    .live-center-item {
        min-height: 70px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        border-left: 0;
    }

    .bracket-scroll {
        margin-right: -14px;
        padding-right: 14px;
    }

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



/* =========================================================
   LANGUAGE SWITCHER — UA / RU
========================================================= */
.language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 42px;
    padding: 6px 11px;
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 13px;
    background: rgba(168, 85, 247, 0.07);
    color: rgba(255, 255, 255, 0.32);
    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.035);
}

.language-btn {
    appearance: none;
    border: 0;
    padding: 5px 7px;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-family: "Orbitron", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: 0.25s ease;
}

.language-btn:hover {
    color: var(--white);
}

.language-btn.active {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.85), rgba(168, 85, 247, 0.88));
    color: var(--white);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.28);
}

@media (max-width: 900px) {
    .language-switcher {
        order: 3;
    }
}

/* =========================================================
   ARS CHAMPIONS LEAGUE — REGISTRATION + GROUP STAGE
========================================================= */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(192, 132, 252, 0.18);
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.07);
}

.language-switcher span {
    color: rgba(255, 255, 255, 0.22);
}

.language-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.language-btn:hover,
.language-btn.active {
    color: var(--white);
    text-shadow: 0 0 12px rgba(192, 132, 252, 0.55);
}

.registration-progress {
    width: 0;
    transition: width 0.5s ease;
}

.empty-registration {
    margin-top: 6px;
    padding: 24px;
    border: 1px dashed rgba(192, 132, 252, 0.2);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
    background: rgba(168, 85, 247, 0.035);
}

.groups-section {
    background:
        radial-gradient(circle at 20% 0%, rgba(168, 85, 247, 0.08), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(127, 29, 29, 0.06), transparent 30%);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.group-card {
    overflow: hidden;
    border: 1px solid rgba(192, 132, 252, 0.2);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(27, 18, 36, 0.9), rgba(12, 8, 17, 0.96));
    box-shadow: var(--shadow);
}

.group-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(90deg, rgba(109, 40, 217, 0.22), rgba(168, 85, 247, 0.05));
}

.group-card-head span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.group-card-head strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(192, 132, 252, 0.28);
    border-radius: 13px;
    background: rgba(168, 85, 247, 0.12);
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 18px;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.1);
}

.group-team {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 13px;
    min-height: 72px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.group-team:last-child {
    border-bottom: 0;
}

.group-team > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.09);
    color: var(--purple-light);
    font-family: "Orbitron", sans-serif;
    font-size: 11px;
}

.group-team strong,
.group-team small {
    display: block;
}

.group-team strong {
    color: var(--white);
    font-size: 17px;
}

.group-team small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.group-team-empty {
    opacity: 0.62;
}

.group-team-empty strong {
    color: var(--muted);
    font-size: 15px;
}

.groups-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 19px 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.groups-note span {
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.groups-note p {
    color: var(--muted);
    line-height: 1.55;
}

.history-body {
    display: contents;
}

@media (max-width: 1050px) {
    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .language-switcher {
        order: 3;
    }
}

@media (max-width: 650px) {
    .groups-grid {
        grid-template-columns: 1fr;
    }

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

/* ARS Champions League: standings + editable results */
.group-card-full{overflow:hidden}.standing-head,.standing-row{display:grid;grid-template-columns:24px minmax(90px,1fr) repeat(4,24px) 44px 28px;gap:2px;align-items:center}.standing-head{padding:10px 14px;color:var(--muted);font-size:10px;border-bottom:1px solid rgba(255,255,255,.08)}.standing-row{padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.055);font-size:12px}.standing-row strong{font-size:12px;color:var(--white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standing-row span,.standing-row b{text-align:center}.standing-row b{color:var(--purple-light)}.group-matches-title{padding:15px 14px 8px;color:var(--purple-light);font-size:10px;font-weight:800;letter-spacing:1.3px}.group-match{display:grid;grid-template-columns:1fr 58px 1fr;align-items:center;gap:8px;padding:8px 14px;font-size:11px}.group-match span:last-child{text-align:right}.group-match strong{text-align:center;color:var(--white);font-family:"Orbitron",sans-serif}.groups-grid{align-items:start}@media(max-width:650px){.standing-head,.standing-row{grid-template-columns:22px minmax(95px,1fr) repeat(4,24px) 44px 26px;gap:2px;padding-left:10px;padding-right:10px}.group-match{padding-left:10px;padding-right:10px}}
