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

/* Premium Gallery Hover Preview */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.4);
    transform: translateY(-5px);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.72);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: min(80vw, 1200px);
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.25),
        0 20px 60px rgba(0, 0, 0, 0.45);
    animation: zoomIn 0.3s ease;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-cyan);
    transform: scale(1.15);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.18);
    border: 1px solid rgba(0, 212, 255, 0.45);
    color: white;
    font-size: 34px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10001;
    user-select: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.lightbox-arrow:hover {
    background: rgba(0, 212, 255, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-arrow-left { left: 24px; }
.lightbox-arrow-right { right: 24px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.2);
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.45);
    backdrop-filter: blur(8px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

:root {
    --primary-cyan: #00d4ff;
    --primary-teal: #00b8d4;
    --primary-orange: #ff6b35;
    --accent-orange: #ff8c42;
    --dark-bg: #0a1628;
    --darker-bg: #050d1a;
    --card-bg: #1a2942;
    --text-light: #ffffff;
    --text-gray: #a0aec0;
    --text-muted: rgba(255, 255, 255, 0.8);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?w=1920&q=80') center/cover no-repeat fixed;
    color: var(--text-light);
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Main Navigation Bar with Glassmorphism */
.main-nav {
    position: fixed;
    top: 8px;
    left: 32px;
    right: 32px;
    min-height: 112px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 24%),
        linear-gradient(90deg, rgba(19, 88, 112, 0.9) 0%, rgba(6, 19, 67, 0.96) 38%, rgba(3, 22, 61, 0.98) 68%, rgba(53, 42, 74, 0.9) 100%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1002;
    box-shadow:
        0 16px 40px rgba(3, 16, 43, 0.32),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(122, 184, 214, 0.18);
    border-radius: 28px;
    transition: var(--transition);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo-img {
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 212, 255, 0.22));
    transition: all 0.3s ease;
}

.nav-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.nav-brand-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.nav-logo-img:hover {
    filter: drop-shadow(0 10px 26px rgba(0, 212, 255, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links li a {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    padding: 10px 0;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    transition: transform 0.3s ease;
}

.nav-links li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links li a:hover {
    color: var(--primary-cyan);
    background: rgba(0, 212, 255, 0.1);
}

.nav-links li a.nav-cta {
    background: linear-gradient(135deg, #2fd4ff, #ff9a33);
    color: #041625;
    padding: 16px 24px;
    border-radius: 32px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.24);
}

.nav-links li a.nav-cta::after {
    display: none;
}

.nav-links li a.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, #38dcff, #ffa847);
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-cyan);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 24px;
    color: var(--dark-bg);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

/* Top Navigation Bar (Search bar) */
.top-nav {
    display: none;
}

.top-search {
    position: relative;
    width: 400px;
    max-width: 50%;
}

.top-search input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.top-search input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.top-search .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 12px;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 1003;
}

.top-search .search-results.active {
    display: block;
}

.top-search .search-result-item {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-search .search-result-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.top-search .search-result-item:last-child {
    border-bottom: none;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #0a1628 0%, #1a2942 100%);
    padding: 20px;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 212, 255, 0.1);
    transition: left 0.3s ease;
}

.sidebar.active { left: 0; }

.sidebar-toggle {
    background: var(--primary-cyan);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.sidebar-logo { 
    text-align: center; 
    margin-bottom: 30px; 
    padding-bottom: 20px; 
    border-bottom: 2px solid var(--primary-cyan); 
}

.sidebar-logo h2 { 
    color: var(--primary-cyan); 
    font-size: 20px; 
    margin-top: 10px; 
}

.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 15px; }

.sidebar-nav a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.sidebar-nav a:hover { 
    background: rgba(0, 212, 255, 0.1); 
    color: var(--primary-cyan); 
}

.search-container { 
    margin-top: 30px; 
    padding-top: 20px; 
    border-top: 2px solid var(--primary-cyan); 
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
}

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

.search-results {
    position: absolute;
    background: var(--card-bg);
    border-radius: 8px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    width: 210px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-results.active { display: block; }

.search-result-item { 
    padding: 12px 15px; 
    cursor: pointer; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.search-result-item:hover { 
    background: rgba(0, 212, 255, 0.1); 
}

/* Landing Page - Hero Slideshow */
.landing-page {
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    padding: 0;
    position: relative;
}

.hero-slideshow {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.55)
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.hero-logo-fixed {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 120px;
    height: 120px;
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    animation: pulse 2s ease-in-out infinite;
    object-fit: contain;
}

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

/* Live Counter */
.live-counter {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.counter-icon {
    font-size: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.counter-separator {
    color: var(--primary-cyan);
    font-size: 20px;
}

#playerCount, #countdown {
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 18px;
}

/* Enhanced Typography */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.1;
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 212, 255, 0.8),
        0 0 40px rgba(0, 212, 255, 0.5);
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

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

/* Enhanced CTA Button */
.hero-register-btn {
    font-family: 'Poppins', sans-serif;
    padding: 22px 50px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    border: none;
    border-radius: 50px;
    color: var(--dark-bg);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.hero-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.hero-register-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6), 0 0 30px rgba(255, 107, 53, 0.4);
}

.hero-register-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-icon {
    font-size: 24px;
    animation: slideRight 1s ease-in-out infinite;
}

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

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 212, 255, 0.3);
    border: 2px solid var(--primary-cyan);
    color: white;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.hero-arrow:hover {
    background: var(--primary-cyan);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left { left: 30px; }
.hero-arrow-right { right: 30px; }

/* Hero Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.hero-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--primary-cyan);
    transform: scale(1.3);
}

.hero-dot:hover {
    background: var(--primary-orange);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.badminton-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-zaiops {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-cyan);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.logo-badminton {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.landing-title {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

.landing-subtitle { 
    font-size: 24px; 
    color: var(--text-gray); 
    margin-bottom: 40px; 
    text-align: center; 
}

.register-now-btn {
    padding: 20px 60px;
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    border: none;
    border-radius: 50px;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
}

.register-now-btn:hover { 
    transform: translateY(-5px) scale(1.05); 
}

/* Section Styles */
.section {
    display: none;
    min-height: 100vh;
    padding: 120px 20px 80px 20px;
}

.section.active { display: block; }

.section-title {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease-out;
}

.content-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 140px auto 80px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.form-header h1 {
    font-size: 36px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.back-btn {
    position: fixed;
    top: 20px;
    left: 80px;
    padding: 12px 24px;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    color: var(--primary-cyan);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.back-btn:hover { 
    background: var(--primary-cyan); 
    color: var(--dark-bg); 
}

.form-group { margin-bottom: 25px; }

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

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

.form-group input.error { 
    border-color: #ff4444; 
    background-color: rgba(255, 68, 68, 0.1); 
}

.radio-group { 
    display: flex; 
    gap: 20px; 
    margin-top: 10px; 
}

.radio-option { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
}

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

.checkbox-group { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin-top: 10px; 
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--dark-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover { 
    border-color: var(--primary-cyan); 
}

.checkbox-option input[type="checkbox"] { 
    width: 20px; 
    height: 20px; 
    accent-color: var(--primary-cyan); 
    cursor: pointer; 
}

.partner-fields {
    background: var(--dark-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border: 2px dashed var(--primary-cyan);
}

.partner-fields h3 { 
    color: var(--primary-cyan); 
    margin-bottom: 15px; 
    font-size: 18px; 
}

.hidden { display: none; }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) { 
    transform: translateY(-2px); 
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4); 
}

.submit-btn:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
}

.message { 
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    display: none; 
}

.success-message { 
    background-color: rgba(76, 175, 80, 0.2); 
    color: #4caf50; 
    border: 1px solid #4caf50; 
}

.error-message {
    background-color: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

/* Registration Tabs */
.registration-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
    justify-content: center;
    padding: 0 10px;
}

/* Base Tab */
.registration-tab {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hover */
.registration-tab:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: 0.9;
}

/* Category-Specific Colors */
/* Men's Singles */
.registration-tab:nth-child(1) {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

/* Men's Doubles */
.registration-tab:nth-child(2) {
    background: linear-gradient(135deg, #2563eb, #9333ea);
}

/* Women's Singles */
.registration-tab:nth-child(3) {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

/* Women's Doubles */
.registration-tab:nth-child(4) {
    background: linear-gradient(135deg, #db2777, #7c3aed);
}

/* Mixed Doubles */
.registration-tab:nth-child(5) {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

/* Active Tab */
.registration-tab.active {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    outline: 2px solid rgba(255, 255, 255, 0.6);
}

/* News Section */
.news-container {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-news {
    text-align: center;
    padding: 60px 40px;
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.no-news-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-news h2 {
    font-size: 32px;
    color: var(--primary-cyan);
    margin-bottom: 15px;
}

.no-news p {
    font-size: 18px;
    color: var(--text-gray);
}

/* Options Grid with Animation */
.looking-for-section {
    padding: 100px 20px;
    animation: fadeIn 0.8s ease-out;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.option-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out backwards;
}

.option-card:nth-child(1) { animation-delay: 0.1s; }
.option-card:nth-child(2) { animation-delay: 0.2s; }
.option-card:nth-child(3) { animation-delay: 0.3s; }
.option-card:nth-child(4) { animation-delay: 0.4s; }
.option-card:nth-child(5) { animation-delay: 0.5s; }

.option-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.option-icon {
    font-size: 60px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.option-card:hover .option-icon {
    transform: scale(1.2) rotate(5deg);
}

.option-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-cyan);
    font-weight: 600;
}

.option-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.about-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out backwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }
.about-card:nth-child(4) { animation-delay: 0.4s; }

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.about-icon {
    font-size: 60px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    transform: scale(1.2) rotate(10deg);
}

.about-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: var(--primary-cyan);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* Coming Soon */
.coming-soon { 
    text-align: center; 
    padding: 100px 20px; 
}

.coming-soon-icon { 
    font-size: 120px; 
    margin-bottom: 30px; 
}

.coming-soon h2 { 
    font-size: 48px; 
    color: var(--primary-cyan); 
    margin-bottom: 20px; 
}

.coming-soon p { 
    font-size: 20px; 
    color: var(--text-gray); 
}

/* Rules */
.rules-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
}

.rules-content h2 { 
    color: var(--primary-cyan); 
    font-size: 32px; 
    margin-bottom: 30px; 
    text-align: center; 
}

.rules-content h3 { 
    color: var(--primary-orange); 
    font-size: 24px; 
    margin-top: 30px; 
    margin-bottom: 15px; 
}

.rules-content ul { 
    margin-left: 20px; 
    margin-bottom: 20px; 
}

.rules-content li { 
    line-height: 1.8; 
    margin-bottom: 10px; 
}

.rules-content p { margin-bottom: 15px; }

/* Enhanced Gallery */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.gallery-tab {
    padding: 14px 35px;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-light);
}

.gallery-tab:hover:not(.active) {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-cyan);
}

.gallery-tab.active {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.gallery-content {
    display: none;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    background: var(--card-bg);
    animation: fadeInUp 0.6s ease-out backwards;
    transform-style: preserve-3d;
    will-change: transform;
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '🔍 View Photo';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    color: white;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Section padding fix for header overlap */
.section {
    padding-top: 0;
}

/* Registrations */
.registrations-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); 
}

.category-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.category-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 107, 53, 0.15));
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-cyan);
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.category-header .team-count {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 4px;
}

.registrations-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.registrations-table th {
    background: var(--darker-bg);
    color: var(--primary-cyan);
    padding: 18px 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.registrations-table tbody tr {
    background: rgba(26, 41, 66, 0.4);
    transition: all 0.3s ease;
    animation: fadeIn 0.4s ease-out backwards;
}

.registrations-table tbody tr:nth-child(odd) {
    background: rgba(26, 41, 66, 0.6);
}

.registrations-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.registrations-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.registrations-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.registrations-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.registrations-table tbody tr:nth-child(5) { animation-delay: 0.25s; }

.registrations-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
}

.registrations-table td:first-child {
    font-weight: 600;
    color: var(--primary-cyan);
}

.registrations-table td:nth-child(2),
.registrations-table td:nth-child(4) {
    font-weight: 600;
    color: var(--text-light);
}

.registrations-table td:nth-child(3),
.registrations-table td:nth-child(5) {
    color: var(--text-gray);
    font-size: 14px;
    opacity: 0.8;
}

.registrations-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.01);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

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

/* Player Avatar */
.player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-bg);
    margin-right: 12px;
    vertical-align: middle;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

/* Loading Spinner */
.loading-spinner { 
    display: none; 
    text-align: center; 
    padding: 20px; 
}

.spinner {
    border: 4px solid rgba(0, 212, 255, 0.3);
    border-top: 4px solid var(--primary-cyan);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin { 
    100% { transform: rotate(360deg); } 
}

/* Success Overlay - Premium Design */
.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.success-overlay.show {
    display: flex;
}

.success-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 380px;
    padding: 22px 22px 28px;
    max-height: unset;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.95), rgba(10, 22, 40, 0.95));
    border-radius: 24px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(0, 212, 255, 0.2);
    animation: slideUp 0.5s ease;
    position: relative;
}

.success-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.checkmark-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    z-index: 1;
}

.success-content .checkmark {
    font-size: 60px;
    color: #4caf50;
    animation: pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.6);
    margin-bottom: 8px;
}

.success-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.4), transparent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

.success-title {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 6px;
    color: var(--text-light);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.success-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.categories-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 10px 0;
    position: relative;
    z-index: 1;
}

.chip {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 107, 53, 0.2));
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-cyan);
    border: 1.5px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.registration-info {
    font-size: 12px;
    color: var(--text-gray);
    margin: 10px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.success-message {
    font-size: 14px;
    color: var(--text-light);
    margin: 10px 0;
    padding: 6px 10px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.success-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
    position: relative;
    z-index: 1;
}

.whats-next-section {
    margin-top: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.whats-next-title {
    font-size: 16px;
    color: var(--primary-cyan);
    margin-bottom: 10px;
    font-weight: 600;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.next-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 13px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.next-step-item:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

.step-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.home-button {
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.home-button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4); 
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        padding: 0 24px;
    }
    
    .nav-links {
        gap: 18px;
    }
    
    .nav-links li a {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0 20px;
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 20px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }
    
    .nav-links li a.nav-cta {
        text-align: center;
    }
    
    .landing-page {
        margin-top: 70px;
    }
    
    .hero-slideshow {
        height: calc(100vh - 70px);
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 0;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-register-btn {
        padding: 18px 40px;
        font-size: 16px;
    }
    
    .live-counter {
        font-size: 13px;
        padding: 12px 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .counter-separator {
        display: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .options-grid,
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-toggle {
        left: 10px;
        top: 10px;
    }
    
    .back-btn {
        left: 60px;
        top: 10px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-logo-fixed {
        width: 80px;
        height: 80px;
        top: 20px;
        left: 20px;
    }
    
    .hero-arrow {
        padding: 10px 15px;
        font-size: 24px;
    }
    
    .hero-arrow-left {
        left: 15px;
    }
    
    .hero-arrow-right {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-register-btn {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .live-counter {
        font-size: 11px;
        padding: 10px 15px;
    }
    
    #playerCount, #countdown {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .option-card,
    .about-card {
        padding: 30px 20px;
    }
}

/* Made with Bob */

/* Enhanced Category Header with Stats Dashboard */
.category-header-enhanced {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(255, 107, 53, 0.25));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-title h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-cyan);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.player-count-badge {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.header-stats-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-text {
    color: rgba(255, 255, 255, 0.85);
}

.stat-text strong {
    color: var(--primary-cyan);
    font-weight: 600;
}

.stat-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
}

/* Enhanced Table Styles */
.registrations-table thead.sticky-header {
    position: relative;
    z-index: 10;
}

.registrations-table thead.sticky-header th {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    padding: 18px 16px;
    text-align: left;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.2px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.registrations-table tbody tr.table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.registrations-table tbody tr.table-row:nth-child(odd) {
    background: rgba(26, 41, 66, 0.4);
}

.registrations-table tbody tr.table-row:nth-child(even) {
    background: rgba(26, 41, 66, 0.6);
}

.registrations-table tbody tr.table-row:hover {
    background: rgba(0, 212, 255, 0.18);
    transform: translateX(4px) scale(1.002);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.25);
    border-left: 3px solid var(--primary-cyan);
}

.registrations-table tbody tr.table-row td {
    padding: 20px 16px;
}

/* Rank Column with Badges */
.col-rank {
    width: 80px;
    text-align: center;
}

.rank-badge {
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    line-height: 1;
}

.rank-number {
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* Player Info with Enhanced Avatars */
.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-bg);
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
}

/* Avatar Gradient Variations */
.player-avatar.avatar-0 {
    background: linear-gradient(135deg, #00d4ff, #667eea);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.player-avatar.avatar-1 {
    background: linear-gradient(135deg, #ff6b35, #f093fb);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.player-avatar.avatar-2 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.player-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.table-row:hover .player-avatar::before {
    opacity: 0.6;
}

.table-row:hover .player-avatar {
    transform: scale(1.1) rotate(5deg);
}

.player-name {
    font-weight: 600;
    color: var(--text-light);
}

/* Email Column */
.col-email,
.col-partner-email {
    color: var(--text-gray);
    font-size: 14px;
    opacity: 0.85;
}

/* Time Display */
.time-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.relative-time {
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
}

.exact-time {
    font-size: 12px;
    color: var(--text-gray);
    opacity: 0.85;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.status-confirmed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.status-confirmed:hover {
    background: rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

/* Made with Bob - Premium Registration Table Enhancements */

/* Search and Filter Bar */
.search-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.6;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Enhanced Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: -40px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Enhanced Search Box */
.search-box-enhanced {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-icon-enhanced {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.7;
    z-index: 1;
}

.search-box-enhanced input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    background: rgba(26, 41, 66, 0.6);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
}

.search-box-enhanced input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(26, 41, 66, 0.8);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.search-box-enhanced input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Premium Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.6), rgba(10, 22, 40, 0.6));
    border-radius: 24px;
    border: 2px dashed rgba(0, 212, 255, 0.3);
    margin: 40px 0;
    animation: fadeIn 0.5s ease;
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

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

.empty-state h2 {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.empty-state p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.empty-state-cta {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.empty-state-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.6);
}

.empty-state-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

/* ========================================
   MODERN RULES PAGE STYLES
   ======================================== */

/* Rules Header */
.rules-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.rules-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.rules-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Quick Navigation */
.rules-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.rules-nav-link {
    padding: 10px 20px;
    background: transparent;
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.rules-nav-link:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Rule Card */
.rule-card {
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.8), rgba(15, 23, 42, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.rule-card:nth-child(1) { animation-delay: 0.1s; }
.rule-card:nth-child(2) { animation-delay: 0.2s; }
.rule-card:nth-child(3) { animation-delay: 0.3s; }
.rule-card:nth-child(4) { animation-delay: 0.4s; }
.rule-card:nth-child(5) { animation-delay: 0.5s; }
.rule-card:nth-child(6) { animation-delay: 0.6s; }

.rule-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
}

/* Rule Card Header */
.rule-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 107, 53, 0.15));
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.rule-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.4));
}

.rule-card-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-cyan);
    margin: 0;
}

/* Rule Card Body */
.rule-card-body {
    padding: 30px;
}

/* Rule Highlight */
.rule-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-cyan);
}

.highlight-badge {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.highlight-text {
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
}

/* Rule List */
.rule-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.list-icon {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: 16px;
}

.list-icon.warning {
    color: var(--primary-orange);
}

/* Key Rules */
.key-rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.key-rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.key-rule-item:hover {
    background: rgba(255, 107, 53, 0.15);
    transform: translateX(5px);
}

.key-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 6px rgba(255, 107, 53, 0.4));
}

.key-rule-item strong {
    color: var(--text-light);
    font-size: 15px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-4px);
}

.category-icon {
    font-size: 32px;
}

.category-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
}

.category-format {
    font-size: 12px;
    color: var(--text-gray);
}

/* Court Section */
.court-section {
    margin-bottom: 25px;
}

.court-section h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-cyan);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.valid-fault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.valid-item, .fault-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.valid-item {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.fault-item {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.status-icon {
    font-size: 18px;
}

/* Service Areas */
.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.service-type h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-cyan);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Serving Positions */
.serving-positions h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-cyan);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.position-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.position-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
}

.position-badge {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    color: var(--dark-bg);
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 12px;
}

/* Gameplay Section */
.gameplay-section {
    margin-bottom: 25px;
}

.gameplay-section h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-cyan);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.fault-list li {
    color: rgba(244, 67, 54, 0.9);
}

/* Interval Grid */
.interval-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.interval-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
}

.interval-badge {
    background: var(--primary-cyan);
    color: var(--dark-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
}

/* Responsive Rules Page */
@media (max-width: 768px) {
    .rules-main-title {
        font-size: 36px;
    }
    
    .rules-subtitle {
        font-size: 16px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rules-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .rules-nav-link {
        width: 100%;
        text-align: center;
    }
    
    .categories-grid,
    .service-areas,
    .position-grid,
    .interval-grid {
        grid-template-columns: 1fr;
    }
}
