/* ============================================================
   RSVM CRICKET HUB
   MAIN STYLESHEET
   ============================================================ */


/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {

    --navy-950: #02050b;
    --navy-900: #050a14;
    --navy-850: #07101d;
    --navy-800: #0a1525;
    --navy-750: #0d1b2d;

    --white: #ffffff;
    --white-soft: #e8edf4;

    --text: #b8c2d0;
    --text-dark: #7d8999;

    --gold: #f4bd45;
    --gold-light: #ffd978;
    --gold-dark: #b87912;

    --blue: #3d8cff;
    --blue-dark: #1654a8;

    --red: #ed5965;
    --red-dark: #9d2834;

    --purple: #9a6cff;
    --purple-dark: #5530a8;

    --border: rgba(255, 255, 255, 0.09);

    --border-light: rgba(255, 255, 255, 0.14);

    --shadow:
        0 25px 80px rgba(0, 0, 0, 0.45);

    --container: 1180px;

    --radius: 24px;

}


/* ============================================================
   RESET
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background:
        var(--navy-950);

    color:
        var(--white);

    font-family:
        "Inter",
        sans-serif;

    overflow-x: hidden;

}


body::selection {

    background:
        var(--gold);

    color:
        var(--navy-950);

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font-family: inherit;

}


img {

    max-width: 100%;

    display: block;

}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {

    width:
        min(
            var(--container),
            calc(100% - 40px)
        );

    margin:
        0 auto;

}


/* ============================================================
   PAGE LOADER
   ============================================================ */

.page-loader {

    position: fixed;

    inset: 0;

    z-index: 5000;

    background:
        var(--navy-950);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 20px;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;

}


.page-loader.hide {

    opacity: 0;

    visibility: hidden;

}


.loader-ball {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    border:
        2px solid
        rgba(244, 189, 69, 0.25);

    position: relative;

    animation:
        loader-spin 1.2s linear infinite;

}


.loader-ball::before {

    content: "";

    position: absolute;

    width: 2px;

    height: 45px;

    background:
        var(--gold);

    left: 50%;

    top: 5px;

    transform:
        translateX(-50%)
        rotate(35deg);

}


.loader-ball span {

    position: absolute;

    inset: 7px;

    border-radius: 50%;

    border-top:
        2px solid
        var(--gold);

}


@keyframes loader-spin {

    to {
        transform: rotate(360deg);
    }

}


.loader-text {

    color:
        var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

}


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    padding:
        17px 0;

    background:
        rgba(2, 5, 11, 0.55);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        transparent;

    transition:
        0.3s ease;

}


.navbar.scrolled {

    background:
        rgba(2, 5, 11, 0.94);

    border-bottom-color:
        var(--border);

}


.nav-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand-logo {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    padding: 3px;

    border:
        1px solid
        rgba(244, 189, 69, 0.6);

    background:
        var(--navy-800);

    box-shadow:
        0 0 25px
        rgba(244, 189, 69, 0.12);

}


.brand-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 50%;

}


.brand-text strong {

    display: block;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 23px;

    line-height: 1;

    letter-spacing: 1px;

}


.brand-text small {

    display: block;

    margin-top: 3px;

    color:
        var(--text-dark);

    font-size: 8px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.desktop-nav {

    display: flex;

    align-items: center;

    gap: 32px;

}


.desktop-nav a {

    color:
        #bfc8d5;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        0.25s ease;

}


.desktop-nav a:hover {

    color:
        var(--gold);

}


.nav-cta {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        11px 17px;

    border:
        1px solid
        rgba(244, 189, 69, 0.4);

    border-radius: 100px;

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        0.3s ease;

}


.nav-cta:hover {

    background:
        var(--gold);

    color:
        var(--navy-950);

}


.mobile-menu-btn {

    display: none;

    border: 0;

    background: transparent;

    color:
        white;

    font-size: 21px;

    cursor: pointer;

}


.mobile-menu {

    display: none;

}


/* ============================================================
   HERO
   ============================================================ */

.hero {

    min-height:
        900px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    background:

        radial-gradient(
            circle at 80% 35%,
            rgba(24, 62, 112, 0.38),
            transparent 30%
        ),

        radial-gradient(
            circle at 80% 80%,
            rgba(244, 189, 69, 0.08),
            transparent 28%
        ),

        linear-gradient(
            120deg,
            #02050b 0%,
            #06101d 52%,
            #071426 100%
        );

}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(2, 5, 11, 0.96) 0%,
            rgba(2, 5, 11, 0.72) 43%,
            rgba(2, 5, 11, 0.15) 100%
        );

    pointer-events: none;

}


.hero::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 180px;

    background:
        linear-gradient(
            transparent,
            var(--navy-950)
        );

    pointer-events: none;

}


.hero-container {

    position: relative;

    z-index: 5;

    display: grid;

    grid-template-columns:
        1.08fr
        0.92fr;

    align-items: center;

    gap: 50px;

    padding-top: 80px;

}


/* ============================================================
   STADIUM EFFECTS
   ============================================================ */

.stadium-glow {

    position: absolute;

    width: 700px;

    height: 700px;

    right: -100px;

    top: 80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(46, 105, 190, 0.16),
            transparent 65%
        );

    filter:
        blur(15px);

}


.stadium-lights {

    position: absolute;

    width: 180px;

    height: 320px;

    opacity: 0.15;

    filter:
        blur(2px);

}


.light-left {

    left: -90px;

    top: 120px;

    transform:
        rotate(-22deg);

    background:
        repeating-linear-gradient(
            90deg,
            white 0 7px,
            transparent 7px 19px
        );

}


.light-right {

    right: -100px;

    top: 80px;

    transform:
        rotate(20deg);

    background:
        repeating-linear-gradient(
            90deg,
            white 0 7px,
            transparent 7px 19px
        );

}


.hero-line {

    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(244,189,69,0.4),
            transparent
        );

    transform:
        rotate(-35deg);

}


.hero-line-one {

    width: 550px;

    top: 150px;

    right: -90px;

}


.hero-line-two {

    width: 420px;

    bottom: 180px;

    left: -150px;

}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.hero-content {

    padding-top: 30px;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        9px 15px;

    border:
        1px solid
        rgba(244,189,69,0.4);

    border-radius: 100px;

    background:
        rgba(244,189,69,0.05);

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-bottom: 25px;

}


.badge-star {

    font-size: 12px;

}


.hero-title {

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size:
        clamp(
            80px,
            11vw,
            150px
        );

    font-weight: 900;

    line-height: 0.78;

    letter-spacing: -3px;

    text-transform: uppercase;

}


.hero-title span {

    display: block;

    color:
        var(--gold);

    text-shadow:
        0 8px 35px
        rgba(244,189,69,0.13);

}


.hero-accent {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    color:
        #d8e0eb;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.hero-accent span {

    width: 20px;

    height: 2px;

    background:
        var(--gold);

}


.hero-description {

    max-width: 680px;

    margin-top: 22px;

    color:
        var(--text);

    font-size: 15px;

    line-height: 1.9;

}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;

    margin-top: 30px;

}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding:
        15px 23px;

    border-radius: 8px;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    transition:
        0.3s ease;

}


.btn-gold {

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color:
        #11100b;

    box-shadow:
        0 12px 35px
        rgba(244,189,69,0.15);

}


.btn-gold:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 45px
        rgba(244,189,69,0.25);

}


.btn-outline {

    background:
        rgba(255,255,255,0.025);

    border:
        1px solid
        rgba(255,255,255,0.14);

    color:
        white;

}


.btn-outline:hover {

    border-color:
        rgba(244,189,69,0.5);

    color:
        var(--gold);

    transform:
        translateY(-3px);

}


/* ============================================================
   HERO STATS
   ============================================================ */

.hero-stats {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    max-width: 650px;

    margin-top: 48px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,0.09);

}


.hero-stat {

    display: flex;

    flex-direction: column;

    gap: 4px;

    padding-right: 15px;

    border-right:
        1px solid
        rgba(255,255,255,0.07);

}


.hero-stat:last-child {

    border-right: 0;

}


.hero-stat-icon {

    width: 28px;

    height: 28px;

    display: grid;

    place-items: center;

    margin-bottom: 4px;

    border-radius: 7px;

    font-size: 11px;

}


.hero-stat-icon.blue {

    color:
        var(--blue);

    background:
        rgba(61,140,255,0.1);

}


.hero-stat-icon.gold {

    color:
        var(--gold);

    background:
        rgba(244,189,69,0.1);

}


.hero-stat-icon.red {

    color:
        var(--red);

    background:
        rgba(237,89,101,0.1);

}


.hero-stat-icon.purple {

    color:
        var(--purple);

    background:
        rgba(154,108,255,0.1);

}


.hero-stat strong {

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 34px;

    line-height: 1;

}


.hero-stat span {

    color:
        var(--text-dark);

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;

}


/* ============================================================
   HERO LOGO
   ============================================================ */

.hero-logo-area {

    position: relative;

    min-height: 620px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}


.logo-glow {

    position: absolute;

    width: 460px;

    height: 460px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,189,69,0.18),
            transparent 62%
        );

    filter:
        blur(18px);

}


.logo-ring {

    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(244,189,69,0.25);

    pointer-events: none;

}


.ring-one {

    width: 560px;

    height: 560px;

}


.ring-two {

    width: 460px;

    height: 460px;

    border-color:
        rgba(61,140,255,0.22);

}


.ring-three {

    width: 390px;

    height: 390px;

    border:
        1px dashed
        rgba(244,189,69,0.35);

    animation:
        rotate-ring 30s linear infinite;

}


@keyframes rotate-ring {

    to {
        transform: rotate(360deg);
    }

}


.school-logo-wrap {

    position: relative;

    z-index: 4;

    width:
        clamp(
            270px,
            30vw,
            390px
        );

    aspect-ratio: 1;

    padding: 18px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #101d30,
            #07101c
        );

    border:
        2px solid
        var(--gold);

    box-shadow:

        0 0 0 7px
        rgba(244,189,69,0.05),

        0 0 0 15px
        rgba(61,140,255,0.04),

        0 25px 80px
        rgba(0,0,0,0.55),

        0 0 80px
        rgba(244,189,69,0.14);

}


.school-logo {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 50%;

}


.school-motto {

    position: relative;

    z-index: 5;

    margin-top: 25px;

    color:
        var(--gold);

    font-family:
        serif;

    font-size: 20px;

    letter-spacing: 2px;

    text-shadow:
        0 5px 20px
        rgba(244,189,69,0.2);

}


.school-motto span {

    margin:
        0 10px;

    opacity: 0.5;

}


.floating-trophy {

    position: absolute;

    z-index: 5;

    right: 5%;

    top: 14%;

    width: 50px;

    height: 50px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color:
        var(--gold);

    background:
        rgba(244,189,69,0.07);

    border:
        1px solid
        rgba(244,189,69,0.3);

    animation:
        floating 4s ease-in-out infinite;

}


@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* ============================================================
   SCROLL
   ============================================================ */

.scroll-indicator {

    position: absolute;

    z-index: 10;

    left: 50%;

    bottom: 25px;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color:
        #687689;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;

}


.scroll-indicator i {

    color:
        var(--gold);

    animation:
        scroll-bounce 1.8s infinite;

}


@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

}


/* ============================================================
   QUICK BAR
   ============================================================ */

.quick-bar {

    position: relative;

    z-index: 20;

    margin-top: -35px;

}


.quick-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background:
        rgba(7,15,27,0.94);

    border:
        1px solid
        rgba(61,140,255,0.22);

    border-radius:
        18px;

    backdrop-filter:
        blur(15px);

    box-shadow:
        var(--shadow);

    overflow: hidden;

}


.quick-item {

    display: flex;

    align-items: center;

    gap: 13px;

    padding:
        20px;

    border-right:
        1px solid
        var(--border);

}


.quick-item:last-child {

    border-right: 0;

}


.quick-icon {

    min-width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 50%;

}


.quick-icon.blue {

    color:
        var(--blue);

    background:
        rgba(61,140,255,0.08);

}


.quick-icon.gold {

    color:
        var(--gold);

    background:
        rgba(244,189,69,0.08);

}


.quick-icon.red {

    color:
        var(--red);

    background:
        rgba(237,89,101,0.08);

}


.quick-icon.purple {

    color:
        var(--purple);

    background:
        rgba(154,108,255,0.08);

}


.quick-item strong {

    display: block;

    font-size: 9px;

    letter-spacing: 0.5px;

}


.quick-item span {

    display: block;

    margin-top: 4px;

    color:
        var(--text-dark);

    font-size: 8px;

    line-height: 1.4;

}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {

    position: relative;

    padding:
        110px 0;

}


.tournaments-section {

    background:
        linear-gradient(
            180deg,
            var(--navy-950),
            var(--navy-900)
        );

}


.history-section {

    background:
        var(--navy-900);

}


.moments-section {

    background:
        var(--navy-950);

}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.section-heading {

    max-width: 700px;

}


.section-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 15px;

}


.section-label::before {

    content: "";

    width: 25px;

    height: 2px;

    background:
        var(--gold);

}


.section-title {

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size:
        clamp(
            52px,
            7vw,
            82px
        );

    line-height: 0.85;

    text-transform: uppercase;

    letter-spacing: -1px;

}


.section-title span {

    color:
        var(--gold);

}


.section-heading p {

    margin-top: 20px;

    color:
        var(--text);

    font-size: 14px;

    line-height: 1.8;

}


/* ============================================================
   TOURNAMENT GRID
   ============================================================ */

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 55px;
}


/* ============================================================
   TOURNAMENT CARDS
   CLEAN, SINGLE-SOURCE DESIGN
   The cards are identified by position, so the design works
   even if the old tournament-blue / purple / gold classes
   are still present in the HTML.
   ============================================================ */

.tournament-card {
    --card-accent: var(--gold);
    --card-accent-soft: rgba(244,189,69,0.12);
    --card-border: rgba(255,255,255,0.10);
    --card-bg-1: #0b1626;
    --card-bg-2: #060c15;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 480px;
    padding: 30px;

    border: 1px solid var(--card-border);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 88% 8%,
            var(--card-accent-soft),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--card-bg-1),
            var(--card-bg-2)
        );

    box-shadow:
        0 18px 55px rgba(0,0,0,0.18);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Keep decorative layers behind the content */
.tournament-card::before,
.tournament-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.tournament-card > * {
    position: relative;
    z-index: 2;
}

.tournament-card:hover {
    transform: translateY(-7px);
    border-color: color-mix(
        in srgb,
        var(--card-accent) 55%,
        transparent
    );
    box-shadow:
        0 28px 75px rgba(0,0,0,0.35);
}


/* ============================================================
   CARD TOP
   ============================================================ */

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.card-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;

    color: var(--card-accent);
    background: var(--card-accent-soft);

    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.card-number {
    flex-shrink: 0;

    color: rgba(255,255,255,0.10);

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 48px;
    font-weight: 900;
    line-height: 0.8;
}


/* ============================================================
   TROPHY / ICON
   ============================================================ */

.tournament-icon {
    width: 88px;
    height: 88px;

    display: grid;
    place-items: center;

    margin-top: 28px;

    border: 1px solid
        color-mix(
            in srgb,
            var(--card-accent) 32%,
            transparent
        );

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            var(--card-accent-soft),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 15px 38px
        rgba(0,0,0,0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.tournament-icon img {
    width: 70px;
    height: 70px;

    object-fit: contain;

    transition:
        transform 0.35s ease;
}

.tournament-card:hover .tournament-icon {
    transform:
        translateY(-4px)
        scale(1.035);

    box-shadow:
        0 18px 45px
        color-mix(
            in srgb,
            var(--card-accent) 15%,
            transparent
        );
}

.tournament-card:hover .tournament-icon img {
    transform: scale(1.07);
}


/* ============================================================
   CARD CONTENT
   ============================================================ */

.card-content {
    margin-top: 24px;
}

.card-season {
    color: var(--card-accent);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-content h3 {
    max-width: 500px;

    margin-top: 9px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 43px;
    font-weight: 900;
    line-height: 0.88;

    letter-spacing: -0.4px;
    text-transform: uppercase;
}

.card-content h3 span {
    display: block;
    color: var(--card-accent);
}

.card-content p {
    max-width: 550px;
    min-height: 67px;

    margin-top: 17px;

    color: var(--text);

    font-size: 12px;
    line-height: 1.72;
}


/* ============================================================
   CARD META
   ============================================================ */

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;

    padding-top: 17px;
    margin-top: 17px;

    border-top:
        1px solid
        var(--border);
}

.card-meta span {
    color: var(--text-dark);

    font-size: 9px;
    font-weight: 800;
    line-height: 1.4;

    text-transform: uppercase;
}

.card-meta i {
    margin-right: 6px;
    color: var(--card-accent);
}


/* ============================================================
   CARD BUTTON
   ============================================================ */

.card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100%;

    margin-top: 22px;
    padding: 13px 15px;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--card-accent) 25%,
            transparent
        );

    border-radius: 9px;

    color: #fff;
    background: rgba(255,255,255,0.018);

    font-size: 9px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.card-button i {
    flex-shrink: 0;

    color: var(--card-accent);

    transition:
        transform 0.3s ease;
}

.card-button:hover {
    background:
        color-mix(
            in srgb,
            var(--card-accent) 8%,
            transparent
        );

    border-color:
        color-mix(
            in srgb,
            var(--card-accent) 55%,
            transparent
        );
}

.card-button:hover i {
    transform: translateX(5px);
}

.card-button.disabled {
    opacity: 0.48;
    cursor: default;
}

.card-button.disabled:hover {
    background: transparent;
    border-color:
        color-mix(
            in srgb,
            var(--card-accent) 25%,
            transparent
        );
}

.card-button.disabled:hover i {
    transform: none;
}


/* ============================================================
   01 — RSVM PREMIER LEAGUE SEASON 2
   CHAMPIONSHIP / ROYAL BLUE + GOLD
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(1),
.tournament-s2 {
    --card-accent: #f4bd45;
    --card-accent-soft: rgba(244,189,69,0.11);
    --card-border: rgba(61,140,255,0.28);
    --card-bg-1: #0b1b35;
    --card-bg-2: #050914;
}

.tournament-grid > .tournament-card:nth-child(1)::before,
.tournament-s2::before {
    width: 360px;
    height: 360px;

    top: -205px;
    right: -155px;

    border:
        1px solid
        rgba(244,189,69,0.18);

    border-radius: 50%;

    box-shadow:
        0 0 0 24px rgba(244,189,69,0.025),
        0 0 0 55px rgba(61,140,255,0.025),
        0 0 0 90px rgba(61,140,255,0.018);
}

.tournament-grid > .tournament-card:nth-child(1)::after,
.tournament-s2::after {
    width: 500px;
    height: 1px;

    right: -150px;
    bottom: 85px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(244,189,69,0.18),
            transparent
        );

    transform: rotate(-27deg);
}

.tournament-grid > .tournament-card:nth-child(1) .tournament-icon,
.tournament-s2 .tournament-icon {
    border-color:
        rgba(244,189,69,0.38);

    background:
        linear-gradient(
            145deg,
            rgba(244,189,69,0.16),
            rgba(61,140,255,0.08)
        );
}


/* ============================================================
   02 — RSVM PREMIER LEAGUE SEASON 1
   LEGACY / CRIMSON
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(2),
.tournament-s1 {
    --card-accent: #ff6474;
    --card-accent-soft: rgba(224,59,77,0.10);
    --card-border: rgba(224,59,77,0.30);
    --card-bg-1: #230b13;
    --card-bg-2: #09090e;
}

.tournament-grid > .tournament-card:nth-child(2)::before,
.tournament-s1::before {
    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            #ff6878,
            #8d1d2b
        );

    box-shadow:
        0 0 25px
        rgba(255,65,80,0.22);
}

.tournament-grid > .tournament-card:nth-child(2)::after,
.tournament-s1::after {
    content: "S1";

    right: -8px;
    bottom: -62px;

    color:
        rgba(255,255,255,0.025);

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 190px;
    font-weight: 900;
    line-height: 1;

    letter-spacing: -8px;
}

.tournament-grid > .tournament-card:nth-child(2) .tournament-icon,
.tournament-s1 .tournament-icon {
    border-color:
        rgba(255,100,116,0.38);

    background:
        linear-gradient(
            145deg,
            rgba(224,59,77,0.17),
            rgba(255,255,255,0.025)
        );
}


/* ============================================================
   03 — GIRLS PREMIER LEAGUE
   THE RISE / VIOLET + ROSE
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(3),
.tournament-girls {
    --card-accent: #ed83d5;
    --card-accent-soft: rgba(210,75,205,0.10);
    --card-border: rgba(210,75,205,0.28);
    --card-bg-1: #24102c;
    --card-bg-2: #0b0811;
}

.tournament-grid > .tournament-card:nth-child(3)::before,
.tournament-girls::before {
    width: 235px;
    height: 235px;

    top: -118px;
    right: -118px;

    border:
        1px solid
        rgba(239,131,213,0.24);

    transform: rotate(45deg);
}

.tournament-grid > .tournament-card:nth-child(3)::after,
.tournament-girls::after {
    left: -95px;
    bottom: -95px;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,91,155,0.15),
            transparent 65%
        );
}

.tournament-grid > .tournament-card:nth-child(3) .tournament-icon,
.tournament-girls .tournament-icon {
    border-color:
        rgba(229,102,214,0.40);

    background:
        linear-gradient(
            145deg,
            rgba(214,79,207,0.18),
            rgba(244,91,155,0.06)
        );
}


/* ============================================================
   04 — PARENTS PREMIER LEAGUE
   FAMILY CUP / AMBER + ORANGE
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(4),
.tournament-ppl {
    --card-accent: #ffc45b;
    --card-accent-soft: rgba(255,151,43,0.11);
    --card-border: rgba(255,151,43,0.30);
    --card-bg-1: #2a1809;
    --card-bg-2: #0d0b09;
}

.tournament-grid > .tournament-card:nth-child(4)::before,
.tournament-ppl::before {
    top: 0;
    left: 0;
    right: 0;

    width: auto;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #ff8b20,
            #ffd15c,
            #ff8b20
        );

    box-shadow:
        0 0 22px
        rgba(255,151,43,0.20);
}

.tournament-grid > .tournament-card:nth-child(4)::after,
.tournament-ppl::after {
    right: -145px;
    bottom: -145px;

    width: 310px;
    height: 310px;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(255,177,61,0.075) 0deg 9deg,
            transparent 9deg 18deg
        );
}

.tournament-grid > .tournament-card:nth-child(4) .tournament-icon,
.tournament-ppl .tournament-icon {
    border-color:
        rgba(255,177,65,0.42);

    background:
        linear-gradient(
            145deg,
            rgba(255,147,42,0.19),
            rgba(255,202,92,0.06)
        );
}


/* ============================================================
   05 — SCHOOL CHAMPIONSHIP
   NEXT GENERATION / ICE BLUE
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(5),
.tournament-school {
    --card-accent: #7eddf4;
    --card-accent-soft: rgba(74,190,231,0.09);
    --card-border: rgba(74,190,231,0.30);
    --card-bg-1: #102938;
    --card-bg-2: #07131d;
}

.tournament-grid > .tournament-card:nth-child(5)::before,
.tournament-school::before {
    inset: 0;

    width: auto;
    height: auto;

    background-image:
        linear-gradient(
            rgba(115,210,240,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(115,210,240,0.035) 1px,
            transparent 1px
        );

    background-size: 34px 34px;

    mask-image:
        linear-gradient(
            135deg,
            #000,
            transparent 80%
        );
}

.tournament-grid > .tournament-card:nth-child(5)::after,
.tournament-school::after {
    width: 280px;
    height: 280px;

    top: -105px;
    right: -105px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(91,204,242,0.18),
            transparent 65%
        );
}

.tournament-grid > .tournament-card:nth-child(5) .tournament-icon,
.tournament-school .tournament-icon {
    border-color:
        rgba(91,204,242,0.42);

    background:
        rgba(78,192,235,0.08);
}


/* ============================================================
   06 — RSVM PREMIER LEAGUE SEASON 3
   THE FUTURE / CYAN
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(6),
.tournament-s3 {
    --card-accent: #4ce2e6;
    --card-accent-soft: rgba(0,207,213,0.09);
    --card-border: rgba(0,207,213,0.31);
    --card-bg-1: #061d2a;
    --card-bg-2: #040a12;
}

.tournament-grid > .tournament-card:nth-child(6)::before,
.tournament-s3::before {
    top: 0;
    right: 0;

    width: 145px;
    height: 145px;

    border-top:
        2px solid
        rgba(0,222,229,0.48);

    border-right:
        2px solid
        rgba(0,222,229,0.48);
}

.tournament-grid > .tournament-card:nth-child(6)::after,
.tournament-s3::after {
    left: 0;
    bottom: 0;

    width: 100%;
    height: 125px;

    background:
        linear-gradient(
            135deg,
            transparent 25%,
            rgba(0,210,220,0.06)
        );

    clip-path:
        polygon(
            0 100%,
            100% 25%,
            100% 100%
        );
}

.tournament-grid > .tournament-card:nth-child(6) .tournament-icon,
.tournament-s3 .tournament-icon {
    border-color:
        rgba(0,207,213,0.42);

    background:
        linear-gradient(
            145deg,
            rgba(0,207,213,0.15),
            rgba(36,92,170,0.07)
        );
}


/* ============================================================
   STATUS VARIATIONS
   ============================================================ */

.tournament-grid > .tournament-card:nth-child(1) .card-status,
.tournament-grid > .tournament-card:nth-child(2) .card-status,
.tournament-grid > .tournament-card:nth-child(3) .card-status,
.tournament-grid > .tournament-card:nth-child(4) .card-status,
.tournament-grid > .tournament-card:nth-child(5) .card-status,
.tournament-grid > .tournament-card:nth-child(6) .card-status {
    color: var(--card-accent);
    background: var(--card-accent-soft);
    border-color:
        color-mix(
            in srgb,
            var(--card-accent) 30%,
            transparent
        );
}


/* ============================================================
   ACCESSIBILITY / SAFETY
   ============================================================ */

.tournament-card:focus-within {
    outline:
        2px solid
        color-mix(
            in srgb,
            var(--card-accent) 70%,
            transparent
        );

    outline-offset: 3px;
}


/* ============================================================
   CARD RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .tournament-grid {
        gap: 18px;
    }

    .tournament-card {
        min-height: 500px;
        padding: 25px;
    }

    .card-content h3 {
        font-size: 38px;
    }

}


@media (max-width: 600px) {

    .tournament-card {
        min-height: 0;
        padding: 23px;
        border-radius: 20px;
    }

    .card-number {
        font-size: 42px;
    }

    .tournament-icon {
        width: 76px;
        height: 76px;
        margin-top: 23px;
        border-radius: 18px;
    }

    .tournament-icon img {
        width: 61px;
        height: 61px;
    }

    .card-content {
        margin-top: 20px;
    }

    .card-content h3 {
        font-size: 36px;
    }

    .card-content p {
        min-height: 0;
        font-size: 11px;
    }

    .card-meta {
        gap: 10px 16px;
    }

    .card-button {
        margin-top: 18px;
    }

}
   /*CHAMPION============================================================ */

.champion-section {

    padding-top: 35px;

}


.champion-box {

    position: relative;

    overflow: hidden;

    padding:
        65px;

    border:
        1px solid
        rgba(244,189,69,0.2);

    border-radius:
        30px;

    background:

        radial-gradient(
            circle at 80% 40%,
            rgba(244,189,69,0.12),
            transparent 30%
        ),

        linear-gradient(
            120deg,
            #0b1727,
            #050a12
        );

}


.champion-bg-text {

    position: absolute;

    right: -50px;

    bottom: -65px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 180px;

    font-weight: 900;

    color:
        rgba(255,255,255,0.025);

    pointer-events: none;

}


.champion-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    align-items: center;

    gap: 60px;

}


.champion-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

}


.champion-tournament {

    margin-top: 12px;

    color:
        var(--text-dark);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.champion-content h2 {

    margin-top: 18px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size:
        clamp(
            65px,
            8vw,
            105px
        );

    line-height: 0.8;

    text-transform: uppercase;

}


.champion-content h2 span {

    display: block;

    color:
        var(--gold);

}


.champion-content p {

    max-width: 650px;

    margin-top: 22px;

    color:
        var(--text);

    font-size: 13px;

    line-height: 1.8;

}


.final-match {

    display: grid;

    grid-template-columns:
        1fr
        70px
        1fr;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

}


.final-team {

    padding:
        18px 10px;

    text-align: center;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background:
        rgba(255,255,255,0.025);

}


.final-team.winner {

    border-color:
        rgba(244,189,69,0.35);

    background:
        rgba(244,189,69,0.045);

}


.team-symbol {

    font-size: 32px;

}


.final-team strong {

    display: block;

    margin-top: 7px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 20px;

    text-transform: uppercase;

}


.final-team span {

    display: block;

    margin-top: 3px;

    color:
        var(--text-dark);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1px;

}


.final-team.winner span {

    color:
        var(--gold);

}


.final-vs {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    color:
        var(--gold);

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 23px;

    font-weight: 900;

}


.final-vs small {

    color:
        var(--text-dark);

    font-family:
        "Inter",
        sans-serif;

    font-size: 7px;

    letter-spacing: 1px;

}


.champion-btn {

    margin-top: 25px;

}


.champion-trophy {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}


.trophy-ring {

    width: 260px;

    height: 260px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color:
        var(--gold);

    font-size: 105px;

    background:
        radial-gradient(
            circle,
            rgba(244,189,69,0.13),
            rgba(244,189,69,0.02)
        );

    border:
        1px solid
        rgba(244,189,69,0.35);

    box-shadow:
        0 0 80px
        rgba(244,189,69,0.1);

    animation:
        floating 4s ease-in-out infinite;

}


.champion-stars {

    display: flex;

    gap: 15px;

    margin-top: 22px;

    color:
        var(--gold);

}


/* ============================================================
   HISTORY
   ============================================================ */

.history-table {

    margin-top: 50px;

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    overflow: hidden;

}


.history-header,
.history-row {

    display: grid;

    grid-template-columns:
        90px
        1fr
        160px
        220px;

    align-items: center;

    gap: 20px;

}


.history-header {

    padding:
        15px 20px;

    background:
        rgba(255,255,255,0.025);

    color:
        var(--text-dark);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.history-row {

    padding:
        22px 20px;

    border-top:
        1px solid
        var(--border);

    transition:
        0.25s ease;

}


.history-row:hover {

    background:
        rgba(255,255,255,0.025);

}


.history-year {

    color:
        var(--text-dark);

    font-size: 11px;

    font-weight: 800;

}


.history-name {

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 23px;

    text-transform: uppercase;

}


.history-season {

    color:
        var(--text-dark);

    font-size: 9px;

    text-transform: uppercase;

}


.history-winner {

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    text-align: right;

}


.history-winner.pending {

    color:
        var(--text-dark);

}


/* ============================================================
   MOMENTS
   ============================================================ */

.moments-grid {

    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr;

    grid-template-rows:
        220px
        220px;

    gap: 15px;

    margin-top: 50px;

}


.moment {

    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    background:
        var(--navy-800);

}


.moment-large {

    grid-row:
        span 2;

}


.moment-bg {

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    font-size: 95px;

    opacity: 0.22;

    transition:
        0.5s ease;

}


.moment:hover .moment-bg {

    transform:
        scale(1.12);

    opacity: 0.3;

}


.stadium-bg {

    background:
        radial-gradient(
            circle,
            #27436b,
            #07101c
        );

}


.blue-bg {

    background:
        radial-gradient(
            circle,
            #164b92,
            #07101c
        );

}


.gold-bg {

    background:
        radial-gradient(
            circle,
            #8a6019,
            #07101c
        );

}


.red-bg {

    background:
        radial-gradient(
            circle,
            #742b36,
            #07101c
        );

}


.purple-bg {

    background:
        radial-gradient(
            circle,
            #4e338b,
            #07101c
        );

}


.moment-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 20%,
            rgba(2,5,11,0.9)
        );

}


.moment-content {

    position: absolute;

    z-index: 3;

    left: 20px;

    right: 20px;

    bottom: 20px;

}


.moment-content span {

    color:
        var(--gold);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.moment-content strong {

    display: block;

    margin-top: 5px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 30px;

    line-height: 0.9;

    text-transform: uppercase;

}


/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {

    position: relative;

    padding:
        120px 0;

    overflow: hidden;

    text-align: center;

    background:

        radial-gradient(
            circle at center,
            rgba(244,189,69,0.1),
            transparent 40%
        ),

        var(--navy-950);

}


.final-cta-inner {

    max-width: 800px;

    margin:
        0 auto;

}


.final-cta-label {

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;

}


.final-cta h2 {

    margin-top: 18px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size:
        clamp(
            60px,
            9vw,
            110px
        );

    line-height: 0.8;

    text-transform: uppercase;

}


.final-cta h2 span {

    display: block;

    color:
        var(--gold);

}


.final-cta p {

    max-width: 600px;

    margin:
        25px auto 30px;

    color:
        var(--text);

    font-size: 13px;

    line-height: 1.8;

}


/* ============================================================
   FOOTER
   ============================================================ */

footer {

    padding:
        35px 0;

    background:
        #02040a;

    border-top:
        1px solid
        var(--border);

}


.footer-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 13px;

}


.footer-logo {

    width: 45px;

    height: 45px;

    padding: 3px;

    border:
        1px solid
        rgba(244,189,69,0.4);

    border-radius: 50%;

}


.footer-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.footer-brand strong {

    display: block;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 21px;

}


.footer-brand span {

    display: block;

    margin-top: 3px;

    color:
        var(--text-dark);

    font-size: 9px;

}


.footer-brand small {

    display: block;

    margin-top: 4px;

    color:
        #536071;

    font-size: 8px;

}


.footer-socials {

    display: flex;

    gap: 9px;

}


.footer-socials a {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    color:
        var(--text-dark);

    transition:
        0.3s ease;

}


.footer-socials a:hover {

    color:
        var(--gold);

    border-color:
        rgba(244,189,69,0.4);

    transform:
        translateY(-3px);

}


/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}


.reveal.active {

    opacity: 1;

    transform:
        translateY(0);

}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {


    .hero-container {

        grid-template-columns:
            1fr;

        padding-top: 130px;

    }


    .hero {

        min-height:
            auto;

        padding-bottom:
            120px;

    }


    .hero-logo-area {

        min-height:
            500px;

    }


    .hero-logo-area {

        order: -1;

    }


    .hero-content {

        padding-top: 0;

    }


    .quick-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .quick-item:nth-child(2) {

        border-right: 0;

    }


    .quick-item:nth-child(-n+2) {

        border-bottom:
            1px solid
            var(--border);

    }


    .champion-grid {

        grid-template-columns:
            1fr;

    }


    .champion-trophy {

        display: none;

    }

}


@media (max-width: 800px) {


    .desktop-nav,
    .nav-cta {

        display: none;

    }


    .mobile-menu-btn {

        display: block;

    }


    .mobile-menu {

        position: absolute;

        left: 15px;

        right: 15px;

        top: 75px;

        padding:
            15px;

        border:
            1px solid
            var(--border);

        border-radius:
            15px;

        background:
            rgba(4,8,15,0.98);

        backdrop-filter:
            blur(20px);

        box-shadow:
            var(--shadow);

    }


    .mobile-menu.open {

        display: flex;

        flex-direction: column;

    }


    .mobile-menu a {

        padding:
            14px;

        border-bottom:
            1px solid
            var(--border);

        color:
            var(--text);

        font-size: 11px;

        font-weight: 800;

        text-transform: uppercase;

        letter-spacing: 1px;

    }


    .mobile-menu a:last-child {

        border-bottom: 0;

    }


    .mobile-menu a:hover {

        color:
            var(--gold);

    }


    .tournament-grid {

        grid-template-columns:
            1fr;

    }


    .moments-grid {

        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            200px 180px 180px;

    }


    .moment-large {

        grid-column:
            span 2;

        grid-row:
            auto;

    }


    .history-header {

        display: none;

    }


    .history-row {

        grid-template-columns:
            60px
            1fr
            130px;

    }


    .history-season {

        display: none;

    }

}


@media (max-width: 600px) {


    .container {

        width:
            calc(100% - 28px);

    }


    .hero {

        padding-bottom:
            100px;

    }


    .hero-container {

        padding-top:
            115px;

    }


    .hero-title {

        font-size:
            clamp(
                72px,
                20vw,
                105px
            );

        letter-spacing:
            -2px;

    }


    .hero-description {

        font-size:
            13px;

    }


    .hero-accent {

        font-size:
            8px;

        line-height:
            1.5;

    }


    .hero-stats {

        grid-template-columns:
            repeat(2, 1fr);

        row-gap:
            22px;

    }


    .hero-stat:nth-child(2) {

        border-right:
            0;

    }


    .hero-stat:nth-child(3),
    .hero-stat:nth-child(4) {

        padding-top:
            5px;

    }


    .hero-logo-area {

        min-height:
            400px;

    }


    .school-logo-wrap {

        width:
            245px;

        height:
            245px;

    }


    .logo-ring.ring-one {

        width:
            330px;

        height:
            330px;

    }


    .logo-ring.ring-two {

        width:
            290px;

        height:
            290px;

    }


    .logo-ring.ring-three {

        width:
            260px;

        height:
            260px;

    }


    .school-motto {

        font-size:
            16px;

    }


    .floating-trophy {

        right:
            2%;

        top:
            7%;

    }


    .quick-grid {

        grid-template-columns:
            1fr;

    }


    .quick-item {

        border-right:
            0;

        border-bottom:
            1px solid
            var(--border);

    }


    .quick-item:last-child {

        border-bottom:
            0;

    }


    .section {

        padding:
            80px 0;

    }


    .section-title {

        font-size:
            55px;

    }


    .tournament-card {

        min-height:
            auto;

        padding:
            23px;

    }


    .card-content h3 {

        font-size:
            38px;

    }


    .champion-box {

        padding:
            35px 20px;

    }


    .champion-content h2 {

        font-size:
            70px;

    }


    .final-match {

        grid-template-columns:
            1fr;

        gap:
            8px;

    }


    .final-vs {

        flex-direction:
            row;

        justify-content:
            center;

        gap:
            5px;

    }


    .moments-grid {

        grid-template-columns:
            1fr;

        grid-template-rows:
            repeat(4, 180px);

    }


    .moment-large {

        grid-column:
            auto;

    }


    .history-row {

        grid-template-columns:
            45px
            1fr;

        gap:
            10px;

    }


    .history-winner {

        grid-column:
            2;

        text-align:
            left;

        margin-top:
            -5px;

    }


    .footer-inner {

        flex-direction:
            column;

        align-items:
            flex-start;

    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            0.01ms !important;

    }

}

/* ============================================================
   PREVIOUS TOURNAMENT CARD ENHANCEMENTS
   ============================================================ */

/* ============================================================
   FINAL VISUAL OVERRIDES — MAKE CARDS 05 & 06 TRULY DIFFERENT
   ============================================================ */

/* ------------------------------------------------------------
   05 — SCHOOL CHAMPIONSHIP
   DESIGN: SCHOOL / YEARBOOK / CHAMPIONSHIP BADGE
   ------------------------------------------------------------ */
.tournament-grid > .tournament-card:nth-child(5),
.tournament-school {
    --card-accent: #7fe3ff;
    --card-accent-2: #dff8ff;
    --card-border: rgba(127,227,255,0.34);
    --card-bg-1: #102f3d;
    --card-bg-2: #081720;
    min-height: 590px;
    background:
        linear-gradient(135deg, rgba(127,227,255,0.10), transparent 38%),
        linear-gradient(180deg, var(--card-bg-1), var(--card-bg-2));
    border-radius: 30px;
}

/* Academic left rail */
.tournament-grid > .tournament-card:nth-child(5)::before,
.tournament-school::before {
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, #dff8ff 0%, #7fe3ff 48%, #2b9fca 100%);
    opacity: 0.9;
    box-shadow: 8px 0 30px rgba(127,227,255,0.12);
    mask-image: none;
    border-radius: 30px 0 0 30px;
}

/* Yearbook/grid texture + large seal */
.tournament-grid > .tournament-card:nth-child(5)::after,
.tournament-school::after {
    top: 36px;
    right: 28px;
    bottom: auto;
    left: auto;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(223,248,255,0.11);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(127,227,255,0.08) 0 32%, transparent 33%),
        repeating-conic-gradient(from 0deg, rgba(127,227,255,0.09) 0deg 3deg, transparent 3deg 12deg);
    box-shadow:
        0 0 0 16px rgba(127,227,255,0.025),
        0 0 0 34px rgba(127,227,255,0.018);
    opacity: 0.85;
}

.tournament-grid > .tournament-card:nth-child(5) .card-top,
.tournament-school .card-top {
    position: relative;
    z-index: 3;
}

.tournament-grid > .tournament-card:nth-child(5) .card-status,
.tournament-school .card-status {
    border-radius: 5px;
    padding: 8px 13px;
    letter-spacing: 1.6px;
    background: rgba(223,248,255,0.08);
    border-color: rgba(223,248,255,0.28);
}

/* School badge — square, not the generic rounded icon */
.tournament-grid > .tournament-card:nth-child(5) .tournament-icon,
.tournament-school .tournament-icon {
    width: 112px;
    height: 112px;
    margin-top: 32px;
    border-radius: 50%;
    border: 2px solid rgba(223,248,255,0.55);
    background:
        radial-gradient(circle, rgba(223,248,255,0.13), rgba(127,227,255,0.035) 62%, transparent 63%),
        rgba(4,18,27,0.55);
    box-shadow:
        0 0 0 7px rgba(127,227,255,0.035),
        inset 0 0 25px rgba(127,227,255,0.08);
}

.tournament-grid > .tournament-card:nth-child(5) .tournament-icon img,
.tournament-school .tournament-icon img {
    width: 64px;
    height: 64px;
}

.tournament-grid > .tournament-card:nth-child(5) .card-content,
.tournament-school .card-content {
    position: relative;
    z-index: 3;
    margin-top: 27px;
    padding-left: 17px;
    border-left: 2px solid rgba(127,227,255,0.20);
}

.tournament-grid > .tournament-card:nth-child(5) .card-season,
.tournament-school .card-season {
    color: #dff8ff;
}

.tournament-grid > .tournament-card:nth-child(5) .card-content h3,
.tournament-school .card-content h3 {
    font-size: 47px;
    line-height: 0.91;
    letter-spacing: -0.8px;
}

.tournament-grid > .tournament-card:nth-child(5) .card-content h3 span,
.tournament-school .card-content h3 span {
    color: #dff8ff;
    text-shadow: 0 0 22px rgba(127,227,255,0.18);
}

.tournament-grid > .tournament-card:nth-child(5) .card-meta,
.tournament-school .card-meta {
    border-top: 0;
    border-bottom: 1px solid rgba(223,248,255,0.10);
    padding-top: 12px;
    padding-bottom: 13px;
}

.tournament-grid > .tournament-card:nth-child(5) .card-button,
.tournament-school .card-button {
    border-radius: 4px;
    background: rgba(127,227,255,0.06);
    border-color: rgba(127,227,255,0.32);
}

/* ------------------------------------------------------------
   06 — RSVM PREMIER LEAGUE SEASON 3
   DESIGN: FUTURISTIC / BROADCAST / NEON ARENA
   ------------------------------------------------------------ */
.tournament-grid > .tournament-card:nth-child(6),
.tournament-s3 {
    --card-accent: #32f0e8;
    --card-accent-2: #2878ff;
    --card-border: rgba(50,240,232,0.40);
    --card-bg-1: #04141c;
    --card-bg-2: #02070c;
    min-height: 590px;
    border-radius: 14px;
    background:
        linear-gradient(118deg, transparent 0 54%, rgba(40,120,255,0.08) 54.2%, transparent 74%),
        linear-gradient(180deg, #061d27 0%, #02080d 72%);
    box-shadow:
        inset 0 0 0 1px rgba(50,240,232,0.035),
        0 25px 60px rgba(0,0,0,0.24);
}

/* Futuristic corner frame */
.tournament-grid > .tournament-card:nth-child(6)::before,
.tournament-s3::before {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    width: 180px;
    height: 180px;
    border: 0;
    border-top: 2px solid rgba(50,240,232,0.82);
    border-right: 2px solid rgba(50,240,232,0.82);
    background: linear-gradient(135deg, rgba(50,240,232,0.12), transparent 55%);
    clip-path: polygon(25% 0,100% 0,100% 100%,92% 100%,92% 10%,25% 10%);
}

/* Diagonal arena beam */
.tournament-grid > .tournament-card:nth-child(6)::after,
.tournament-s3::after {
    left: -40px;
    right: -40px;
    bottom: 56px;
    top: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #32f0e8 30%, #2878ff 70%, transparent);
    box-shadow: 0 0 18px rgba(50,240,232,0.35);
    transform: rotate(-8deg);
    clip-path: none;
}

.tournament-grid > .tournament-card:nth-child(6) .card-top,
.tournament-s3 .card-top {
    position: relative;
    z-index: 4;
}

.tournament-grid > .tournament-card:nth-child(6) .card-status,
.tournament-s3 .card-status {
    border-radius: 999px;
    padding: 8px 14px;
    background: transparent;
    border-color: rgba(50,240,232,0.48);
    box-shadow: inset 0 0 15px rgba(50,240,232,0.04);
}

/* S3 icon becomes a futuristic viewport */
.tournament-grid > .tournament-card:nth-child(6) .tournament-icon,
.tournament-s3 .tournament-icon {
    width: 110px;
    height: 110px;
    margin-top: 32px;
    border-radius: 12px;
    border: 1px solid rgba(50,240,232,0.55);
    background:
        linear-gradient(135deg, rgba(50,240,232,0.12), rgba(40,120,255,0.07)),
        #06141c;
    box-shadow:
        inset 0 0 25px rgba(50,240,232,0.08),
        0 0 35px rgba(50,240,232,0.07);
    transform: skewX(-4deg);
}

.tournament-grid > .tournament-card:nth-child(6) .tournament-icon img,
.tournament-s3 .tournament-icon img {
    transform: skewX(4deg);
}

.tournament-grid > .tournament-card:nth-child(6) .card-content,
.tournament-s3 .card-content {
    position: relative;
    z-index: 4;
    margin-top: 27px;
}

.tournament-grid > .tournament-card:nth-child(6) .card-season,
.tournament-s3 .card-season {
    color: #32f0e8;
}

.tournament-grid > .tournament-card:nth-child(6) .card-content h3,
.tournament-s3 .card-content h3 {
    font-size: 49px;
    line-height: 0.87;
    letter-spacing: -1.1px;
    text-shadow: 0 4px 0 rgba(50,240,232,0.035);
}

.tournament-grid > .tournament-card:nth-child(6) .card-content h3 span,
.tournament-s3 .card-content h3 span {
    color: #32f0e8;
    background: linear-gradient(90deg, #32f0e8, #2878ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tournament-grid > .tournament-card:nth-child(6) .card-meta,
.tournament-s3 .card-meta {
    border-top: 1px solid rgba(50,240,232,0.12);
    border-bottom: 0;
    padding-top: 18px;
}

.tournament-grid > .tournament-card:nth-child(6) .card-button,
.tournament-s3 .card-button {
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(50,240,232,0.08), rgba(40,120,255,0.05));
    border-color: rgba(50,240,232,0.36);
}

/* Distinct hover language */
.tournament-grid > .tournament-card:nth-child(5):hover {
    transform: translateY(-8px) rotate(-0.35deg);
    border-color: rgba(223,248,255,0.55);
}

.tournament-grid > .tournament-card:nth-child(6):hover {
    transform: translateY(-8px) skewX(-0.25deg);
    border-color: rgba(50,240,232,0.72);
    box-shadow:
        inset 0 0 0 1px rgba(50,240,232,0.06),
        0 0 35px rgba(50,240,232,0.09),
        0 25px 60px rgba(0,0,0,0.28);
}

@media (max-width: 900px) {
    .tournament-grid > .tournament-card:nth-child(5),
    .tournament-grid > .tournament-card:nth-child(6),
    .tournament-school,
    .tournament-s3 {
        min-height: 500px;
    }

    .tournament-grid > .tournament-card:nth-child(5) .card-content h3,
    .tournament-school .card-content h3,
    .tournament-grid > .tournament-card:nth-child(6) .card-content h3,
    .tournament-s3 .card-content h3 {
        font-size: 38px;
    }
}

@media (max-width: 600px) {
    .tournament-grid > .tournament-card:nth-child(5),
    .tournament-grid > .tournament-card:nth-child(6),
    .tournament-school,
    .tournament-s3 {
        min-height: 0;
    }

    .tournament-grid > .tournament-card:nth-child(5) .tournament-icon,
    .tournament-school .tournament-icon,
    .tournament-grid > .tournament-card:nth-child(6) .tournament-icon,
    .tournament-s3 .tournament-icon {
        width: 86px;
        height: 86px;
        margin-top: 23px;
    }

    .tournament-grid > .tournament-card:nth-child(5) .tournament-icon img,
    .tournament-school .tournament-icon img,
    .tournament-grid > .tournament-card:nth-child(6) .tournament-icon img,
    .tournament-s3 .tournament-icon img {
        width: 55px;
        height: 55px;
    }

    .tournament-grid > .tournament-card:nth-child(5) .card-content,
    .tournament-school .card-content {
        padding-left: 12px;
    }

    .tournament-grid > .tournament-card:nth-child(5)::after,
    .tournament-school::after {
        width: 130px;
        height: 130px;
        top: 28px;
        right: 18px;
    }

    .tournament-grid > .tournament-card:nth-child(6)::before,
    .tournament-s3::before {
        width: 110px;
        height: 110px;
    }
}

/* ============================================================
   CARD 02 — RSVM PREMIER LEAGUE S1
   CRIMSON SCOREBOARD DESIGN
   ============================================================ */

.tournament-card.tournament-s1 {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(255, 35, 65, 0.16) 0 8px,
            transparent 8px
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 40, 70, 0.28),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #300914 0%,
            #16090e 48%,
            #05070b 100%
        ) !important;

    border: 1px solid rgba(255, 55, 80, 0.55) !important;

    box-shadow:
        inset 8px 0 0 #ff304f,
        inset 0 0 50px rgba(255, 30, 60, 0.08),
        0 25px 70px rgba(0, 0, 0, 0.45) !important;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

/* Giant S1 background */
.tournament-card.tournament-s1::before {
    content: "S1";

    position: absolute;
    right: -25px;
    top: 35px;

    width: 260px;
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 210px;
    font-weight: 900;
    line-height: 1;

    color: rgba(255, 50, 75, 0.055);

    border: 1px solid rgba(255, 50, 75, 0.13);
    border-radius: 50%;

    transform: rotate(-12deg);

    pointer-events: none;
}

/* Diagonal score lines */
.tournament-card.tournament-s1::after {
    content: "";

    position: absolute;
    right: -80px;
    bottom: 95px;

    width: 480px;
    height: 80px;

    background:
        repeating-linear-gradient(
            -35deg,
            transparent 0 10px,
            rgba(255, 50, 75, 0.08) 11px 13px
        );

    transform: rotate(-8deg);

    pointer-events: none;
}

/* Keep content above decoration */
.tournament-card.tournament-s1 > * {
    position: relative;
    z-index: 5;
}

/* Number */
.tournament-card.tournament-s1 .card-number {
    color: rgba(255, 80, 100, 0.20);
}

/* Status */
.tournament-card.tournament-s1 .card-status {
    color: #ff6b7d;

    border-color: rgba(255, 65, 90, 0.55);

    background:
        rgba(255, 45, 70, 0.10);

    box-shadow:
        0 0 20px rgba(255, 40, 65, 0.08);
}

/* Trophy frame */
.tournament-card.tournament-s1 .tournament-icon {
    width: 112px;
    height: 112px;

    border-radius: 12px;

    border: 2px solid rgba(255, 70, 90, 0.65);

    background:
        linear-gradient(
            145deg,
            rgba(255, 55, 80, 0.18),
            rgba(50, 5, 15, 0.45)
        );

    box-shadow:
        inset 0 0 25px rgba(255, 40, 70, 0.15),
        0 0 0 6px rgba(255, 50, 75, 0.035),
        0 0 35px rgba(255, 40, 70, 0.12);

    transform: rotate(-3deg);
}

.tournament-card.tournament-s1 .tournament-icon img {
    transform: rotate(3deg);
}

/* Left content rail */
.tournament-card.tournament-s1 .card-content {
    padding-left: 20px;

    border-left: 3px solid rgba(255, 50, 75, 0.45);
}

/* Season */
.tournament-card.tournament-s1 .card-season {
    color: #ff7080;
}

/* Main title */
.tournament-card.tournament-s1 .card-content h3 span {
    color: #ff405c;

    text-shadow:
        0 0 25px rgba(255, 40, 65, 0.28);
}

/* Meta */
.tournament-card.tournament-s1 .card-meta {
    border-top-color: rgba(255, 55, 80, 0.18);
}

.tournament-card.tournament-s1 .card-meta i {
    color: #ff5068;
}

/* Button */
.tournament-card.tournament-s1 .card-button {
    border-color: rgba(255, 60, 85, 0.42);

    background:
        linear-gradient(
            90deg,
            rgba(255, 45, 70, 0.12),
            rgba(255, 45, 70, 0.025)
        );

    border-radius: 5px;
}

.tournament-card.tournament-s1 .card-button i {
    color: #ff5068;
}

/* Hover */
.tournament-card.tournament-s1:hover {
    transform: translateY(-10px);

    border-color: rgba(255, 65, 90, 0.90) !important;

    box-shadow:
        inset 8px 0 0 #ff304f,
        inset 0 0 60px rgba(255, 30, 60, 0.10),
        0 30px 80px rgba(0, 0, 0, 0.50),
        0 0 55px rgba(255, 35, 65, 0.22) !important;
}

.tournament-card.tournament-s1:hover .tournament-icon {
    transform: rotate(-3deg) scale(1.05);

    box-shadow:
        inset 0 0 30px rgba(255, 40, 70, 0.18),
        0 0 45px rgba(255, 40, 70, 0.22);
}


/* ============================================================
   CARD 03 — RSVM GIRLS PREMIER LEAGUE
   VIOLET / PINK GEOMETRIC DESIGN
   ============================================================ */

.tournament-card.tournament-girls {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(255, 70, 190, 0.24),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            rgba(170, 70, 255, 0.12),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #270b32 0%,
            #13091c 48%,
            #06070c 100%
        ) !important;

    border: 1px solid rgba(221, 95, 220, 0.55) !important;

    box-shadow:
        inset 0 0 60px rgba(200, 60, 230, 0.06),
        0 25px 70px rgba(0, 0, 0, 0.42) !important;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

/* Huge diagonal pink shape */
.tournament-card.tournament-girls::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -125px;
    top: -120px;

    border: 2px solid rgba(255, 105, 205, 0.30);

    background:
        linear-gradient(
            135deg,
            rgba(255, 80, 190, 0.16),
            transparent 60%
        );

    transform: rotate(45deg);

    box-shadow:
        inset 0 0 50px rgba(255, 80, 190, 0.08);

    pointer-events: none;
}

/* Large violet circle */
.tournament-card.tournament-girls::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -145px;
    bottom: -170px;

    border-radius: 50%;

    border: 2px solid rgba(160, 90, 255, 0.28);

    background:
        radial-gradient(
            circle,
            rgba(255, 70, 190, 0.16),
            rgba(150, 70, 255, 0.06) 45%,
            transparent 70%
        );

    box-shadow:
        0 0 0 20px rgba(220, 80, 240, 0.025),
        0 0 0 45px rgba(220, 80, 240, 0.018);

    pointer-events: none;
}

/* Content above geometry */
.tournament-card.tournament-girls > * {
    position: relative;
    z-index: 5;
}

/* Number */
.tournament-card.tournament-girls .card-number {
    color: rgba(235, 110, 235, 0.20);
}

/* Status becomes unique */
.tournament-card.tournament-girls .card-status {
    color: #ff9cdf;

    border-color: rgba(255, 105, 205, 0.55);

    background:
        rgba(255, 80, 190, 0.09);

    border-radius: 6px 22px 6px 22px;

    box-shadow:
        0 0 25px rgba(255, 70, 190, 0.08);
}

/* Girls trophy */
.tournament-card.tournament-girls .tournament-icon {
    width: 112px;
    height: 112px;

    border-radius: 50%;

    border: 2px solid rgba(255, 115, 210, 0.62);

    background:
        radial-gradient(
            circle,
            rgba(255, 110, 210, 0.17),
            rgba(145, 65, 255, 0.08) 55%,
            transparent 70%
        );

    box-shadow:
        0 0 0 7px rgba(255, 100, 205, 0.035),
        inset 0 0 30px rgba(255, 80, 190, 0.14),
        0 0 40px rgba(210, 70, 255, 0.15);

    transform: rotate(4deg);
}

.tournament-card.tournament-girls .tournament-icon img {
    transform: rotate(-4deg);
}

/* Season */
.tournament-card.tournament-girls .card-season {
    color: #ff9cdf;
}

/* Title */
.tournament-card.tournament-girls .card-content h3 span {
    color: #ed7fff;

    text-shadow:
        0 0 22px rgba(230, 80, 255, 0.28);
}

/* Meta */
.tournament-card.tournament-girls .card-meta {
    border-top-color: rgba(255, 105, 210, 0.18);
}

.tournament-card.tournament-girls .card-meta i {
    color: #f184df;
}

/* Button */
.tournament-card.tournament-girls .card-button {
    border-radius: 18px 5px 18px 5px;

    border-color: rgba(255, 105, 210, 0.45);

    background:
        linear-gradient(
            90deg,
            rgba(255, 80, 190, 0.12),
            rgba(150, 70, 255, 0.06)
        );
}

.tournament-card.tournament-girls .card-button i {
    color: #ff8ddd;
}

/* Hover */
.tournament-card.tournament-girls:hover {
    transform: translateY(-10px) rotate(0.4deg);

    border-color: rgba(255, 120, 220, 0.90) !important;

    box-shadow:
        0 30px 85px rgba(0, 0, 0, 0.50),
        0 0 60px rgba(215, 65, 255, 0.24),
        inset 0 0 60px rgba(255, 70, 200, 0.08) !important;
}

.tournament-card.tournament-girls:hover .tournament-icon {
    transform: rotate(4deg) scale(1.06);

    box-shadow:
        0 0 0 7px rgba(255, 100, 205, 0.04),
        inset 0 0 35px rgba(255, 80, 190, 0.18),
        0 0 55px rgba(220, 70, 255, 0.25);
}

/* ============================================================
   ENHANCED HALL OF CHAMPIONS
   ============================================================ */

/* ============================================================
   HALL OF CHAMPIONS
   PREMIUM CHAMPIONS SHOWCASE
   ============================================================ */

.history-section {
    position: relative;
    overflow: hidden;
}


/* ------------------------------------------------------------
   SECTION HEADING
   ------------------------------------------------------------ */

.history-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.history-label span {
    width: 32px;
    height: 3px;
    display: inline-block;

    background: #f5bd3f;

    box-shadow:
        0 0 15px rgba(245, 189, 63, 0.55);
}

.history-title span {
    position: relative;
}

.history-title span i {
    margin-left: 12px;

    color: #f5bd3f;

    font-size: 0.65em;

    filter:
        drop-shadow(0 0 14px rgba(245, 189, 63, 0.45));
}


/* ------------------------------------------------------------
   SHOWCASE CONTAINER
   ------------------------------------------------------------ */

.champions-showcase {
    position: relative;

    margin-top: 55px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ------------------------------------------------------------
   TIMELINE
   ------------------------------------------------------------ */

.champions-line {
    position: absolute;

    left: 31px;
    top: 35px;
    bottom: 35px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(245, 189, 63, 0.5),
            rgba(90, 200, 255, 0.3),
            transparent
        );

    pointer-events: none;
}


/* ------------------------------------------------------------
   CHAMPION CARD
   ------------------------------------------------------------ */

.champion-card {
    position: relative;

    display: grid;

    grid-template-columns:
        64px
        70px
        1fr;

    min-height: 145px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    background:
        linear-gradient(
            110deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        );

    box-shadow:
        0 18px 45px rgba(0,0,0,0.18);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* subtle top highlight */

.champion-card::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.18),
            transparent
        );
}


/* decorative glow */

.champion-card::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -160px;
    top: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(245,189,63,0.08),
            transparent 68%
        );

    pointer-events: none;
}


/* ------------------------------------------------------------
   MARKER
   ------------------------------------------------------------ */

.champion-marker {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.champion-marker::before {
    content: "";

    position: absolute;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #080d15;

    border: 2px solid rgba(245,189,63,0.7);

    box-shadow:
        0 0 0 6px rgba(245,189,63,0.05),
        0 0 22px rgba(245,189,63,0.18);
}

.champion-marker span {
    position: relative;
    z-index: 2;

    font-size: 8px;
    font-weight: 900;

    color: #f5bd3f;

    opacity: 0;
}


/* ------------------------------------------------------------
   YEAR
   ------------------------------------------------------------ */

.champion-year {
    display: flex;
    align-items: center;

    font-family: "Oswald", sans-serif;

    font-size: 18px;
    font-weight: 700;

    color: #7591ad;
}


/* ------------------------------------------------------------
   MAIN CONTENT
   ------------------------------------------------------------ */

.champion-main {
    position: relative;
    z-index: 3;

    display: grid;

    grid-template-columns:
        minmax(240px, 1fr)
        100px
        minmax(230px, 0.8fr);

    align-items: center;

    gap: 30px;

    padding: 25px 30px 25px 10px;
}


/* ------------------------------------------------------------
   INFORMATION
   ------------------------------------------------------------ */

.champion-kicker {
    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    color: #6b8aa7;
}

.champion-info h3 {
    margin: 0;

    font-family: "Oswald", sans-serif;

    font-size: 25px;
    font-weight: 500;

    text-transform: uppercase;

    color: #f4f7fa;
}

.champion-season {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-top: 10px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    color: #6f91b0;
}

.champion-season i {
    color: #55c8ef;
}


/* ------------------------------------------------------------
   TROPHY
   ------------------------------------------------------------ */

.champion-trophy {
    position: relative;

    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(245,189,63,0.32);

    background:
        radial-gradient(
            circle,
            rgba(245,189,63,0.13),
            rgba(245,189,63,0.025) 65%,
            transparent
        );

    color: #f5bd3f;

    font-size: 25px;

    box-shadow:
        inset 0 0 25px rgba(245,189,63,0.07),
        0 0 25px rgba(245,189,63,0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.trophy-glow {
    position: absolute;

    inset: -8px;

    border-radius: 50%;

    border: 1px solid rgba(245,189,63,0.08);

    animation: trophyPulse 3s ease-in-out infinite;
}

@keyframes trophyPulse {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}


/* ------------------------------------------------------------
   WINNER
   ------------------------------------------------------------ */

.champion-winner {
    position: relative;

    min-height: 65px;

    padding-left: 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-left: 1px solid rgba(255,255,255,0.09);
}

.winner-label {
    margin-bottom: 7px;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;

    color: #617d98;
}

.champion-winner strong {
    font-family: "Oswald", sans-serif;

    font-size: 20px;

    font-weight: 700;

    text-transform: uppercase;

    color: #f6bd42;

    letter-spacing: 0.3px;
}

.winner-crown {
    position: absolute;

    right: 5px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 22px;

    color: rgba(245,189,63,0.16);
}


/* ------------------------------------------------------------
   HOVER
   ------------------------------------------------------------ */

.champion-card:hover {
    transform: translateX(8px);

    border-color: rgba(245,189,63,0.30);

    box-shadow:
        0 25px 55px rgba(0,0,0,0.28),
        0 0 35px rgba(245,189,63,0.06);
}

.champion-card:hover .champion-trophy {
    transform: scale(1.08) rotate(-4deg);

    box-shadow:
        inset 0 0 30px rgba(245,189,63,0.12),
        0 0 35px rgba(245,189,63,0.16);
}


/* ============================================================
   SEASON 2 — GOLD CHAMPION
   ============================================================ */

.champion-s2 {
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(245,189,63,0.09),
            transparent 32%
        ),
        linear-gradient(
            100deg,
            rgba(245,189,63,0.035),
            transparent 55%
        );
}

.champion-s2 .champion-marker::before {
    border-color: #f5bd3f;

    box-shadow:
        0 0 0 6px rgba(245,189,63,0.06),
        0 0 25px rgba(245,189,63,0.25);
}


/* ============================================================
   SEASON 1 — SILVER / BLUE
   ============================================================ */

.champion-s1 {
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(100,150,255,0.08),
            transparent 30%
        );
}

.champion-s1 .champion-trophy {
    color: #9eb7d5;

    border-color: rgba(150,180,220,0.28);
}

.champion-s1 .champion-marker::before {
    border-color: #7c9bbd;
}

.champion-s1 .champion-winner strong {
    color: #d4a94e;
}


/* ============================================================
   GIRLS — VIOLET / ROSE
   ============================================================ */

.champion-girls {
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(225,90,210,0.10),
            transparent 32%
        ),
        linear-gradient(
            100deg,
            rgba(180,70,255,0.035),
            transparent 55%
        );
}

.champion-girls .champion-trophy {
    color: #ef8add;

    border-color: rgba(239,138,221,0.35);

    background:
        radial-gradient(
            circle,
            rgba(239,138,221,0.13),
            transparent 68%
        );
}

.champion-girls .champion-marker::before {
    border-color: #df79d2;

    box-shadow:
        0 0 0 6px rgba(223,121,210,0.05),
        0 0 24px rgba(223,121,210,0.20);
}

.champion-girls .champion-season i {
    color: #ef8add;
}

.champion-girls .champion-winner strong {
    color: #ef8add;
}


/* ============================================================
   PPL — PENDING
   ============================================================ */

.champion-ppl {
    background:
        linear-gradient(
            100deg,
            rgba(255,170,55,0.025),
            transparent 55%
        );
}

.champion-ppl .champion-trophy {
    color: #68798a;

    border-color: rgba(120,140,160,0.20);

    background:
        rgba(255,255,255,0.015);
}

.champion-ppl .champion-marker::before {
    border-color: #52677c;

    box-shadow:
        0 0 0 6px rgba(100,120,140,0.035);
}

.champion-ppl .champion-winner strong {
    color: #73869a;

    font-size: 15px;
}

.pending-icon {
    color: rgba(115,134,154,0.25);
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .champion-card {
        grid-template-columns:
            55px
            60px
            1fr;
    }

    .champion-main {
        grid-template-columns:
            1fr
            75px
            1fr;

        gap: 18px;

        padding-right: 20px;
    }

    .champion-info h3 {
        font-size: 21px;
    }

    .champion-winner strong {
        font-size: 17px;
    }
}


@media (max-width: 650px) {

    .champions-showcase {
        margin-top: 35px;
    }

    .champions-line {
        display: none;
    }

    .champion-card {
        display: block;

        min-height: auto;

        padding: 22px;
    }

    .champion-marker {
        position: absolute;

        left: 18px;
        top: 20px;

        width: 24px;
        height: 24px;
    }

    .champion-year {
        margin-left: 48px;

        font-size: 14px;
    }

    .champion-main {
        display: grid;

        grid-template-columns:
            1fr 65px;

        gap: 15px;

        padding: 25px 0 0 48px;
    }

    .champion-trophy {
        grid-column: 2;
        grid-row: 1;

        width: 60px;
        height: 60px;

        font-size: 21px;
    }

    .champion-info {
        grid-column: 1;
        grid-row: 1;
    }

    .champion-winner {
        grid-column: 1 / -1;

        border-left: 0;

        border-top: 1px solid rgba(255,255,255,0.08);

        padding: 15px 0 0;
    }

    .winner-crown {
        right: 5px;
    }

    .champion-info h3 {
        font-size: 20px;
    }
}

/* ============================================================
   ENHANCED FEATURED CHAMPION
   ============================================================ */

/* ============================================================
   FEATURED CHAMPION
   PREMIUM CHAMPIONSHIP SHOWCASE
   ============================================================ */

.champion-section {
    position: relative;
    padding: 90px 0 110px;
}


/* ------------------------------------------------------------
   MAIN BOX
   ------------------------------------------------------------ */

.champion-box {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 610px;

    overflow: hidden;

    padding: 58px 80px;

    box-sizing: border-box;

    border: 1px solid rgba(244, 189, 69, 0.25);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(244, 189, 69, 0.13),
            transparent 27%
        ),
        radial-gradient(
            circle at 5% 100%,
            rgba(36, 125, 190, 0.10),
            transparent 35%
        ),
        linear-gradient(
            125deg,
            #0b1829 0%,
            #07101c 48%,
            #070b12 100%
        );

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* Gold edge */
.champion-box::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #f4bd45 20%,
            #f4bd45 80%,
            transparent
        );

    opacity: 0.8;

    z-index: 1;
}


/* Ambient gold glow */
.champion-box::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,189,69,0.08),
            transparent 68%
        );

    pointer-events: none;

    z-index: 0;
}


/* ------------------------------------------------------------
   BACKGROUND CHAMPION TEXT
   ------------------------------------------------------------ */

.champion-bg-text {
    position: absolute;

    right: -30px;
    bottom: -72px;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: clamp(
        140px,
        14vw,
        220px
    );

    font-weight: 900;

    line-height: 0.8;

    letter-spacing: -5px;

    color: rgba(255,255,255,0.025);

    pointer-events: none;

    user-select: none;

    z-index: 0;
}


/* ------------------------------------------------------------
   GRID
   ------------------------------------------------------------ */

.champion-grid {
    position: relative;

    z-index: 3;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    align-items: center;

    gap: 70px;

    min-height: 490px;
}


/* ------------------------------------------------------------
   LEFT CONTENT
   ------------------------------------------------------------ */

.champion-content {
    position: relative;

    z-index: 5;

    min-width: 0;
}


/* Latest champion */
.champion-label {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    color: #f4bd45;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}

.champion-label i {
    font-size: 12px;

    filter:
        drop-shadow(
            0 0 10px
            rgba(244,189,69,0.55)
        );
}


/* Tournament */
.champion-tournament {
    margin-top: 15px;

    color: #718ba5;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


/* ------------------------------------------------------------
   CHAMPION NAME
   ------------------------------------------------------------ */

.champion-content h2 {
    margin: 18px 0 0;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size:
        clamp(
            72px,
            7vw,
            108px
        );

    font-weight: 900;

    line-height: 0.80;

    letter-spacing: -1px;

    text-transform: uppercase;

    color: #f7f8fa;
}

.champion-content h2 span {
    display: block;

    color: #f4bd45;

    text-shadow:
        0 0 35px rgba(244,189,69,0.16);
}


/* ------------------------------------------------------------
   DESCRIPTION
   ------------------------------------------------------------ */

.champion-content p {
    max-width: 680px;

    margin: 25px 0 0;

    color: #b7c9da;

    font-size: 15px;

    line-height: 1.8;
}


/* ------------------------------------------------------------
   FINAL MATCH
   ------------------------------------------------------------ */

.final-match {
    display: grid;

    grid-template-columns:
        minmax(170px, 1fr)
        70px
        minmax(170px, 1fr);

    align-items: stretch;

    gap: 18px;

    margin-top: 38px;

    max-width: 720px;
}


/* Team */
.final-team {
    position: relative;

    min-height: 125px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        );

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.final-team:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255,255,255,0.18);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.25);
}


/* Winner team */
.final-team.winner {
    border-color:
        rgba(244,189,69,0.40);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(244,189,69,0.09),
            transparent 60%
        ),
        rgba(255,255,255,0.025);

    box-shadow:
        inset 0 0 30px
        rgba(244,189,69,0.035);
}


/* Team symbol */
.team-symbol {
    margin-bottom: 8px;

    font-size: 28px;

    line-height: 1;

    filter:
        drop-shadow(
            0 5px 10px
            rgba(0,0,0,0.25)
        );
}


/* Team name */
.final-team strong {
    display: block;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 20px;

    font-weight: 800;

    line-height: 1;

    color: #f5f7fa;

    text-transform: uppercase;
}


/* Team status */
.final-team span {
    display: block;

    margin-top: 7px;

    color: #637b94;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.final-team.winner span {
    color: #f4bd45;
}


/* ------------------------------------------------------------
   VS
   ------------------------------------------------------------ */

.final-vs {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    color: #f4bd45;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 25px;

    font-weight: 900;

    text-align: center;
}

.final-vs small {
    color: #627991;

    font-family:
        "Inter",
        sans-serif;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


/* ------------------------------------------------------------
   BUTTON
   ------------------------------------------------------------ */

.champion-btn {
    margin-top: 30px;

    display: inline-flex;

    align-items: center;

    gap: 14px;
}

.champion-btn i {
    transition:
        transform 0.3s ease;
}

.champion-btn:hover i {
    transform: translateX(5px);
}


/* ------------------------------------------------------------
   RIGHT TROPHY AREA
   ------------------------------------------------------------ */

.champion-trophy {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 470px;
}


/* Trophy circle */
.trophy-ring {
    position: relative;

    width: 310px;
    height: 310px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(244,189,69,0.13) 0%,
            rgba(244,189,69,0.045) 43%,
            transparent 70%
        );

    border:
        1px solid
        rgba(244,189,69,0.38);

    box-shadow:
        0 0 0 18px
        rgba(244,189,69,0.018),

        0 0 0 38px
        rgba(244,189,69,0.012),

        0 0 80px
        rgba(244,189,69,0.10);

    animation:
        championFloat 5s ease-in-out infinite;
}


/* Orbit ring */
.trophy-ring::before {
    content: "";

    position: absolute;

    inset: -15px;

    border-radius: 50%;

    border:
        1px dashed
        rgba(244,189,69,0.18);

    animation:
        championOrbit 18s linear infinite;
}


/* Small orbit dot */
.trophy-ring::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    top: 12px;
    right: 62px;

    border-radius: 50%;

    background: #f4bd45;

    box-shadow:
        0 0 18px
        rgba(244,189,69,0.65);
}


.trophy-ring img {
    position: relative;

    z-index: 2;

    width: 205px;
    height: 250px;

    max-width: 75%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 25px
            rgba(0,0,0,0.35)
        );

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.champion-box:hover .trophy-ring img {
    transform: translateY(-7px) scale(1.04);

    filter:
        drop-shadow(
            0 25px 30px
            rgba(0,0,0,0.40)
        );
}


/* ------------------------------------------------------------
   STARS
   ------------------------------------------------------------ */

.champion-stars {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 17px;

    margin-top: 30px;
}

.champion-stars span {
    display: block;

    color: #f4bd45;

    font-size: 26px;

    line-height: 1;

    text-shadow:
        0 0 15px
        rgba(244,189,69,0.35);

    animation:
        starPulse 2.5s ease-in-out infinite;
}

.champion-stars span:nth-child(2) {
    animation-delay: 0.25s;
}

.champion-stars span:nth-child(3) {
    animation-delay: 0.5s;
}


/* ------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------ */

@keyframes championFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


@keyframes championOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes starPulse {

    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .champion-box {
        padding: 50px;
    }

    .champion-grid {
        grid-template-columns:
            1fr
            360px;

        gap: 35px;
    }

    .champion-content h2 {
        font-size: 82px;
    }

    .trophy-ring {
        width: 270px;
        height: 270px;
    }

    .trophy-ring img {
        width: 180px;
        height: 220px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 800px) {

    .champion-section {
        padding: 65px 0 80px;
    }

    .champion-box {
        min-height: auto;

        padding: 38px 24px;

        border-radius: 22px;
    }

    .champion-grid {
        display: flex;

        flex-direction: column;

        gap: 45px;

        min-height: auto;
    }

    .champion-content {
        width: 100%;
    }

    .champion-content h2 {
        font-size: 70px;
    }

    .champion-content p {
        font-size: 14px;
    }

    .champion-trophy {
        min-height: auto;

        width: 100%;
    }

    .trophy-ring {
        width: 230px;
        height: 230px;
    }

    .trophy-ring img {
        width: 155px;
        height: 190px;
    }

    .champion-bg-text {
        font-size: 110px;

        right: -20px;
        bottom: -30px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 560px) {

    .champion-section {
        padding: 50px 0 65px;
    }

    .champion-box {
        padding: 32px 18px;

        border-radius: 18px;
    }

    .champion-content h2 {
        font-size: 58px;

        line-height: 0.83;
    }

    .champion-tournament {
        font-size: 8px;
    }

    .champion-content p {
        font-size: 13px;

        line-height: 1.7;
    }

    .final-match {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 28px;
    }

    .final-team {
        min-height: 105px;
    }

    .final-vs {
        flex-direction: row;

        gap: 7px;
    }

    .champion-btn {
        width: 100%;

        justify-content: center;
    }

    .trophy-ring {
        width: 200px;
        height: 200px;
    }

    .trophy-ring img {
        width: 135px;
        height: 165px;
    }

    .champion-stars {
        margin-top: 22px;
    }

    .champion-stars span {
        font-size: 21px;
    }
}


/* ============================================================


/* ============================================================
   FINAL CONSOLIDATION / RESPONSIVE SAFETY
   ============================================================ */

/* Keep tournament cards visually distinct on all desktop widths */
@media (min-width: 901px) {

    .tournament-grid > .tournament-card:nth-child(1),
    .tournament-grid > .tournament-card:nth-child(2),
    .tournament-grid > .tournament-card:nth-child(3),
    .tournament-grid > .tournament-card:nth-child(4),
    .tournament-grid > .tournament-card:nth-child(5),
    .tournament-grid > .tournament-card:nth-child(6) {
        min-height: 480px;
    }

}

/* Tablet */
@media (max-width: 900px) {

    .tournament-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .champion-box {
        overflow: hidden;
    }

    .champion-grid {
        align-items: center;
    }

}

/* Phone */
@media (max-width: 600px) {

    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .champion-box {
        width: 100%;
        overflow: hidden;
    }

    .champion-bg-text {
        pointer-events: none;
    }

    .history-table {
        width: 100%;
        overflow: hidden;
    }

}

/* Never allow decorative pseudo-elements to create horizontal scrolling */
.tournament-card::before,
.tournament-card::after,
.champion-box::before,
.champion-box::after,
.champion-bg-text,
.trophy-ring::before,
.trophy-ring::after {
    max-width: 100vw;
}


/* ============================================================
   FINAL CONFLICT FIX
   IMPORTANT:
   .champion-* is used by BOTH:
   1. Featured Champion
   2. Hall of Champions cards

   The rules below namespace the Hall of Champions so the
   Featured Champion CSS can never stretch the history cards.
   ============================================================ */


/* ============================================================
   HALL OF CHAMPIONS — BASE
   ============================================================ */

.history-section {
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 110px;
}

.history-section .section-heading {
    position: relative;
    z-index: 5;
    margin-bottom: 0;
}

.history-section .history-title {
    margin: 0;
}

.history-section .history-label {
    margin-bottom: 15px;
}


/* ============================================================
   CHAMPIONS SHOWCASE
   ============================================================ */

.history-section .champions-showcase {
    position: relative;
    width: 100%;
    margin-top: 52px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.history-section .champions-line {
    position: absolute;

    left: 31px;
    top: 35px;
    bottom: 35px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(245,189,63,0.45) 12%,
            rgba(245,189,63,0.20) 50%,
            rgba(85,200,239,0.20) 85%,
            transparent
        );

    z-index: 1;
    pointer-events: none;
}


/* ============================================================
   HISTORY CARD
   ============================================================ */

.history-section .champion-card {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        64px
        72px
        minmax(0, 1fr);

    align-items: stretch;

    width: 100%;
    min-height: 145px;
    height: auto;

    overflow: hidden;

    padding: 0;

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    background:
        linear-gradient(
            105deg,
            rgba(255,255,255,0.025),
            rgba(255,255,255,0.008)
        );

    box-shadow:
        0 18px 45px rgba(0,0,0,0.16);

    transform: none;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* Gold top highlight */
.history-section .champion-card::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.16),
            transparent
        );

    z-index: 6;
}


/* Ambient glow */
.history-section .champion-card::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 180px;

    right: -110px;
    top: -75px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(245,189,63,0.055),
            transparent 70%
        );

    pointer-events: none;
    z-index: 0;
}


/* ============================================================
   NUMBER / TIMELINE MARKER
   ============================================================ */

.history-section .champion-marker {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    min-width: 64px;

    z-index: 4;
}

.history-section .champion-marker::before {
    content: "";

    position: relative;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background:
        #080d15;

    border:
        2px solid rgba(245,189,63,0.80);

    box-shadow:
        0 0 0 6px rgba(245,189,63,0.045),
        0 0 20px rgba(245,189,63,0.12);

    z-index: 2;
}

.history-section .champion-marker span {
    display: none;
}


/* ============================================================
   YEAR
   ============================================================ */

.history-section .champion-year {
    display: flex;
    align-items: center;

    min-width: 0;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 19px;
    font-weight: 800;

    color: #7894af;
}


/* ============================================================
   HISTORY MAIN
   ============================================================ */

.history-section .champion-main {
    position: relative;
    z-index: 4;

    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        82px
        minmax(250px, 0.75fr);

    align-items: center;

    gap: 26px;

    min-width: 0;

    padding: 24px 28px 24px 8px;
}


/* ============================================================
   HISTORY INFO
   ============================================================ */

.history-section .champion-info {
    min-width: 0;
}

.history-section .champion-kicker {
    margin-bottom: 7px;

    color: #5e7d9b;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.history-section .champion-info h3 {
    margin: 0;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 27px;
    font-weight: 500;

    line-height: 1;

    text-transform: uppercase;

    color: #f1f5f8;
}

.history-section .champion-season {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    margin-top: 11px;

    color: #6f8ba5;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.history-section .champion-season i {
    color: #38c8ee;
}


/* ============================================================
   HISTORY TROPHY
   THIS IS THE CRITICAL COLLISION FIX
   ============================================================ */

.history-section .champion-card .champion-trophy {
    position: relative;

    width: 68px;
    height: 68px;
    min-height: 68px;

    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border:
        1px solid rgba(245,189,63,0.34);

    background:
        radial-gradient(
            circle,
            rgba(245,189,63,0.13),
            rgba(245,189,63,0.02) 68%,
            transparent 70%
        );

    color: #f5bd3f;

    font-size: 25px;

    box-shadow:
        inset 0 0 24px rgba(245,189,63,0.06),
        0 0 25px rgba(245,189,63,0.06);

    transform: none;
}


/* History trophy pulse ring */
.history-section .champion-card .trophy-glow {
    position: absolute;

    inset: -7px;

    width: auto;
    height: auto;

    border-radius: 50%;

    border:
        1px solid rgba(245,189,63,0.10);

    animation:
        history-trophy-pulse 3s ease-in-out infinite;
}

@keyframes history-trophy-pulse {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.9;
    }
}


/* ============================================================
   WINNER
   ============================================================ */

.history-section .champion-winner {
    position: relative;

    min-width: 0;
    min-height: 64px;

    padding:
        0 42px 0 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-left:
        1px solid rgba(255,255,255,0.09);
}

.history-section .winner-label {
    margin-bottom: 7px;

    color: #617d98;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.history-section .champion-winner strong {
    display: block;

    overflow: hidden;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 21px;
    font-weight: 800;

    line-height: 1.05;

    letter-spacing: 0.2px;

    text-transform: uppercase;

    color: #f5bd42;

    white-space: nowrap;
}

.history-section .winner-crown {
    position: absolute;

    right: 7px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 22px;

    color: rgba(245,189,63,0.15);
}


/* ============================================================
   HISTORY CARD VARIATIONS
   ============================================================ */

.history-section .champion-s2 {
    border-color: rgba(245,189,63,0.16);
}

.history-section .champion-s2::after {
    background:
        radial-gradient(
            circle,
            rgba(245,189,63,0.075),
            transparent 70%
        );
}

.history-section .champion-s1 {
    border-color: rgba(115,155,205,0.13);
}

.history-section .champion-s1 .champion-card .champion-trophy,
.history-section .champion-s1 .champion-trophy {
    color: #a9bfd8;
    border-color: rgba(150,180,220,0.28);
}

.history-section .champion-s1 .champion-winner strong {
    color: #d5ab50;
}

.history-section .champion-girls {
    border-color: rgba(225,110,215,0.14);
}

.history-section .champion-girls .champion-trophy {
    color: #ef8add;
    border-color: rgba(239,138,221,0.32);

    background:
        radial-gradient(
            circle,
            rgba(239,138,221,0.13),
            rgba(180,70,255,0.025) 68%,
            transparent 70%
        );
}

.history-section .champion-girls .champion-season i,
.history-section .champion-girls .champion-winner strong {
    color: #ef8add;
}

.history-section .champion-ppl {
    border-color: rgba(120,140,160,0.10);
}

.history-section .champion-ppl .champion-trophy {
    color: #6e7f90;
    border-color: rgba(120,140,160,0.20);
    background: rgba(255,255,255,0.012);
}

.history-section .champion-ppl .champion-winner strong {
    color: #77899a;
    font-size: 15px;
}

.history-section .pending-icon {
    color: rgba(115,134,154,0.24);
}


/* ============================================================
   HISTORY HOVER
   ============================================================ */

.history-section .champion-card:hover {
    transform: translateX(7px);

    border-color:
        rgba(245,189,63,0.27);

    box-shadow:
        0 24px 55px rgba(0,0,0,0.26),
        0 0 30px rgba(245,189,63,0.045);
}

.history-section .champion-card:hover .champion-trophy {
    transform: scale(1.07);

    box-shadow:
        inset 0 0 28px rgba(245,189,63,0.10),
        0 0 32px rgba(245,189,63,0.13);
}


/* ============================================================
   FEATURED CHAMPION — SCOPED
   Prevent history cards from inheriting these rules.
   ============================================================ */

.champion-section .champion-box {
    position: relative;
}

.champion-section .champion-grid {
    position: relative;
    z-index: 3;
}

.champion-section .champion-content {
    position: relative;
    z-index: 5;
}

.champion-section .champion-trophy {
    position: relative;

    min-height: 470px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.champion-section .trophy-ring {
    position: relative;

    width: 300px;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(244,189,69,0.38);

    background:
        radial-gradient(
            circle,
            rgba(244,189,69,0.13),
            rgba(244,189,69,0.035) 55%,
            transparent 70%
        );

    box-shadow:
        0 0 0 16px rgba(244,189,69,0.018),
        0 0 0 34px rgba(244,189,69,0.010),
        0 0 70px rgba(244,189,69,0.09);
}

.champion-section .trophy-ring img {
    width: 195px;
    height: 245px;

    object-fit: contain;
}


/* ============================================================
   RESPONSIVE — HISTORY
   ============================================================ */

@media (max-width: 1000px) {

    .history-section .champion-card {
        grid-template-columns:
            55px
            65px
            minmax(0, 1fr);
    }

    .history-section .champion-main {
        grid-template-columns:
            minmax(200px, 1fr)
            72px
            minmax(190px, 0.75fr);

        gap: 18px;

        padding-right: 20px;
    }

    .history-section .champion-info h3 {
        font-size: 23px;
    }

    .history-section .champion-winner strong {
        font-size: 18px;
    }
}


@media (max-width: 760px) {

    .history-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .history-section .champions-showcase {
        margin-top: 38px;
    }

    .history-section .champions-line {
        display: none;
    }

    .history-section .champion-card {
        display: block;

        min-height: 0;

        padding: 22px;
    }

    .history-section .champion-marker {
        position: absolute;

        left: 18px;
        top: 20px;

        width: 27px;
        height: 27px;

        min-width: 27px;
    }

    .history-section .champion-year {
        margin-left: 48px;

        font-size: 15px;
    }

    .history-section .champion-main {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            68px;

        gap: 18px;

        padding:
            24px 0 0 48px;
    }

    .history-section .champion-info {
        grid-column: 1;
        grid-row: 1;
    }

    .history-section .champion-info h3 {
        font-size: 21px;
    }

    .history-section .champion-card .champion-trophy {
        grid-column: 2;
        grid-row: 1;

        width: 62px;
        height: 62px;
        min-height: 62px;
    }

    .history-section .champion-winner {
        grid-column: 1 / -1;

        min-height: 0;

        padding:
            15px 35px 0 0;

        border-left: 0;

        border-top:
            1px solid rgba(255,255,255,0.08);
    }

    .history-section .champion-winner strong {
        font-size: 18px;
    }

    .history-section .winner-crown {
        right: 3px;
    }
}


@media (max-width: 480px) {

    .history-section .champion-card {
        padding: 18px;
        border-radius: 15px;
    }

    .history-section .champion-main {
        padding-left: 42px;
        grid-template-columns:
            minmax(0, 1fr)
            58px;
    }

    .history-section .champion-marker {
        left: 15px;
        top: 17px;
    }

    .history-section .champion-year {
        margin-left: 42px;
    }

    .history-section .champion-card .champion-trophy {
        width: 55px;
        height: 55px;
        min-height: 55px;

        font-size: 20px;
    }

    .history-section .champion-info h3 {
        font-size: 18px;
    }

    .history-section .champion-kicker {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .history-section .champion-season {
        font-size: 8px;
    }

    .history-section .champion-winner strong {
        font-size: 16px;
    }
}


/* ============================================================
   RESPONSIVE — FEATURED CHAMPION
   ============================================================ */

@media (max-width: 900px) {

    .champion-section .champion-box {
        min-height: auto;
        padding: 45px 35px;
    }

    .champion-section .champion-grid {
        grid-template-columns:
            minmax(0, 1fr)
            320px;

        gap: 35px;
        min-height: auto;
    }

    .champion-section .champion-content h2 {
        font-size: 78px;
    }

    .champion-section .champion-trophy {
        min-height: 360px;
    }

    .champion-section .trophy-ring {
        width: 260px;
        height: 260px;
    }

    .champion-section .trophy-ring img {
        width: 170px;
        height: 215px;
    }
}


@media (max-width: 700px) {

    .champion-section {
        padding: 65px 0 80px;
    }

    .champion-section .champion-box {
        padding: 38px 24px;
        border-radius: 22px;
    }

    .champion-section .champion-grid {
        display: flex;
        flex-direction: column;
        gap: 42px;
    }

    .champion-section .champion-trophy {
        min-height: auto;
        width: 100%;
        order: 2;
    }

    .champion-section .champion-content {
        width: 100%;
        order: 1;
    }

    .champion-section .champion-content h2 {
        font-size: 68px;
    }

    .champion-section .trophy-ring {
        width: 225px;
        height: 225px;
    }

    .champion-section .trophy-ring img {
        width: 145px;
        height: 180px;
    }
}


@media (max-width: 560px) {

    .champion-section {
        padding: 50px 0 65px;
    }

    .champion-section .champion-box {
        padding: 30px 18px;
        border-radius: 18px;
    }

    .champion-section .champion-content h2 {
        font-size: 56px;
    }

    .champion-section .champion-content p {
        font-size: 12px;
        line-height: 1.7;
    }

    .champion-section .final-match {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .champion-section .final-vs {
        flex-direction: row;
        gap: 6px;
    }

    .champion-section .champion-btn {
        width: 100%;
        justify-content: center;
    }

    .champion-section .trophy-ring {
        width: 195px;
        height: 195px;
    }

    .champion-section .trophy-ring img {
        width: 125px;
        height: 155px;
    }
}


/* ============================================================
   FINAL OVERFLOW SAFETY
   ============================================================ */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.history-section,
.champion-section {
    max-width: 100%;
    overflow: hidden;
}

.history-section .champion-card,
.champion-section .champion-box {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {

    .history-section .champion-card,
    .history-section .champion-card:hover {
        transition: none;
        transform: none;
    }

    .history-section .champion-card .trophy-glow,
    .champion-section .trophy-ring,
    .champion-section .trophy-ring::before,
    .champion-section .champion-stars span {
        animation: none !important;
    }
}


/* ============================================================
   FEATURED CHAMPION — FINAL SPACING + CIRCLE FIX
   ============================================================ */

/*
   The previous version made the trophy orbit too tall because
   the orbit pseudo-element was allowed to inherit/participate
   in other transform rules. This version keeps every orbit
   perfectly circular and gives the left/right columns their
   own breathing room.
*/

.champion-section {
    padding: 95px 0 115px;
}

.champion-section .champion-box {
    width: min(100%, 1420px);
    margin: 0 auto;

    padding: 62px 72px;

    box-sizing: border-box;
    overflow: hidden;
}

.champion-section .champion-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(390px, 0.98fr);

    align-items: center;

    column-gap: 90px;

    width: 100%;
    max-width: 100%;

    min-height: 500px;
}

.champion-section .champion-content {
    min-width: 0;
    width: 100%;
    max-width: 700px;
}

.champion-section .champion-content p {
    max-width: 640px;
}

.champion-section .final-match {
    width: 100%;
    max-width: 690px;

    grid-template-columns:
        minmax(145px, 1fr)
        62px
        minmax(145px, 1fr);

    gap: 14px;
}

.champion-section .champion-trophy {
    width: 100%;
    min-width: 0;
    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------------------------------------------------
   PERFECT TROPHY CIRCLE
   ------------------------------------------------------------ */

.champion-section .trophy-ring {
    position: relative;

    flex: 0 0 auto;

    width: 310px;
    height: 310px;

    min-width: 310px;
    min-height: 310px;

    aspect-ratio: 1 / 1;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(244, 189, 69, 0.42);

    background:
        radial-gradient(
            circle at center,
            rgba(244, 189, 69, 0.14) 0%,
            rgba(244, 189, 69, 0.055) 42%,
            rgba(244, 189, 69, 0.015) 62%,
            transparent 72%
        );

    box-shadow:
        0 0 0 14px rgba(244, 189, 69, 0.018),
        0 0 0 30px rgba(244, 189, 69, 0.010),
        0 0 65px rgba(244, 189, 69, 0.10);

    animation:
        champion-ring-float 5s ease-in-out infinite;
}

/*
   Circular orbit.
   Use width/height equal to the ring and do not stretch it.
*/
.champion-section .trophy-ring::before {
    content: "";

    position: absolute;

    width: calc(100% + 26px);
    height: calc(100% + 26px);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    box-sizing: border-box;

    border-radius: 50%;

    border:
        1px dashed rgba(244, 189, 69, 0.18);

    animation:
        champion-ring-spin 18s linear infinite;

    pointer-events: none;
}

/*
   Orbit dot remains on the circular path.
*/
.champion-section .trophy-ring::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    left: 50%;
    top: -17px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #f4bd45;

    box-shadow:
        0 0 16px rgba(244, 189, 69, 0.70);

    pointer-events: none;
}

.champion-section .trophy-ring img {
    position: relative;
    z-index: 3;

    display: block;

    width: 190px;
    height: 235px;

    max-width: 72%;
    max-height: 78%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 18px 24px rgba(0, 0, 0, 0.38)
        );
}

@keyframes champion-ring-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes champion-ring-spin {
    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


/* ------------------------------------------------------------
   STARS — KEEP THEM UNDER THE CIRCLE
   ------------------------------------------------------------ */

.champion-section .champion-stars {
    position: relative;
    z-index: 5;

    margin-top: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;
}

.champion-section .champion-stars span {
    font-size: 25px;
}


/* ============================================================
   DESKTOP — EXTRA BREATHING ROOM
   ============================================================ */

@media (min-width: 1201px) {

    .champion-section .champion-box {
        padding-left: 78px;
        padding-right: 78px;
    }

    .champion-section .champion-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(420px, 0.86fr);

        column-gap: 100px;
    }

    .champion-section .champion-content {
        max-width: 720px;
    }

    .champion-section .champion-trophy {
        justify-self: center;
    }
}


/* ============================================================
   LAPTOP
   ============================================================ */

@media (max-width: 1200px) and (min-width: 901px) {

    .champion-section .champion-box {
        padding-left: 55px;
        padding-right: 55px;
    }

    .champion-section .champion-grid {
        grid-template-columns:
            minmax(0, 1fr)
            370px;

        column-gap: 55px;
    }

    .champion-section .champion-content h2 {
        font-size: 76px;
    }

    .champion-section .trophy-ring {
        width: 270px;
        height: 270px;

        min-width: 270px;
        min-height: 270px;
    }

    .champion-section .trophy-ring img {
        width: 165px;
        height: 210px;
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) and (min-width: 601px) {

    .champion-section {
        padding: 75px 0 90px;
    }

    .champion-section .champion-box {
        padding: 45px 38px;
    }

    .champion-section .champion-grid {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        column-gap: 35px;
        min-height: 0;
    }

    .champion-section .champion-content h2 {
        font-size: 68px;
    }

    .champion-section .champion-content p {
        font-size: 12px;
    }

    .champion-section .final-match {
        grid-template-columns:
            minmax(120px, 1fr)
            52px
            minmax(120px, 1fr);

        gap: 8px;
    }

    .champion-section .trophy-ring {
        width: 230px;
        height: 230px;

        min-width: 230px;
        min-height: 230px;
    }

    .champion-section .trophy-ring img {
        width: 145px;
        height: 180px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .champion-section {
        padding: 55px 0 75px;
    }

    .champion-section .champion-box {
        width: 100%;
        padding: 32px 20px;

        border-radius: 20px;
    }

    .champion-section .champion-grid {
        display: flex;
        flex-direction: column;

        gap: 38px;

        min-height: 0;
    }

    .champion-section .champion-content {
        max-width: none;
    }

    .champion-section .champion-content h2 {
        font-size: 57px;
    }

    .champion-section .champion-content p {
        max-width: none;
    }

    .champion-section .final-match {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 9px;
    }

    .champion-section .final-vs {
        flex-direction: row;
        gap: 7px;
    }

    .champion-section .champion-trophy {
        width: 100%;
        min-height: 0;
    }

    .champion-section .trophy-ring {
        width: 205px;
        height: 205px;

        min-width: 205px;
        min-height: 205px;
    }

    .champion-section .trophy-ring img {
        width: 132px;
        height: 162px;
    }

    .champion-section .champion-stars {
        margin-top: 22px;
    }

    .champion-section .champion-stars span {
        font-size: 21px;
    }
}

