/* --- Global Reset & Base Styles --- */
:root {
    --primary-color: #00D084; /* Vibrant green accent */
    --secondary-color: #FFFFFF; /* White for contrast */
    --dark-bg: #000000; /* Pure black background */
    --medium-bg: #0D0D0D; /* Very dark for cards */
    --light-bg: #1A1A1A; /* Dark grey for subtle backgrounds */
    --text-color: #FFFFFF; /* Pure white text */
    --text-muted: #B3B3B3; /* Muted grey for secondary text */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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


/* --- Header & Navigation --- */
header {
    background-color: rgba(30, 30, 30, 0.9); /* Slightly transparent dark background */
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Frosted glass effect */
}

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

.logo {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo .logo-accent {
    color: var(--primary-color);
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 5px 0;
    position: relative;
    text-decoration: none;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--text-color);
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001; /* Above header content but below open mobile nav */
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Mobile Navigation Container */
.mobile-nav-container {
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--medium-bg);
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    z-index: 1005;
    transition: left 0.4s ease-in-out;
    overflow-y: auto;
    padding: 80px 20px 20px;
}

.mobile-nav-container.active {
    left: 0;
}

.mobile-nav {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav li a {
    display: block;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.mobile-nav li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.close-nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    padding: 5px;
    z-index: 1006;
}

.close-nav-btn:hover {
    color: var(--primary-color);
}

/* Overlay for when mobile nav is open */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1004; /* Below mobile nav, above content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1599056497050-69681a0115aa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') no-repeat center center/cover; /* Replace with high-quality cricket image */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)); /* Darker overlay */
}

.hero-content {
    position: relative; /* To sit on top of the overlay */
    z-index: 1;
    animation: fadeInZoom 1s ease-out forwards;
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content .year-highlight {
    color: var(--primary-color);
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Section Styles */
.countdown-section {
    background-color: var(--medium-bg);
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.countdown-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.countdown-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.countdown-title span {
    color: var(--primary-color);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-item {
    background-color: var(--dark-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-bg);
    transition: transform var(--transition-speed);
}

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

.countdown-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.target-date {
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.target-date i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.target-date span {
    font-family: var(--font-secondary);
    font-weight: 600;
}

.countdown-date-picker {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.countdown-date-picker input {
    background-color: var(--dark-bg);
    border: 1px solid var(--light-bg);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    cursor: pointer;
}

.countdown-date-picker button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.countdown-date-picker button:hover {
    background-color: #008f5b;
}

@media (max-width: 768px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-date-picker {
        flex-direction: column;
    }
    
    .countdown-date-picker input,
    .countdown-date-picker button {
        width: 100%;
    }
}

.cta-button, .cta-button-secondary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
}

.cta-button:hover {
    background-color: #008f5b; /* Darker shade of primary */
    transform: translateY(-3px);
    color: #fff;
}

.cta-button-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* --- About Section --- */
#about p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Highlights Section --- */
#highlights {
    background-color: var(--medium-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.highlight-item {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(255,255,255,0.05);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.highlight-item i { /* FontAwesome icons, adjust if using SVGs */
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.highlight-item h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Schedule Preview Section --- */
.match-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.match-card {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--light-bg);
}

.match-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.match-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.match-teams {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.match-teams .vs {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin: 0 10px;
}

.match-venue {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.match-details-link {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.match-details-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Teams Section --- */
#teams {
    background-color: var(--medium-bg);
}
.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.team-logo-card {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-speed);
}

.team-logo-card img {
    max-width: 100px; /* Adjust as needed */
    filter: grayscale(50%); /* Slight desaturation for modern look */
    transition: filter var(--transition-speed);
}

.team-logo-card:hover img {
    filter: grayscale(0%);
}
.team-logo-card:hover {
    transform: scale(1.05);
}


/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-article {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    overflow: hidden; /* To contain the image */
    transition: box-shadow var(--transition-speed);
    border: 1px solid var(--light-bg);
}

.news-article:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.news-article img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform var(--transition-speed);
}

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

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more-link {
    font-weight: 600;
    color: var(--primary-color);
    transition: letter-spacing var(--transition-speed);
}

.read-more-link:hover {
    letter-spacing: 0.5px;
}

/* --- Sponsors Section --- */
#sponsors {
    background-color: var(--dark-bg); /* Keep it subtle */
    padding: 60px 0;
}
.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.sponsors-grid img {
    max-height: 60px; /* Adjust as needed */
    transition: filter var(--transition-speed), opacity var(--transition-speed);
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}


/* --- Footer --- */
footer {
    background-color: #000; /* Black for footer */
    color: var(--text-muted);
    padding: 60px 0 20px;
}

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

.footer-section h3, .footer-section h4 {
    font-family: var(--font-secondary);
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.footer-section .logo .logo-accent {
    color: var(--primary-color);
}

/* Highlighted registration amount badge */
.amount-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff7a18 0%, #ffb200 100%);
    color: #fff;
    font-weight: 800;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    font-size: 1.05rem;
}

.amount-badge small {
    display: block;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    opacity: 0.95;
}


.footer-section p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.social-links a {
    color: var(--text-muted);
    margin-right: 15px;
    font-size: 1.3rem;
    transition: color var(--transition-speed);
}

.fa-facebook-f:hover {
    color: #00D084;
}

.fa-twitter:hover {
    color: #00D084;
}

.fa-instagram:hover {
  background: #00D084;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-youtube:hover {
    color: #00D084;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-section.links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.text-input {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--light-bg);
    background-color: var(--medium-bg);
    color: var(--text-color);
    border-radius: var(--border-radius);
    width: 100%;
    font-family: var(--font-primary);
}

.text-input::placeholder {
    color: var(--text-muted);
}

.btn.btn-primary { /* More specific to override general CTA if needed */
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.btn.btn-primary:hover {
    background-color: #008f5b; /* Darker shade */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-bg);
    font-size: 0.85rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content .tagline {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    header nav {
        padding: 0 15px;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content .tagline {
        font-size: 1rem;
    }
    .cta-button, .cta-button-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .highlights-grid, .match-preview-grid, .teams-grid, .news-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section .social-links {
        justify-content: center;
        display:flex;
    }
    .footer-section.contact-form {
        text-align: left; /* keep form elements aligned */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    body {
        font-size: 15px;
    }
    .container {
        width: 95%;
    }
}

/* --- Scrollbar (Optional, for modern feel) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* --- Player of the Series Styles (Hall of Fame) --- */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.player-card {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--light-bg);
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3); /* Green-tinted shadow for primary color accent */
}

.player-image {
    width: 100%;
    height: 250px; /* Consistent height for images */
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

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

.player-info {
    padding: 20px;
    text-align: center;
}

.player-name {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.player-code,
.player-points {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 5px 0;
}

.player-points {
    color: var(--primary-color); /* Highlight points in green */
    font-weight: 600;
}

@media (max-width: 768px) {
    .players-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}

/* --- Schedule Page Specific Styles --- */
.schedule-filters {
    margin-bottom: 40px;
    text-align: center;
}

.filter-btn {
    background-color: var(--medium-bg);
    color: var(--text-muted);
    border: 1px solid var(--light-bg);
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    font-family: var(--font-secondary);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.schedule-table-container {
    overflow-x: auto; /* Allows table to be scrolled horizontally on small screens */
    background-color: var(--medium-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-bg);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-color);
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-bg);
}

.schedule-table th {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-table tbody tr {
    transition: background-color var(--transition-speed);
}

.schedule-table tbody tr:hover {
    background-color: var(--light-bg); /* Subtle hover for rows */
}

.schedule-table td {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.schedule-table .match-up {
    font-weight: 600;
    color: var(--text-color);
}

.vs-table {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0 8px;
    font-weight: normal;
}

.match-details-link-table {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color); /* Using secondary color for table links */
    padding: 5px 10px;
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    display: inline-block;
    text-align: center;
    min-width: 100px; /* Ensure buttons have some width */
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.match-details-link-table:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Responsive table adjustments */
@media (max-width: 768px) {
    .schedule-table th,
    .schedule-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    .schedule-table th:nth-child(3), /* Hide Venue on smaller screens */
    .schedule-table td:nth-child(3) {
        /* display: none; */ /* Alternative: just make it less prominent or wrap */
    }
     .schedule-table th:nth-child(4), /* Hide Phase on smaller screens */
    .schedule-table td:nth-child(4) {
        /* display: none; */ 
    }
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        margin-bottom: 10px; /* Stack buttons slightly on mobile */
    }
}

/* New layout: 4-4-1 member rows */
.members-row {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.members-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    gap: 2rem;
}

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

.row-1 {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 400px;
}

/* Responsive */
@media (max-width: 1024px) {
    .row-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .row-4 {
        grid-template-columns: 1fr;
    }
    .row-1 {
        max-width: 300px;
    }
}

/* --- Teams Page Specific Styles --- */
.teams-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.team-card-detailed {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    overflow: hidden; /* To ensure banner image corners are rounded if banner is direct child */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--light-bg);
}

.team-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.team-banner-img {
    width: 100%;
    height: 180px; /* Adjust as needed */
    object-fit: cover;
}

.team-card-content {
    padding: 25px;
    text-align: center; /* Center logo and title */
}

.team-logo-detailed {
    width: 100px; /* Adjust as needed */
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--dark-bg);
    margin: -60px auto 15px auto; /* Pulls logo up onto banner, centers it */
    position: relative;
    z-index: 2;
    background-color: var(--medium-bg); /* To hide banner behind logo if transparent */
    display: block;
    object-fit: cover;
}

.team-card-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.team-origin {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.team-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.team-profile-link {
    padding: 10px 25px;
}

/* --- News Page Specific Styles (news.html) --- */
.news-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Same as homepage news grid */
    gap: 30px;
}

/* Using .news-article class for consistency, but if specific styles are needed for news.html, use .news-article-full */
.news-article-full {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: box-shadow var(--transition-speed);
    border: 1px solid var(--light-bg);
    display: flex;
    flex-direction: column; /* Ensure footer (read more link) is at bottom */
}

.news-article-full:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.news-article-full img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

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

.news-content-full {
    padding: 25px;
    flex-grow: 1; /* Allows content to take up space, pushing link to bottom */
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    text-transform: uppercase;
    align-self: flex-start; /* Align to the start of the flex container */
}

.news-content-full h3 {
    font-family: var(--font-secondary);
    font-size: 1.4rem; /* Slightly larger for dedicated news page */
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-meta-full {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.news-content-full p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1; /* Allows paragraph to take available space */
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.page-btn {
    background-color: var(--medium-bg);
    color: var(--text-muted);
    border: 1px solid var(--light-bg);
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    font-family: var(--font-primary);
}

.page-btn:hover,
.page-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background-color: var(--medium-bg);
    color: var(--text-muted);
    border-color: var(--light-bg);
}

/* --- Register Page Specific Styles (register.html) --- */
.form-container.register-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--medium-bg);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-bg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-bg);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.form-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-text {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.text-input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid var(--light-bg);
    color: var(--text-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed);
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.text-input[type="file"] {
    padding: 10px;
    cursor: pointer;
}

.text-input[type="file"]::-webkit-file-upload-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-right: 15px;
}

.text-input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #008f5b;
}

.checkbox-group {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-option label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

/* Enhanced radio appearance: clickable pill with highlight on selection */
.radio-option {
    align-items: center;
}
.radio-option input[type="radio"] {
    flex: 0 0 20px;
}
.radio-option label {
    margin: 0 0 0 6px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
}
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.radio-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Specific style for declaration checkbox */
.form-section:last-child .checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.checkbox-group label {
    margin: 0 0 0 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1;
}

/* Style for form message paragraph */
#form-message.success {
    color: var(--primary-color);
}

#form-message.error {
    color: #ff4d4d; /* A distinct error color */
}

@media (max-width: 768px) {
    .form-container.register-form-container {
        padding: 20px;
    }
    
    .form-section h3 {
        font-size: 1.2rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
}

.container>a{
    text-decoration: none;
    color: var(--text-color);
}

.form-group>label>a:hover{
    text-decoration: none;
    color: var(--primary-color);
    text-decoration: underline;
}

/* Committee Section Styles */
.committee-section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.committee-row {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Leadership Row Specific Styles */
.leadership-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
}

.leadership-row .member-card {
    max-width: 350px;
    flex: 0 1 350px;
}

.member-card {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-bg);
    width: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.member-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

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

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--medium-bg);
}

.member-name {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-post {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Chairman and Co-Chairman specific styles */
.chairman .member-name,
.co-chairman .member-name {
    font-size: 1.8rem;
}

.chairman .member-post,
.co-chairman .member-post {
    font-size: 1.2rem;
}

/* Committee Members Row */
.members-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.members-row .member-card {
    max-width: 100%;
}

.members-row .empty {
    display: none; /* Hide empty div by default */
}

/* Center the last two members in desktop view */
.members-row .committee-member:nth-last-child(2) {
    grid-column: 2;
}

.members-row .committee-member:nth-last-child(1) {
    grid-column: 3;
}

@media (max-width: 768px) {
    .leadership-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .leadership-row .member-card {
        max-width: 300px;
    }
    
    .members-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 0 1rem;
    }
    
    .members-row .member-card {
        max-width: 100%;
    }
    
    .members-row .member-image {
        aspect-ratio: 1;
    }
    
    .members-row .member-info {
        padding: 1rem;
    }
    
    .members-row .member-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .members-row .member-post {
        font-size: 0.8rem;
    }

    .members-row .committee-member:nth-last-child(2) {
        grid-column: auto;
    }

    .members-row .committee-member:nth-last-child(1) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .leadership-row .member-card {
        max-width: 280px;
    }
    
    .members-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .members-row .member-card {
        max-width: 100%;
    }
    
    .members-row .member-info {
        padding: 0.75rem;
    }
    
    .members-row .member-name {
        font-size: 0.9rem;
    }
    
    .members-row .member-post {
        font-size: 0.75rem;
    }
}

.empty{
    display: block;
}

/* --- RADICAL HALL OF FAME OVERHAUL --- */
.hof-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background-color: var(--dark-bg);
    overflow: hidden;
}

/* Year buttons styling */
.year-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 50px;
    flex-wrap: wrap;
    max-width: 500px;
}

.year-btn {
    background-color: var(--medium-bg);
    color: var(--text-muted);
    border: 2px solid var(--light-bg);
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 100px;
    text-align: center;
    letter-spacing: 0.5px;
}

.year-btn:hover,
.year-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

.year-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #008f5b);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.5);
}

/* Year content styling */
.year-content {
    display: none;
    background-color: var(--medium-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-bg);
    margin-top: 20px;
}

.year-content[data-year="2023"],
.year-content[data-year="2024"],
.year-content[data-year="2025"] {
    display: none;
}

.year-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.year-content h3 {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.year-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
}

/* Teams grid styling for Hall of Fame */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin: 40px auto 0;
    max-width: 900px;
}

.team-card {
    background-color: var(--medium-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-speed);
    border: 1px solid var(--light-bg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.winning-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .winning-photo {
    transform: scale(1.08);
}

.team-info {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    display: block;
    width: 100%;
}

.team-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.team-card:hover .team-name::after {
    width: 140px;
}

.team-owner {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 15px 0 0;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    padding-top: 15px;
}

.team-owner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--light-bg);
    border-radius: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-image {
        height: 250px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
}

@keyframes bgMove {
    0% { background-position: 70% 30%, 20% 80%, center; }
    100% { background-position: 60% 40%, 30% 70%, center; }
}

.season-filters {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}
.season-btn {
    padding: 18px 48px 18px 36px;
    border: none;
    background: linear-gradient(90deg, #00ffc6 0%, #00aaff 100%);
    color: #181c2b;
    border-radius: 40px;
    cursor: pointer;
    font-family: 'Oswald', 'Montserrat', 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
    box-shadow: 0 4px 24px rgba(0,255,198,0.13);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    outline: none;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
    display: flex;
    align-items: center;
}
.season-btn .trophy-icon {
    font-size: 1.3em;
    margin-right: 12px;
    color: gold;
    filter: drop-shadow(0 0 4px #ffd700);
    animation: trophyWobble 1.8s infinite alternate;
}
@keyframes trophyWobble {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
}
.season-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 44px;
    background: linear-gradient(90deg, #00ffc6, #00aaff, #ff00c8, #00ffc6);
    z-index: 0;
    filter: blur(6px);
    opacity: 0.7;
    transition: opacity 0.2s;
    animation: borderGlow 2.5s linear infinite;
}
@keyframes borderGlow {
    0% { filter: blur(6px) hue-rotate(0deg); }
    100% { filter: blur(6px) hue-rotate(360deg); }
}
.season-btn span {
    position: relative;
    z-index: 1;
}
.season-btn:active {
    box-shadow: 0 0 0 0 #00ffc6;
    transform: scale(0.97);
}
.season-btn:hover, .season-btn:focus {
    color: #fff;
    background: linear-gradient(90deg, #ff00c8 0%, #00ffc6 100%);
    box-shadow: 0 8px 32px 0 rgba(0,255,198,0.25), 0 2px 8px rgba(0,0,0,0.18);
    transform: translateY(-4px) scale(1.06);
}
.season-btn.active {
    color: #fff;
    background: linear-gradient(90deg, #00aaff 0%, #ff00c8 100%);
    border: 3px solid #fff;
    box-shadow: 0 12px 40px 0 rgba(0,170,255,0.22), 0 2px 8px rgba(0,0,0,0.18);
}

.hof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 48px;
    padding: 32px 0;
    position: relative;
    z-index: 2;
}
.hof-card {
    background: rgba(35, 41, 70, 0.97);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 8px 40px 0 rgba(0,255,198,0.18), 0 2px 8px rgba(0,0,0,0.18);
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    border: 2.5px solid rgba(0,255,198,0.18);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 420px;
    backdrop-filter: blur(16px) saturate(1.3);
    perspective: 800px;
}
.hof-card:hover {
    box-shadow: 0 24px 64px 0 rgba(0,255,198,0.32), 0 2px 8px rgba(0,0,0,0.18);
    transform: translateY(-16px) scale(1.04) rotateY(-4deg);
    border-color: #00ffc6;
    z-index: 3;
}
.hof-card .floating-trophy {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 2.2rem;
    color: gold;
    filter: drop-shadow(0 0 8px #ffd700);
    z-index: 4;
    animation: trophyFloat 2.2s infinite alternate;
    pointer-events: none;
}
@keyframes trophyFloat {
    0% { transform: translateY(0) scale(1.1); }
    100% { transform: translateY(-10px) scale(1.2); }
}
.hof-image {
    position: relative;
    width: 55%;
    min-width: 220px;
    overflow: hidden;
    flex-shrink: 0;
    height: 420px;
    border-radius: 32px 0 0 32px;
}
.hof-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
    border-radius: 32px 0 0 32px;
    filter: brightness(1.08) contrast(1.08) saturate(1.2);
}
.hof-card:hover .hof-image img {
    transform: scale(1.13) rotate(-2deg);
    filter: brightness(1.15) contrast(1.15) saturate(1.3);
}
.hof-content {
    padding: 44px 32px;
    position: relative;
    background: rgba(24,28,43,0.99);
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 420px;
    border-radius: 0 32px 32px 0;
}
.champions-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: linear-gradient(90deg, #ff00c8 0%, #00ffc6 100%);
    color: #fff !important;
    padding: 16px 36px 16px 56px;
    border-radius: 40px;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    border: 2.5px solid #fff;
    box-shadow: 0 0 32px #ff00c8, 0 0 48px #00ffc6;
    animation: neonPulse2 1.5s ease-in-out infinite alternate, badgePulse 1.2s infinite alternate;
    text-shadow: 0 2px 12px #181c2b, 0 1px 0 #000;
    opacity: 0.98;
    display: flex;
    align-items: center;
}
.champions-badge .trophy-icon {
    font-size: 1.5em;
    margin-right: 14px;
    color: gold;
    filter: drop-shadow(0 0 6px #ffd700);
    animation: trophyWobble 1.8s infinite alternate;
}
@keyframes badgePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
@keyframes neonPulse2 {
    from { box-shadow: 0 0 32px #ff00c8, 0 0 48px #00ffc6; }
    to { box-shadow: 0 0 48px #00ffc6, 0 0 64px #ff00c8; }
}
.team-name {
    font-family: 'Oswald', 'Montserrat', 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff !important;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 18px;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #181c2b, 0 1px 0 #000;
}
.team-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #00ffc6 0%, #ff00c8 100%);
    border-radius: 2.5px;
    transition: width 0.3s ease;
}
.hof-card:hover .team-name::after {
    width: 140px;
}
.owner-name {
    color: #fff !important;
    font-size: 1.25rem;
    margin-bottom: 28px;
    position: relative;
    padding-left: 38px;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px #181c2b, 0 1px 0 #000;
}
.owner-name::before {
    content: '\1F464';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    opacity: 0.8;
}
.year {
    background: linear-gradient(90deg, #ffd700 0%, #fffbe0 100%);
    color: #181c2b !important;
    font-weight: 900;
    font-size: 1.3rem;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 24px;
    border: 2px solid #ffd700;
    margin-top: 16px;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px #fff, 0 1px 0 #ffd700;
    box-shadow: 0 0 12px #ffd70044;
}
.hof-card .floating-trophy {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 2.2rem;
    color: gold;
    filter: drop-shadow(0 0 8px #ffd700);
    z-index: 4;
    animation: trophyFloat 2.2s infinite alternate;
    pointer-events: none;
}
@keyframes trophyFloat {
    0% { transform: translateY(0) scale(1.1); }
    100% { transform: translateY(-10px) scale(1.2); }
}
.no-data-message {
    background: rgba(0,255,198,0.10);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 24px;
    padding: 56px 0 52px 0;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,255,198,0.13);
    grid-column: 1/-1;
    text-align: center;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.no-data-message svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    animation: bounce 1.2s infinite alternate;
    fill: gold;
    filter: drop-shadow(0 0 8px #ffd700);
}
@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

@media (max-width: 1100px) {
    .hof-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hof-card {
        flex-direction: column;
        height: auto;
        border-radius: 24px;
    }
    .hof-image {
        width: 100%;
        height: 260px;
        min-width: unset;
        border-radius: 24px 24px 0 0;
    }
    .hof-image img {
        border-radius: 24px 24px 0 0;
    }
    .hof-content {
        height: auto;
        min-height: 180px;
        border-radius: 0 0 24px 24px;
        padding: 28px 16px;
    }
    .champions-badge {
        top: 18px;
        right: 18px;
        padding: 10px 20px 10px 36px;
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .hof-section {
        padding: 60px 0 40px;
    }
    .season-filters {
        gap: 10px;
        margin-bottom: 32px;
    }
    .season-btn {
        width: 100%;
        padding: 12px 0 12px 24px;
        font-size: 1.1rem;
        margin-bottom: 8px;
        border-radius: 20px;
    }
    .hof-grid {
        gap: 18px;
    }
    .hof-card {
        border-radius: 14px;
    }
    .hof-image {
        border-radius: 14px 14px 0 0;
        height: 140px;
    }
    .hof-image img {
        border-radius: 14px 14px 0 0;
    }
    .hof-content {
        padding: 14px 6px;
        border-radius: 0 0 14px 14px;
    }
    .champions-badge {
        top: 8px;
        right: 8px;
        padding: 6px 10px 6px 24px;
        font-size: 0.85rem;
    }
    .team-name {
        font-size: 1.1rem;
        padding-bottom: 8px;
    }
    .team-name::after {
        width: 30px;
        height: 2px;
    }
    .hof-card:hover .team-name::after {
        width: 50px;
    }
    .owner-name {
        font-size: 0.95rem;
        padding-left: 18px;
    }
    .owner-name::before {
        font-size: 1rem;
    }
    .year {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    .no-data-message {
        font-size: 1rem;
        padding: 18px 0 14px 0;
        border-radius: 10px;
    }
    .no-data-message svg {
        width: 28px;
        height: 28px;
        margin-bottom: 6px;
    }
}

/* Performance Page Styles */
.performance-section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.8rem;
    font-family: var(--font-secondary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    background-color: var(--medium-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--light-bg);
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background-color: var(--dark-bg);
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    font-family: var(--font-secondary);
}

.tab-btn:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-form.hidden {
    display: none;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-secondary);
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    background-color: var(--dark-bg);
    border: 1px solid var(--light-bg);
    color: var(--text-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition-speed);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-btn:hover {
    background-color: #008f5b;
}

.player-stats-container {
    background-color: var(--medium-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--light-bg);
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.player-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
    position: relative;
}

.player-profile::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 120px;
    height: 2px;
    background-color: var(--primary-color);
}

.player-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3);
    transition: transform 0.3s ease;
}

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

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info h2 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.player-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    background-color: var(--dark-bg);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius);
    display: inline-block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
}

.stat-card {
    background-color: var(--dark-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-bg);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

.stat-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.stat-card p {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    text-shadow: 0 2px 10px rgba(0, 168, 107, 0.2);
}

@media (max-width: 768px) {
    .player-profile {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .player-image {
        width: 120px;
        height: 120px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card p {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .player-stats-container {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .player-info h2 {
        font-size: 1.5rem;
    }
    
    .player-info p {
        font-size: 0.9rem;
    }
}

.no-data-message {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.no-data-message p {
    margin: 0;
    font-size: 1.1rem;
}

/* Form Validation Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    position: absolute;
    bottom: -1.25rem;
    left: 0;
    animation: fadeIn 0.3s ease-in-out;
}

input.error,
select.error,
textarea.error {
    border-color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.05);
}

input.error:focus,
select.error:focus,
textarea.error:focus {
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

#form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Adjust form group spacing to accommodate error messages */
.form-group + .form-group {
    margin-top: 2rem;
}

/* --- Player Selection List Buttons (Performance Page) --- */
#player-selection-list button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.25rem 0;
    box-shadow: 0 2px 8px rgba(0,168,107,0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    outline: none;
    display: inline-block;
}
#player-selection-list button:hover, #player-selection-list button:focus {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(0,123,255,0.18);
}
#player-selection-list ul {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1rem;
}
#player-selection-list li {
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}
#player-selection-list button {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    #player-selection-list ul {
        grid-template-columns: 1fr;
    }
}

#player-selection-list h3 {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    text-align: left;
    letter-spacing: 1px;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    padding-left: 14px;
    border-left: 5px solid var(--primary-color);
    display: inline-block;
}