/* ==========================================================================
   CLARETS ONLINE - Classic Sports Design
   Bold claret & blue colors, traditional football club aesthetic
   ========================================================================== */

/* Base & Typography
   ========================================================================== */

:root {
    /* Team Colors */
    --claret: #6C1D45;
    --claret-dark: #4a1430;
    --blue: #1e3a8a;
    --blue-dark: #1e40af;
    --sky-blue: #99D6EA;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f0f2f5;
    --grey-light: #e9ecef;
    --grey: #6c757d;
    --grey-dark: #343a40;
    --black: #0d1117;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Layout */
    --nav-height: 70px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--grey-dark);
    background: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--spacing-sm); }

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--blue-dark);
}

/* Main Container
   ========================================================================== */

.container {
    margin: 0 auto;
    padding: 0;
}


/* Particles Background
   ========================================================================== */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--claret);
    border-radius: 50%;
    opacity: 0.1;
}

.particle.blue {
    background: var(--blue);
}

/* Create subtle scattered particles */
.particle:nth-child(1) { top: 10%; left: 15%; }
.particle:nth-child(2) { top: 20%; left: 85%; }
.particle:nth-child(3) { top: 35%; left: 25%; }
.particle:nth-child(4) { top: 50%; left: 75%; }
.particle:nth-child(5) { top: 65%; left: 40%; }
.particle:nth-child(6) { top: 75%; left: 10%; }
.particle:nth-child(7) { top: 85%; left: 90%; }
.particle:nth-child(8) { top: 15%; left: 60%; }
.particle:nth-child(9) { top: 45%; left: 5%; }
.particle:nth-child(10) { top: 60%; left: 95%; }
.particle:nth-child(11) { top: 30%; left: 50%; }
.particle:nth-child(12) { top: 70%; left: 65%; }
.particle:nth-child(13) { top: 25%; left: 35%; }
.particle:nth-child(14) { top: 55%; left: 20%; }
.particle:nth-child(15) { top: 80%; left: 55%; }

/* Navigation
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 3px solid var(--claret);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.site-nav__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-nav__brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--claret);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.site-nav__brand:hover {
    color: var(--claret-dark);
}

/* Mobile Hamburger */
.site-nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.site-nav__hamburger span {
    width: 28px;
    height: 3px;
    background: var(--claret);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-nav--open .site-nav__hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.site-nav--open .site-nav__hamburger span:nth-child(2) {
    opacity: 0;
}

.site-nav--open .site-nav__hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.site-nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    padding: 5rem var(--spacing-md) var(--spacing-md);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 10000;
}

.site-nav--open .site-nav__menu {
    right: 0;
}

.site-nav__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--spacing-md);
}

.site-nav__links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.site-nav__links li:last-child {
    border-bottom: none;
}

.site-nav__links a {
    color: var(--grey-dark);
    font-weight: 600;
    font-size: 1.25rem;
    padding: var(--spacing-sm) 0;
    display: block;
    transition: all 0.2s ease;
}

.site-nav__links a:hover {
    color: var(--claret);
}

.site-nav__cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.site-nav__cta:hover {
    background: var(--blue-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.site-nav--open .nav-overlay {
    opacity: 1;
    pointer-events: all;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .site-nav__inner {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .site-nav__hamburger {
        display: none;
    }

    .site-nav__menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: var(--spacing-lg);
        z-index: auto;
    }

    .site-nav__links {
        flex-direction: row;
        gap: var(--spacing-md);
        margin-bottom: 0;
    }

    .site-nav__links li {
        border-bottom: none;
    }

    .site-nav__links a {
        font-size: 1rem;
        padding: 0;
        border-bottom: 2px solid transparent;
    }

    .nav-overlay {
        display: none;
    }
}

/* Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height)); /* Fallback */
    min-height: calc((var(--vh, 1vh) * 100) - var(--nav-height)); /* Actual viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--claret) 0%, var(--claret-dark) 50%, var(--blue) 100%);
    background-size: cover;
    background-position: center;
    padding: var(--spacing-xl) var(--spacing-sm);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Particles (Confetti Fall)
   ========================================================================== */

.hero__particle {
    position: absolute;
    width: 8px;
    height: 12px;
    pointer-events: none;
    animation: confettiFall linear infinite;
}

.hero__particle--claret {
    background: var(--claret);
}

.hero__particle--blue {
    background: var(--blue);
}

.hero__particle--white {
    background: rgba(255, 255, 255, 0.9);
}

.hero__particle--gold {
    background: #ffd700;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(var(--drift)) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Diagonal stripe pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px
        );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__logo {
    margin-bottom: var(--spacing-md);
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero__logo img {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 30px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 800;
}

.hero__subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    margin-top: var(--spacing-lg);
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    animation: bounce 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.hero__scroll-indicator svg {
    display: block;
    width: 28px;
    height: 28px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Desktop Hero */
@media (min-width: 768px) {
    .hero {
        min-height: 600px;
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .hero__logo img {
        height: 220px;
    }

    .hero__badge {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__scroll-indicator {
        display: none;
    }
}

/* History Section
   ========================================================================== */

.history-section {
    position: relative;
    background: linear-gradient(135deg, var(--claret) 0%, var(--claret-dark) 50%, var(--blue) 100%);
    padding: var(--spacing-xl) var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Diagonal stripe pattern overlay */
.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px
        );
    z-index: 1;
}

.history-section__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.history-section__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.history-section__title {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.history-section__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.history-section__content {
    display: grid;
    gap: var(--spacing-lg);
    align-items: start;
}

.history-section__story {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--claret);
    box-shadow: var(--shadow-lg);
}

.history-section__story p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: var(--spacing-sm);
}

.history-section__story p:last-child {
    margin-bottom: 0;
}

.history-section__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.history-stat {
    background: linear-gradient(135deg, var(--claret) 0%, var(--claret-dark) 100%);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.history-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.history-stat__number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.history-stat__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .history-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .history-section__content {
        grid-template-columns: 1.5fr 1fr;
    }

    .history-section__story {
        padding: var(--spacing-lg);
    }

    .history-section__story p {
        font-size: 1.0625rem;
    }

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

@media (min-width: 1024px) {
    .history-section {
        padding: var(--spacing-xl) 0;
    }
}

/* Buttons
   ========================================================================== */

.button {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.button--primary {
    background: var(--white);
    color: var(--claret);
    border-color: var(--white);
}

.button--primary:hover {
    background: var(--claret);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.button--secondary:hover {
    background: var(--white);
    color: var(--claret);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Dashboard Grid
   ========================================================================== */

.dashboard-grid {
    display: grid;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Panels
   ========================================================================== */

.panel {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--claret);
    transition: all 0.3s ease;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--grey-light);
}

.panel__eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--claret);
}

.panel__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    transition: color 0.2s ease;
}

.panel__link:hover {
    color: var(--blue-dark);
}

.panel h3 {
    color: var(--claret);
    margin-bottom: var(--spacing-sm);
}

.panel p {
    color: var(--grey);
    line-height: 1.7;
}

/* Fixture Lists
   ========================================================================== */

.fixture-list {
    list-style: none;
}

.fixture-list__item {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--grey-light);
    transition: background 0.2s ease;
}

.fixture-list__item:last-child {
    border-bottom: none;
}

.fixture-list__item:hover {
    background: var(--off-white);
}

.fixture-list__date {
    font-size: 0.875rem;
    color: var(--grey);
    margin-bottom: 0.25rem;
}

.fixture-list__teams {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.fixture-list__teams span {
    color: var(--grey);
    font-weight: 400;
    font-size: 0.875rem;
    margin: 0 0.5rem;
}

.fixture-list__meta {
    font-size: 0.875rem;
    color: var(--blue);
    margin-bottom: 0;
}

/* News Lists
   ========================================================================== */

.news-list {
    list-style: none;
}

.news-list__item {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--grey-light);
    transition: background 0.2s ease;
}

.news-list__item:last-child {
    border-bottom: none;
}

.news-list__item:hover {
    background: var(--off-white);
}

.news-list__source {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.news-list__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.news-list__excerpt {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Pills
   ========================================================================== */

.pill-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

.pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--off-white);
    border: 1px solid var(--grey-light);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--grey-dark);
}

/* Page Header (Fixtures/News pages)
   ========================================================================== */

.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--claret) 0%, var(--blue) 100%);
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 80px
        );
    z-index: 1;
}

.page-header__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
}

.page-header__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    transition: opacity 0.2s ease;
}

.page-header__back:hover {
    color: var(--white);
    opacity: 0.8;
}

.page-header__title {
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.page-header__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .page-header {
        padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
    }
}

/* Fixtures Grid
   ========================================================================== */

.fixtures-grid {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .fixtures-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 var(--spacing-md);
    }
}

@media (min-width: 1024px) {
    .fixtures-grid {
        padding: 0;
    }
}

/* Fixture Cards
   ========================================================================== */

.fixture-card {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.fixture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fixture-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--grey-light);
}

.fixture-card__competition {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--claret);
}

.fixture-card__venue {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.fixture-card__venue--home {
    background: var(--claret);
    color: var(--white);
}

.fixture-card__venue--away {
    background: var(--blue);
    color: var(--white);
}

.fixture-card__teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.fixture-card__team {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grey-dark);
}

.fixture-card__team--burnley {
    color: var(--claret);
    font-weight: 800;
}

.fixture-card__vs {
    font-size: 0.875rem;
    color: var(--grey);
    font-weight: 400;
}

.fixture-card__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--grey-light);
}

.fixture-card__datetime,
.fixture-card__location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--grey);
}

.fixture-card__datetime svg,
.fixture-card__location svg {
    color: var(--blue);
}

/* Fixtures Hero Layout (Featured Match)
   ========================================================================== */

.fixtures-hero {
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .fixtures-hero {
        padding: 0 var(--spacing-md);
    }
}

@media (min-width: 1024px) {
    .fixtures-hero {
        padding: 0;
    }
}

/* Section Title
   ========================================================================== */

.fixtures-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--claret);
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-sm) var(--spacing-sm);
    border-bottom: 3px solid var(--claret);
}

@media (min-width: 768px) {
    .fixtures-section-title {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

@media (min-width: 1024px) {
    .fixtures-section-title {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Featured Fixture Card
   ========================================================================== */

.fixture-card--featured {
    position: relative;
    background: var(--claret);
    color: var(--white);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .fixture-card--featured {
        padding: var(--spacing-lg);
    }
}

.fixture-card--featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fixture-card--featured .fixture-card__header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.fixture-card--featured .fixture-card__competition {
    color: rgba(255, 255, 255, 0.9);
}

.fixture-card--featured .fixture-card__team {
    color: var(--white);
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .fixture-card--featured .fixture-card__team {
        font-size: 2rem;
    }
}

.fixture-card--featured .fixture-card__team--burnley {
    color: var(--white);
    font-weight: 900;
}

.fixture-card--featured .fixture-card__vs {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.fixture-card--featured .fixture-card__details {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.fixture-card--featured .fixture-card__datetime,
.fixture-card--featured .fixture-card__location {
    color: rgba(255, 255, 255, 0.9);
}

.fixture-card--featured .fixture-card__datetime svg,
.fixture-card--featured .fixture-card__location svg {
    color: var(--white);
}

.fixture-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.fixture-card__status {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--claret);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fixture-card__status--small {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
}

.fixture-card__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.fixture-card__countdown svg {
    flex-shrink: 0;
}

/* Desktop: 3-column grid for fixtures
   ========================================================================== */

@media (min-width: 1024px) {
    .fixtures-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer
   ========================================================================== */

.site-footer {
    background: var(--grey-dark);
    color: var(--grey-light);
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-xl);
    border-top: 4px solid var(--claret);
}

.site-footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--spacing-lg);
    }
}

.site-footer__brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--claret);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.site-footer__tagline {
    color: var(--grey-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer__heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.site-footer__list {
    list-style: none;
}

.site-footer__list li {
    margin-bottom: 0.5rem;
}

.site-footer__list a {
    color: var(--grey-light);
    transition: color 0.2s ease;
}

.site-footer__list a:hover {
    color: var(--white);
}

.site-footer__bar {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.site-footer__bar p {
    font-size: 0.875rem;
    color: var(--grey);
    margin-bottom: 0.25rem;
}

/* Card Styles (for news page)
   ========================================================================== */

.card {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
}

.card h1 {
    color: var(--claret);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--claret);
}

.card__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--grey);
    margin-bottom: 0.5rem;
}

.card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    transition: color 0.2s ease;
}

.card__link:hover {
    color: var(--blue-dark);
}

/* Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
