/* ============================================================
   RSVM PRESIDENT'S CUP
   COMPLETE WEBSITE STYLESHEET
   ============================================================

   Sections:
   01. Root Variables
   02. Reset and Global Styles
   03. Background Effects
   04. Common Layout
   05. Header and Navigation
   06. Hero Section
   07. Hero Trophy Artwork
   08. Hero Statistics and Buttons
   09. Match Centre
   10. Common Section Headings
   11. Feature Cards
   12. Fixtures
   13. Match Results and Scorecards
   14. Team Squads and Player Lists
   15. Honours Section
   16. Sportsmanship Section
   17. Closing Call to Action
   18. Footer
   19. Back-to-Top Button
   20. Animations
   21. Tablet Responsive Styles
   22. Mobile Responsive Styles
   23. Accessibility
   ============================================================ */


/* ============================================================
   01. ROOT VARIABLES
   ============================================================ */

:root {
    /* Background colours */
    --bg: #090b1d;
    --bg-deep: #06152b;
    --bg-footer: #081b36;

    /* Card colours */
    --panel: #11142b;
    --panel-light: #171b35;

    /* Text colours */
    --ink: #f7f7ff;
    --muted: #a8abc3;
    --muted-light: #c0cce0;

    /* Accent colours */
    --gold: #ffbd24;
    --gold-light: #ffd66b;
    --cyan: #52e6e0;
    --purple: #9b5cff;
    --pink: #ff6b9f;

    /* Team colours */
    --staff-accent: #ffbd24;
    --staff-rgb: 255, 189, 36;

    --student-accent: #52e6e0;
    --student-rgb: 82, 230, 224;

    /* Borders */
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.20);

    /* Typography */
    --font-head: "Barlow Condensed", Impact, sans-serif;
    --font-body: "Inter", Arial, sans-serif;

    /* Layout */
    --container-width: 1180px;
    --header-height: 82px;

    /* Border radii */
    --radius-small: 9px;
    --radius-medium: 15px;
    --radius-large: 20px;

    /* Shadows */
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.18);
}


/* ============================================================
   02. RESET AND GLOBAL STYLES
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 320px;

    overflow-x: hidden;

    background: var(--bg);
    color: var(--ink);

    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.15;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}


/* ============================================================
   03. BACKGROUND EFFECTS
   ============================================================ */

.page-noise {
    position: fixed;
    inset: 0;

    z-index: 50;

    pointer-events: none;

    opacity: 0.035;

    background-image: url(
        "data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"
    );
}


/* ============================================================
   04. COMMON LAYOUT
   ============================================================ */

.section-wrap {
    width: min(
        var(--container-width),
        calc(100% - 44px)
    );

    margin-inline: auto;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 15px 0;

    font-family: var(--font-head);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 900;

    line-height: 0.98;
}

.section-heading h2 em {
    color: var(--gold);
    font-style: normal;
}

.section-heading > p {
    max-width: 580px;

    margin-bottom: 0;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}


/* Common section label */

.section-kicker,
.eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--cyan);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
    line-height: 1.5;
}

.section-kicker span,
.eyebrow-line {
    display: inline-block;

    width: 35px;
    height: 1px;

    background: linear-gradient(
        90deg,
        var(--cyan),
        transparent
    );
}


/* ============================================================
   05. HEADER AND NAVIGATION
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    width: 100%;
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    padding: 12px max(
        22px,
        calc((100% - 1500px) / 2)
    );

    border-bottom: 1px solid var(--line);

    background: rgba(9, 11, 29, 0.96);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* Brand container */

.brand {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 15px;

    color: var(--ink);
}


/* Trophy logo background */

.brand-mark {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    padding: 5px;

    border-radius: 18px;

    background: linear-gradient(135deg, #cfd8dc, #90caf9);
    );

    box-shadow: 0 8px 24px rgba(255, 189, 36, 0.20);
}


/* Trophy image inside the header logo */

.header-trophy {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}


/* Brand text */

.brand-text {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.brand-text strong {
    color: var(--ink);

    font-size: 21px;
    font-weight: 900;

    letter-spacing: 0.4px;
    line-height: 1.2;
}

.brand-text small {
    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


/* Desktop navigation */

.nav-links {
    display: flex;
    align-items: center;

    gap: clamp(16px, 2.3vw, 30px);
}

.nav-links a {
    position: relative;

    color: #c6c7d9;

    font-size: 12px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}


/* Header schedule button */

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    gap: 12px;

    padding: 12px 17px;

    border: 1px solid rgba(255, 189, 36, 0.50);
    border-radius: 999px;

    background: rgba(255, 189, 36, 0.08);

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-cta:hover {
    background: rgba(255, 189, 36, 0.17);
    transform: translateY(-2px);
}

.header-cta span {
    font-size: 16px;
}


/* Mobile navigation button */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: var(--panel);
    color: var(--ink);

    font-size: 24px;

    cursor: pointer;
}


/* ============================================================
   06. HERO SECTION
   ============================================================ */

.hero {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 30px;

    min-height: 680px;

    padding-top: 65px;
    padding-bottom: 25px;

    isolation: isolate;
}


/* Hero background glow */

.hero::before {
    content: "";

    position: absolute;
    top: 60px;
    left: -300px;

    z-index: -1;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(155, 92, 255, 0.12);

    filter: blur(50px);

    pointer-events: none;
}


/* Hero text */

.hero-copy {
    position: relative;
    z-index: 2;

    min-width: 0;

    padding-bottom: 35px;
}

.hero h1 {
    margin: 30px 0 24px;

    font-family: var(--font-head);
    font-size: clamp(70px, 8vw, 118px);
    font-weight: 900;

    line-height: 0.85;
    letter-spacing: -1px;
}

.hero h1 span {
    color: transparent;

    -webkit-text-stroke: 1.5px var(--gold);
}

.hero-lead {
    margin-bottom: 10px;

    color: var(--ink);

    font-size: 19px;
    font-weight: 800;
}

.hero-description {
    max-width: 520px;

    margin-bottom: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.9;
}


/* ============================================================
   07. HERO TROPHY ARTWORK
   ============================================================ */

.hero-art {
    position: relative;

    display: grid;
    place-items: center;

    min-width: 0;
    height: 500px;

    isolation: isolate;
}

.hero-art::before {
    content: "";

    position: absolute;
    inset: 10% 4%;

    z-index: -1;

    background: linear-gradient(
        140deg,
        rgba(255, 189, 36, 0.10),
        rgba(155, 92, 255, 0.12) 48%,
        rgba(82, 230, 224, 0.06)
    );

    clip-path: polygon(
        14% 0,
        100% 13%,
        84% 100%,
        0 82%
    );
}


/* Decorative rings */

.orbit {
    position: absolute;

    border: 1px solid rgba(255, 189, 36, 0.22);
    border-radius: 50%;

    pointer-events: none;
}

.orbit-a {
    width: 430px;
    height: 300px;

    transform: rotate(-25deg);
}

.orbit-b {
    width: 350px;
    height: 450px;

    border-color: rgba(155, 92, 255, 0.28);

    transform: rotate(38deg);
}


/* Trophy glow */

.trophy-backlight {
    position: absolute;

    width: 260px;
    height: 320px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse,
        rgba(255, 189, 36, 0.22),
        rgba(155, 92, 255, 0.10) 45%,
        transparent 72%
    );

    filter: blur(18px);

    pointer-events: none;
}


/* Main trophy image */

.hero-trophy {
    position: relative;
    z-index: 1;

    display: block;

    width: min(80%, 365px);
    height: 420px;

    margin: 0 auto;

    object-fit: contain;
    object-position: center;

    filter: drop-shadow(
        0 25px 35px rgba(0, 0, 0, 0.40)
    );

    animation: trophy-float 5s ease-in-out infinite;
}


/* Hero artwork labels */

.art-label {
    position: absolute;

    color: rgba(231, 229, 255, 0.70);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.label-top {
    top: 12px;
    right: 0;
}

.label-bottom {
    bottom: 15px;
    left: 50%;

    color: var(--gold);

    white-space: nowrap;

    transform: translateX(-50%);
}

.label-bottom span {
    padding-inline: 7px;

    color: var(--cyan);
}


/* Floating team chips */

.floating-chip {
    position: absolute;
    z-index: 3;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: rgba(16, 19, 41, 0.94);

    box-shadow: var(--shadow-card);

    backdrop-filter: blur(12px);
}

.chip-left {
    top: 30%;
    left: -2px;
}

.chip-right {
    right: -2px;
    bottom: 23%;
}

.chip-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: rgba(255, 189, 36, 0.12);
    color: var(--gold);

    font-size: 19px;
}

.chip-right .chip-icon {
    background: rgba(82, 230, 224, 0.10);
    color: var(--cyan);
}

.floating-chip small,
.floating-chip strong {
    display: block;
}

.floating-chip small {
    color: var(--muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.floating-chip strong {
    margin-top: 3px;

    color: var(--ink);

    font-size: 12px;
    font-weight: 800;
}


/* ============================================================
   08. HERO STATISTICS AND BUTTONS
   ============================================================ */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}

.btn {
    min-height: 47px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 13px 20px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.4px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(
        105deg,
        #ffd04d,
        #ffb30b
    );

    color: #081b36;

    box-shadow: 0 10px 28px rgba(255, 189, 36, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(
        105deg,
        #ffe18a,
        #ffc32d
    );

    box-shadow: 0 14px 32px rgba(255, 189, 36, 0.25);
}

.btn-ghost {
    border-color: var(--line);

    background: rgba(255, 255, 255, 0.025);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: rgba(255, 189, 36, 0.50);
    background: rgba(255, 189, 36, 0.06);
}


/* Hero statistics */

.hero-stats {
    display: flex;
    align-items: stretch;

    margin-top: 42px;
}

.hero-stats div {
    padding: 0 25px;

    border-left: 1px solid var(--line);
}

.hero-stats div:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-stats strong {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;

    line-height: 1;
}

.hero-stats span {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
}


/* Hero bottom information */

.hero-bottomline {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 17px;

    border-top: 1px solid var(--line);

    color: #8588a3;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


/* ============================================================
   09. MATCH CENTRE
   ============================================================ */

.match-strip {
    padding-top: 65px;
    padding-bottom: 45px;
}

.match-card {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 100px 1fr;

    align-items: center;

    gap: 20px;

    margin-top: 20px;
    padding: 38px 30px 75px;

    overflow: hidden;

    border: 1px solid rgba(255, 189, 36, 0.25);
    border-radius: var(--radius-large);

    background: linear-gradient(
        120deg,
        rgba(255, 189, 36, 0.07),
        var(--panel) 45%,
        rgba(82, 230, 224, 0.05)
    );
}

.match-card::before {
    content: "";

    position: absolute;
    top: -180px;
    left: 38%;

    width: 270px;
    height: 270px;

    border: 1px solid rgba(255, 189, 36, 0.15);
    border-radius: 50%;

    pointer-events: none;
}

.match-side {
    display: flex;
    align-items: center;

    gap: 16px;

    min-width: 0;
}

.student-side {
    justify-content: flex-end;
    text-align: right;
}

.side-emblem {
    width: 66px;
    height: 66px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(255, 189, 36, 0.50);
    border-radius: 19px;

    background: rgba(255, 189, 36, 0.10);

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 31px;
    font-weight: 900;
}

.student-side .side-emblem {
    border-color: rgba(82, 230, 224, 0.45);

    background: rgba(82, 230, 224, 0.10);

    color: var(--cyan);
}

.match-side small {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.match-side h2 {
    margin: 7px 0;

    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
}

.match-side h2 span {
    color: var(--gold);
}

.student-side h2 span {
    color: var(--cyan);
}

.match-side p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
}


/* VS badge */

.versus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    text-align: center;
}

.versus span {
    color: var(--muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}

.versus strong {
    color: transparent;

    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 900;

    -webkit-text-stroke: 1px var(--gold);
}


/* Match card footer */

.match-card-foot {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 15px 25px;

    border-top: 1px solid var(--line);

    background: rgba(6, 21, 43, 0.75);

    color: var(--muted-light);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.status-pill {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--gold);
}

.status-pill i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);
}


/* ============================================================
   10. FEATURE CARDS
   ============================================================ */

.features,
.fixtures-section,
.squads-section {
    padding-top: 65px;
    padding-bottom: 65px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.feature-card {
    position: relative;

    min-height: 245px;

    padding: 27px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        var(--panel-light),
        var(--panel)
    );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 189, 36, 0.35);
}

.feature-card::after {
    content: "";

    position: absolute;
    right: -80px;
    bottom: -100px;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    background: rgba(255, 189, 36, 0.08);

    pointer-events: none;
}

.feature-two::after {
    background: rgba(82, 230, 224, 0.08);
}

.feature-three::after {
    background: rgba(155, 92, 255, 0.10);
}

.feature-number {
    position: absolute;
    top: 22px;
    right: 22px;

    color: rgba(255, 255, 255, 0.12);

    font-family: var(--font-head);
    font-size: 29px;
    font-weight: 800;
}

.feature-icon {
    width: 49px;
    height: 49px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border: 1px solid rgba(255, 189, 36, 0.30);
    border-radius: 14px;

    background: rgba(255, 189, 36, 0.09);
    color: var(--gold);

    font-size: 22px;
}

.feature-two .feature-icon {
    border-color: rgba(82, 230, 224, 0.30);

    background: rgba(82, 230, 224, 0.08);
    color: var(--cyan);
}

.feature-three .feature-icon {
    border-color: rgba(155, 92, 255, 0.30);

    background: rgba(155, 92, 255, 0.10);
    color: #c7a4ff;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
}

.feature-card p {
    max-width: 300px;

    margin-bottom: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;
}

.feature-line {
    width: 40px;
    height: 2px;

    margin-top: 22px;

    background: var(--gold);
}

.feature-two .feature-line {
    background: var(--cyan);
}

.feature-three .feature-line {
    background: var(--purple);
}


/* ============================================================
   11. FIXTURES
   ============================================================ */

.heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;
}


/* Fixture filter buttons */

.filter-tabs {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 4px;

    padding: 5px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.02);
}

.filter-tab {
    padding: 10px 13px;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.filter-tab:hover {
    color: var(--ink);
}

.filter-tab.active {
    background: var(--gold);
    color: var(--bg-deep);
}


/* Fixture list */

.fixture-list {
    display: grid;
    gap: 12px;
}

.fixture-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) 145px;

    align-items: center;

    gap: 22px;

    padding: 21px 24px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: var(--panel);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.fixture-row:hover {
    border-color: rgba(255, 189, 36, 0.40);
    transform: translateY(-2px);
}


/* Fixture date */

.fixture-date span,
.fixture-date small {
    display: block;

    color: var(--muted);
    font-size: 9px;
}

.fixture-date span {
    font-weight: 800;
    letter-spacing: 1.2px;
}

.fixture-date strong {
    display: block;

    margin: 3px 0;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 37px;
    font-weight: 900;

    line-height: 1;
}


/* Fixture details */

.fixture-label {
    color: var(--cyan);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.fixture-teams {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin: 7px 0;
}

.fixture-teams strong {
    color: var(--ink);

    font-size: 13px;
    font-weight: 800;
}

.fixture-teams span {
    color: var(--gold);

    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 900;
}

.fixture-main p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.7;
}


/* Fixture status */

.fixture-state {
    text-align: right;
}

.fixture-state > span {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 5px;

    background: rgba(255, 189, 36, 0.10);
    color: var(--gold);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.fixture-state strong {
    display: block;

    margin-top: 7px;

    color: var(--ink);

    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
}

.fixture-state small {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;
}


/* Fixture notes */

.notice-note,
.squad-note {
    margin: 13px 2px 0;

    color: #9298b8;

    font-size: 11px;
    line-height: 1.8;
}


/* Empty fixture results */

.empty-results {
    padding: 30px;

    border: 1px dashed var(--line);
    border-radius: 12px;

    color: var(--muted);

    font-size: 12px;
    text-align: center;
}


/* ============================================================
   12. MATCH RESULTS AND SCORECARDS
   ============================================================ */

.results-section {
    padding-top: 65px;
    padding-bottom: 65px;
}

.results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}

.results-heading h2 {
    margin: 15px 0 10px;

    color: var(--ink);

    font-family: var(--font-head);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 900;

    line-height: 0.98;
}

.results-heading h2 em {
    color: var(--gold);
    font-style: normal;
}

.results-heading p {
    max-width: 550px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;
}


/* Results grid */

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* Individual result card */

.result-card {
    position: relative;

    min-width: 0;

    padding: 24px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        #171a31,
        #101326
    );
}

.result-card.is-completed {
    border-color: rgba(255, 189, 36, 0.35);
}


/* Result card header */

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 22px;
}

.result-match-label {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.1px;
    text-transform: uppercase;
}


/* Result status badge */

.result-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    flex-shrink: 0;

    padding: 6px 9px;

    border-radius: 6px;

    background: rgba(255, 189, 36, 0.10);
    color: var(--gold);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.7px;
}

.result-status::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;
}


/* Completed status */

.result-card.is-completed .result-status {
    background: rgba(82, 230, 224, 0.10);
    color: var(--cyan);
}


/* Scoreboard */

.result-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* Each team's score */

.result-team {
    min-width: 0;
    text-align: center;
}

.result-team-name {
    display: block;

    color: #e7e8f3;

    font-size: 12px;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.result-team-score {
    display: block;

    margin-top: 8px;

    color: #ffffff;

    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 900;

    line-height: 1;
}

.result-team-overs {
    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 10px;
}


/* Winning team */

.result-team.is-winner .result-team-name,
.result-team.is-winner .result-team-score {
    color: var(--gold);
}


/* VS separator */

.result-vs {
    color: var(--gold);

    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 900;
}


/* Result outcome */

.result-outcome {
    margin: 17px 0 0;

    color: #d8d9e8;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.8;
    text-align: center;
}

.result-outcome strong {
    color: var(--gold);
}


/* Result details */

.result-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 8px 18px;

    margin-top: 13px;

    color: #9298b8;

    font-size: 10px;
    line-height: 1.8;
}


/* Upcoming match cards */

.result-card.is-upcoming .result-team-score {
    color: #737894;
}

.result-pending {
    margin: 17px 0 0;

    color: var(--muted);

    font-size: 11px;
    font-weight: 700;

    text-align: center;
}


/* ============================================================
   13. TEAM SQUADS AND PLAYER LISTS
   ============================================================ */

.squad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: stretch;

    gap: 24px;
}


/* Base team card */

.squad-card {
    --team-accent: var(--staff-accent);
    --team-rgb: var(--staff-rgb);

    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 28px;

    overflow: hidden;

    border: 1px solid rgba(var(--team-rgb), 0.30);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(var(--team-rgb), 0.10),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #171a31,
            #101326 70%
        );

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.squad-card:hover {
    transform: translateY(-4px);

    border-color: rgba(var(--team-rgb), 0.60);

    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}


/* Top accent */

.squad-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 28px;

    width: 70px;
    height: 3px;

    border-radius: 0 0 5px 5px;

    background: var(--team-accent);
}


/* Staff XI theme */

.squad-staff {
    --team-accent: var(--staff-accent);
    --team-rgb: var(--staff-rgb);
}


/* RSVM XI theme */

.squad-students {
    --team-accent: var(--student-accent);
    --team-rgb: var(--student-rgb);
}


/* Team card top line */

.squad-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 25px;
}

.squad-label {
    color: var(--team-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.squad-symbol {
    color: rgba(255, 255, 255, 0.16);

    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 900;

    line-height: 1;
}


/* Team title and crest */

.squad-title {
    display: flex;
    align-items: center;

    gap: 17px;

    margin: 0 0 25px;
}

.squad-crest {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(var(--team-rgb), 0.45);
    border-radius: 17px;

    background: rgba(var(--team-rgb), 0.10);
    color: var(--team-accent);

    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 900;
}

.squad-title h3 {
    margin: 0;

    color: var(--ink);

    font-family: var(--font-head);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 900;

    line-height: 1;
    letter-spacing: -0.3px;
}

.squad-title h3 em {
    color: var(--team-accent);
    font-style: normal;
}

.squad-title p {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* Captain highlight card */

.squad-captain {
    position: relative;

    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 24px;
    padding: 18px;

    border: 1px solid rgba(var(--team-rgb), 0.35);
    border-radius: 14px;

    background: linear-gradient(
        110deg,
        rgba(var(--team-rgb), 0.13),
        rgba(var(--team-rgb), 0.035)
    );
}


/* Captain avatar */

.captain-avatar {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(var(--team-rgb), 0.45);
    border-radius: 50%;

    background: rgba(var(--team-rgb), 0.12);
    color: var(--team-accent);

    font-family: var(--font-head);
    font-size: 25px;
    font-weight: 900;
}


/* Captain details */

.captain-info {
    flex: 1;
    min-width: 0;
}

.captain-label {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 5px;

    color: var(--team-accent);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.captain-name {
    display: block;

    overflow-wrap: anywhere;

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.4;
}

.captain-role {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}


/* Captain badge */

.captain-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 7px 10px;

    border: 1px solid rgba(var(--team-rgb), 0.35);
    border-radius: 7px;

    background: rgba(var(--team-rgb), 0.10);
    color: var(--team-accent);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* Squad list heading */

.squad-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;
}

.squad-list-header h4 {
    margin: 0;

    color: var(--ink);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.squad-player-count {
    padding: 5px 9px;

    border: 1px solid rgba(var(--team-rgb), 0.20);
    border-radius: 6px;

    background: rgba(var(--team-rgb), 0.07);
    color: var(--team-accent);

    font-size: 9px;
    font-weight: 800;
}


/* Player list */

.squad-player-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* Individual player */

.squad-player {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
    min-height: 48px;

    padding: 10px 11px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.squad-player:hover {
    border-color: rgba(var(--team-rgb), 0.35);

    background: rgba(var(--team-rgb), 0.045);
}


/* Player number */

.player-number {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 7px;

    background: rgba(var(--team-rgb), 0.10);
    color: var(--team-accent);

    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 800;
}


/* Player name */

.player-name {
    min-width: 0;

    overflow-wrap: anywhere;

    color: #e6e7f2;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.5;
}


/* Captain highlighted in player list */

.squad-player.is-captain {
    border-color: rgba(var(--team-rgb), 0.45);

    background: rgba(var(--team-rgb), 0.09);
}

.squad-player.is-captain .player-name {
    color: #ffffff;
}


/* Captain tag */

.player-captain-tag {
    display: inline-block;

    margin-left: 5px;
    padding: 2px 5px;

    border-radius: 4px;

    background: var(--team-accent);
    color: #101326;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 0.4px;
    vertical-align: middle;
}


/* Squad divider */

.squad-divider {
    height: 1px;

    margin: 24px 0 16px;

    background: rgba(255, 255, 255, 0.10);
}


/* Team values footer */

.squad-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    margin-top: auto;
    padding-top: 15px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.8px;
    line-height: 1.8;
}

.squad-footer span {
    color: var(--team-accent);
}


/* Team section note */

.squad-note {
    margin: 18px 2px 0;

    color: #9298b8;

    font-size: 12px;
    line-height: 1.8;
}


/* ============================================================
   14. HONOURS SECTION
   ============================================================ */

.honours-section {
    padding-top: 45px;
    padding-bottom: 75px;
}

.honours-panel {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 20px;

    min-height: 390px;

    padding: 40px 48px;

    overflow: hidden;

    border: 1px solid rgba(255, 189, 36, 0.25);
    border-radius: 20px;

    background: linear-gradient(
        115deg,
        #17132f,
        #101329 55%,
        #1b1826
    );
}

.honours-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(
        135deg,
        transparent 0 35px,
        rgba(255, 255, 255, 0.012) 36px 37px
    );

    pointer-events: none;
}

.honours-copy {
    position: relative;
    z-index: 2;
}

.honours-copy h2 {
    margin: 16px 0;

    font-family: var(--font-head);
    font-size: clamp(45px, 6vw, 72px);
    font-weight: 900;

    line-height: 0.95;
}

.honours-copy h2 em {
    color: var(--gold);
    font-style: normal;
}

.honours-copy > p {
    max-width: 420px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.9;
}

.honours-placeholder {
    display: inline-flex;
    flex-direction: column;

    gap: 4px;

    margin-top: 12px;
    padding: 12px 16px;

    border-left: 3px solid var(--gold);

    background: rgba(255, 189, 36, 0.06);
}

.honours-placeholder span {
    color: var(--muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.honours-placeholder strong {
    color: var(--ink);

    font-size: 11px;
    letter-spacing: 1px;
}


/* Honours trophy */

.honours-art {
    position: relative;

    display: grid;
    place-items: center;

    min-width: 0;
    height: 330px;
}

.honours-art img {
    position: relative;
    z-index: 1;

    display: block;

    width: min(100%, 330px);
    height: 340px;

    margin: 0 auto;

    object-fit: contain;

    filter: drop-shadow(
        0 20px 25px rgba(0, 0, 0, 0.40)
    );
}

.honours-glow {
    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 189, 36, 0.20),
        transparent 70%
    );

    filter: blur(15px);
}

.star {
    position: absolute;
    z-index: 2;

    color: var(--gold);

    font-size: 23px;
}

.star-1 {
    top: 22%;
    left: 14%;
}

.star-2 {
    top: 35%;
    right: 12%;

    color: var(--cyan);
}

.star-3 {
    bottom: 13%;
    left: 24%;
}


/* ============================================================
   15. SPORTSMANSHIP SECTION
   ============================================================ */

.conduct-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: start;

    gap: 60px;

    padding-top: 25px;
    padding-bottom: 80px;
}

.conduct-title h2 {
    margin: 16px 0;

    font-family: var(--font-head);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 900;

    line-height: 0.98;
}

.conduct-title h2 em {
    color: var(--cyan);
    font-style: normal;
}

.conduct-points > div {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 17px 0;

    border-bottom: 1px solid var(--line);
}

.conduct-points > div:first-child {
    border-top: 1px solid var(--line);
}

.conduct-points span {
    flex-shrink: 0;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 900;
}

.conduct-points p {
    margin: 0;

    color: var(--muted-light);

    font-size: 12px;
    line-height: 1.8;
}


/* ============================================================
   16. CLOSING CALL TO ACTION
   ============================================================ */

.closing-cta {
    position: relative;

    margin-bottom: 65px;
    padding: 65px 25px 70px;

    overflow: hidden;

    border: 1px solid rgba(255, 189, 36, 0.20);
    border-radius: 20px;

    background: linear-gradient(
        130deg,
        rgba(255, 189, 36, 0.06),
        var(--panel) 50%,
        rgba(155, 92, 255, 0.08)
    );

    text-align: center;
}

.closing-orb {
    position: absolute;
    top: -140px;
    left: 50%;

    width: 280px;
    height: 180px;

    border-radius: 50%;

    background: rgba(255, 189, 36, 0.15);

    filter: blur(55px);

    transform: translateX(-50%);
}

.closing-cta .section-kicker {
    justify-content: center;
}

.closing-cta h2 {
    position: relative;

    margin: 16px 0;

    font-family: var(--font-head);
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 900;

    line-height: 0.98;
}

.closing-cta h2 em {
    color: var(--gold);
    font-style: normal;
}

.closing-cta > p {
    margin-bottom: 23px;

    color: var(--muted);

    font-size: 12px;
}


/* ============================================================
   17. FOOTER
   Matches the supplied RSVMPL footer reference
   ============================================================ */

.site-footer {
    display: block;

    width: 100%;

    padding: 65px max(
        24px,
        calc((100% - 1570px) / 2)
    ) 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background: var(--bg-footer);
    color: var(--muted-light);
}


/* Four-column footer layout */

.footer-container {
    display: grid;
    grid-template-columns: 2fr 0.75fr 0.9fr 1.45fr;

    align-items: start;

    gap: 50px;

    padding-bottom: 55px;
}


/* Footer brand */

.footer-brand {
    display: inline-flex;
    align-items: center;

    gap: 15px;

    color: var(--ink);
}

.footer-brand-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 16px;

    background: var(--gold);
    color: var(--bg-footer);

    font-size: 26px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.footer-brand-text strong {
    color: var(--ink);

    font-size: 25px;
    font-weight: 900;

    line-height: 1.2;
}

.footer-brand-text small {
    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


/* Footer description */

.footer-description {
    max-width: 570px;

    margin: 24px 0;

    color: var(--muted-light);

    font-size: 14px;
    line-height: 2;
}


/* Footer social links */

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 10px;
}

.footer-social a {
    width: 57px;
    height: 57px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.08);
    color: var(--muted-light);

    font-size: 23px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--bg-footer);

    transform: translateY(-3px);
}


/* Footer navigation columns */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 15px;

    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 7px;

    color: var(--gold);

    font-size: 15px;
    font-weight: 900;

    letter-spacing: 1.7px;
}

.footer-column > a {
    color: var(--muted-light);

    font-size: 14px;
    line-height: 1.7;

    transition: color 0.2s ease;
}

.footer-column > a:hover {
    color: var(--gold);
}


/* Official event column */

.footer-official > strong {
    color: var(--ink);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.8;
}

.footer-official > p {
    margin: -8px 0 5px;

    color: var(--muted-light);

    font-size: 14px;
    line-height: 1.8;
}


/* Official school badge */

.official-badge {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 5px;
    padding: 15px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.06);

    color: var(--muted-light);

    font-size: 12px;
    line-height: 1.7;
}

.official-badge span {
    flex-shrink: 0;

    color: var(--gold);

    font-size: 19px;
}


/* Footer bottom bar */

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;

    align-items: center;

    gap: 20px;

    padding-top: 23px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;

    color: #94a7c3;

    font-size: 12px;
    line-height: 1.8;
}

.footer-credit {
    text-align: center;
}

.footer-credit strong {
    color: var(--muted-light);
    font-weight: 800;
}

.footer-tagline {
    text-align: right;
}


/* ============================================================
   18. BACK-TO-TOP BUTTON
   ============================================================ */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 22px;

    z-index: 90;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--gold);
    color: var(--bg-footer);

    font-size: 29px;
    font-weight: 800;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
}


/* ============================================================
   19. ANIMATIONS
   ============================================================ */

@keyframes trophy-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* ============================================================
   20. TABLET RESPONSIVE STYLES
   ============================================================ */

@media (max-width: 1000px) {

    /* Header */

    .site-header {
        gap: 18px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .header-cta {
        padding: 10px 13px;
        font-size: 10px;
    }


    /* Hero */

    .hero {
        grid-template-columns: 1fr 0.9fr;
        gap: 15px;
    }

    .hero h1 {
        font-size: clamp(65px, 8vw, 95px);
    }

    .hero-art {
        height: 440px;
    }

    .hero-trophy {
        width: 82%;
        height: 365px;
    }

    .orbit-a {
        width: 350px;
        height: 260px;
    }

    .orbit-b {
        width: 290px;
        height: 380px;
    }


    /* Match centre */

    .match-card {
        grid-template-columns: 1fr 75px 1fr;

        gap: 12px;

        padding-inline: 20px;
    }

    .match-side {
        gap: 10px;
    }

    .side-emblem {
        width: 52px;
        height: 52px;
    }


    /* Fixtures */

    .fixture-row {
        grid-template-columns: 85px minmax(0, 1fr) 125px;

        gap: 15px;

        padding-inline: 18px;
    }


    /* Team cards */

    .squad-grid {
        gap: 16px;
    }

    .squad-card {
        padding: 22px;
    }

    .squad-captain {
        gap: 11px;
        padding: 14px;
    }

    .captain-avatar {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }

    .captain-name {
        font-size: 15px;
    }

    .captain-badge {
        padding: 6px 7px;
        font-size: 8px;
    }

    .squad-player-list {
        grid-template-columns: 1fr;
    }


    /* Footer */

    .footer-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .footer-credit {
        text-align: right;
    }

    .footer-tagline {
        grid-column: 1 / -1;
        text-align: left;
    }
}


/* ============================================================
   21. MOBILE RESPONSIVE STYLES
   ============================================================ */

@media (max-width: 700px) {

    :root {
        --header-height: 70px;
    }


    /* Header */

    .site-header {
        min-height: 70px;

        padding: 9px 16px;

        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;

        padding: 4px;

        border-radius: 13px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-cta {
        display: none;
    }


    /* Mobile navigation */

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 18px 18px;

        border-bottom: 1px solid var(--line);

        background: #0d1024;

        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.20);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 4px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.06);

        font-size: 13px;
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .nav-links a::after {
        display: none;
    }


    /* General layout */

    .section-wrap {
        width: calc(100% - 32px);
    }

    .features,
    .fixtures-section,
    .squads-section,
    .results-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }


    /* Hero */

    .hero {
        grid-template-columns: 1fr;

        gap: 5px;

        min-height: 0;

        padding-top: 48px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .eyebrow,
    .section-kicker {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .hero h1 {
        margin: 26px 0 20px;

        font-size: clamp(65px, 16vw, 100px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn {
        min-height: 44px;

        padding: 12px 15px;

        font-size: 10px;
    }

    .hero-stats {
        margin-top: 30px;
    }

    .hero-stats div {
        padding-inline: 16px;
    }

    .hero-stats strong {
        font-size: 27px;
    }

    .hero-stats span {
        font-size: 9px;
    }


    /* Hero trophy */

    .hero-art {
        height: 360px;

        margin-top: 10px;

        overflow: hidden;
    }

    .hero-trophy {
        width: min(78%, 310px);
        height: 315px;
    }

    .orbit-a {
        width: 280px;
        height: 220px;
    }

    .orbit-b {
        width: 240px;
        height: 310px;
    }

    .label-top {
        top: 5px;
        right: 0;

        font-size: 7px;
        letter-spacing: 1px;
    }

    .label-bottom {
        bottom: 4px;
        font-size: 8px;
    }

    .chip-left {
        top: 27%;
        left: 0;
    }

    .chip-right {
        right: 0;
        bottom: 19%;
    }

    .floating-chip {
        gap: 7px;
        padding: 8px;
    }

    .chip-icon {
        width: 29px;
        height: 29px;

        font-size: 16px;
    }

    .floating-chip small {
        font-size: 7px;
        letter-spacing: 0.6px;
    }

    .floating-chip strong {
        font-size: 10px;
    }

    .hero-bottomline {
        gap: 8px;
        padding-top: 13px;

        font-size: 7px;
        letter-spacing: 0.4px;
    }


    /* Match centre */

    .match-strip {
        padding-top: 45px;
    }

    .match-card {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 24px 17px 68px;
    }

    .match-side,
    .student-side {
        justify-content: flex-start;
        text-align: left;
    }

    .side-emblem {
        width: 47px;
        height: 47px;

        border-radius: 13px;

        font-size: 24px;
    }

    .match-side h2 {
        font-size: 31px;
    }

    .match-side p {
        font-size: 9px;
    }

    .versus {
        position: absolute;
        top: 50%;
        right: 20px;

        transform: translateY(-50%);
    }

    .versus strong {
        font-size: 29px;
    }

    .versus span {
        font-size: 6px;
    }

    .match-card-foot {
        gap: 8px;

        padding: 13px 12px;

        font-size: 7px;
        letter-spacing: 0.4px;
    }


    /* Section headings */

    .section-heading h2,
    .conduct-title h2 {
        font-size: clamp(37px, 10vw, 52px);
    }


    /* Feature cards */

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        min-height: 215px;
        padding: 23px;
    }


    /* Fixture filters */

    .heading-row {
        display: block;
    }

    .filter-tabs {
        display: flex;

        width: fit-content;
        max-width: 100%;

        margin-top: 20px;
    }

    .filter-tab {
        padding: 9px 10px;
        font-size: 9px;
    }


    /* Fixture rows */

    .fixture-list {
        gap: 10px;
    }

    .fixture-row {
        grid-template-columns: 64px minmax(0, 1fr);

        gap: 12px;

        padding: 16px 12px;
    }

    .fixture-date strong {
        font-size: 31px;
    }

    .fixture-date span,
    .fixture-date small {
        font-size: 8px;
    }

    .fixture-label {
        font-size: 7px;
        letter-spacing: 0.6px;
    }

    .fixture-teams {
        gap: 7px;
    }

    .fixture-teams strong {
        font-size: 10px;
    }

    .fixture-teams span {
        font-size: 13px;
    }

    .fixture-main p {
        font-size: 9px;
    }

    .fixture-state {
        grid-column: 2;

        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 8px;

        text-align: left;
    }

    .fixture-state > span {
        font-size: 7px;
    }

    .fixture-state strong {
        margin: 0;
        font-size: 19px;
    }

    .fixture-state small {
        display: none;
    }


    /* Results cards */

    .results-heading {
        display: block;
    }

    .results-heading h2 {
        font-size: 43px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .result-card {
        padding: 18px;
    }

    .result-scoreboard {
        gap: 8px;
    }

    .result-team-name {
        font-size: 11px;
    }

    .result-team-score {
        font-size: 34px;
    }


    /* Squad cards */

    .squad-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .squad-card {
        padding: 22px 18px;
    }

    .squad-title h3 {
        font-size: 34px;
    }

    .squad-crest {
        width: 57px;
        height: 57px;

        font-size: 28px;
    }

    .squad-captain {
        gap: 12px;
        padding: 14px;
    }

    .captain-avatar {
        width: 48px;
        height: 48px;
    }

    .captain-name {
        font-size: 15px;
    }

    .captain-badge {
        padding: 6px 7px;
        font-size: 7px;
    }

    .squad-player-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .squad-player {
        gap: 8px;
        padding: 9px;
    }

    .player-name {
        font-size: 10px;
    }


    /* Honours */

    .honours-section {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    .honours-panel {
        grid-template-columns: 1fr;

        gap: 0;

        padding: 27px 22px 10px;
    }

    .honours-copy h2 {
        font-size: clamp(45px, 12vw, 60px);
    }

    .honours-art {
        height: 255px;
    }

    .honours-art img {
        width: min(100%, 250px);
        height: 260px;
    }


    /* Sportsmanship */

    .conduct-section {
        grid-template-columns: 1fr;

        gap: 20px;

        padding-top: 10px;
        padding-bottom: 50px;
    }


    /* Closing CTA */

    .closing-cta {
        margin-bottom: 40px;
        padding: 48px 17px;
    }

    .closing-cta h2 {
        font-size: clamp(35px, 10vw, 52px);
    }

    .closing-cta > p {
        font-size: 11px;
    }


    /* Footer */

    .site-footer {
        padding: 42px 22px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-bottom: 32px;
    }

    .footer-brand-text strong {
        font-size: 22px;
    }

    .footer-description {
        margin: 20px 0;

        font-size: 12px;
        line-height: 1.9;
    }

    .footer-column {
        gap: 12px;
    }

    .footer-column h3 {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .footer-column > a {
        font-size: 12px;
    }

    .footer-official > strong,
    .footer-official > p {
        font-size: 12px;
    }

    .official-badge {
        font-size: 11px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;

        gap: 10px;

        padding-top: 18px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .footer-credit,
    .footer-tagline {
        grid-column: auto;
        text-align: left;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;

        width: 46px;
        height: 46px;

        font-size: 24px;
    }
}


/* ============================================================
   22. EXTRA-SMALL MOBILE SCREENS
   ============================================================ */

@media (max-width: 380px) {

    .section-wrap {
        width: calc(100% - 26px);
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text small {
        font-size: 6px;
    }

    .hero h1 {
        font-size: 61px;
    }

    .hero-stats div {
        padding-inline: 10px;
    }

    .hero-stats strong {
        font-size: 24px;
    }

    .hero-stats span {
        font-size: 8px;
    }

    .hero-art {
        height: 320px;
    }

    .hero-trophy {
        width: 75%;
        height: 280px;
    }

    .floating-chip {
        padding: 6px;
    }

    .chip-icon {
        width: 25px;
        height: 25px;

        font-size: 13px;
    }

    .floating-chip small {
        font-size: 6px;
    }

    .floating-chip strong {
        font-size: 9px;
    }

    .filter-tab {
        padding: 8px;
        font-size: 8px;
    }

    .fixture-row {
        grid-template-columns: 55px minmax(0, 1fr);
        gap: 9px;
    }

    .fixture-teams {
        gap: 5px;
    }

    .fixture-teams strong {
        font-size: 9px;
    }

    .squad-player-list {
        grid-template-columns: 1fr;
    }

    .squad-card {
        padding: 18px 14px;
    }

    .squad-captain {
        flex-wrap: wrap;
    }

    .captain-badge {
        margin-left: auto;
    }

    .result-scoreboard {
        gap: 5px;
    }

    .result-team-name {
        font-size: 10px;
    }

    .result-team-score {
        font-size: 29px;
    }
}


/* ============================================================
   23. ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .squad-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* =====================================================
   RESULTS INSIDE THE FIXTURES & RESULTS SECTION
   ===================================================== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    width: 100%;
    margin-top: 25px;
}

.result-card {
    min-width: 0;
    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at top right,
            rgba(255, 189, 36, 0.07),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #171a31,
            #101326
        );

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.result-card:hover {
    border-color: rgba(255, 189, 36, 0.40);
    transform: translateY(-3px);
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 22px;
}

.result-match-label {
    color: #a8abc3;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.result-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 10px;

    border-radius: 6px;

    background: rgba(255, 189, 36, 0.10);
    color: #ffbd24;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.result-status::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: currentColor;
}

.result-card.is-completed .result-status {
    background: rgba(82, 230, 224, 0.10);
    color: #52e6e0;
}

.result-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;

    gap: 12px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-team {
    min-width: 0;
    text-align: center;
}

.result-team-name {
    display: block;

    color: #e7e8f3;

    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.result-team-score {
    display: block;

    margin-top: 10px;

    color: #ffffff;

    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.result-team-overs {
    display: block;

    margin-top: 8px;

    color: #a8abc3;
    font-size: 10px;
}

.result-vs {
    color: #ffbd24;

    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 900;
}

.result-pending {
    margin: 18px 0 0;

    color: #c0cce0;

    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.result-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 12px;

    color: #9298b8;
    font-size: 10px;
    text-align: center;
}

.result-team.is-winner .result-team-name,
.result-team.is-winner .result-team-score {
    color: #ffbd24;
}

/* Mobile layout */

@media (max-width: 700px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .result-card {
        padding: 18px;
    }

    .result-team-score {
        font-size: 34px;
    }

    .result-team-name {
        font-size: 11px;
    }
}
/* =====================================================
   FIXTURE INFORMATION CALLOUT
   ===================================================== */

.fixture-callout {
    /* Layout */
    display: flex;
    align-items: center;
    gap: 18px;

    width: 100%;
    min-height: 110px;

    margin-top: 24px;
    padding: 24px 26px;

    /* Appearance */
    border: 1px solid rgba(82, 230, 224, 0.22);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at top left,
            rgba(82, 230, 224, 0.08),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #14182e,
            #0e1226
        );

    /* Animation */
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Hover Effect */

.fixture-callout:hover {
    border-color: rgba(82, 230, 224, 0.45);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

    transform: translateY(-2px);
}


/* =====================================================
   CRICKET ICON
   ===================================================== */

.callout-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(82, 230, 224, 0.25);
    border-radius: 14px;

    background: rgba(82, 230, 224, 0.09);

    font-size: 27px;
    line-height: 1;
}


/* =====================================================
   CALLOUT CONTENT
   ===================================================== */

.callout-content {
    flex: 1;
    min-width: 0;
}

.callout-title {
    display: block;

    margin-bottom: 6px;

    color: #f7f7ff;

    font-family: var(--font-body, Arial, sans-serif);
    font-size: 15px;
    font-weight: 800;

    line-height: 1.4;
}

.callout-description {
    margin: 0;

    color: #a8abc3;

    font-family: var(--font-body, Arial, sans-serif);
    font-size: 12px;
    font-weight: 400;

    line-height: 1.8;
}


/* =====================================================
   OFFICIAL FIXTURES BADGE
   ===================================================== */

.callout-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    gap: 8px;

    padding: 9px 12px;

    border: 1px solid rgba(255, 189, 36, 0.22);
    border-radius: 8px;

    background: rgba(255, 189, 36, 0.07);

    color: #ffbd24;

    font-family: var(--font-body, Arial, sans-serif);
    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
    white-space: nowrap;
}


/* Status Indicator */

.callout-status-dot {
    display: inline-block;

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #52e6e0;

    box-shadow: 0 0 10px rgba(82, 230, 224, 0.4);
}


/* =====================================================
   TABLET RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {

    .fixture-callout {
        gap: 14px;

        padding: 20px;
    }

    .callout-icon {
        width: 48px;
        height: 48px;

        font-size: 24px;
    }

    .callout-title {
        font-size: 14px;
    }

    .callout-description {
        font-size: 11px;
    }

    .callout-tag {
        padding: 8px 9px;

        font-size: 8px;
        letter-spacing: 0.5px;
    }
}


/* =====================================================
   MOBILE RESPONSIVE
   ===================================================== */

@media (max-width: 520px) {

    .fixture-callout {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);

        align-items: start;

        gap: 14px;

        padding: 18px;
    }

    .callout-icon {
        width: 46px;
        height: 46px;

        border-radius: 12px;

        font-size: 23px;
    }

    .callout-content {
        align-self: center;
    }

    .callout-title {
        margin-bottom: 5px;

        font-size: 13px;
    }

    .callout-description {
        font-size: 11px;
        line-height: 1.7;
    }

    .callout-tag {
        grid-column: 2;
        justify-self: start;

        margin-top: 0;

        padding: 7px 9px;

        font-size: 8px;
    }
}


/* =====================================================
   REDUCED MOTION ACCESSIBILITY
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    .fixture-callout {
        transition: none;
    }

    .fixture-callout:hover {
        transform: none;
    }
}
/* ============================================================
   MEET THE TEAMS — FLEXIBLE HEIGHT & PLAYER LIST
   Automatically accommodates all player names.
   ============================================================ */


/* ------------------------------------------------------------
   1. TEAM GRID
   Both team cards stretch to the same height in each row.
   ------------------------------------------------------------ */

.squad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: stretch;
    gap: 24px;

    width: 100%;
}


/* ------------------------------------------------------------
   2. TEAM CARD
   Height is automatic — never force a fixed height.
   ------------------------------------------------------------ */

.squad-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;

    padding: 28px;

    overflow: visible;

    border: 1px solid rgba(var(--team-rgb), 0.30);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at top right,
            rgba(var(--team-rgb), 0.09),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #171a31,
            #101326
        );

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.16);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.squad-card:hover {
    border-color: rgba(var(--team-rgb), 0.55);

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}


/* Team accent line */

.squad-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 28px;

    width: 70px;
    height: 3px;

    border-radius: 0 0 5px 5px;

    background: var(--team-accent);
}


/* Staff XI colours */

.squad-staff {
    --team-accent: #ffbd24;
    --team-rgb: 255, 189, 36;
}


/* RSVM XI colours */

.squad-students {
    --team-accent: #52e6e0;
    --team-rgb: 82, 230, 224;
}


/* ------------------------------------------------------------
   3. TEAM HEADER
   ------------------------------------------------------------ */

.squad-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 26px;
}

.squad-label {
    color: var(--team-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.squad-symbol {
    color: rgba(255, 255, 255, 0.16);

    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 900;

    line-height: 1;
}


/* ------------------------------------------------------------
   4. TEAM NAME AND CREST
   ------------------------------------------------------------ */

.squad-title {
    display: flex;
    align-items: center;

    gap: 17px;

    min-width: 0;

    margin-bottom: 25px;
}

.squad-crest {
    display: grid;
    place-items: center;

    flex: 0 0 64px;

    width: 64px;
    height: 64px;

    border: 1px solid rgba(var(--team-rgb), 0.45);
    border-radius: 17px;

    background: rgba(var(--team-rgb), 0.10);
    color: var(--team-accent);

    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 900;
}

.squad-title > div:last-child {
    flex: 1;
    min-width: 0;
}

.squad-title h3 {
    margin: 0;

    color: var(--ink);

    font-family: var(--font-head);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 900;

    line-height: 1.05;
    overflow-wrap: anywhere;
}

.squad-title h3 em {
    color: var(--team-accent);
    font-style: normal;
}

.squad-title p {
    margin: 7px 0 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}


/* ------------------------------------------------------------
   5. CAPTAIN HIGHLIGHT
   ------------------------------------------------------------ */

.squad-captain {
    display: flex;
    align-items: center;

    gap: 14px;

    min-width: 0;

    margin-bottom: 27px;
    padding: 17px;

    border: 1px solid rgba(var(--team-rgb), 0.35);
    border-radius: 14px;

    background: linear-gradient(
        110deg,
        rgba(var(--team-rgb), 0.13),
        rgba(var(--team-rgb), 0.035)
    );
}


/* Captain initials/avatar */

.captain-avatar {
    display: grid;
    place-items: center;

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    border: 1px solid rgba(var(--team-rgb), 0.45);
    border-radius: 50%;

    background: rgba(var(--team-rgb), 0.12);
    color: var(--team-accent);

    font-family: var(--font-head);
    font-size: 23px;
    font-weight: 900;
}


/* Captain name and role */

.captain-info {
    flex: 1;
    min-width: 0;
}

.captain-label {
    display: block;

    margin-bottom: 5px;

    color: var(--team-accent);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.captain-name {
    display: block;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.5;
    overflow-wrap: anywhere;
}

.captain-role {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}


/* Captain badge */

.captain-badge {
    flex-shrink: 0;

    padding: 7px 9px;

    border: 1px solid rgba(var(--team-rgb), 0.35);
    border-radius: 7px;

    background: rgba(var(--team-rgb), 0.10);
    color: var(--team-accent);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.6px;
}


/* ------------------------------------------------------------
   6. SQUAD LIST HEADER
   ------------------------------------------------------------ */

.squad-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 14px;
}

.squad-list-header h4 {
    margin: 0;

    color: var(--ink);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.squad-player-count {
    padding: 5px 9px;

    border: 1px solid rgba(var(--team-rgb), 0.25);
    border-radius: 6px;

    background: rgba(var(--team-rgb), 0.08);
    color: var(--team-accent);

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}


/* ------------------------------------------------------------
   7. PLAYER LIST
   The list expands naturally as players are added.
   ------------------------------------------------------------ */

.squad-player-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-content: start;
    align-items: stretch;

    gap: 9px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* Individual player row */

.squad-player {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
    min-height: 48px;

    padding: 10px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.squad-player:hover {
    border-color: rgba(var(--team-rgb), 0.35);

    background: rgba(var(--team-rgb), 0.06);
}


/* Player number */

.player-number {
    display: grid;
    place-items: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-radius: 7px;

    background: rgba(var(--team-rgb), 0.10);
    color: var(--team-accent);

    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 800;
}


/* Player name */

.player-name {
    flex: 1;
    min-width: 0;

    color: #e6e7f2;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.6;

    overflow-wrap: anywhere;
    word-break: normal;
}


/* Highlight the captain in the player list */

.squad-player.is-captain {
    border-color: rgba(var(--team-rgb), 0.40);

    background: rgba(var(--team-rgb), 0.09);
}

.squad-player.is-captain .player-name {
    color: #ffffff;
    font-weight: 800;
}


/* Captain abbreviation badge */

.player-captain-tag {
    display: inline-block;

    margin-left: 5px;
    padding: 2px 5px;

    border-radius: 4px;

    background: var(--team-accent);
    color: #101326;

    font-size: 8px;
    font-weight: 900;

    vertical-align: middle;
}


/* ------------------------------------------------------------
   8. TEAM CARD FOOTER
   Always appears after the full player list.
   ------------------------------------------------------------ */

.squad-divider {
    flex-shrink: 0;

    width: 100%;
    height: 1px;

    margin: 25px 0 16px;

    background: rgba(255, 255, 255, 0.10);
}

.squad-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: auto;
    padding-top: 4px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.8px;
    line-height: 1.8;
}

.squad-footer span {
    color: var(--team-accent);
}


/* Information below the two cards */

.squad-note {
    margin: 18px 2px 0;

    color: #9298b8;

    font-size: 12px;
    line-height: 1.8;
}


/* ------------------------------------------------------------
   9. TABLET LAYOUT
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    .squad-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .squad-card {
        height: auto;
    }

    .squad-player-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ------------------------------------------------------------
   10. MOBILE LAYOUT
   ------------------------------------------------------------ */

@media (max-width: 520px) {

    .squad-grid {
        gap: 16px;
    }

    .squad-card {
        padding: 20px 16px;
        border-radius: 15px;
    }

    .squad-card::before {
        left: 16px;
    }

    .squad-top {
        margin-bottom: 21px;
    }

    .squad-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .squad-symbol {
        font-size: 24px;
    }

    .squad-title {
        gap: 13px;
        margin-bottom: 22px;
    }

    .squad-crest {
        flex-basis: 53px;

        width: 53px;
        height: 53px;

        border-radius: 13px;

        font-size: 27px;
    }

    .squad-title h3 {
        font-size: 32px;
    }

    .squad-title p {
        font-size: 11px;
    }

    .squad-captain {
        gap: 10px;
        padding: 13px;
        margin-bottom: 23px;
    }

    .captain-avatar {
        flex-basis: 43px;

        width: 43px;
        height: 43px;

        font-size: 20px;
    }

    .captain-name {
        font-size: 14px;
    }

    .captain-role {
        font-size: 10px;
    }

    .captain-badge {
        padding: 6px;
        font-size: 7px;
    }

    .squad-player-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .squad-player {
        min-height: 46px;
        padding: 9px 11px;
    }

    .player-name {
        font-size: 12px;
    }

    .squad-divider {
        margin-top: 22px;
    }
}


/* ------------------------------------------------------------
   11. VERY SMALL SCREENS
   ------------------------------------------------------------ */

@media (max-width: 360px) {

    .squad-card {
        padding: 18px 12px;
    }

    .squad-card::before {
        left: 12px;
    }

    .squad-captain {
        flex-wrap: wrap;
    }

    .captain-info {
        flex-basis: calc(100% - 65px);
    }

    .captain-badge {
        margin-left: auto;
    }

    .squad-title h3 {
        font-size: 29px;
    }

    .squad-player-list {
        grid-template-columns: 1fr;
    }
}