/* ============================================
   LEICESTER HEROES CRICKET CLUB - STYLE.CSS
   A fun, energetic, high-energy cricket website
   ============================================ */

/* ============================================
   1. ROOT VARIABLES & RESET
   ============================================ */

:root {
    /* Brand Colors */
    --navy: #1a3c6e;
    --maroon: #8b1a1a;

    /* Accent Colors */
    --orange: #ff6b35;
    --orange-dark: #e55a25;
    --cyan: #00e5ff;
    --cyan-dark: #00b8d4;
    --gold: #ffd700;
    --gold-dark: #daa520;
    --magenta: #ff1493;
    --purple: #7c4dff;
    --lime: #76ff03;
    --red: #ff4444;

    /* Backgrounds */
    --bg-dark: #0a1628;
    --bg-dark-alt: #1a0a2e;
    --bg-dark-card: #0f1f3a;
    --bg-dark-card-alt: #1e1040;

    /* Text */
    --text-white: #ffffff;
    --text-light: #e0e6f0;
    --text-muted: #8899b4;
    --text-dark: #1a1a2e;

    /* Fonts */
    --font-heading: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;
    --font-fun: 'Permanent Marker', cursive;

    /* Spacing */
    --section-pad: 100px;
    --container-max: 1280px;
    --container-pad: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Borders */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow-orange: 0 0 30px rgba(255, 107, 53, 0.4);
    --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.4);
    --shadow-glow-gold: 0 0 30px rgba(255, 215, 0, 0.4);

    /* Z-index layers */
    --z-preloader: 10000;
    --z-navbar: 1000;
    --z-back-to-top: 900;
    --z-slider-nav: 50;
    --z-overlay: 10;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.preloader-active {
    overflow: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

::selection {
    background: var(--orange);
    color: var(--text-white);
}


/* ============================================
   2. PRELOADER
   ============================================ */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.cricket-ball-loader {
    margin-bottom: 30px;
}

.cricket-ball-loader .ball {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 35% 35%, #e53935, #b71c1c);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    animation: spin 1s linear infinite;
    box-shadow:
        inset -3px -3px 8px rgba(0, 0, 0, 0.3),
        0 5px 25px rgba(229, 57, 53, 0.5);
}

.cricket-ball-loader .seam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border: 2.5px dashed rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.cricket-ball-loader .seam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2.5px dashed rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: rotate(180deg);
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.loading-text {
    font-family: var(--font-fun);
    font-size: 1.2rem;
    color: var(--text-muted);
    animation: pulse 1.5s ease-in-out infinite;
    letter-spacing: 2px;
}


/* ============================================
   3. NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-navbar);
    padding: 15px 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

/* Logo image wrapper — crops out white background */
.logo-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: all var(--transition);
}

.nav-logo .logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
    transition: all var(--transition);
}

.nav-logo:hover .logo-img-wrapper {
    border-color: var(--orange);
    box-shadow: 0 2px 20px rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

.navbar.scrolled .logo-img-wrapper {
    width: 50px;
    height: 50px;
}

/* Brand text next to logo */
.logo-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    transition: all var(--transition);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: 3px;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--orange);
    letter-spacing: 3px;
}

.navbar.scrolled .brand-name {
    font-size: 1.1rem;
}

.navbar.scrolled .brand-sub {
    font-size: 0.65rem;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    transform: translateX(-50%);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link.active {
    color: var(--orange);
}

/* Nav CTA Button */
.nav-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.nav-btn i {
    font-size: 0.75rem;
    transition: transform var(--transition);
}

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

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ============================================
   4. HERO / REVOLUTION SLIDER
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.rev-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.rev-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.rev-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.rev-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Background */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Slide Background Image */
.slide-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slide Overlays for text readability */
.slide-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 10, 46, 0.7) 40%, rgba(10, 22, 40, 0.6) 100%);
    z-index: 2;
}

.slide-bg-overlay.overlay-dark {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(15, 15, 35, 0.75) 50%, rgba(10, 22, 40, 0.65) 100%);
}

.slide-bg-overlay.overlay-warm {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 10, 46, 0.65) 40%, rgba(13, 33, 55, 0.55) 100%);
}

/* Floating Cricket Equipment */
.cricket-equipment-float {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-item {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-slow);
    object-fit: cover;
}

.float-item.float-ball {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    top: 10%;
    right: 0;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.float-item.float-stumps {
    width: 200px;
    height: 260px;
    border-radius: var(--radius-lg);
    bottom: 0;
    left: 0;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 2;
}

.float-item.float-bat {
    width: 200px;
    height: 260px;
    border-radius: var(--radius-lg);
    bottom: 0;
    left: 0;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
    z-index: 2;
}

.float-item:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 5;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.slide-text-wrapper {
    flex: 1;
    max-width: 600px;
    padding-top: 60px;
}

/* Hero Tournament Strip */
.hero-tournament-strip {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 20;
    text-decoration: none;
    opacity: 0;
    animation: stripSlideUp 0.8s ease-out 1.5s forwards, stripGlow 2s ease-in-out 2.3s infinite;
    width: 90%;
    max-width: 700px;
}

.hero-tournament-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--orange), var(--maroon), var(--orange));
    background-size: 200% 200%;
    animation: stripShimmer 3s ease-in-out infinite;
    border-radius: 50px;
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.hero-tournament-icon {
    font-size: 1.2rem;
    color: var(--gold);
    animation: iconBounce 1.5s ease-in-out infinite;
}

.hero-tournament-text {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 2.5vw, 1.4rem);
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-tournament-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.hero-tournament-cta i {
    margin-left: 4px;
    animation: arrowPulse 1s ease-in-out infinite;
}

.hero-tournament-strip:hover .hero-tournament-inner {
    border-color: var(--gold);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

@keyframes stripSlideUp {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes stripGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.3), 0 0 30px rgba(255, 107, 53, 0.1); }
    50% { box-shadow: 0 0 25px rgba(255, 107, 53, 0.6), 0 0 50px rgba(255, 107, 53, 0.3), 0 0 80px rgba(255, 107, 53, 0.1); }
}

@keyframes stripShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Slide Tag */
.slide-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.rev-slide.active .slide-tag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Slide Title */
.slide-title {
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: var(--text-white);
    letter-spacing: 6px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rev-slide.active .title-line.line-1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.rev-slide.active .title-line.line-2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.rev-slide.active .title-line.line-3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.title-line.accent {
    color: var(--orange);
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

/* Slide Description */
.slide-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.rev-slide.active .slide-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

/* Slide Actions */
.slide-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.rev-slide.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.3s;
}

/* Slide Visual */
.slide-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rev-slide.active .slide-visual {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.6s;
}

/* Score Ticker */
.score-ticker {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.15), rgba(0, 229, 255, 0.15), rgba(255, 107, 53, 0.15));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
    animation: slideUp 0.8s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.rev-slide.active .score-ticker {
    opacity: 1;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.ticker-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ticker-score {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 2px;
}

.ticker-vs {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.ticker-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.ticker-result {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    padding: 2px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

.ticker-result.win {
    background: rgba(76, 175, 80, 0.2);
    color: #76ff03;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.ticker-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
}

/* Stadium Lights */
.stadium-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.light-beam {
    position: absolute;
    top: -20%;
    width: 200px;
    height: 120%;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%
    );
    transform-origin: top center;
    opacity: 0;
    animation: lightBeamSway 8s ease-in-out infinite;
}

.beam-1 {
    left: 15%;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.beam-2 {
    left: 50%;
    transform: rotate(0deg) translateX(-50%);
    animation-delay: 2s;
}

.beam-3 {
    right: 15%;
    transform: rotate(15deg);
    animation-delay: 4s;
}

.rev-slide.active .light-beam {
    opacity: 1;
    transition: opacity 1s ease 0.5s;
}

/* Emoji Cloud */
.emoji-cloud {
    position: relative;
    width: 100%;
    height: 400px;
}

.emoji-float {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: var(--size, 2rem);
    animation: float 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    user-select: none;
}

/* Batsman SVG Animation */
.batsman-animation {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.batsman-svg {
    width: 100%;
    filter: drop-shadow(0 5px 30px rgba(0, 229, 255, 0.3));
}

.batsman-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bat-arm {
    animation: batSwing 2s ease-in-out infinite;
    transform-origin: 200px 170px;
}

.flying-ball {
    animation: ballFly 2s ease-in-out infinite;
}

/* Stats Showcase */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 450px;
}

.stat-card {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.stat-pop {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: var(--delay, 0s);
}

.rev-slide.active .stat-pop {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--orange);
    line-height: 1;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.stat-icon {
    font-size: 1.5rem;
    margin-top: 8px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-slider-nav);
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-orange);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-slider-nav);
    text-align: center;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    margin: 0 auto 8px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}


/* ============================================
   5. BACKGROUND CRICKET ANIMATIONS
   ============================================ */

.cricket-bg-animations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Floating cricket elements */
.cricket-bg-element {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Cricket ball floating */
.bg-cricket-ball {
    width: 30px;
    height: 30px;
}

.bg-cricket-ball svg {
    width: 100%;
    height: 100%;
}

/* Floating stumps */
.bg-stumps {
    width: 24px;
    height: 50px;
}

.bg-stumps svg {
    width: 100%;
    height: 100%;
}

/* Bat silhouette */
.bg-bat {
    width: 20px;
    height: 60px;
}

.bg-bat svg {
    width: 100%;
    height: 100%;
}

/* Six text burst */
.bg-six-text {
    font-family: var(--font-fun);
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Star burst */
.bg-star {
    width: 16px;
    height: 16px;
}

.bg-star svg {
    width: 100%;
    height: 100%;
}

/* Section-specific background canvases */
.section-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}


/* ============================================
   6. ABOUT SECTION
   ============================================ */

.about-section {
    position: relative;
    background: var(--bg-dark-alt);
    padding-top: 0;
    padding-bottom: 40px;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-wave-top {
    position: relative;
    margin-top: -1px;
    line-height: 0;
    color: var(--bg-dark-alt);
}

.section-wave-top svg {
    width: 100%;
    height: 80px;
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Content */
.about-content {
    position: relative;
}

.about-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: var(--radius-full);
    margin-bottom: 25px;
    box-shadow: var(--shadow-glow-orange);
}

.about-badge span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    line-height: 1;
}

.about-badge strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 2px;
    line-height: 1;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.9;
}

.about-content strong {
    color: var(--text-white);
}

.about-content em {
    color: var(--orange);
    font-style: italic;
}

/* About Read More */
.about-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-more-content.expanded {
    max-height: 2000px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--orange);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 15px;
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    color: var(--gold);
    gap: 12px;
}

.read-more-btn i {
    font-size: 0.75rem;
    transition: transform var(--transition);
}

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

/* About Features Grid */
.about-features {
    display: flex;
    gap: 15px;
    margin: 30px 0 35px;
    flex-wrap: nowrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.feature-item:hover {
    background: rgba(255, 107, 53, 0.06);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.feature-icon.bounce-in {
    animation: bounce 2s ease-in-out infinite;
    animation-play-state: paused;
}

.feature-item:hover .feature-icon.bounce-in {
    animation-play-state: running;
}

.feature-text strong {
    font-size: 0.85rem;
    color: var(--text-white);
    display: block;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    padding: 30px;
}

.about-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.about-img-card.card-1 {
    position: relative;
    z-index: 2;
    height: 220px;
}

.about-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-card.card-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    z-index: 3;
    border: 4px solid var(--bg-dark-alt);
}

.about-img-card:hover {
    transform: translateY(-5px) rotate(-1deg);
}

.img-placeholder {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder.cricket-action {
    background: linear-gradient(135deg, var(--navy), #2e6ec1);
}

.img-placeholder.cricket-team {
    background: linear-gradient(135deg, var(--maroon), #c0392b);
    height: 200px;
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.placeholder-content i {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.placeholder-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Fun Stat Bubbles */
.fun-stat-bubble {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}

.fun-stat-bubble.bubble-1 {
    top: 10%;
    right: -10px;
    background: linear-gradient(135deg, var(--orange), #ff9800);
    animation-delay: 0s;
}

.fun-stat-bubble.bubble-2 {
    bottom: 25%;
    left: -10px;
    background: linear-gradient(135deg, var(--cyan), #00bcd4);
    animation-delay: 1.5s;
}

.bubble-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-white);
    line-height: 1;
    letter-spacing: 1px;
}

.bubble-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}




/* ============================================
   8. GALLERY SECTION
   ============================================ */

.gallery-section {
    position: relative;
    background: var(--bg-dark-alt);
    padding-top: 0;
    padding-bottom: var(--section-pad);
}

.gallery-section .section-wave-top {
    color: var(--bg-dark-alt);
}

/* Filter Buttons */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 22px;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: var(--orange);
    color: var(--text-white);
    border-color: var(--orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.5s ease;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.gallery-item.large .gallery-img {
    height: 250px;
}

.gallery-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
}

.gallery-placeholder i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}

.gallery-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-real-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

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

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-card:hover .gallery-placeholder {
    opacity: 0.3;
    transform: scale(1.1);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ============================================
   8A. TEAM MANAGEMENT SECTION
   ============================================ */

.management-section {
    position: relative;
    background: var(--bg-dark-alt);
    padding-top: 40px;
    padding-bottom: 30px;
}

.management-section .management-wave {
    color: var(--bg-dark-alt);
}

.management-section .section-bg-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(124, 77, 255, 0.04) 0%, transparent 50%);
}

.management-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
}

.management-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(124, 77, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: all var(--transition-medium);
    max-width: 280px;
    width: 100%;
}

.management-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(255, 215, 0, 0.1),
        0 0 30px rgba(124, 77, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
}

.management-card-inner {
    display: flex;
    flex-direction: column;
}

.management-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

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

.management-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 50%);
    pointer-events: none;
}

.management-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--navy);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.management-badge i {
    font-size: 0.7rem;
}

.management-info {
    padding: 24px;
    text-align: center;
}

.management-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--gold), #ffecb3, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.management-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 12px;
}

.management-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .management-grid {
        gap: 15px;
    }

    .management-card {
        max-width: 180px;
    }

    .management-info {
        padding: 15px;
    }

    .management-name {
        font-size: 1.4rem;
    }

    .management-desc {
        font-size: 0.8rem;
    }
}


/* ============================================
   8B. TEAM SECTION
   ============================================ */

.team-section {
    position: relative;
    background: var(--bg-dark);
    padding-top: 0;
    padding-bottom: var(--section-pad);
    overflow: hidden;
}

.team-section .section-wave-top.team-wave {
    color: var(--bg-dark);
}

.team-section .section-bg-pattern {
    background-image:
        radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    perspective: 1000px;
}

/* Card Wrapper */
.team-card-wrapper {
    perspective: 1000px;
}

/* Team Card */
.team-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow var(--transition);
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
}

.team-card:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

/* Card Glow - dynamic layer */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 1;
}

.team-card:hover .card-glow {
    opacity: 1;
}

/* Shine sweep on hover */
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.team-card:hover::after {
    left: 100%;
}

/* Card Inner */
.card-inner {
    transform-style: preserve-3d;
    position: relative;
    z-index: 3;
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    transform: translateZ(20px);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

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

.card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
    pointer-events: none;
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateZ(40px);
    z-index: 5;
}

.card-badge i {
    font-size: 0.7rem;
}

.captain-badge {
    background: var(--navy);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.vice-captain-badge {
    background: var(--navy);
    border: 1px solid rgba(0, 229, 255, 0.5);
    color: var(--cyan);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Card Info */
.card-info {
    padding: 18px 20px;
    text-align: center;
    transform: translateZ(30px);
}

.card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.card-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Captain Card Styling */
.team-card-wrapper.captain .team-card {
    border-color: rgba(255, 215, 0, 0.25);
}

.team-card-wrapper.captain .team-card:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

.team-card-wrapper.captain .card-name {
    background: linear-gradient(135deg, var(--gold), #ffecb3, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Vice-Captain Card Styling */
.team-card-wrapper.vice-captain .team-card {
    border-color: rgba(0, 229, 255, 0.25);
}

.team-card-wrapper.vice-captain .team-card:hover {
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15);
}

.team-card-wrapper.vice-captain .card-name {
    background: linear-gradient(135deg, var(--cyan), #b2ebf2, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Particles on hover - CSS pseudo-elements */
.team-card-wrapper.captain .team-card::before,
.team-card-wrapper.vice-captain .team-card::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    top: 20%;
    left: 15%;
    opacity: 0;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.team-card-wrapper.captain .team-card::before {
    background: var(--gold);
    box-shadow:
        30px -10px 0 var(--gold),
        60px 20px 0 var(--gold),
        -10px 40px 0 var(--gold),
        80px 50px 0 var(--gold);
}

.team-card-wrapper.vice-captain .team-card::before {
    background: var(--cyan);
    box-shadow:
        30px -10px 0 var(--cyan),
        60px 20px 0 var(--cyan),
        -10px 40px 0 var(--cyan),
        80px 50px 0 var(--cyan);
}

.team-card-wrapper.captain .team-card:hover::before,
.team-card-wrapper.vice-captain .team-card:hover::before {
    opacity: 0.6;
    animation: teamParticleFloat 2s ease-in-out infinite;
}

@keyframes teamParticleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Team Section Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

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

    .card-image-wrapper {
        transform: none !important;
    }

    .card-info {
        transform: none !important;
        padding: 14px 16px;
    }

    .card-badge {
        transform: none !important;
    }

    .card-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card-image-wrapper {
        aspect-ratio: 3 / 3.5;
    }

    .card-info {
        padding: 10px 8px;
    }

    .card-name {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .card-role {
        font-size: 0.65rem;
    }

    .card-badge {
        padding: 4px 8px;
        font-size: 0.55rem;
        top: 8px;
        right: 8px;
    }

    .card-badge i {
        font-size: 0.55rem;
    }
}

/* Reduced motion: disable tilt/particles */
@media (prefers-reduced-motion: reduce) {
    .team-card {
        transition: none !important;
    }

    .team-card::after,
    .team-card::before {
        display: none !important;
    }

    .card-glow {
        display: none !important;
    }
}


/* ============================================
   8D. UPCOMING TOURNAMENT SECTION
   ============================================ */

.tournament-section {
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.tournament-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 450px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tournament-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tournament-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(10, 22, 40, 0.85) 50%,
        rgba(10, 22, 40, 0.4) 100%
    );
}

.tournament-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.tournament-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--orange), var(--maroon));
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: fit-content;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.6); }
}

.tournament-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.2;
}

.tournament-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
}

.tournament-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.tournament-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.tournament-detail-item i {
    color: var(--orange);
    font-size: 1rem;
}

.tournament-cta {
    margin-top: 10px;
}

.tournament-side-image {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

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

@media (max-width: 900px) {
    .tournament-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tournament-bg {
        display: none;
    }

    .tournament-side-image {
        order: -1;
        height: auto;
        aspect-ratio: 4/3;
    }

    .tournament-side-image img {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .tournament-content {
        padding: 25px 20px 30px;
        background: var(--bg-dark-card);
    }

    .tournament-title {
        font-size: 1.5rem;
    }

    .tournament-desc {
        font-size: 0.9rem;
    }

    .tournament-details {
        gap: 8px;
    }

    .tournament-detail-item {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}


/* ============================================
   9. MARQUEE SECTION
   ============================================ */

.stats-marquee-section {
    padding: 25px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-alt) 50%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
    position: relative;
}

.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-track::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-track::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    background: linear-gradient(135deg, var(--orange), var(--gold), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.marquee-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.5rem;
}


/* ============================================
   10. CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--bg-dark);
    padding: var(--section-pad) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.info-card:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: rgba(255, 107, 53, 0.15);
    transform: translateX(5px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.info-card:hover .info-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: var(--shadow-glow-orange);
}

.info-icon i {
    color: var(--text-white);
    font-size: 1.1rem;
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Social Links */
.social-links {
    padding-top: 10px;
}

.social-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: top var(--transition);
}

.social-icon:hover {
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-3px);
}

.social-icon:hover::before {
    top: 0;
}

.social-icon:nth-child(1):hover::before { background: #1877f2; }
.social-icon:nth-child(1):hover { box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4); }

.social-icon:nth-child(2):hover::before { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon:nth-child(2):hover { box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4); }

.social-icon:nth-child(3):hover::before { background: #14171a; }
.social-icon:nth-child(3):hover { box-shadow: 0 4px 15px rgba(20, 23, 26, 0.6); }

.social-icon:nth-child(4):hover::before { background: #ff0000; }
.social-icon:nth-child(4):hover { box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); }

.social-icon:nth-child(5):hover::before { background: #010101; }
.social-icon:nth-child(5):hover { box-shadow: 0 4px 15px rgba(1, 1, 1, 0.6); }

.social-icon i {
    position: relative;
    z-index: 2;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
    z-index: 2;
    pointer-events: none;
}

.textarea-wrapper .input-icon {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text-white);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 130px;
}

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

.input-wrapper select option {
    background: var(--bg-dark-card);
    color: var(--text-light);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--cyan));
    border-radius: 2px;
    transition: all var(--transition);
    transform: translateX(-50%);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.input-wrapper input:focus ~ .input-focus-border,
.input-wrapper select:focus ~ .input-focus-border,
.input-wrapper textarea:focus ~ .input-focus-border {
    width: 100%;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon,
.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
    color: var(--orange);
}

/* Map */
.map-wrapper {
    margin-top: 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    filter: grayscale(0.6) brightness(0.7) contrast(1.1);
    transition: filter var(--transition-slow);
}

.map-container:hover iframe {
    filter: grayscale(0.2) brightness(0.85) contrast(1);
}


/* ============================================
   11. FOOTER
   ============================================ */

.footer {
    position: relative;
    background: #060e1a;
    padding-top: 0;
}

.footer-wave {
    position: relative;
    line-height: 0;
    color: #060e1a;
    margin-top: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

/* Footer Brand */
.footer-brand .footer-logo {
    margin-bottom: 15px;
}

.footer-brand .footer-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-brand .footer-logo .logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer .social-icons {
    display: flex;
    gap: 10px;
}

.footer .social-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
}

/* Footer Links */
.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 15px;
}


/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-tagline {
    font-family: var(--font-fun);
    color: var(--orange) !important;
    letter-spacing: 1px;
}


/* ============================================
   12. BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: var(--z-back-to-top);
    background: var(--bg-dark-card);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--orange);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-orange);
}

.back-to-top i {
    position: relative;
    z-index: 2;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 2;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--orange);
    stroke-width: 2;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 138.2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}


/* ============================================
   13. UTILITY CLASSES
   ============================================ */

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* Section Defaults */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-fun);
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text-white);
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Title Underline with Rolling Ball */
.title-underline {
    width: 80px;
    height: 3px;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 3px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.ball-roll {
    width: 12px;
    height: 12px;
    background: var(--orange);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: ballRoll 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Accent Color */
.accent {
    color: var(--orange);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 30px;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn i {
    font-size: 0.85rem;
    transition: transform var(--transition);
}

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

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

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

/* Glow Effect */
.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--orange), var(--gold), var(--cyan), var(--orange));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
    background-size: 300% 300%;
    animation: shimmer 3s linear infinite;
}

.btn-glow:hover::before {
    opacity: 1;
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* Large Button */
.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* Full Width Button */
.btn-full {
    width: 100%;
    justify-content: center;
}


/* ============================================
   14. KEYFRAME ANIMATIONS
   ============================================ */

/* Preloader Spin */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.98); }
}

/* Float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Slide Up */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade In Up */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ball Roll (title underline) */
@keyframes ballRoll {
    0% { left: -12px; }
    50% { left: calc(100% + 0px); }
    100% { left: -12px; }
}


/* Ball Fly (hero batsman) */
@keyframes ballFly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-60px, -50px) scale(0.8); opacity: 0.8; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

/* Bat Swing (hero batsman) */
@keyframes batSwing {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(-30deg); }
    60% { transform: rotate(20deg); }
    100% { transform: rotate(0deg); }
}

/* Cricket Background Float */
@keyframes cricketBgFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Cricket Ball Spin */
@keyframes cricketBallSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Drift Left Right */
@keyframes driftLR {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

/* Shimmer (button glow) */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mouse Scroll */
@keyframes mouseScroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* Bounce */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-4px); }
}

/* Light Beam Sway */
@keyframes lightBeamSway {
    0%, 100% { opacity: 0.3; transform: rotate(var(--angle, 0deg)) scaleY(1); }
    50% { opacity: 0.6; transform: rotate(calc(var(--angle, 0deg) + 5deg)) scaleY(1.05); }
}

.beam-1 { --angle: -15deg; }
.beam-2 { --angle: 0deg; }
.beam-3 { --angle: 15deg; }


/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */

/* Max 1200px */
@media (max-width: 1200px) {
    :root {
        --section-pad: 80px;
        --container-pad: 25px;
    }

    .about-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
        gap: 30px;
    }

    .stats-showcase {
        gap: 15px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* Max 992px */
@media (max-width: 992px) {
    :root {
        --section-pad: 70px;
    }

    /* Navbar Mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 8px;
        transition: right var(--transition-slow);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 10px;
        width: 100%;
    }

    .nav-btn {
        margin-left: 0;
        margin-top: 15px;
    }

    /* Hero */
    .slide-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 100px;
        gap: 30px;
    }

    .slide-text-wrapper {
        max-width: 100%;
    }

    .slide-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .slide-actions {
        justify-content: center;
    }

    .slide-visual {
        max-width: 300px;
    }

    .cricket-equipment-float {
        height: 220px;
    }

    .float-item.float-ball {
        width: 120px;
        height: 120px;
    }

    .float-item.float-stumps,
    .float-item.float-bat {
        width: 150px;
        height: 190px;
    }

    .score-ticker {
        bottom: 50px;
        gap: 15px;
        padding: 10px 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .slider-nav {
        bottom: 110px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        order: -1;
    }

    .about-image-stack {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* Max 768px */
@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
    }

    .title-line {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    /* Stats */
    .stats-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 18px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* About Features */
    .about-features {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .about-features .feature-item {
        flex: 1;
        min-width: 0;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .gallery-img {
        height: 200px;
    }

    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }

}

/* Max 576px */
@media (max-width: 576px) {
    :root {
        --section-pad: 50px;
        --container-pad: 15px;
    }

    body {
        font-size: 15px;
    }

    .title-line {
        font-size: clamp(2rem, 12vw, 3.2rem);
        letter-spacing: 3px;
    }

    .hero-tournament-strip {
        bottom: 70px;
        width: 95%;
    }

    .hero-tournament-inner {
        padding: 10px 18px;
        gap: 10px;
    }

    .hero-tournament-cta {
        display: none;
    }

    .slide-tag {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .slide-desc {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    /* Slider Nav */
    .slider-nav {
        bottom: 100px;
    }

    .slider-prev,
    .slider-next {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    /* Score Ticker */
    .score-ticker {
        font-size: 0.8rem;
        bottom: 45px;
    }

    .ticker-score {
        font-size: 0.9rem;
    }

    /* Hide floating equipment on small screens */
    .cricket-equipment-float {
        height: 180px;
    }

    .float-item.float-ball {
        width: 100px;
        height: 100px;
    }

    .float-item.float-stumps,
    .float-item.float-bat {
        width: 130px;
        height: 160px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-img,
    .gallery-item.large .gallery-img {
        height: 160px;
    }

    .gallery-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    /* Marquee */
    .marquee-item {
        font-size: 1.2rem;
    }

    /* Back to top */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }

    /* Nav Logo */
    .logo-img-wrapper {
        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-sub {
        font-size: 0.6rem;
    }

    /* Nav Menu */
    .nav-menu {
        width: 100%;
        right: -100%;
    }

    /* About Badge */
    .about-badge {
        width: 65px;
        height: 65px;
    }

    /* Stat Bubbles */
    .fun-stat-bubble {
        width: 70px;
        height: 70px;
    }

    .bubble-number {
        font-size: 1.4rem;
    }

    .bubble-label {
        font-size: 0.5rem;
    }

}

/* ============================================
   JOIN BUTTONS
   ============================================ */

.join-buttons {
    margin-top: 25px;
}

.join-buttons h4 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.join-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.join-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.join-btn i {
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transition: left 0.4s ease;
}

.join-btn:hover::before {
    left: 100%;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.join-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.join-facebook {
    background: linear-gradient(135deg, #1877F2, #0D47A1);
}

.join-instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

@media (max-width: 768px) {
    .join-btn {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}

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

    .marquee-content {
        animation: none;
    }
}
