:root {
    --blue-950: #061a46;
    --blue-900: #092b72;
    --blue-800: #0e3f92;
    --blue-700: #124aa4;
    --gold-500: #e4c735;
    --gold-400: #f1d85b;
    --ink: #10182f;
    --muted: #5f6b82;
    --line: #dce3f0;
    --paper: #f7f9fc;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(6, 26, 70, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    background: var(--paper);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(220, 227, 240, 0.82);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

.brand small {
    color: var(--blue-700);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--blue-950);
    background: rgba(228, 199, 53, 0.22);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-950);
}

.hero {
    min-height: calc(100vh - 83px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px);
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 26, 70, 0.96) 0%, rgba(6, 26, 70, 0.86) 42%, rgba(9, 43, 114, 0.62) 100%),
        radial-gradient(circle at 74% 34%, rgba(241, 216, 91, 0.24), transparent 28%),
        url("../images/hero-cricket-banner.png") center / cover no-repeat,
        linear-gradient(135deg, var(--blue-950), var(--blue-800) 58%, var(--blue-900));
    overflow: hidden;
}

.hero h1,
.page-hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 8vw, 6.9rem);
    line-height: 0.95;
}

.hero-copy {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.7;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold-400);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.btn.primary {
    color: var(--blue-950);
    background: var(--gold-500);
}

.btn.secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.36);
}

.btn.light {
    color: var(--blue-950);
    background: var(--white);
}

.btn.muted {
    color: var(--blue-950);
    background: var(--paper);
    border-color: var(--line);
}

.hero-badge {
    position: relative;
    justify-self: center;
}

.hero-badge::before {
    position: absolute;
    inset: 12%;
    content: "";
    border-radius: 50%;
    background: rgba(241, 216, 91, 0.3);
    filter: blur(44px);
}

.hero-badge img {
    position: relative;
    width: min(430px, 74vw);
    border-radius: 50%;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.section {
    padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.card-grid,
.values,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.intro-grid article,
.team-card,
.values article,
.content-panel,
.contact-card,
.contact-form,
.fixture-list article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(6, 26, 70, 0.07);
}

.intro-grid article,
.team-card,
.values article,
.content-panel,
.contact-card,
.contact-form {
    padding: clamp(22px, 3vw, 34px);
}

.stat,
.team-card span {
    color: var(--gold-500);
    font-weight: 900;
}

h2 {
    margin: 0 0 12px;
    color: var(--blue-950);
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    line-height: 1.12;
}

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

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: start;
    background: var(--white);
}

.split .eyebrow,
.page-hero .eyebrow {
    color: var(--blue-700);
}

.split h2,
.cta-band h2 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list p {
    margin: 0;
    padding: 18px;
    border-left: 4px solid var(--gold-500);
    background: var(--paper);
}

.feature-list strong,
.feature-list span,
.contact-card strong,
.contact-card span {
    display: block;
}

.feature-list strong {
    color: var(--blue-950);
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
}

.cta-band .btn {
    flex: 0 0 auto;
    min-width: 130px;
}

.cta-band h2 {
    margin: 0;
    color: var(--white);
}

.page-hero {
    padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
        radial-gradient(circle at right, rgba(228, 199, 53, 0.35), transparent 30%),
        var(--paper);
}

.page-hero p:last-child {
    max-width: 780px;
    font-size: 1.12rem;
}

.about-page-hero {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 26, 70, 0.94) 0%, rgba(6, 26, 70, 0.82) 46%, rgba(9, 43, 114, 0.46) 100%),
        url("../images/about-banner.png") center / cover no-repeat,
        var(--blue-900);
}

.about-page-hero .eyebrow {
    color: var(--gold-400);
}

.about-page-hero h1,
.about-page-hero p {
    color: var(--white);
}

.fixtures-page-hero,
.stats-page-hero,
.gallery-page-hero,
.contact-page-hero {
    color: var(--white);
}

.fixtures-page-hero {
    background:
        linear-gradient(90deg, rgba(6, 26, 70, 0.94) 0%, rgba(6, 26, 70, 0.82) 46%, rgba(9, 43, 114, 0.46) 100%),
        url("../images/fixtures-banner.png") center / cover no-repeat,
        var(--blue-900);
}

.stats-page-hero {
    background:
        linear-gradient(90deg, rgba(6, 26, 70, 0.94) 0%, rgba(6, 26, 70, 0.82) 46%, rgba(9, 43, 114, 0.46) 100%),
        url("../images/stats-banner.png") center / cover no-repeat,
        var(--blue-900);
}

.gallery-page-hero {
    background:
        linear-gradient(90deg, rgba(6, 26, 70, 0.94) 0%, rgba(6, 26, 70, 0.82) 46%, rgba(9, 43, 114, 0.46) 100%),
        url("../images/gallery-banner.png") center / cover no-repeat,
        var(--blue-900);
}

.contact-page-hero {
    background:
        linear-gradient(90deg, rgba(6, 26, 70, 0.94) 0%, rgba(6, 26, 70, 0.82) 46%, rgba(9, 43, 114, 0.46) 100%),
        url("../images/contact-banner.png") center / cover no-repeat,
        var(--blue-900);
}

.fixtures-page-hero .eyebrow,
.stats-page-hero .eyebrow,
.gallery-page-hero .eyebrow,
.contact-page-hero .eyebrow {
    color: var(--gold-400);
}

.fixtures-page-hero h1,
.fixtures-page-hero p,
.stats-page-hero h1,
.stats-page-hero p,
.gallery-page-hero h1,
.gallery-page-hero p,
.contact-page-hero h1,
.contact-page-hero p {
    color: var(--white);
}

.content-panel {
    margin: clamp(28px, 5vw, 54px) clamp(18px, 5vw, 72px) 0;
    padding: clamp(26px, 4vw, 42px);
}

.story-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: start;
}

.story-panel .eyebrow {
    color: var(--blue-700);
}

.story-panel h2 {
    font-size: clamp(2rem, 4.6vw, 4rem);
}

.story-copy p:first-child {
    margin-top: 0;
}

.achievement-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: clamp(28px, 5vw, 54px);
}

.achievement-strip article {
    padding: clamp(22px, 3vw, 34px);
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
    box-shadow: var(--shadow);
}

.achievement-strip strong {
    display: block;
    color: var(--gold-400);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.95;
}

.achievement-strip span {
    display: block;
    margin-top: 12px;
    font-weight: 900;
}

.team-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(9, 43, 114, 0.05), rgba(9, 43, 114, 0.12)),
        var(--white);
}

.fixture-list {
    display: grid;
    gap: 14px;
}

.fixture-list article {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.fixture-list time {
    display: grid;
    place-items: center;
    min-height: 64px;
    color: var(--blue-950);
    background: var(--gold-500);
    border-radius: 8px;
    font-weight: 900;
}

.fixture-list h2 {
    margin-bottom: 2px;
    font-size: 1.15rem;
}

.fixture-list p {
    margin: 0;
}

.fixture-list article > span {
    color: var(--blue-700);
    font-weight: 800;
}

.fixtures-board {
    background: var(--paper);
}

.results-board {
    background: var(--white);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.result-card,
.empty-state,
.admin-table-wrap,
.admin-topbar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(6, 26, 70, 0.07);
}

.result-card {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 3vw, 34px);
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(228, 199, 53, 0.08), transparent 34%),
        var(--white);
}

.result-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    content: "";
    background: linear-gradient(180deg, var(--gold-500), var(--blue-700));
}

.result-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.result-card-header h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.35rem);
}

.result-label,
.empty-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--gold-500);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result-meta span,
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--blue-950);
    background: rgba(228, 199, 53, 0.22);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: capitalize;
}

.status-pill.completed {
    color: #116149;
    background: #dff7ed;
}

.scoreboard {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 15px 16px;
}

.score-row + .score-row {
    border-top: 1px solid var(--line);
}

.score-row span {
    color: var(--blue-950);
    font-weight: 900;
}

.score-row strong {
    color: var(--blue-700);
    font-size: 1.2rem;
    font-weight: 900;
}

.score-row.winner {
    background: rgba(228, 199, 53, 0.18);
}

.result-text {
    margin: 0;
    color: var(--blue-950);
    font-size: 1.04rem;
    font-weight: 800;
}

.scorecard-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--blue-950);
    background: var(--gold-500);
    font-weight: 900;
}

.empty-state {
    padding: clamp(24px, 4vw, 44px);
}

.empty-state p {
    max-width: 680px;
    margin-bottom: 0;
}

.season-break {
    display: grid;
    gap: 4px;
    border-color: rgba(228, 199, 53, 0.48);
    background:
        radial-gradient(circle at right, rgba(228, 199, 53, 0.18), transparent 32%),
        linear-gradient(135deg, var(--white), #f9fbff);
}

.season-break h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: clamp(28px, 5vw, 54px);
}

.stats-overview article {
    padding: clamp(22px, 3vw, 34px);
    border-radius: 8px;
    color: var(--white);
    background:
        radial-gradient(circle at right, rgba(228, 199, 53, 0.22), transparent 34%),
        linear-gradient(135deg, var(--blue-900), var(--blue-950));
    box-shadow: var(--shadow);
}

.stats-overview span {
    display: block;
    color: var(--gold-400);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.stats-overview strong {
    display: block;
    margin-top: 12px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: 0.95;
}

.stats-board {
    display: grid;
    gap: 24px;
    background: var(--white);
}

.season-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(6, 26, 70, 0.07);
}

.season-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px clamp(18px, 3vw, 28px);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.season-table-heading h2 {
    margin: 0;
}

.season-table-heading span {
    color: var(--blue-700);
    font-weight: 900;
}

.stats-table-wrap {
    overflow-x: auto;
}

.stats-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.stats-table th,
.stats-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.stats-table th {
    color: var(--blue-950);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stats-table td:nth-child(2),
.stats-table td:nth-child(3),
.stats-table td:nth-child(4),
.stats-table td:nth-child(5) {
    color: var(--blue-700);
    font-weight: 900;
}

.stats-table tr:last-child td {
    border-bottom: 0;
}

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

.gallery-grid div {
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(6, 26, 70, 0.12), rgba(6, 26, 70, 0.9)),
        linear-gradient(135deg, var(--blue-800), var(--gold-500));
}

.gallery-grid span {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 900;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
}

.contact-card p {
    margin: 0 0 18px;
}

.contact-card strong {
    color: var(--blue-950);
}

.contact-form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--blue-950);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    font: inherit;
    background: var(--paper);
}

textarea {
    resize: vertical;
}

.admin-hero h1 {
    max-width: 980px;
}

.admin-layout {
    display: grid;
    gap: 22px;
}

.admin-login {
    max-width: 520px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(20px, 3vw, 28px);
}

.admin-topbar h2 {
    margin-bottom: 0;
}

.admin-logout {
    color: var(--blue-950);
    border-color: var(--line);
}

.alert {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.alert.success {
    color: #116149;
    background: #dff7ed;
}

.alert.error {
    color: #9c1c1c;
    background: #ffe7e7;
}

.match-form {
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table-wrap {
    overflow-x: auto;
    padding: clamp(18px, 3vw, 28px);
}

.admin-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--blue-950);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-actions a,
.table-actions button {
    border: 0;
    padding: 0;
    color: var(--blue-700);
    font: inherit;
    font-weight: 900;
    background: transparent;
    cursor: pointer;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px clamp(18px, 5vw, 72px);
    color: rgba(255, 255, 255, 0.76);
    background: var(--blue-950);
}

.site-footer > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.site-footer strong {
    color: var(--white);
}

.site-footer p {
    margin: 0;
    color: inherit;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 83px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 18px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

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

    .site-nav a {
        border-radius: 8px;
    }

    .hero,
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-badge {
        justify-self: start;
    }

    .intro-grid,
    .card-grid,
    .values,
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .brand strong {
        font-size: 0.92rem;
    }

    .brand small {
        font-size: 0.68rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.65rem, 15vw, 4.4rem);
    }

    .hero-actions,
    .cta-band,
    .site-footer,
    .section-heading,
    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .intro-grid,
    .card-grid,
    .values,
    .gallery-grid,
    .achievement-strip,
    .stats-overview {
        grid-template-columns: 1fr;
    }

    .fixture-list article {
        grid-template-columns: 1fr;
    }

    .result-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}
