/* Reset and base styles */
:root {
    /* Colors */
    --primary-color: #0f172a;     /* Dark navy blue */
    --primary-color-light: #1e293b;
    --accent-color: #ffd700;      /* Gold */
    --accent-color-dark: #e6c200;
    --text-color: #1e293b;        /* Dark blue-gray */
    --text-light: #64748b;        /* Light blue-gray */
    --text-dark: #0f172a;         /* Very dark blue */
    --bg-color: #f8fafc;          /* Very light gray */
    --bg-color-secondary: #f1f5f9;
    --card-bg: #ffffff;
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.03);
    
    /* Typography */
    --font-size-xs: clamp(0.7rem, 0.7vw, 0.8rem);
    --font-size-sm: clamp(0.8rem, 0.8vw, 0.9rem);
    --font-size-base: clamp(1rem, 1vw, 1.1rem);
    --font-size-md: clamp(1.1rem, 1.2vw, 1.3rem);
    --font-size-lg: clamp(1.5rem, 1.8vw, 2rem);
    --font-size-xl: clamp(2rem, 3vw, 3rem);
    --font-size-2xl: clamp(2.5rem, 4vw, 4rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Dark mode styles removed - site now only uses light mode */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-xl);
}

h2 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--space-md);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Container for sections */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Header and Navigation */
header {
    background-color: var(--primary-color);
    padding: var(--space-md) 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    width: 40px;
    height: auto;
}

.logo h1 {
    color: white;
    font-size: var(--font-size-md);
    font-weight: 700;
}

.nav-container {
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: color 0.3s;
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.shop-link {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    padding: var(--space-xs) var(--space-md) !important;
    border-radius: var(--radius-full);
    font-weight: 700 !important;
    transition: transform 0.3s, background-color 0.3s !important;
}

.shop-link:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-2px);
}

.shop-link::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}

.theme-toggle {
    margin-left: var(--space-md);
}

/* Theme switch button styles removed as dark mode is disabled */
#theme-switch {
    display: none; /* Hide the theme switch button */
}

.theme-toggle {
    display: none; /* Hide the theme toggle container */
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('../images/banner_logo_01.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    font-weight: 900;
}

.hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: var(--space-xl) 5%;
}

section h2 {
    text-align: center;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xl);
    color: var(--primary-color);
    position: relative;
    font-weight: 800;
}

section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    border-radius: var(--radius-full);
}

/* News Section */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-lg);
}

.news-item {
    position: relative;
    grid-column: span 4;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.news-item.featured {
    grid-column: span 6;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.news-img {
    width: 100%;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    align-self: flex-start;
}

.news-content h3 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: transform 0.3s;
    align-self: flex-start;
}

.read-more::after {
    content: '→';
    margin-left: 4px;
    transition: transform 0.3s;
}

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

.read-more:hover::after {
    transform: translateX(4px);
}

/* Upcoming Matches */
.matches-container {
    max-width: 900px;
    margin: 0 auto;
}

.match {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.match:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
}

.match::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
}

.match-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    margin-right: var(--space-lg);
}

.match-date .month {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

.match-date .day {
    font-size: var(--font-size-lg);
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.match-date .year {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

.match-teams {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: var(--space-md);
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-name {
    font-weight: 700;
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.team-score {
    font-size: var(--font-size-md);
    font-weight: 700;
    min-width: 30px;
    min-height: 20px;
}

.team.home .team-name {
    color: var(--primary-color);
}

.team.away .team-name {
    color: var(--text-light);
}

.vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 var(--space-sm);
}

.vs span {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-light);
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-right: var(--space-lg);
}

.match-venue, .match-time {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.match-venue svg, .match-time svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    stroke: var(--text-light);
}

.match-details {
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: background-color 0.3s, transform 0.3s;
}

.match-details:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-2px);
}

/* Sponsors */
.sponsors {
    background-color: var(--bg-color-secondary);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.sponsor {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.sponsor:hover {
    transform: translateY(-4px);
}

.sponsor img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.sponsor:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-xl) 5% var(--space-lg);
}

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

.footer-section h3 {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: var(--radius-full);
}

.footer-section p {
    color: #ddd;
    margin-bottom: var(--space-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section.contact p {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.footer-section.contact svg {
    width: 18px;
    height: 18px;
    margin-right: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    stroke: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* Team Page Styles */
.team-hero {
    background-image: url('../images/2024_35th_alumni_01.jpg');
    background-position: center 30%;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.team-intro {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.team-intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.lead-text {
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.team-intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Timeline Section */
.timeline-section {
    background-color: var(--bg-color-secondary);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    padding-left: var(--space-lg);
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: var(--space-lg);
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    top: 0;
    right: calc(50% + var(--space-lg));
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-xs) var(--space-md);
    font-weight: 700;
    border-radius: var(--radius-md);
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: calc(50% + var(--space-lg));
}

.timeline-content {
    background-color: var(--card-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    max-width: 80%;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Achievements Section */
.achievements-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.achievement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.achievement-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.achievement-card h3 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.achievement-card ul {
    margin-left: var(--space-lg);
    color: var(--text-light);
}

.achievement-card li {
    margin-bottom: var(--space-sm);
}

/* Team Values Section */
.team-values {
    background-color: var(--bg-color-secondary);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
}

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

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.value-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Join Section */
.join-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.join-text h2 {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.join-text h2::after {
    left: 0;
    transform: none;
}

.join-text p {
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-md);
}

.join-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.join-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.join-image:hover img {
    transform: scale(1.03);
}

/* Match Countdown */
.match-countdown {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.countdown-label {
    display: block;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    opacity: 0.8;
}

/* Results Page Styles */
.results-hero {
    background-image: url('../images/2015_fall_team_01.jpg');
    background-position: center 40%;
    min-height: 400px;
}

.results-filter {
    padding-bottom: 0;
}

.filter-controls {
    max-width: 1600px; /* Match gallery max-width */
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.filter-button {
    background-color: var(--bg-color-secondary);
    color: var(--text-color);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-button.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filters-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.season-summary {
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
    animation: fadeIn 0.5s ease forwards;
}

.season-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--bg-color-secondary);
}

.season-header h3 {
    margin-bottom: 0;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.season-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.season-stat {
    text-align: center;
    min-width: 80px;
}

.season-stat .stat-value {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.season-stat .stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 4px;
}

.results-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
}

.results-table th,
.results-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--bg-color-secondary);
}

.results-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.results-table th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.results-table th:last-child {
    border-top-right-radius: var(--radius-lg);
}

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

.results-table tr.win td {
    border-left: 3px solid #10b981; /* Green */
}

.results-table tr.loss td {
    border-left: 3px solid #ef4444; /* Red */
}

.results-table tr.draw td {
    border-left: 3px solid #f59e0b; /* Amber */
}

.results-table tr:hover {
    background-color: var(--bg-color-secondary);
}

.historic-results {
    max-width: 1000px;
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bg-color-secondary);
}

.historic-results h3 {
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--primary-color);
}

.historic-seasons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.historic-season {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.historic-season-header {
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.historic-season-header:hover {
    background-color: var(--bg-color-secondary);
}

.historic-season-header h4 {
    margin: 0;
    font-size: var(--font-size-base);
    color: var(--primary-color);
}

.historic-season-summary {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.toggle-icon {
    font-size: var(--font-size-md);
    font-weight: 600;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--bg-color-secondary);
    color: var(--primary-color);
}

.historic-season-details {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--bg-color-secondary);
    display: none;
}

.loading-data {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: var(--space-md) 0;
}

.historic-details-content {
    padding: var(--space-md) 0;
}

.historic-record {
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

/* Championships Section */
.championships-section {
    background-color: var(--bg-color-secondary);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.championships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.championship-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.championship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
}

.championship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.championship-year {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 800;
    font-size: var(--font-size-md);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.championship-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

.championship-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* All-Time Records */
.all-time-records {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.record-item {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.record-item:hover {
    transform: translateY(-5px);
}

.record-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.record-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Section Reveal Animation */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Page Styles */
.gallery-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    color: white;
    padding: var(--space-lg) 2% var(--space-md); /* Reduced padding */
    text-align: center;
}

.gallery-header h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
    font-weight: 900;
}

.gallery-header p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Compact Filter Controls */
.filter-bar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--bg-color-secondary);
    padding: var(--space-sm) 2%; /* Reduced from 5% to 2% */
    position: sticky;
    top: 72px; /* Adjust based on your header height */
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    background-color: var(--bg-color-secondary);
    border: 1px solid var(--bg-color);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-width: 120px;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.filter-dropdown-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Enhanced dropdown styles for better major display */
.filter-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 300px; /* Increased from 200px */
    overflow-y: auto;
    display: none;
    min-width: 200px; /* Ensure minimum width */
}

/* Special handling for major dropdown to be wider */
#major-dropdown .filter-dropdown-content {
    max-height: 350px; /* Even taller for majors */
    min-width: 250px; /* Wider for longer major names */
    max-width: 350px; /* Set maximum width */
}

.filter-dropdown.active .filter-dropdown-content {
    display: block;
}

.filter-option {
    padding: var(--space-xs) var(--space-md);
    cursor: pointer;
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start for wrapping */
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    transition: background-color 0.2s ease;
    min-height: 32px; /* Minimum height for touch targets */
}

.filter-option:hover {
    background-color: var(--bg-color-secondary);
}

.filter-option input[type="checkbox"] {
    margin: 0;
    margin-top: 2px; /* Slight offset to align with first line of text */
    flex-shrink: 0; /* Prevent checkbox from shrinking */
}

.filter-option label {
    flex: 1;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
    cursor: pointer;
    margin: 0; /* Remove any default margin */
}

.filter-actions {
    display: flex;
    gap: var(--space-sm);
    margin-left: auto;
}

.filter-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-1px);
}

.filter-btn.secondary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.filter-btn.secondary:hover {
    background-color: var(--accent-color-dark);
}

.results-info {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    padding: var(--space-xs) var(--space-md);
    background-color: var(--bg-color-secondary);
    border-radius: var(--radius-md);
    white-space: nowrap;
}

/* Improved scrollbar styling for better UX */
.filter-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.filter-dropdown-content::-webkit-scrollbar-track {
    background: var(--bg-color-secondary);
    border-radius: 3px;
}

.filter-dropdown-content::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.filter-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color-dark);
}

/* Optimized Gallery Layout - More players per row, less margins */
.player-gallery-section {
    padding: var(--space-md) 2% var(--space-xl); /* Reduced from 5% to 2% */
}

/* Optimize container width */
.player-gallery-section .container {
    max-width: 1600px; /* Increased from 1400px */
    padding: 0 var(--space-sm); /* Reduced padding */
}

/* Enhanced gallery grid for more players per row */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Reduced from 280px to 220px */
    gap: var(--space-md); /* Reduced gap slightly */
    max-width: 1600px;
    margin: 0 auto;
}

/* Adjust player cards for smaller but well-proportioned display */
.player-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.player-card:hover {
    transform: translateY(-6px); /* Slightly reduced hover effect */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.06);
}

/* Optimize player image aspect ratio */
.player-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4; /* Keep the same ratio but in smaller cards */
    background-color: var(--bg-color-secondary);
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.player-card:hover .player-overlay {
    opacity: 1;
}

.player-bio {
    color: white;
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

/* Adjust player info padding */
.player-info {
    padding: var(--space-sm) var(--space-md); /* Reduced from var(--space-md) */
}

/* Optimize player name font size */
.player-name {
    font-size: var(--font-size-base); /* Slightly smaller */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-xs); /* Reduced margin */
    line-height: 1.2;
}

/* Adjust player details spacing */
.player-details {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduced gap */
    margin-bottom: var(--space-xs); /* Reduced margin */
}

.player-details > div {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs); /* Slightly smaller text */
    color: var(--text-light);
}

.player-details svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-color);
    flex-shrink: 0;
}

/* Optimize social media links */
.social-media-links {
    display: flex;
    gap: 6px; /* Reduced gap */
    justify-content: center;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--bg-color-secondary);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; /* Reduced from 32px */
    height: 28px;
    background-color: var(--bg-color-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.social-link svg {
    width: 14px; /* Reduced from 16px */
    height: 14px;
}

/* Join Team CTA */
.join-team-cta {
    padding: var(--space-xl) 2%; /* Reduced margins */
}

.join-team-cta .container {
    max-width: 1600px;
}

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

.cta-content h2 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.cta-content p {
    margin-bottom: var(--space-lg);
    color: var(--text-light);
    font-size: var(--font-size-md);
}

/* Contact Page Styles */
.contact-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.contact-info > p {
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: var(--space-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.contact-text h4 {
    margin-bottom: var(--space-xs);
    font-weight: 700;
    color: var(--primary-color);
}

.contact-text p {
    margin-bottom: var(--space-xs);
    color: var(--text-light);
}

.social-connect h3 {
    margin-bottom: var(--space-md);
}

.social-connect .social-links {
    display: flex;
    gap: var(--space-md);
}

.social-connect .social-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color-light);
}

.social-connect .social-icon:hover {
    background-color: var(--accent-color);
}

.contact-form-container {
    background-color: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.contact-form-container h3 {
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-button:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-2px);
}

.error-message {
    color: #ef4444;
    font-size: var(--font-size-xs);
    margin-top: var(--space-xs);
}

.input-error {
    border-color: #ef4444 !important;
}

.form-errors {
    margin-bottom: var(--space-md);
}

.error-alert {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.error-alert ul {
    margin-left: var(--space-md);
    color: #ef4444;
}

.error-alert li {
    margin-bottom: var(--space-xs);
}

.donation-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #10b981; /* Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.donation-success h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
}

.donation-success p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    max-width: 500px;
}

.map-section {
    background-color: var(--bg-color-secondary);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-placeholder {
    background-color: var(--card-bg);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: var(--space-lg);
}

/* Donation Page Styles */
.donate-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
}

.donate-intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.donation-tier {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.donation-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    opacity: 0.5;
}

.donation-tier.featured {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--accent-color);
}

.donation-tier.featured::before {
    opacity: 1;
    height: 6px;
}

.donation-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.donation-tier.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-header {
    text-align: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--bg-color-secondary);
}

.tier-header h3 {
    margin-bottom: var(--space-xs);
    color: var(--primary-color);
}

.tier-amount {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent-color);
}

.tier-benefits {
    list-style-type: none;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.tier-benefits li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: 1.5em;
    color: var(--text-light);
}

.tier-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.donation-tier .cta-button {
    width: 100%;
    text-align: center;
}

.donation-impact {
    max-width: 1000px;
    margin: 0 auto;
}

.donation-impact h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.impact-item {
    text-align: center;
    padding: var(--space-md);
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.impact-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.impact-item h4 {
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
    font-weight: 700;
}

.impact-item p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.donate-form-section {
    background-color: var(--bg-color-secondary);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.donate-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.radio-options {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xs);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group input {
    width: auto;
}

.donate-button {
    width: 100%;
    padding: var(--space-md);
    margin-top: var(--space-md);
    font-size: var(--font-size-md);
    background-color: var(--accent-color);
}

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.secure-payment svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-light);
}

.other-ways-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.support-option {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    text-align: center;
}

.support-option:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.support-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent-color);
}

.support-option h3 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.support-option p {
    color: var(--text-light);
}

.support-option a {
    color: var(--accent-color-dark);
    font-weight: 600;
    text-decoration: underline;
}

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

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

.news-item, .match, .sponsor, .stat-item, .timeline-item, .achievement-card, .value-item,
.championship-card, .record-item, .historic-season {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.news-item:nth-child(1),
.stat-item:nth-child(1),
.achievement-card:nth-child(1),
.value-item:nth-child(1),
.championship-card:nth-child(1),
.record-item:nth-child(1) {
    animation-delay: 0.1s;
}

.news-item:nth-child(2),
.stat-item:nth-child(2),
.achievement-card:nth-child(2),
.value-item:nth-child(2),
.championship-card:nth-child(2),
.record-item:nth-child(2) {
    animation-delay: 0.2s;
}

.news-item:nth-child(3),
.stat-item:nth-child(3),
.achievement-card:nth-child(3),
.value-item:nth-child(3),
.championship-card:nth-child(3),
.record-item:nth-child(3) {
    animation-delay: 0.3s;
}

.match:nth-child(1),
.stat-item:nth-child(4),
.achievement-card:nth-child(4),
.value-item:nth-child(4),
.championship-card:nth-child(4),
.record-item:nth-child(4) {
    animation-delay: 0.4s;
}

.match:nth-child(2),
.value-item:nth-child(5),
.championship-card:nth-child(5),
.record-item:nth-child(5) {
    animation-delay: 0.5s;
}

.sponsor:nth-child(1),
.value-item:nth-child(6),
.championship-card:nth-child(6),
.record-item:nth-child(6) {
    animation-delay: 0.6s;
}

.sponsor:nth-child(2) {
    animation-delay: 0.7s;
}

.sponsor:nth-child(3) {
    animation-delay: 0.8s;
}

.sponsor:nth-child(4) {
    animation-delay: 0.9s;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(6) {
    animation-delay: 0.7s;
}

.timeline-item:nth-child(7) {
    animation-delay: 0.8s;
}

.historic-season:nth-child(1) {
    animation-delay: 0.2s;
}

.historic-season:nth-child(2) {
    animation-delay: 0.3s;
}

.historic-season:nth-child(3) {
    animation-delay: 0.4s;
}

.historic-season:nth-child(4) {
    animation-delay: 0.5s;
}

.historic-season:nth-child(5) {
    animation-delay: 0.6s;
}

/* Filter animations */
.filter-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.filter-dropdown.active .filter-dropdown-btn svg {
    transform: rotate(180deg);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 6rem;
    }
    
    .news-item.featured {
        grid-column: span 12;
    }
    
    .news-item {
        grid-column: span 6;
    }
    
    .team-intro-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .timeline-item, 
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: calc(40px + var(--space-lg));
        justify-content: flex-start;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-date, 
    .timeline-item:nth-child(even) .timeline-date {
        right: auto;
        left: 0;
        top: -30px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
    
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .join-text {
        order: 1;
    }
    
    .join-image {
        order: 0;
    }
    
    .season-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .contact-grid {
        gap: var(--space-lg);
    }
    
    .contact-form-container {
        padding: var(--space-lg);
    }
}

/* Responsive breakpoints for optimal display */
@media (min-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* Slightly larger on very wide screens */
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: var(--space-sm) 5%;
    }
    
    .main-nav {
        position: relative;
    }
    
    .nav-container {
        order: 3;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        flex-direction: column;
        background-color: var(--primary-color);
        top: 100%;
        right: -20px;
        width: 200px;
        padding: var(--space-md);
        border-radius: var(--radius-md);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        gap: var(--space-sm);
        transform: translateY(10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }
    
    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero h2 {
        font-size: var(--font-size-xl);
    }
    
    .hero p {
        font-size: var(--font-size-md);
    }
    
    .news-item {
        grid-column: span 12;
    }
    
    .match {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-md);
    }
    
    .match-date {
        margin-right: 0;
        flex-direction: row;
        align-items: center;
        gap: var(--space-xs);
        order: 1;
    }
    
    .match-date .month,
    .match-date .day,
    .match-date .year {
        font-size: var(--font-size-xs);
    }
    
    .match-teams {
        width: 100%;
        order: 2;
    }
    
    .match-info {
        width: 100%;
        flex-direction: row;
        margin-right: 0;
        order: 3;
    }
    
    .match-details {
        align-self: flex-start;
        order: 4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .team-intro-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .achievements-grid {
        gap: var(--space-md);
    }
    
    .filter-buttons {
        gap: var(--space-sm);
    }
    
    .filter-button {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-md);
    }
    
    .season-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    /* Gallery responsive */
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }

    .filter-group {
        justify-content: space-between;
    }

    .filter-actions {
        margin-left: 0;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: var(--space-sm);
    }
    
    .player-gallery-section {
        padding: var(--space-md) 1%;
    }

    .filter-bar {
        position: relative;
        top: 0;
    }
    
    /* Enhanced mobile responsiveness for dropdowns */
    .filter-dropdown-content {
        max-height: 250px;
        min-width: 180px;
    }
    
    #major-dropdown .filter-dropdown-content {
        max-height: 280px;
        min-width: 200px;
        max-width: 280px;
    }
    
    .filter-option {
        padding: var(--space-sm) var(--space-md);
        min-height: 40px; /* Larger touch targets on mobile */
    }
    
    .donation-tier.featured {
        transform: none;
    }
    
    .donation-tier.featured:hover {
        transform: translateY(-5px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .radio-options {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .donate-form-container {
        padding: var(--space-lg);
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-row {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        justify-content: space-between;
        width: 100%;
    }

    .filter-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-sm);
    }
    
    .player-info {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .player-name {
        font-size: var(--font-size-sm);
    }
    
    .player-details > div {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 4rem;
    }
    
    section {
        padding: var(--space-lg) 5%;
    }
    
    section h2 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-lg);
    }
    
    .footer-content {
        gap: var(--space-lg);
    }
    
    .team-intro-stats {
        grid-template-columns: 1fr;
    }
    
    .match-countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .results-table th,
    .results-table td {
        padding: var(--space-sm);
        font-size: var(--font-size-xs);
    }
    
    .season-stat {
        min-width: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-bottom: var(--space-sm);
        margin-right: 0;
    }
    
    .social-connect .social-links {
        justify-content: center;
    }
    
    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: var(--space-xs);
    }
    
    .player-gallery-section {
        padding: var(--space-sm) 1%;
    }
    
    .player-info {
        padding: var(--space-xs);
    }
    
    .player-name {
        font-size: var(--font-size-sm);
        margin-bottom: 4px;
    }
    
    .player-details {
        gap: 2px;
        margin-bottom: 6px;
    }
    
    .social-link {
        width: 24px;
        height: 24px;
    }
    
    .social-link svg {
        width: 12px;
        height: 12px;
    }
    
    .filter-dropdown-content {
        left: -20px;
        right: -20px;
        min-width: auto;
    }
    
    #major-dropdown .filter-dropdown-content {
        max-width: none;
    }
}