/* Reset and Base Styles - Mobile First */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Safe area support for iOS notch and home indicator */
:root {
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-inset-left: env(safe-area-inset-left, 0px);
    --safe-area-inset-right: env(safe-area-inset-right, 0px);
}

.pitch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
    padding: 0 max(12px, env(safe-area-inset-left)) 0 max(12px, env(safe-area-inset-right));
    width: 100%;
    max-width: 100%;
}

.pitch-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 31, 57, 0.08);
    overflow: visible;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 1rem;
}

.pitch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(30, 120, 255, 0.3);
}

/* Tablet and desktop hover enhancement */
@media (min-width: 768px) {
    .pitch-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

.pitch-card__header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 16px 16px 0 0;
}

.pitch-card__header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Pitch-specific color accents */
.pitch-card:nth-child(1) .pitch-card__header {
    background: linear-gradient(135deg, #1e78ff 0%, #0c5ce6 100%);
}

.pitch-card:nth-child(2) .pitch-card__header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pitch-card:nth-child(3) .pitch-card__header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.pitch-card:nth-child(4) .pitch-card__header {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.pitch-card:nth-child(5) .pitch-card__header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Matching status bar colors - centered design */
.pitch-card:nth-child(1) .pitch-card__status.is-loaded {
    color: #1e78ff;
}

.pitch-card:nth-child(2) .pitch-card__status.is-loaded {
    color: #10b981;
}

.pitch-card:nth-child(3) .pitch-card__status.is-loaded {
    color: #f59e0b;
}

.pitch-card:nth-child(4) .pitch-card__status.is-loaded {
    color: #8b5cf6;
}

.pitch-card:nth-child(5) .pitch-card__status.is-loaded {
    color: #ef4444;
}

.pitch-card__header h3 {
    font-size: clamp(1rem, 3vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pitch-card__subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.pitch-card__status {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid rgba(18, 59, 115, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pitch-card__status::before {
    content: '📅';
    font-size: 1.125rem;
}

.pitch-card__status.is-empty {
    color: var(--text-gray);
    font-style: italic;
    background: #f9fafb;
}

.pitch-card__status.is-empty::before {
    content: 'ℹ️';
}

.pitch-card__status.is-error {
    color: #dc2626;
    background: #fef2f2;
}

.pitch-card__status.is-error::before {
    content: '⚠️';
}

.pitch-card__status.is-loaded {
    color: var(--primary-blue);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Modern Fixtures Table - Mobile First */
.fixtures-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(0.75rem, 2.5vw, 0.875rem);
    background: white;
    table-layout: auto;
    max-width: 100%;
    overflow-x: hidden;
}

.fixtures-table thead {
    background: var(--dark-blue);
    color: white;
}

.fixtures-table th {
    padding: 0.6rem 0.4rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    border: none;
}

/* Mobile-first column widths */
.fixtures-table th:first-child {
    width: 22%;
    min-width: 70px;
}

.fixtures-table th:nth-child(2) {
    width: 36%;
    min-width: 90px;
}

.fixtures-table th:nth-child(3) {
    width: 6%;
    min-width: 30px;
    text-align: center;
}

.fixtures-table th:nth-child(4) {
    width: 36%;
    min-width: 90px;
}

@media (min-width: 768px) {
    .fixtures-table th:first-child { width: 18%; }
    .fixtures-table th:nth-child(2) { width: 38%; }
    .fixtures-table th:nth-child(3) { width: 6%; }
    .fixtures-table th:nth-child(4) { width: 38%; }
}

.fixtures-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.fixtures-table tbody tr:nth-child(even) {
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
}

.fixtures-table tbody tr:hover {
    background: linear-gradient(90deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(30, 120, 255, 0.15);
}

/* Fade-in animation for fixture rows */
.fixtures-table tbody tr {
    animation: fadeInRow 0.4s ease-out backwards;
}

.fixtures-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.fixtures-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.fixtures-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.fixtures-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.fixtures-table tbody tr:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fixtures-table tbody tr:last-child {
    border-bottom: none;
}

/* Enhanced hover on larger screens */
@media (min-width: 768px) {
    .fixtures-table tbody tr:hover {
        transform: scale(1.01);
    }
}

.fixtures-table td {
    padding: 0.6rem 0.4rem;
    vertical-align: middle;
    border: none;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.fixtures-table .fixture-date {
    white-space: normal;
    word-break: break-word;
    font-size: 0.8125rem;
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.fixture-date-day {
    font-size: 0.6875rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fixture-date-time {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.fixture-date-time::before {
    content: '🕐';
    font-size: 0.875rem;
}

.fixtures-table .fixture-team {
    white-space: nowrap;
}

/* Allow wrapping on mobile */
@media (max-width: 768px) {
    .fixtures-table .fixture-team {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.fixtures-table .fixture-vs {
    text-align: center;
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 0.9rem;
    vertical-align: middle;
    padding: 0.6rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #f0f9ff;
    border-radius: 6px;
}

/* Larger VS indicator on desktop */
@media (min-width: 768px) {
    .fixtures-table .fixture-vs {
        min-width: 32px;
        height: 32px;
        border-radius: 8px;
    }
}

.fixtures-table .fixture-team {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: clamp(0.7rem, 2.5vw, 0.875rem);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    line-height: 1.3;
    min-height: 44px;
}

.team-mini-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

/* Home team styling */
.fixture-team.home-team {
    font-weight: 700;
}


.fixtures-table .fixture-notes {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-style: italic;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 4px;
    margin-top: 0.25rem;
    display: inline-block;
}

/* Match status indicator */
.fixture-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-left: 0.5rem;
}

.fixture-status.live {
    background: #fef2f2;
    color: #dc2626;
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fixture-status.live::before {
    content: '🔴';
    font-size: 0.625rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fixture-status.upcoming {
    background: #f0f9ff;
    color: #0284c7;
}

.fixture-status.upcoming::before {
    content: '📅';
    font-size: 0.75rem;
}

.fixture-status.completed {
    background: #f0fdf4;
    color: #16a34a;
}

.fixture-status.completed::before {
    content: '✓';
    font-size: 0.75rem;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fixtures-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 1rem 0;
}

.fixtures-empty::before {
    content: '📋';
    font-size: 3rem;
    opacity: 0.5;
    display: block;
}

.fixtures-empty-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    font-style: normal;
}

.fixtures-empty-message {
    font-size: 0.9375rem;
    color: var(--text-gray);
    font-style: italic;
    max-width: 400px;
}

.loading-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-gray);
    font-style: italic;
}

/* Image Upload Styles */
.image-upload-container {
    margin: 1rem 0;
}

.image-drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.image-drop-zone:hover {
    border-color: var(--primary-blue);
    background: #f0f9ff;
}

.image-drop-zone.drag-over {
    border-color: var(--primary-blue);
    background: #dbeafe;
    transform: scale(1.02);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-preview {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.remove-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.remove-image-btn:hover {
    background: #dc2626;
}

.upload-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-blue);
    transition: width 0.3s ease;
    width: 0%;
}

/* Card Layout for Fixtures (All screen sizes) */
/* Hide table, show cards everywhere */
.fixtures-table {
    display: none;
}

.fixture-card {
    display: block;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    margin: 0 1rem 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.fixture-card:first-of-type {
    margin-top: 0.75rem;
}

.fixture-card:hover {
    box-shadow: 0 4px 12px rgba(30, 120, 255, 0.15);
    transform: translateY(-2px);
}

.fixture-card__date {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.fixture-card__date::before {
    content: '📅';
    font-size: 1rem;
}

.fixture-card__matchup {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

.fixture-card__team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--dark-blue);
}

.fixture-card__team--home {
    background: #f0f9ff;
}

.fixture-card__team-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fixture-card__team-logo {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    min-width: 28px;
    min-height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.fixture-card__vs {
    text-align: center;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0;
}

@media (max-width: 768px) {
    .pitch-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .pitch-card {
        margin: 0;
        max-width: 100%;
        overflow: visible;
    }
    
    .fixture-card__date {
        font-size: 0.75rem;
    }
    
    .fixture-card__team {
        font-size: 0.875rem;
        padding: 0.625rem;
    }
    
    .fixture-card__team-logo {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px;
        min-height: 20px;
        max-width: 20px;
        max-height: 20px;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .fixture-card__vs {
        font-size: 0.75rem;
    }
    
    .fixtures-empty {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .fixture-card {
        padding: 0.875rem;
    }
    
    .fixture-card__date {
        font-size: 0.7rem;
    }
    
    .fixture-card__team {
        font-size: 0.8125rem;
        padding: 0.5rem;
        gap: 0.4rem;
    }
    
    .fixture-card__team-logo {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        min-height: 18px;
        max-width: 18px;
        max-height: 18px;
    }
}

/* Legacy table styles - hidden now */
.table-responsive {
    display: none;
}

.pitch-table {
    width: 100%;
    border-collapse: collapse;
}

.pitch-table thead th {
    background: #F1F6FF;
    color: var(--dark-blue);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

.pitch-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(18, 59, 115, 0.08);
    font-weight: 500;
}

.pitch-table tbody tr:last-child td {
    border-bottom: none;
}

.pitch-table td[data-label="Notes"] {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pitch-placeholder {
    font-weight: 600;
    color: var(--text-gray);
    background: linear-gradient(90deg, rgba(19, 83, 189, 0.06), rgba(19, 83, 189, 0.03));
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    display: inline-block;
}

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

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

    .pitch-table thead {
        display: none;
    }

    .pitch-table tr {
        display: block;
        border-bottom: 1px solid rgba(18, 59, 115, 0.12);
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .pitch-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 0.5rem;
        border-bottom: none;
    }

    .pitch-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-gray);
        text-transform: uppercase;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        margin-right: 1rem;
    }

    .pitch-table td[data-label="Notes"] {
        font-size: 0.85rem;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .pitch-placeholder {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

:root {
    /* Enhanced color palette - mobile-first */
    --primary-blue: #1e78ff;
    --primary-blue-hover: #0c5ce6;
    --primary-blue-light: #4a90ff;
    --light-blue: #E6F1FF;
    --dark-blue: #123b73;
    --white: #FFFFFF;
    --dark-gray: #2D3748;
    --light-gray: #F7FAFC;
    --text-gray: #4A5568;
    --border-gray: #E2E8F0;
    --success-green: #48BB78;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    
    /* Enhanced gradients */
    --gradient-primary: linear-gradient(135deg, #1e78ff 0%, #0c5ce6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, rgba(18, 59, 115, 0.95) 0%, rgba(30, 120, 255, 0.9) 100%);
    
    /* Enhanced shadows with color tints */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 40px -10px rgba(30, 120, 255, 0.25);
    --shadow-green: 0 10px 40px -10px rgba(16, 185, 129, 0.25);
    
    --ticker-height: 0px;
}

/* Base HTML and body styles - mobile-first */
html {
    overflow-y: auto;
    height: auto;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Respect user's motion preferences */
@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;
    }
}

/* Mobile-first base styles */
body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    color: var(--dark-blue);
    background: var(--light-gray);
    line-height: 1.6;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    /* Mobile optimization */
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Touch optimization */
    touch-action: manipulation;
    font-size: 18px; /* Larger base font for better mobile readability */
    min-width: 320px; /* Prevent layout breaking on very small screens */
    /* Ensure scrolling works */
    overflow-y: auto;
    height: auto;
}

/* Prevent background scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* Enhanced Focus Styles for Accessibility - Mobile First */
*:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link enhancement */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid white;
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Raffle promo (site-wide) */
.promo-raffle {
    position: fixed;
    right: 14px;
    bottom: calc(var(--ticker-height) + 14px + env(safe-area-inset-bottom, 0px));
    z-index: 1202; /* above ticker (1200) */
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 380px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 10px 12px;
}

.promo-raffle img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.promo-raffle .promo-copy { display: flex; flex-direction: column; gap: 4px; }
.promo-raffle .promo-title { margin: 0; font-weight: 700; color: var(--dark-blue); font-size: 1rem; }
.promo-raffle .promo-sub { margin: 0; font-size: 0.9rem; color: var(--text-gray); }
.promo-raffle .promo-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.promo-raffle .btn { padding: 6px 10px; font-size: 0.9rem; }
.promo-raffle .promo-close { margin-left: auto; background: transparent; border: none; color: #718096; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.promo-raffle .promo-close:hover { background: var(--light-gray); color: var(--dark-blue); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20060; /* above nav-backdrop (10004) so mobile menu stays clickable */
    overflow: visible; /* allow dropdowns to extend outside header */
    border-top: 4px solid var(--primary-blue); /* brand stripe */
    /* Mobile optimization */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    will-change: transform;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../stock%20images%20/Rishton%20United%20F.C.%20Emblem.png');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 420px auto;
    opacity: 0.06; /* subtle in header */
    pointer-events: none;
    z-index: 0;
}

/* Mobile-first Navigation Styles */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Mobile: space between logo and toggle */
    height: 70px; /* Mobile-first: reasonable height for touch targets */
    position: relative;
    z-index: 1;
    gap: 0.5rem; /* Better spacing on mobile */
}

/* Desktop navigation adjustments */
@media (min-width: 769px) {
    .nav-container {
        height: 120px; /* More reasonable desktop height */
        justify-content: flex-start; /* Desktop: align from left */
        gap: 1.25rem;
        padding: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        height: 96px;
        padding: 0 0.75rem;
        gap: 1rem;
    }

    .nav-logo {
        gap: 0.75rem;
    }

    .nav-logo .logo {
        width: 88px;
        height: 88px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.5rem 0.75rem;
        max-width: calc(100% - 220px);
    }

    .nav-menu li {
        margin-bottom: 0.25rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-img {
        height: 320px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Mobile-first: better spacing */
    flex-shrink: 0;
    max-width: calc(100vw - 80px); /* Leave room for hamburger menu */
    overflow: hidden;
    height: 100%;
}

/* Desktop logo spacing */
@media (min-width: 769px) {
    .nav-logo {
        gap: 1rem;
        margin-right: 3rem; /* More space on desktop */
        max-width: none;
        overflow: visible;
    }
}

/* Mobile-first logo sizing */
.logo {
    width: 45px; /* Mobile-first: better visibility */
    height: 45px;
    object-fit: contain;
    margin-top: 0;
    flex-shrink: 0;
}

/* Small mobile logo sizing */
@media (min-width: 400px) {
    .logo {
        width: 50px;
        height: 50px;
        margin-top: 1px;
    }
}

/* Tablet logo sizing */
@media (min-width: 481px) {
    .logo {
        width: 60px;
        height: 60px;
        margin-top: 2px;
    }
}

/* Desktop logo sizing */
@media (min-width: 769px) {
    .logo {
        width: 100px;
        height: 100px;
        margin-top: 6px;
    }
}

/* Large desktop logo sizing */
@media (min-width: 1200px) {
    .logo {
        width: 120px;
        height: 120px;
    }
}

/* Mobile-first club name styling */
.club-name {
    font-weight: 600;
    font-size: 0.9rem; /* Mobile-first: readable text */
    line-height: 1.1;
    color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    white-space: nowrap; /* Prevent wrapping on mobile */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    height: fit-content;
}

/* Small mobile club name sizing */
@media (min-width: 400px) {
    .club-name {
        font-size: 1rem;
        line-height: 1.1;
        white-space: normal; /* Allow wrapping on larger screens */
    }
}

/* Tablet club name sizing */
@media (min-width: 481px) {
    .club-name {
        font-size: 1.1rem;
        line-height: 1.1;
    }
}

/* Desktop club name sizing */
@media (min-width: 769px) {
    .club-name {
        font-size: 1.5rem;
        overflow: visible;
        text-overflow: unset;
    }
}

/* Mobile-first club name stacked lines */
.club-line1 {
    font-size: 0.9rem; /* Mobile-first: readable */
    font-weight: 700;
    line-height: 1.1;
}

.club-line2 {
    font-size: 0.8rem; /* Mobile-first: readable */
    font-weight: 600;
    color: var(--text-gray);
    line-height: 1.1;
}

/* Small mobile club lines sizing */
@media (min-width: 400px) {
    .club-line1 {
        font-size: 1rem;
    }
    .club-line2 {
        font-size: 0.9rem;
    }
}

/* Tablet club lines sizing */
@media (min-width: 481px) {
    .club-line1 {
        font-size: 1.1rem;
    }
    .club-line2 {
        font-size: 1rem;
    }
}

/* Desktop club lines sizing */
@media (min-width: 769px) {
    .club-line1 {
        font-size: 1.5rem;
    }
    .club-line2 {
        font-size: 1.2rem;
    }
}

/* Tweak header sizing on medium viewports to avoid crowding */
@media (min-width: 769px) and (max-width: 1100px) {
  .club-line1 { font-size: 1.6rem; }
  .club-line2 { font-size: 1.25rem; }
  .logo { width: 120px; height: 120px; }
  .nav-container { height: 130px; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem; /* default; overridden tighter on desktop above */
    margin: 0;
    padding: 0;
    margin-left: auto; /* push navigation to the right of the logo/name block */
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap; /* keep labels on a single line to avoid misalignment */
}

/* Branded underline indicator */
.nav-link { position: relative; }
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px; /* bring underline a touch closer to text */
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    z-index: 1001;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 70px;
}

.nav-toggle:hover {
    color: var(--primary-blue);
}

.nav-toggle:active {
    opacity: 0.7;
}

/* Hide any icon spans */
.nav-toggle span {
    display: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    z-index: 10011; /* ensure hovered dropdown stacks above header contents */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 10010; /* ensure dropdown overlays everything */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

/* Main Content */
/* Main content positioning */
main {
    margin-top: 70px; /* Mobile-first: match header height */
}

@media (min-width: 769px) {
    main {
        margin-top: 120px; /* Desktop: match header height */
    }
}

/* Hero Section */
.hero {
    background: radial-gradient(1200px 600px at 15% 10%, var(--light-blue) 0%, #ffffff 60%);
    padding: 2rem 1rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative; /* for background logo */
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 1rem;
        min-height: 600px;
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../stock%20images%20/Rishton%20United%20F.C.%20Emblem.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(70vw, 800px);
    opacity: 0.05; /* subtle watermark in hero */
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative; /* above faded logo */
    z-index: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 14px 0 rgba(30, 120, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(30, 120, 255, 0.6);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Icon button animations */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Larger buttons on desktop */
@media (min-width: 768px) {
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.0625rem;
    }
}

.hero-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.hero-img.loaded {
    opacity: 1;
}

@media (min-width: 768px) {
    .hero-img {
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 0.75rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
}

/* Quick Links */
.quick-links {
    padding: 4rem 1rem;
}

.link-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

/* subtle inner border for cards */
.link-card, .news-card, .team-member, .value-card, .form-card {
    outline: 1px solid rgba(18,59,115,0.06);
}

.link-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.link-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* News Preview */
.news-preview {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(30, 120, 255, 0.3);
}

/* Enhanced hover on larger screens */
@media (min-width: 768px) {
    .news-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image zoom on hover */
.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0.5rem 0;
    line-height: 1.3;
}

.news-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a2740 0%, var(--dark-gray) 60%);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-club-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-tagline {
    color: #CBD5E0;
    font-style: italic;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #CBD5E0;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.footer-section p a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section p a:hover {
    color: var(--light-blue) !important;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: #1877f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.social-links a i {
    color: #FFFFFF !important;
    font-size: 1.5rem;
}

.social-links a:hover {
    background: #1664d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.social-links a:hover i {
    color: #FFFFFF !important;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
    text-align: center;
    color: #CBD5E0;
}



/* Mobile Responsive Design */
@media (max-width: 950px) {
    .header::before {
        background-size: 300px auto;
        background-position: right -40px center;
        opacity: 0.05;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px); /* Dynamic viewport height for mobile browsers */
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 1rem 1rem calc(2rem + env(safe-area-inset-bottom));
        transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 20050;
        box-shadow: var(--shadow-lg);
        overflow-y: scroll; /* Always show scrollbar area */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        pointer-events: none;
        visibility: hidden;
        /* iOS-specific fixes */
        will-change: transform;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .nav-menu.active {
        left: 0;
        transform: translateX(0) translateZ(0);
        -webkit-transform: translateX(0) translateZ(0);
        pointer-events: auto;
        visibility: visible;
        /* Ensure scrolling works on iOS and all devices */
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
        flex-shrink: 0;
    }
    
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        font-weight: 500;
        color: var(--dark-blue);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-height: 52px;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background-color: var(--light-blue);
        color: var(--primary-blue);
        transform: translateY(-1px);
    }

    .nav-toggle {
        display: inline-block !important;
        position: relative;
        z-index: 10010;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 16px;
        font-size: 1rem;
        font-weight: 700;
        color: var(--dark-blue);
        white-space: nowrap;
        min-width: 70px;
    }
    
    .nav-toggle:hover,
    .nav-toggle:focus {
        opacity: 0.7;
        outline: none;
    }

    .nav-toggle.active {
        color: var(--primary-blue);
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin: 0.5rem 0;
        border-radius: 8px;
        padding: 0.5rem 0;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .dropdown.open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        color: var(--text-gray);
    }
    
    .dropdown-menu a:hover {
        background-color: var(--white);
        color: var(--primary-blue);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-img {
        height: 250px;
        object-fit: cover;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 360px) {
    body {
        font-size: 16px;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    :root {
        --ticker-height: 110px;
    }

    .sponsors-ticker .ticker-header {
        height: 42px;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-toggle {
        min-width: 80px;
        height: auto;
        padding: 8px 16px;
        white-space: nowrap;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .quick-links,
    .news-preview {
        padding: 2rem 1rem;
    }

    .link-card,
    .news-content {
        padding: 1.5rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 56px; /* Larger touch target for small screens */
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        /* Enhanced mobile touch */
        -webkit-tap-highlight-color: rgba(30, 120, 255, 0.2);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        min-height: 60px; /* Extra large for primary actions */
    }

    /* Improve form inputs on mobile */
    input, textarea, select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Better mobile navigation */
    .nav-link {
        min-height: 52px;
        font-size: 1.1rem;
    }

    /* Optimize images for mobile */
    img {
        height: auto;
        max-width: 100%;
    }
    
    /* Improve text readability on small screens */
    .page-title {
        font-size: 2.25rem;
        line-height: 1.1;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    
    /* Better spacing for mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile to improve performance */
    @media (prefers-reduced-motion: no-preference) {
        *, *::before, *::after {
            animation-duration: 0.2s !important;
            transition-duration: 0.2s !important;
        }
    }

    /* Re-enable essential animations */
    .nav-menu, .dropdown-menu {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }

    /* Improve scrolling performance */
    .hero, .quick-links, .news-preview {
        will-change: transform;
        transform: translateZ(0);
    }

    /* Mobile Image Optimization */
    .news-image, .hero-img, .rounded-image {
        image-rendering: -webkit-optimize-contrast;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    /* Mobile Form Improvements */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        transform: translateZ(0);
    }

    .form-card input,
    .form-card textarea {
        padding: 1rem;
        border-radius: 12px;
        min-height: 52px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Touch-friendly navigation */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover {
        background: rgba(30, 120, 255, 0.1);
    }
    
    .btn:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Enhanced touch feedback */
    .touch-active {
        transform: scale(0.98);
        opacity: 0.8;
        transition: all 0.1s ease;
    }
    
    /* Larger touch targets for mobile */
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-link {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }
}

/* Prefers reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .sponsors-ticker .ticker-track {
        animation: none;
    }
}

/* Touch feedback styles */
.touch-active {
    transform: scale(0.98);
    opacity: 0.8;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

/* Mobile-specific utility classes */
.mobile .hero-img,
.mobile .news-image {
    will-change: transform;
    backface-visibility: hidden;
}

.fonts-loaded body {
    font-display: swap;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        padding-bottom: calc(var(--ticker-height) + env(safe-area-inset-bottom, 20px));
    }
    
    input, textarea {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 12px;
    }
    
    .btn {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Sponsors Page Styles */
.sponsors-content {
    padding: 4rem 1rem;
}

.sponsors-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.sponsors-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.sponsors-intro p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.sponsors-tiers {
    margin-bottom: 4rem;
}

.sponsor-tier {
    margin-bottom: 3rem;
}

.tier-title {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tier-title i {
    color: var(--primary-blue);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sponsor-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.sponsor-card-inner {
    padding: 2rem;
    text-align: center;
}

.sponsor-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sponsor-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-gray);
    font-size: 2rem;
}

.sponsor-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.sponsor-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.sponsor-tier-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    display: inline-block;
}

.sponsor-tier-badge.platinum-tier {
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    color: #374151;
}

.sponsor-tier-badge.gold-tier {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.sponsor-tier-badge.silver-tier {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: white;
}

.sponsor-tier-badge.bronze-tier {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
}

.sponsor-tier-badge.community-tier {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
}

/* Admin table styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
}

.table th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--dark-gray);
}

.table tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.btn-danger {
    background-color: #dc2626;
    color: white;
    border: 1px solid #dc2626;
}

.btn-danger:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.sponsor-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.sponsor-contact {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-style: italic;
}

.sponsor-cta {
    background: var(--light-blue);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.sponsor-cta h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.sponsor-cta p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.loading-spinner {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
    font-style: italic;
}

.no-sponsors {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sponsor-card {
        padding: 1.5rem;
    }
    
    .tier-nav-list {
        gap: 0.5rem;
    }
    
    .tier-nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    font-style: italic;
}

/* Mobile responsive styles for page hero */
@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 3rem 1rem 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* Contact Page: Hero modifier and form styles */
.page-hero--contact {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 4rem 1rem 2.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 760px;
    margin: -1rem auto 0;
}

.contact-section {
    padding: 2rem 1rem 3rem;
    background: var(--white);
}

.container--narrow {
    max-width: 900px;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.75rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-card label {
    font-weight: 600;
    color: var(--dark-blue);
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--light-gray);
    color: var(--dark-gray);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-card textarea {
    resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.form-hint {
    font-size: 0.85rem;
    color: #718096;
}

.form-card input:invalid[aria-invalid="true"],
.form-card textarea:invalid[aria-invalid="true"] {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.form-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.form-status {
    margin: 0;
    color: var(--text-gray);
}

.privacy-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #718096;
}

/* About Page Styles */
.about-content {
    padding: 4rem 1rem;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* History Section */
.history-section {
    padding: 4rem 1rem;
    background: var(--white);
}

.history-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -3rem;
    width: 2px;
    background: var(--light-blue);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(18, 102, 115, 0.2);
    z-index: 1;
    position: relative;
}

.timeline-content {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.timeline-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.achievement-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.achievement-list li {
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    line-height: 1.7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-content .note {
    background: var(--light-blue);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    margin-top: 1.5rem;
    font-style: italic;
}

.league-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.league-list li {
    padding: 0.5rem 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-content {
        padding: 2rem 1rem;
    }
    
    .history-section {
        padding: 2rem 1rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-item:not(:last-child)::before {
        left: 25px;
        top: 60px;
        bottom: -2rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.25rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .value-card {
        padding: 1.5rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.rounded-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Values Section */
.values-section {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy-section {
    padding: 4rem 1rem;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.philosophy-list {
    list-style: none;
    margin: 2rem 0;
}

.philosophy-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.philosophy-list li::before {
    content: '⚽';
    position: absolute;
    left: 0;
    top: 0;
}

/* Join Us Page Styles */
.join-intro {
    padding: 3rem 1rem;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.teams-section {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--light-blue);
}

.team-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    font-weight: 500;
}

.team-item:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.application-section {
    padding: 4rem 1rem;
    background: var(--white);
}

.application-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.join-form {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(18, 102, 115, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    margin-top: 1rem;
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-weight: 500;
}

.form-message-success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.form-message-error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

.form-message-info {
    background: #bee3f8;
    color: #2c5282;
    border-left: 4px solid #3182ce;
}

/* Mobile optimization for join page */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-category {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .join-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Codes of Conduct Section */
.codes-section {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.code-conduct-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.code-conduct-item {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.code-conduct-item h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pdf-container {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.pdf-container embed {
    display: block;
    border: none;
}

.pdf-fallback {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0 0 0;
}

.pdf-fallback .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile optimization for PDFs */
@media (max-width: 768px) {
    .code-conduct-item {
        padding: 1.5rem 1rem;
    }
    
    .code-conduct-item h3 {
        font-size: 1.5rem;
    }
    
    .pdf-container embed {
        height: 500px !important;
    }
}

@media (max-width: 480px) {
    .pdf-container embed {
        height: 400px !important;
    }
}

/* Team Section */
.team-section {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light-blue);
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member p:last-child {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Join Section */
.join-section {
    padding: 4rem 1rem;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.join-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.join-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.join-section .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.join-section .btn-primary:hover {
    background: var(--light-gray);
    border-color: var(--light-gray);
}

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

.join-section .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Future Section (About Page) */
.future-section {
    padding: 4rem 1rem;
    background: var(--primary-blue);
}

.future-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.future-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.future-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.blues-rally {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--primary-blue) !important;
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.future-content .join-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .future-section {
        padding: 2rem 1rem;
    }
    
    .future-content {
        padding: 2rem 1.5rem;
    }
    
    .future-content h2 {
        font-size: 2rem;
    }
    
    .future-content p {
        font-size: 1rem;
    }
    
    .blues-rally {
        font-size: 1.5rem !important;
    }
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-img,
.news-image,
.rounded-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero-img {
        height: 250px;
        border-radius: 0.75rem;
        object-fit: cover;
    }
    
    .news-image {
        height: 180px;
    }
    
    .rounded-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .hero-img {
        height: 200px;
        object-fit: cover;
    }
    
    .news-image {
        height: 160px;
    }
    
    .rounded-image {
        height: 200px;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Accessibility & Touch Targets */
.btn:focus,
.nav-link:focus,
.link-card:focus,
.nav-toggle:focus,
.social-links a:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure minimum touch target sizes */
.nav-link,
.btn,
.social-links a,
.footer-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
}

@media (max-width: 768px) {
    .nav-link {
        min-height: 48px;
        padding: 1rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu a {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .footer-links a {
        min-height: 44px;
        padding: 0.75rem 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0066CC;
        --dark-blue: #003366;
        --text-gray: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION - iOS Safe Area
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(18, 59, 115, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    min-height: 60px;
    gap: 0.25rem;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-item span {
    font-weight: 500;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    background: rgba(18, 59, 115, 0.05);
    color: var(--primary-blue);
}

.mobile-nav-item.active {
    color: var(--primary-blue);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        z-index: 1000;
    }
    
    /* Add padding to body to account for bottom nav + safe area */
    body {
        padding-bottom: calc(70px + max(12px, env(safe-area-inset-bottom)));
    }
    
    /* Ensure main content clears bottom nav */
    main,
    .main-content {
        padding-bottom: calc(2rem + max(12px, env(safe-area-inset-bottom)));
        min-height: calc(100vh - 70px - max(12px, env(safe-area-inset-bottom)));
    }
    
    /* Hide desktop navigation items on mobile */
    .nav-menu {
        padding-bottom: 1rem;
    }
}

/* ============================================
   MOBILE-FIRST IMPROVEMENTS
   ============================================ */

/* Improve hero section for mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        font-size: 1rem;
    }
    
    /* Larger tap targets on mobile */
    .btn {
        min-height: 48px;
        padding: 1rem 1.5rem;
    }
}

/* Improve readability on mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .news-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .news-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Card spacing on mobile */
    .news-grid {
        gap: 1.5rem;
    }
    
    .news-card {
        margin-bottom: 0;
    }
}

/* Simplify footer on mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 1rem;
    }
}

/* Quick action buttons for mobile */
@media (max-width: 768px) {
    .quick-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        position: sticky;
        bottom: 70px;
        z-index: 998;
    }
}

/* Improve form inputs on mobile */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
        min-height: 48px;
    }
    
    textarea {
        min-height: 120px;
    }
}

/* Better spacing on mobile */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .news-preview,
    .features-section {
        padding: 2.5rem 0;
    }
}

/* Improve navigation toggle on mobile */
@media (max-width: 950px) {
    .nav-toggle {
        padding: 8px 16px;
        min-width: 70px;
    }
}

/* Make images more responsive on mobile */
@media (max-width: 768px) {
    .news-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .news-image {
        max-height: 200px;
    }
}

/* Improve button spacing on mobile */
@media (max-width: 768px) {
    .btn + .btn {
        margin-left: 0;
        margin-top: 0.75rem;
    }
}

/* Better table display on mobile */
@media (max-width: 768px) {
    table {
        font-size: 0.8125rem;
    }
    
    th, td {
        padding: 0.625rem 0.375rem;
    }
    
    .fixtures-table .fixture-date {
        font-size: 0.75rem;
    }
    
    .fixture-date-time {
        font-size: 0.8125rem;
    }
    
    .fixtures-table .fixture-team {
        font-size: 0.8125rem;
    }
    
    .fixtures-table .fixture-vs {
        font-size: 0.875rem;
        min-width: 24px;
        height: 24px;
    }
    
    /* Stack fixture info better on very small screens */
    @media (max-width: 400px) {
        .fixtures-table .fixture-date {
            font-size: 0.65rem;
            line-height: 1.25;
        }
        
        .fixtures-table .fixture-team {
            font-size: 0.7rem;
            white-space: normal !important;
            line-height: 1.3;
        }
        
        .fixtures-table th,
        .fixtures-table td {
            padding: 0.45rem 0.2rem;
        }
    }
    
    /* iPhone 15 Pro and similar (390-400px) */
    @media (min-width: 390px) and (max-width: 400px) {
        .fixtures-table .fixture-team {
            font-size: 0.72rem !important;
            white-space: normal !important;
            word-break: break-word;
        }
        
        .fixture-team::before {
            font-size: 0.875rem;
        }
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    .skip-link:focus {
        top: 10px;
        left: 10px;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Fix iOS safe areas */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(1rem, env(safe-area-inset-top));
    }
    
    .mobile-bottom-nav {
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }
}

/* ============================================
   LOADING STATES & ANIMATIONS - Mobile First
   ============================================ */

/* Loading spinner */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading message */
.loading-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-gray);
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Skeleton loading states */
.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Larger movement on desktop */
@media (min-width: 768px) {
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Slide down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   STATUS BADGES & ALERTS - Mobile First
   ============================================ */

/* Status badges for fixtures */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

@media (min-width: 768px) {
    .status-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

.status-live { 
    background: #fef2f2; 
    color: #dc2626;
}

.status-upcoming { 
    background: #f0f9ff; 
    color: #0284c7;
}

.status-completed { 
    background: #f0fdf4; 
    color: #16a34a;
}

.status-cancelled {
    background: #fef3c7;
    color: #d97706;
}

/* Alert messages */
.alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .alert {
        padding: 1rem 1.5rem;
        gap: 1rem;
        align-items: center;
        font-size: 1rem;
    }
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border-left: 4px solid #16a34a;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.alert-warning {
    background: #fffbeb;
    color: #f59e0b;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #f0f9ff;
    color: #0284c7;
    border-left: 4px solid #0284c7;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================
   UTILITY CLASSES - Mobile First
   ============================================ */

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(135deg, #1e78ff, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Enhanced mobile bottom navigation */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .mobile-nav-item {
        position: relative;
    }
    
    .mobile-nav-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--gradient-primary);
        transform: translateX(-50%);
        transition: width 0.3s ease;
        border-radius: 0 0 4px 4px;
    }
    
    .mobile-nav-item.active::before,
    .mobile-nav-item:hover::before {
        width: 60%;
    }
    
    .mobile-nav-item.active i,
    .mobile-nav-item:hover i {
        transform: scale(1.15);
        color: var(--primary-blue);
    }
}

/* Enhanced form inputs - Mobile First */
.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 120, 255, 0.1);
    outline: none;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.9375rem;
}

/* Form validation states */
.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc2626;
}

.form-group input.is-valid,
.form-group textarea.is-valid {
    border-color: #16a34a;
}

.form-hint {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.375rem;
    display: block;
}

.form-error {
    font-size: 0.875rem;
    color: #dc2626;
    margin-top: 0.375rem;
    display: block;
}

/* Card improvements */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .card {
        padding: 2rem;
        border-radius: 16px;
    }
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Enhanced footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(30, 120, 255, 0.3),
        transparent
    );
}

.social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.3);
}

@media (min-width: 768px) {
    .social-links a:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4);
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-bottom-nav,
    .btn,
    .nav-toggle {
        display: none !important;
    }
    
    main {
        margin-top: 0 !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

/* ============================================
   FIXTURES PAGE SPECIFIC ENHANCEMENTS
   ============================================ */

/* Fixtures header section */
.fixtures-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid rgba(30, 120, 255, 0.1);
}

@media (min-width: 768px) {
    .fixtures-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.fixtures-title-section h2 {
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #1e78ff, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fixtures-subtitle {
    color: var(--text-gray);
    font-size: 0.9375rem;
    margin: 0;
}

/* Fixtures legend */
.fixtures-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .fixtures-legend {
        justify-content: flex-start;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    padding: 0.5rem 0.875rem;
    background: #f9fafb;
    border-radius: 8px;
}

.legend-icon {
    font-size: 1.125rem;
}

/* Enhanced refresh button */
.btn-refresh {
    position: relative;
    overflow: hidden;
}

.btn-refresh i {
    transition: transform 0.3s ease;
}

.btn-refresh:active i {
    transform: rotate(180deg);
}

.btn-refresh.loading i {
    animation: spin 1s linear infinite;
}

/* Pitch grid improvements */
.pitch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .pitch-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Table header improvements */
.fixtures-table thead {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1e3a5f 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.fixtures-table th {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive table wrapper improvements */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 12px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f1f5f9;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 0 12px 12px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-hover);
}

/* Score display for completed matches */
.fixture-score {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px;
    font-weight: 700;
    color: #16a34a;
    border: 1px solid #86efac;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.fixture-score-separator {
    color: #86efac;
    font-weight: 400;
}

/* Live match pulse effect */
@keyframes live-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

.fixture-row-live {
    position: relative;
    animation: live-pulse 2s ease-in-out infinite;
}

.fixture-row-live::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #dc2626;
    border-radius: 4px 0 0 4px;
}

/* Today's matches highlight */
.fixture-row-today {
    background: linear-gradient(90deg, #fffbeb 0%, #ffffff 100%) !important;
    border-left: 3px solid #f59e0b;
}

/* Completed matches styling */
.fixture-row-completed {
    opacity: 0.8;
}

.fixture-row-completed:hover {
    opacity: 1;
}

