/* 
  KSPL Premium Light Redesign - Design System
  An ultra-modern, high-end editorial light theme featuring a dynamic mesh background,
  translucent floating glassmorphic cards, modern typography, and premium micro-interactions.
*/

:root {
    /* Theme Base - Dynamic Light Mesh Colors */
    --bg-base: #f8fafc;
    --bg-mesh-gold: rgba(242, 192, 31, 0.06);
    --bg-mesh-burgundy: rgba(144, 23, 29, 0.05);
    --bg-mesh-purple: rgba(56, 31, 115, 0.04);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Brand Colors */
    --burgundy: #90171d;
    --burgundy-dark: #6e0f13;
    --burgundy-glow: rgba(144, 23, 29, 0.15);
    --gold: #f2c01f;
    --gold-glow: rgba(242, 192, 31, 0.3);
    --deep-purple: #381f73;

    /* State & Widget Colors */
    --live-red: #ff3838;
    --win-green: #10b981;
    --wicket-red: #ef4444;
    --boundary-green: #10b981;
    --six-gold: #f59e0b;

    /* Glassmorphism & Shadow Presets */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(144, 23, 29, 0.06);
    --glass-border-gold: rgba(242, 192, 31, 0.4);
    --glass-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    --elevated-shadow: 0 25px 60px rgba(15, 23, 42, 0.06);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Scrollbar Style */
    --scroll-bar-color: rgba(144, 23, 29, 0.2);
}

/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    /* Dynamic Abstract Mesh Gradient Background */
    background:
        radial-gradient(at 0% 0%, var(--bg-mesh-gold) 0, transparent 45%),
        radial-gradient(at 50% 0%, var(--bg-mesh-burgundy) 0, transparent 50%),
        radial-gradient(at 100% 0%, var(--bg-mesh-purple) 0, transparent 40%),
        radial-gradient(at 100% 100%, var(--bg-mesh-gold) 0, transparent 50%),
        radial-gradient(at 0% 100%, var(--bg-mesh-burgundy) 0, transparent 50%),
        var(--bg-base);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.popup-open {
    overflow: hidden;
}

/* Anchor tag global reset */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-bar-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy);
}

/* Utility Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header Styles */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--gold) 100%);
    border-radius: 4px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card-light:hover {
    border-color: rgba(144, 23, 29, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
    background: rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   POPUP MODAL OVERLAY
   ========================================================================== */
#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#popupOverlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popup-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border-gold);
    border-radius: 32px;
    padding: 45px;
    max-width: 520px;
    width: 90%;
    position: relative;
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.15), 0 0 30px rgba(242, 192, 31, 0.1);
    animation: popupSlideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}

@keyframes popupSlideUp {
    from {
        transform: translateY(80px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(15, 23, 42, 0.05);
    border: none;
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: var(--burgundy);
    color: #ffffff;
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 35px;
}

.popup-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--burgundy);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.popup-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.popup-league-card {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(144, 23, 29, 0.08);
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.popup-league-card:hover {
    transform: translateY(-6px);
    border-color: var(--burgundy);
    box-shadow: var(--glass-shadow);
}

.popup-logo-container {
    width: 95px;
    height: 95px;
    margin: 0 auto 25px;
    border-radius: 50%;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.popup-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-league-card h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.popup-league-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.popup-cta-link-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px var(--burgundy-glow);
    transition: all 0.3s ease;
}

.popup-league-card:hover .popup-cta-link-btn {
    transform: scale(1.05);
    background: var(--gold);
    color: #0c051a;
    box-shadow: 0 12px 30px var(--gold-glow);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1400px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 12px 0;
}

.glass-nav.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: scale(1.08) rotate(-3deg);
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 10px 5px;
    position: relative;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: var(--burgundy);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
    width: 70%;
}

/* Dropdown Menu System */
.dropdown {
    position: relative;
}

.dropdown .arrow {
    font-size: 0.65rem;
    margin-left: 3px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff;
    border: 1px solid rgba(144, 23, 29, 0.08);
    border-radius: 18px;
    min-width: 220px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li {
    padding: 0 15px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dropdown-menu a:hover {
    background: var(--bg-base);
    color: var(--burgundy);
    padding-left: 20px;
}

.dropdown-menu a::after {
    display: none;
}

.nav-cta-button {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px var(--burgundy-glow);
    transition: all 0.3s ease !important;
}

.nav-cta-button::after {
    display: none;
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(144, 23, 29, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
}

/* ==========================================================================
   HERO SECTION (Video + 3D Carousel)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Blends from strong dark contrast overlay to the dynamic light mesh background */
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.75) 0%,
            rgba(15, 23, 42, 0.35) 50%,
            var(--bg-base) 98%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 950;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2.5px;
    color: #ffffff;
    text-shadow: 0 10px 40px rgba(15, 23, 42, 0.5);
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--gold) 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(242, 192, 31, 0.3));
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--burgundy) 0%, #b82329 100%);
    color: #ffffff;
    border: 2px solid var(--burgundy);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(144, 23, 29, 0.4);
    background: linear-gradient(135deg, #a81c22 0%, #cf2d34 100%);
}

.cta-button.primary svg {
    transition: transform 0.3s ease;
}

.cta-button.primary:hover svg {
    transform: translateX(5px);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: var(--burgundy);
    border-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* 3D Rotating Card Styles */
.scene-3d-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 480px;
}

.scene-3d {
    width: 100%;
    height: 100%;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-3d {
    display: grid;
    transform-style: preserve-3d;
    animation: rotate3D 24s linear infinite;
    width: 250px;
    height: 350px;
    position: relative;
}

@keyframes rotate3D {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.carousel-3d:hover {
    animation-play-state: paused;
}

.card-3d {
    grid-area: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 4px solid rgba(255, 255, 255, 0.5);
    backface-visibility: hidden;
    transform: rotateY(calc(var(--i) * (360deg / var(--n)))) translateZ(260px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(242, 192, 31, 0.1);
    transition: transform 0.5s ease, border-color 0.3s ease;
}

.card-3d:hover {
    border-color: var(--gold);
    cursor: pointer;
}

/* ==========================================================================
   LIVE MATCH SECTION
   ========================================================================== */
.live-match-section {
    padding: 60px 0;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.live-match-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 45px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    box-shadow: var(--elevated-shadow);
}

.live-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--gold) 50%, var(--burgundy) 100%);
}

.match-badge-live {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--live-red);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        opacity: 0.75;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.75;
        transform: scale(0.98);
    }
}

.match-badge {
    display: inline-block;
    background: rgba(144, 23, 29, 0.06);
    color: var(--burgundy);
    border: 1px solid rgba(144, 23, 29, 0.12);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.match-status {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 35px;
}

.team {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.team-home {
    justify-content: flex-end;
    text-align: right;
}

.team-away {
    justify-content: flex-start;
    text-align: left;
}

.team-logo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    object-fit: contain;
}

.team-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.team-score {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-muted);
}

.team-score.active {
    color: var(--burgundy);
    text-shadow: 0 0 15px rgba(144, 23, 29, 0.05);
}

.team-score .overs {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 6px;
}

.team-rr {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.vs-badge {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-muted);
    background: var(--bg-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Recent Overs Widget */
.recent-overs-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.widget-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balls-row {
    display: flex;
    gap: 10px;
}

.ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
}

.ball.wicket {
    background: var(--wicket-red);
    color: #ffffff;
}

.ball.four {
    background: var(--win-green);
    color: #ffffff;
}

.ball.six {
    background: var(--six-gold);
    color: #ffffff;
}

.match-center-link {
    display: inline-block;
    color: var(--burgundy);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    margin-top: 15px;
    position: relative;
}

.match-center-link::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.3s ease;
}

.match-center-link:hover::after {
    transform: translateX(6px);
}

/* ==========================================================================
   RESULTS CAROUSEL SECTION
   ========================================================================== */
.results-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slider-arrow:hover {
    background: var(--burgundy);
    color: #ffffff;
    border-color: var(--burgundy);
    transform: scale(1.08);
    box-shadow: 0 8px 20px var(--burgundy-glow);
}

.results-slider-container {
    overflow-x: hidden;
    padding: 10px 5px 30px;
}

.results-slider-track {
    display: flex;
    gap: 28px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.result-card {
    flex: 0 0 calc(33.333% - 19px);
    min-width: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.result-teams {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-team {
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-team img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.team-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.team-abbr {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
}

.team-scores {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.team-scores.winner {
    color: var(--burgundy);
    font-weight: 800;
}

.result-outcome {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--burgundy);
    text-transform: uppercase;
    margin: 5px 0;
}

.result-pom {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-base);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 12px 18px;
    border-radius: 16px;
}

.pom-pic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--text-muted);
}

.pom-info {
    display: flex;
    flex-direction: column;
}

.pom-title {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 900;
    letter-spacing: 0.8px;
}

.pom-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.pom-stats {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.result-link {
    text-align: center;
    display: block;
    background: var(--bg-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    padding: 12px 0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.result-link:hover {
    background: var(--burgundy);
    color: #ffffff;
    border-color: var(--burgundy);
}

/* ==========================================================================
   POINTS TABLE SECTION
   ========================================================================== */
.points-table-section {
    background: rgba(255, 255, 255, 0.4);
    padding: 85px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.table-filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.filter-select {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    padding: 11px 22px;
    border-radius: 14px;
    outline: none;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 15px rgba(144, 23, 29, 0.08);
}

.search-box-wrapper {
    position: relative;
    max-width: 340px;
    width: 100%;
}

.search-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    padding: 14px 22px 14px 48px;
    border-radius: 50px;
    outline: none;
    font-size: 0.92rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 15px rgba(144, 23, 29, 0.08);
}

.search-box-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    opacity: 0.5;
}

.table-wrapper {
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.points-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 800px;
}

.points-table th {
    background: rgba(15, 23, 42, 0.03);
    padding: 20px;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.points-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.points-table tr:hover td {
    background: rgba(15, 23, 42, 0.015);
}

.points-table tr.top-tier td:first-child {
    color: var(--burgundy);
    font-weight: 900;
    font-size: 1.15rem;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

.team-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.team-cell a {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
}

.team-cell a:hover {
    color: var(--burgundy);
}

.pts {
    font-weight: 900;
    color: var(--burgundy) !important;
    font-size: 1.05rem !important;
}

/* Player Registration CTA Banner */
.player-reg-banner {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    padding: 65px 50px;
    box-shadow: var(--elevated-shadow);
    background: linear-gradient(135deg, rgba(242, 192, 31, 0.04) 0%, rgba(144, 23, 29, 0.04) 100%), #ffffff;
    border: 1px solid rgba(144, 23, 29, 0.08);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                background 0.6s ease;
}

.player-reg-banner.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.player-reg-banner.reveal-active:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(144, 23, 29, 0.12);
    border-color: rgba(144, 23, 29, 0.25);
    background: linear-gradient(135deg, rgba(242, 192, 31, 0.08) 0%, rgba(144, 23, 29, 0.08) 100%), #ffffff;
}

@keyframes slow-bg-rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-reg-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(242, 192, 31, 0.12) 0%, transparent 75%),
        radial-gradient(circle at 70% 70%, rgba(144, 23, 29, 0.1) 0%, transparent 75%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease;
    animation: slow-bg-rotation 25s linear infinite;
}

.player-reg-banner.reveal-active:hover::before {
    opacity: 1.4;
}

.banner-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--burgundy);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.banner-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
}

.banner-btn {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px var(--burgundy-glow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-btn:hover {
    transform: translateY(-3px);
    background: var(--gold);
    color: #0c051a;
    box-shadow: 0 12px 30px var(--gold-glow);
}

/* ==========================================================================
   OUR TEAMS SECTION
   ========================================================================== */
.teams-section {
    padding: 85px 0;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}

.team-card-box {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--team-theme);
    border-radius: 50%;
    filter: blur(55px);
    opacity: 0.04;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.team-logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

/* Hover States for Teams */
.team-card-box:hover {
    transform: translateY(-6px);
    border-color: var(--team-theme);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.team-card-box:hover .card-glow {
    opacity: 0.12;
}

.team-card-box:hover .team-logo-circle {
    transform: scale(1.12) rotate(5deg);
}

.team-card-box:hover .team-title {
    color: var(--team-theme);
}

/* ==========================================================================
   TOP PERFORMERS SECTION
   ========================================================================== */
.performers-section {
    padding: 85px 0;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.performer-badge-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.performer-badge-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--perf-theme);
    box-shadow: var(--glass-shadow);
}

.badge-bg-shapes {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--perf-theme);
    filter: blur(60px);
    opacity: 0.1;
    z-index: 1;
}

.perf-team-bg-logo {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.06;
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

.perf-photo {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background: var(--perf-theme);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.perf-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perf-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.perf-category {
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--burgundy);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.perf-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 3px;
    letter-spacing: -0.5px;
}

.perf-team {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.perf-stats {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 950;
    color: var(--burgundy);
}

.perf-stats .perf-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 5px;
}

/* ==========================================================================
   LATEST NEWS SECTION
   ========================================================================== */
.news-section {
    padding: 85px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.news-card {
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
}

.news-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.08) rotate(1deg);
}

.news-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-body time {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.news-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.news-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 25px;
}

.read-more-btn {
    margin-top: auto;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--burgundy);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.read-more-btn:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ==========================================================================
   KSPL SHORTS SECTION
   ========================================================================== */
.shorts-section {
    padding: 85px 0;
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.shorts-slider-container {
    overflow-x: hidden;
    padding: 10px 5px 20px;
}

.shorts-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.short-card {
    flex: 0 0 calc(20% - 19px);
    min-width: 210px;
    cursor: pointer;
}

.short-thumb {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.short-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(144, 23, 29, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon {
    font-size: 2.5rem;
    color: #ffffff;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.short-card:hover .short-thumb {
    transform: translateY(-6px);
    border-color: var(--burgundy);
    box-shadow: 0 15px 35px rgba(144, 23, 29, 0.15);
}

.short-card:hover .play-overlay {
    opacity: 1;
}

.short-card:hover .play-icon {
    transform: scale(1);
    color: var(--gold);
}

.short-card h4 {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Shorts Modal Styles */
.shorts-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shorts-modal.active {
    opacity: 1;
    visibility: visible;
}

.shorts-modal-body {
    width: 90%;
    max-width: 410px;
    aspect-ratio: 9/16;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shorts-modal.active .shorts-modal-body {
    transform: scale(1);
}

.shorts-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.shorts-modal-close:hover {
    background: var(--wicket-red);
    transform: rotate(90deg);
}

.shorts-video-frame {
    width: 100%;
    height: 100%;
    background: #000000;
}

.shorts-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   AMBASSADORS & INFLUENCERS
   ========================================================================== */
.ambassadors-section {
    padding: 85px 0;
}

.section-title.sub-title {
    margin-top: 65px;
}

.ambassadors-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.ambassador-card {
    flex: 1;
    max-width: 330px;
    min-width: 270px;
    padding: 35px 30px;
    text-align: center;
}

.ambassador-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.ambassador-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ambassador-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.ambassador-card span {
    font-size: 0.88rem;
    color: var(--burgundy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Influencer Grid */
.influencers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .influencers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .influencers-grid {
        grid-template-columns: 1fr;
    }
}

.influencer-card {
    padding: 25px 20px;
    text-align: center;
}

.influencer-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 15px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.influencer-card h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partners-section {
    padding: 85px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.partners-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 28px;
    align-items: center;
    justify-items: center;
    margin-bottom: 55px;
}

.partner-logo-item {
    background: var(--bg-base);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 95px;
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    background: #ffffff;
    border-color: rgba(144, 23, 29, 0.15);
    transform: scale(1.04);
    box-shadow: var(--card-shadow);
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo-item:hover img {
    filter: grayscale(0) opacity(1);
}

/* Sponsor Recruitment CTA */
.sponsor-cta-card {
    background: var(--bg-base);
    border: 1px dashed rgba(144, 23, 29, 0.2);
    border-radius: 24px;
    padding: 35px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sponsor-cta-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.cta-link-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--burgundy);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px var(--burgundy-glow);
    transition: all 0.3s ease;
}

.cta-link-btn:hover {
    background: #a81c22;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(144, 23, 29, 0.3);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    /* Grounding footer colored in deep-brand burgundy shade */
    background: #4a090c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 75px 0 25px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 55px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.about-col p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text-wrapper {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .result-card {
        flex: 0 0 calc(50% - 14px);
    }

    .short-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 992px) {
    .glass-nav {
        top: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .match-teams {
        flex-direction: column;
        gap: 30px;
    }

    .team {
        flex-direction: column;
        text-align: center !important;
        justify-content: center;
        width: 100%;
    }

    .team-home {
        flex-direction: column-reverse;
    }

    .vs-badge {
        margin: 12px 0;
    }

    .desktop-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
        padding: 30px;
        display: none;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 80px); /* Enable scrolling inside menu */
        overflow-y: auto;
    }

    .desktop-nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    .desktop-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .desktop-nav a {
        display: block;
        padding: 10px 0;
        color: var(--text-primary);
    }

    .desktop-nav a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.02);
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 20px;
        margin-top: 5px;
        display: none;
    }

    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        display: flex;
        transform: none; /* override desktop hover transform */
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active .bar-mid {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar-top {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar-bottom {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-menu-toggle svg line {
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .live-match-card {
        padding: 35px 25px;
    }

    .team-score {
        font-size: 2rem;
    }

    .result-card {
        flex: 0 0 100%;
    }

    .short-card {
        flex: 0 0 calc(50% - 12px);
    }

    .sponsor-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .table-filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box-wrapper {
        max-width: 100%;
    }

    .player-reg-banner {
        padding: 45px 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }

    .short-card {
        flex: 0 0 100%;
    }
}
