/* ============================================
   VARIABLES & GLOBAL STYLES
   ============================================ */

:root {
    /* Make all images responsive by default */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Color Palette */
    --primary-color: #1a1a2e;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    
    /* Light Theme Variables */
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #ddd;
    --card-bg: #ffffff;
    --nav-bg: #000000;
    --footer-bg: #1a1a2e;
    
    /* Shared */
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.cta-button {
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--nav-bg);
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Conflict removed - combined into main .hero class */

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Oswald', 'Arial Black', 'Helvetica Neue', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-logo img {
    height: 45px;
    transform: none;
    width: auto;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 600px) {
    .nav-logo img {
        height: 48px;
        padding: 0;
    }

    .nav-logo {
        font-size: 18px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.nav-register {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-menu a.nav-register:hover {
    background-color: #c0392b;
    transform: scale(1.05);
    color: white;
}

.nav-menu a.nav-register::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    height: auto;
    min-height: 500px;
    aspect-ratio: 21 / 9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%), url("../images/bg.jpeg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Second background layer for smooth rotation */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%), url("../images/bg2.jpeg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    animation: hero-fade 10s infinite ease-in-out;
}

@keyframes hero-fade {
    0%, 10% { opacity: 0; }
    40%, 60% { opacity: 1; }
    90%, 100% { opacity: 0; }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 2; /* Always stay on top of background images */
    pointer-events: none;
}
/* Higher z-index values (e.g. 10) for content to be above hero-bg */
.hero-content {
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s ease-out;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 800;
    font-family: 'Oswald', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   PAGE HERO (Shared across sub-pages)
   ============================================ */

.page-hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.page-hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays for child elements */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

.stagger-8 {
    transition-delay: 0.8s;
}

/* Hero entrance animation */
.hero-animate {
    animation: heroZoom 1.5s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
        opacity: 0.7;
    }
    to {
        transform: scale(1.18);
        opacity: 1;
    }
}

/* ============================================
   REGISTRATION CTA
   ============================================ */

.registration-cta {
    padding: 30px 20px;
    background-color: var(--bg-white);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.registration-btn {
    background-color: var(--secondary-color);
    color: white !important;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 15px 40px;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    border-radius: 5px;
}

.registration-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05) translateY(-2px);
}

/* Floating animation for CTA */
.float-animate {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse glow for buttons */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(231, 76, 60, 0.3);
    }

    50% {
        box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
    }
}

/* Counter animation */
.stat-number {
    display: inline-block;
}

/* Section heading underline animation */
.section-title-animated {
    position: relative;
    display: inline-block;
}

.section-title-animated::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.6s ease;
}

.section-title-animated.active::after {
    width: 60px;
}

/* ============================================
   QUICK STATS
   ============================================ */

.quick-stats {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-card:hover {
    background-color: rgba(231, 76, 60, 0.2);
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.featured h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.featured-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.featured-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: #c0392b;
}

/* ============================================
   LATEST MATCHES
   ============================================ */

.latest-matches {
    padding: 80px 20px;
    background-color: white;
}

.latest-matches h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.match-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.match-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.match-header {
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-time {
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
}

.match-item {
    position: relative;
}

@media (max-width: 768px) {
}

.match-status {
    background-color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.match-card.upcoming .match-status {
    background-color: #f39c12;
}

.match-body {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.team {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-1 .team-info h4 {
    color: var(--secondary-color);
}

.team-2 .team-info h4 {
    color: var(--accent-color);
}

.team-info p {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--secondary-color);
}

.vs {
    font-weight: 700;
    color: black;
    font-size: 1.2em;
}

.match-result {
    text-align: center;
    padding: 15px;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-weight: 600;
}

.view-all {
    text-align: center;
}

/* ============================================
   TEAMS OVERVIEW
   ============================================ */

.teams-overview {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.teams-overview h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.jerseys-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #ffffff;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    background-color: transparent;
}

.team-card img.scale-up {
    transform: scale(1.3);
}

.team-card img.shift-down {
    transform: scale(1.3) translateY(10%);
}

.team-card img.shift-down-normal {
    transform: translateY(10%);
}

.team-card img.shift-up-normal {
    transform: translateY(2%);
}

.team-card img.shift-up {
    transform: scale(1.3) translateY(-10%);
}

.team-card img.scale-up-extra {
    transform: scale(1.45);
}

.team-card img.scale-up-extra-shift-down {
    transform: scale(1.45) translateY(5%);
}

.team-card h3 {
    padding: 15px 15px 5px;
    color: var(--text-color);
}

.team-card p {
    padding: 0 15px;
    color: var(--light-text);
    font-size: 0.9em;
}

.team-card .btn {
    display: block;
    margin: 15px;
    width: calc(100% - 30px);
    background-color: black;
    color: white;
    border: none;
    font-weight: bold;
    white-space: nowrap;
}

.team-card .btn:hover {
    background-color: #222;
    color: #e0e0e0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.1em;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */

.theme-toggle {
    position: fixed;
    bottom: 40px;
    right: 50px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: var(--primary-color);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: inline;
}

/* ============================================
   NEWS PAGE
   ============================================ */

.news-section {
    padding: 60px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.news-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-top-color: var(--secondary-color);
}

.news-card.registration-featured {
    border-top-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.news-card.featured {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .news-card.featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .news-card.featured .news-image {
        height: 100%;
    }
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-date {
    font-size: 0.85em;
    color: var(--light-text);
}

.news-category {
    background-color: var(--accent-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 600;
}

.news-card h2,
.news-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card h2 {
    font-size: 1.5em;
}

.news-card h3 {
    font-size: 1.1em;
}

.news-card p {
    color: var(--light-text);
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.read-more:hover {
    color: #c0392b;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.newsletter-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
}

.newsletter-form button {
    padding: 12px 30px;
}

/* ============================================
   CHAMPIONS PAGE
   ============================================ */

.champions-section {
    padding: 60px 20px;
}

.champions-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 700px;
    margin: 0 auto;
}

.champion-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 180px;
}


.champion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.champion-card.card-rajadhani {
    background-color: #ff6600;
    color: white;
}

.champion-card.card-tekra {
    background-color: #6a0dad;
    color: white;
}

.champion-card.card-rajadhani h2,
.champion-card.card-tekra h2,
.champion-card.card-rajadhani p,
.champion-card.card-tekra p {
    color: white !important;
}

.champion-info {
    flex: 1;
    padding: 20px 40px;
    text-align: left;
}

.champion-info h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.8em;
}


.champion-info p {
    font-size: 1em;
    color: var(--light-text);
}

.champion-image {
    flex: 0 0 180px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.champion-image img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .champion-card {
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    .champion-info {
        text-align: center;
        padding: 20px;
    }
    .champion-image {
        flex: none;
        max-width: 100%;
        width: 150px;
        height: 150px;
    }
}
/* ============================================
   TEAMS PAGE
   ============================================ */

.teams-section {
    padding: 60px 20px;
}

.teams-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.team-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-banner {
    overflow: hidden;
}

.team-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-detail-card:hover .team-banner img {
    transform: scale(1.05);
}

.team-info-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info-section h2 {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.team-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.9em;
    color: var(--light-text);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
}

.team-description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .team-detail-card {
        grid-template-columns: 1fr;
    }

    .team-banner img {
        height: 200px;
    }

    .team-info-section {
        padding: 20px;
    }

    .team-info-section h2 {
        font-size: 1.5em;
    }
}
/* ============================================
   STATS PAGE
   ============================================ */

.stats-section {
    padding: 60px 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.stats-card-large {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.stats-card-large h2 {
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    margin: 0;
}

.table-wrapper {
    overflow-x: auto;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table thead {
    background-color: var(--bg-light);
}

.stats-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
}

.stats-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.stats-table tbody tr:hover {
    background-color: var(--bg-light);
}

.stats-table tbody tr:first-child {
    background-color: rgba(231, 76, 60, 0.05);
}

.performance-stats h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.stat-box {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--secondary-color);
    border: 1px solid var(--border-color);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-detail {
    color: var(--light-text);
    font-size: 0.95em;
}

/* ============================================
   RESULTS PAGE
   ============================================ */

.results-section {
    padding: 60px 20px;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.standings-card,
.results-list {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.standings-card h2,
.results-list h2 {
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    margin: 0;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table thead {
    background-color: var(--bg-light);
}

.standings-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
}

.standings-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.standings-table tbody tr:hover {
    background-color: var(--bg-light);
}

.standings-table tbody tr:first-child {
    background-color: rgba(52, 152, 219, 0.1);
}

.result-card {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.result-card:last-child {
    border-bottom: none;
}

.result-card:hover {
    background-color: var(--bg-light);
}

.result-date {
    font-size: 0.9em;
    color: var(--light-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.result-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.result-team {
    flex: 1;
    text-align: center;
}

.result-team h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.score {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--secondary-color);
}

.result-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.result-status {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

.result-summary {
    font-size: 0.9em;
    color: var(--light-text);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   SCHEDULE PAGE
   ============================================ */

.schedule-section {
    padding: 60px 20px;
}

.schedule-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.matches-calendar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.match-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.match-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.match-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
}

.date-day {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
}

.date-month {
    font-size: 0.9em;
    color: var(--light-text);
}

.match-details {
    flex: 1;
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.team-name {
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 5px;
    flex: 1;
}

.team-name.team-1 {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
}

.team-name.team-2 {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--secondary-color);
}

.vs-text {
    font-weight: 700;
    color: black;
    padding: 0 10px;
}

.match-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: var(--light-text);
    flex-wrap: wrap;
}

.match-status-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}

.upcoming-badge {
    background-color: #f39c12;
    color: white;
}

.played-badge {
    background-color: var(--secondary-color);
    color: white;
}
/* ============================================
   DARK THEME
   ============================================ */














/* ============================================
   JERSEYS CAROUSEL
   ============================================ */

.jerseys-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide {
    position: absolute;
    width: 300px;
    height: 400px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    z-index: 1;
    transform: scale(0.6) translateX(0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Active center image */
.carousel-slide.active {
    opacity: 1;
    z-index: 5;
    transform: scale(1.4) translateY(-60px);
}

.carousel-slide.active img {
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

/* Specific adjustments for jerseys 3 and 5 to look balanced */
.carousel-slide[data-index="2"] img,
.carousel-slide[data-index="4"] img {
    transform: scale(0.85);
}

/* Previous image (left side) */
.carousel-slide.prev {
    opacity: 0.7;
    z-index: 4;
    transform: scale(0.9) translateX(-180%) translateY(-60px);
    cursor: pointer;
}

/* Next image (right side) */
.carousel-slide.next {
    opacity: 0.7;
    z-index: 4;
    transform: scale(0.9) translateX(180%) translateY(-60px);
    cursor: pointer;
}

/* Far previous (hidden left) */
.carousel-slide.prev-hidden {
    opacity: 0;
    z-index: 1;
    transform: scale(0.6) translateX(-120%);
}

/* Far next (hidden right) */
.carousel-slide.next-hidden {
    opacity: 0;
    z-index: 1;
    transform: scale(0.6) translateX(120%);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: #c0392b;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 350px;
    }

    .carousel-slide {
        width: 200px;
        height: 280px;
    }

    .carousel-slide.active {
        transform: scale(1.4) translateY(-30px);
    }

    .carousel-slide.prev {
        transform: scale(0.8) translateX(-140%) translateY(-30px);
    }

    .carousel-slide.next {
        transform: scale(0.8) translateX(140%) translateY(-30px);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.page-hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}
.page-hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.page-hero p {
    font-size: 1.1em;
    opacity: 0.9;
}
.about-section {
    padding: 60px 20px;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.about-text h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.about-text h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}
.about-text p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 15px;
}
.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.highlight-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}
.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.highlight-card p {
    color: var(--light-text);
    font-size: 0.95em;
}
.timeline-section {
    background-color: var(--bg-light);
    padding: 60px 20px;
}
.timeline-section h2 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 50px;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--secondary-color);
}
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
}
.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.timeline-content p {
    color: var(--light-text);
}
.values-section {
    padding: 60px 20px;
}
.values-section h2 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 50px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.value-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}
.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.value-card p {
    color: var(--light-text);
}
.organization-section {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
}
.organization-section h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.org-intro {
    color: var(--light-text);
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
}
.org-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.org-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.org-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}
.org-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: var(--transition);
}

.org-img-l1 {
    transform: scale(0.75);
}

.org-img-l3 {
    transform: scale(1.5) translateY(30px);
}
.org-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3em;
}
.org-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95em;
}

/* Squad Cards */
.teams-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.squad-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 20px;
}


.squad-header {
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.squad-header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.squad-title h2 {
    font-size: 2.5em;
    margin-bottom: 5px;
    line-height: 1;
}

.squad-motto {
    font-style: italic;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Team Specific Gradients */
/* Team Specific Gradients - Synced with Home Page */
.squad-header.strikers { background: linear-gradient(135deg, #00bfff 0%, #0095cc 100%); }
.squad-header.atm { background: linear-gradient(135deg, #d32f2f 0%, #9a0007 100%); }
.squad-header.raptors { background: linear-gradient(135deg, #000080 0%, #000040 100%); }
.squad-header.lions { background: linear-gradient(135deg, yellow 0%, #ffd700 100%); color: #333; }
.squad-header.stallions { background: linear-gradient(135deg, #39ff14 0%, #2ecc71 100%); color: #333; }
.squad-header.super-kings { background: linear-gradient(135deg, #ff1493 0%, #c71585 100%); }
.squad-header.rajadhani { background: linear-gradient(135deg, #ff6600 0%, #e67e22 100%); }
.squad-header.defenders { background: linear-gradient(135deg, darkgreen 0%, #004d00 100%); }

.squad-toggle {
    margin-left: auto;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.squad-toggle::before,
.squad-toggle::after {
    content: '';
    position: absolute;
    background-color: white;
    transition: transform 0.3s ease;
}

.squad-toggle::before {
    width: 2px;
    height: 12px;
    left: 9px;
    top: 4px;
}

.squad-toggle::after {
    width: 12px;
    height: 2px;
    left: 4px;
    top: 9px;
}

.squad-card.expanded .squad-toggle {
    transform: rotate(45deg);
}

.squad-card.expanded .squad-toggle::before {
    transform: rotate(90deg);
}

/* Dark theme toggle colors */
.squad-header.lions .squad-toggle::before,
.squad-header.lions .squad-toggle::after,
.squad-header.stallions .squad-toggle::before,
.squad-header.stallions .squad-toggle::after {
    background-color: #333;
}

.squad-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 40px;
}

.squad-card.expanded .squad-body {
    max-height: 2000px; /* Large enough for the grid */
    opacity: 1;
    padding: 40px;
}

.squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.player-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}


.player-item:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: var(--shadow);
}


.player-item h3 {
    font-size: 1.1em;
    color: var(--primary-color);
    margin-bottom: 5px;
}


.player-item p {
    font-size: 0.9em;
    color: var(--light-text);
}

.player-item.captain {
    border: 2px solid var(--secondary-color);
    position: relative;
}

.player-item.captain::after {
    content: 'CAPTAIN';
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .squad-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .squad-title h2 {
        font-size: 1.8em;
    }

    .squad-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Scorecard CTA Style - Global */
.scorecard-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px; /* Ample space after cards */
    margin-bottom: 80px;
    width: 100%;
    clear: both;
}

.scorecard-btn {
    padding: 12px 30px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.scorecard-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.4);
    background-color: var(--primary-color);
    color: white;
}

.scorecard-btn::after {
    content: '→';
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.scorecard-btn:hover::after {
    transform: translateX(5px);
}