/* --- PREMIUM ANIMATED GRADIENT BACKGROUND --- */
:root {
    --bg-navy: #0F172A;
    --bg-slate: #1E293B;
    --bg-indigo: #312E81;
    --bg-purple: #7C3AED;
    --bg-cyan: #06B6D4;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-body);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    position: relative;
    overflow-x: hidden;
    color: var(--text-primary) !important;
}

/* Base keyframes for smooth animated shift */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating blurred blobs */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    z-index: -2;
    filter: blur(120px);
    opacity: 0.6;
    animation: blobAnimation 20s infinite alternate ease-in-out;
}

/* Top Right Blob */
body::before {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--bg-purple) 0%, transparent 70%);
}

/* Bottom Left Blob */
body::after {
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--bg-cyan) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes blobAnimation {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.2) translate(50px, 50px);
    }

    100% {
        transform: scale(0.9) translate(-50px, 100px);
    }
}

/* Mesh noise effect */
body::before {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1);
}

/* Ensure glassmorphism cards look good on dark */
.card,
.dashboard-card,
.event-card,
.login-container,
.modal-content,
.stats-card,
.stat-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Ensure text on cards stays readable */
.section-header h2,
.section-header p,
.intro-title,
.intro-description {
    color: var(--text-primary) !important;
}

/* ------------------------------------------- */


:root {
    /* Default (Dark Mode base if no theme) */
    --gradient-bg: linear-gradient(-45deg, var(--bg-navy, #0F172A), var(--bg-indigo, #312E81), var(--bg-slate, #1E293B), var(--bg-navy, #0F172A));
    --bg-body: var(--gradient-bg);
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-input: rgba(15, 23, 42, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --gradient-btn: linear-gradient(to right, #8a2387, #e94057, #f27121);
    --gradient-btn-hover: linear-gradient(to right, #f27121, #e94057, #8a2387);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);

    --backdrop-blur: blur(12px);
}

:root[data-theme='light'],
body.light-mode,
body[data-theme='light'] {
    /* Enterprise Light Theme */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-navbar: #FFFFFF;
    --bg-sidebar: #F1F5F9;
    /* Very light gray */

    --border-color: #E5E7EB;

    --primary-accent: #2563EB;
    --secondary-accent: #7C3AED;

    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --color-danger: #DC2626;
    --color-edit: #4F46E5;
    /* Indigo */

    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;

    --gradient-btn: linear-gradient(135deg, #2563EB, #1D4ED8);
    --gradient-btn-hover: linear-gradient(135deg, #1D4ED8, #1E40AF);
    --shadow-color: rgba(0, 0, 0, 0.05);

    --backdrop-blur: blur(8px);
}

:root[data-theme='dark'] {
    /* Explicit Dark Theme */
    --gradient-bg: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --bg-body: var(--gradient-bg);
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-input: rgba(15, 23, 42, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --gradient-btn: linear-gradient(to right, #8a2387, #e94057, #f27121);
    --gradient-btn-hover: linear-gradient(to right, #f27121, #e94057, #8a2387);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);

    --backdrop-blur: blur(12px);
}



/* Glassmorphism Cards */
.card,
.dashboard-card,
.event-card,
.login-container,
.modal-content,
.stats-card,
.stat-card {
    background: var(--bg-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    -webkit-backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 32px 0 var(--shadow-color) !important;
}

/* Gradient Buttons */
.btn-primary,
.submit-btn,
.action-btn {
    background: var(--gradient-btn) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px var(--shadow-color) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover,
.submit-btn:hover,
.action-btn:hover {
    background: var(--gradient-btn-hover) !important;
    transform: translateY(-2px) !important;
}

/* Ensure the nav is also glass */
nav,
.navbar {
    background: var(--bg-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    -webkit-backdrop-filter: var(--backdrop-blur) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Specific fix for how-it-works to be transparent so gradient shows */
.how-it-works,
.hero-section,
.events-section,
.intro-container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}











/* Remove old invert hack */

/* Modern Neon Theme - Unified Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-card) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}




.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--accent-primary);

}

/* Modern Neon Text Effects */
.neon-text {
    color: var(--accent-primary);
    font-weight: 600;
}

.neon-text {
    color: var(--accent-primary);
    font-weight: 600;
}

.neon-text {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Modern Neon Glow Effect */
.neon-glow {
    box-shadow: var(--glow-medium);
}

@keyframes neon-pulse {
    from {
        box-shadow:
            0 0 1px var(--accent-primary),
            0 0 2px var(--accent-primary),
            0 0 4px var(--accent-primary);
    }

    to {
        box-shadow:
            0 0 2px var(--accent-primary),
            0 0 4px var(--accent-primary),
            0 0 8px var(--accent-primary),
            0 0 16px var(--border-light);
    }
}

/* Modern Neon Icon */
.neon-icon {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 1px var(--accent-primary)) drop-shadow(0 0 2px var(--accent-primary));
}

/* Modern Neon Button */
.neon-btn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0080ff 100%);
    border: 2px solid var(--accent-primary);
    color: var(--bg-card);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow:
        0 0 2px var(--border-light),
        0 0 4px var(--border-light);
}

.neon-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 3px var(--border-light),
        0 0 6px var(--border-light);
    border-color: #00ff00;
}

.neon-btn:active {
    transform: scale(0.95);
}

/* Modern Neon Card */
.neon-card {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    padding: 2rem;
    box-shadow:
        0 0 2px var(--border-light),
        0 0 4px var(--border-light),
        inset 0 0 3px var(--border-light);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.neon-card:hover {
    box-shadow:
        0 0 3px var(--border-light),
        0 0 6px var(--border-light),
        inset 0 0 4px var(--border-light);
    border-color: #00ff00;
}

/* Modern Neon Input */
.neon-input {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow:
        0 0 1px var(--border-light),
        inset 0 0 2px var(--border-light);
}

.neon-input:focus {
    box-shadow:
        0 0 2px var(--border-light),
        0 0 4px var(--border-light),
        inset 0 0 3px var(--border-light);
    border-color: #00ff00;
}

.neon-input::placeholder {
    color: #666;
}

/* Modern Neon Link */
.neon-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;

}

.neon-link:hover {
    color: #ff00ff;

}

/* Modern Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-card);
    border: 1px solid #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), #0080ff);
    border-radius: 6px;
    box-shadow: 0 0 2px var(--border-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ff00, var(--accent-primary));
    box-shadow: 0 0 3px var(--border-light);
}

/* Modern Registration Form Styles */
.registration-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--accent-primary);
    border-radius: 15px;
    box-shadow:
        0 0 3px var(--border-light),
        0 0 6px var(--border-light),
        inset 0 0 5px var(--border-light);
    backdrop-filter: blur(15px);
    font-family: 'Inter', sans-serif;
}

.form-section {
    margin-bottom: 2rem;
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-primary);
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;

}

.section-header h3 i {
    color: #ff00ff;
    filter: drop-shadow(0 0 1.5px #ff00ff);
}

.section-header p {
    margin: 0;
    color: #888;
    font-size: 0.875rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);

}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    font-size: 0.875rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group select option {
    background-color: #1e293b; /* Dark slate background */
    color: #ffffff; /* White text */
}

/* Ensure global selects have dark options in dark mode */
select option {
    background-color: #1e293b;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 5px var(--border-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--accent-primary);
}

.checkbox-group label {
    font-size: 0.875rem;
    color: #ccc;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--accent-primary);

}

/* Sports Rating Section */
.sports-rating-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.sports-rating-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.rating-instructions {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 1.5rem 0;
}

.sport-rating {
    margin-bottom: 1.5rem;
}

.sport-rating:last-child {
    margin-bottom: 0;
}

.sport-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-slider {
    flex: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    transition: all 0.2s ease;
}

.skill-slider:hover {
    background: #d1d5db;
}

.skill-slider:focus {
    outline: none;
}

.skill-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-medium);
}

.slider-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    color: #4f46e5;
    background: #eef2ff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .sports-rating-section {
        padding: 1rem;
    }

    .slider-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .slider-value {
        align-self: flex-end;
    }
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0080ff 100%);
    color: var(--bg-card);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px var(--border-light);
}

.text-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;

}

.text-link:hover {
    color: #ff00ff;

}

/* Responsive adjustments */
@media (max-width: 768px) {
    .registration-form {
        padding: 1.5rem;
        margin: 1rem;
    }

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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-card);
}

/* Modern Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--accent-primary);
    box-shadow:
        0 0 3px var(--border-light),
        0 0 6px var(--border-light);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;

}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 1px var(--accent-primary)) drop-shadow(0 0 2px var(--accent-primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);

}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0080ff 100%);
    color: var(--bg-card);
    border: 2px solid var(--accent-primary);
    box-shadow:
        0 0 2px var(--border-light),
        0 0 4px var(--border-light);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 3px var(--border-light),
        0 0 6px var(--border-light);
    border-color: #00ff00;
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-card);
    box-shadow:
        0 0 2px var(--border-light),
        0 0 4px var(--border-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Homepage Intro Section */
.homepage-intro {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;

    background: linear-gradient(135deg, var(--accent-primary), #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Events Section */
/* New Event Card Redesign */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

/* Dark Event Details Modal (Using specific classes to avoid conflicts) */
.edm-content {
    background-color: #0f172a;
    color: #f8fafc;
    border-radius: 24px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.event-details-header-banner {
    padding: 3rem 2rem;
    background: #1e293b;
    border-radius: 24px 24px 0 0;
}

.event-details-header-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.event-details-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.details-grid-section {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.details-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #334155;
}

.details-card h4 {
    color: #f97316;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.details-card i {
    color: #f97316;
}

.registration-status-bar {
    margin: 1.5rem 2rem;
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #334155;
}

.status-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.progress-container {
    height: 12px;
    background: #0f172a;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--bg-main);
    transition: width 0.5s ease;
}

.budget-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.budget-tier {
    background: #0f172a;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.budget-tier.diamond {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.budget-tier.platinum {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.budget-tier.gold {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.budget-tier.silver {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.3);
}

.budget-tier:hover {
    transform: translateY(-3px);
    background: #1e293b;
}

.budget-tier.diamond:hover {
    border-color: #8b5cf6;
}

.budget-tier.platinum:hover {
    border-color: #3b82f6;
}

.budget-tier.gold:hover {
    border-color: #f59e0b;
}

.budget-tier.silver:hover {
    border-color: #94a3b8;
}

.tier-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.tier-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
}

.total-budget-display {
    padding: 1rem;
    border-bottom: 1px solid #334155;
    margin-bottom: 1.5rem;
}

.total-budget-label {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.total-budget-value {
    color: #10b981;
    font-size: 2rem;
    font-weight: 800;
}

.event-details-footer {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid #1e293b;
}

.deadline-passed-badge {
    flex-grow: 1;
    background: #1e293b;
    color: #94a3b8;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.back-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid #334155;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #1e293b;
    border-color: #475569;
}

/* --- LIGHT MODE OVERRIDES FOR EVENT DETAILS MODAL --- */
html[data-theme="light"] .edm-content {
    background-color: #FFFFFF;
    color: #111827;
}

html[data-theme="light"] .event-details-header-banner {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

html[data-theme="light"] .event-details-header-banner h2 {
    color: #111827;
}

html[data-theme="light"] .event-details-description {
    color: #64748B;
}

html[data-theme="light"] .details-card,
html[data-theme="light"] .registration-status-bar {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .status-labels {
    color: #475569;
}

html[data-theme="light"] .progress-container {
    background: #F1F5F9;
}

html[data-theme="light"] .budget-tier {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

html[data-theme="light"] .budget-tier:hover {
    background: #F8FAFC;
}

html[data-theme="light"] .budget-tier.diamond {
    background: rgba(139, 92, 246, 0.05);
}

html[data-theme="light"] .budget-tier.platinum {
    background: rgba(59, 130, 246, 0.05);
}

html[data-theme="light"] .budget-tier.gold {
    background: rgba(245, 158, 11, 0.05);
}

html[data-theme="light"] .budget-tier.silver {
    background: rgba(148, 163, 184, 0.05);
}

html[data-theme="light"] .tier-value {
    color: #0F172A;
}

html[data-theme="light"] .total-budget-display {
    border-bottom: 1px solid #E2E8F0;
}

html[data-theme="light"] .event-details-footer {
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 0 0 24px 24px;
}

html[data-theme="light"] .deadline-passed-badge {
    background: #F1F5F9;
    color: #475569;
}

html[data-theme="light"] .back-btn {
    color: #111827;
    border-color: #CBD5E1;
}

html[data-theme="light"] .back-btn:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #4F46E5;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat:hover .stat-icon {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: scale(1.05);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Auctions Section */
.auctions {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-primary);

}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.auction-card {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 0 2px var(--border-light),
        0 0 4px var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auction-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 3px var(--border-light),
        0 0 6px var(--border-light);
    border-color: #00ff00;
}

.auction-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.auction-badge.upcoming {
    background: #f59e0b;
    color: white;
}

.auction-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);

}

.auction-sport {
    color: #4F46E5;
    font-weight: 500;
    margin-bottom: 1rem;
}

.auction-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auction-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auction-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.player-name {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.current-bid {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.countdown {
    display: flex;
    gap: 1rem;
}

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

.time-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
}

.time-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #4F46E5;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-primary);

}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-primary);

}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Team Owner Registration CTA */
.team-owner-cta {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.cta-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Centered Team Owner Registration CTA */
.centered-team-owner-cta {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.centered-team-owner-cta::before {
    display: none;
}

.centered-team-owner-cta::after {
    display: none;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cta-center-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

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

.cta-center-icon {
    width: 120px;
    height: 120px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 2.5rem;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3);
    animation: iconFloat 5s ease-in-out infinite;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.cta-center-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--bg-main);
    animation: iconGlow 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.3;
}

@keyframes iconGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.cta-center-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.1;
}

.cta-center-description {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-center-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.benefit-highlight i {
    color: #4F46E5;
    font-size: 1.5rem;
    width: 28px;
    text-align: center;
}

.cta-center-action {
    margin-top: 2.5rem;
}

.cta-center-button {
    padding: 1.4rem 3rem;
    font-size: 1.3rem;
    font-weight: 600;
    background: var(--bg-main);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    transition: all 0.4s ease;
    animation: buttonPulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-center-button::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.6s ease;
}

/* Responsive Design for Team Owner CTA */
@media (max-width: 768px) {
    .team-owner-cta {
        padding: 4rem 0;
    }

    .cta-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

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

    .stat {
        padding: 1.2rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .benefit-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .benefit-item i {
        font-size: 1.2rem;
    }

    .benefit-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-owner-cta {
        padding: 3rem 0;
    }

    .cta-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

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

    .stat {
        padding: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

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

    .stat {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }
}

@keyframes emojiFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Responsive Design for Centered Team Owner CTA */
@media (max-width: 768px) {
    .centered-team-owner-cta {
        padding: 6rem 0;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

    .cta-center-description {
        font-size: 1.2rem;
    }

    .cta-center-emoji {
        font-size: 3.5rem;
    }


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

@media (max-width: 480px) {
    .centered-team-owner-cta {
        padding: 4rem 0;
    }

    .cta-center-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .cta-center-description {
        font-size: 1.1rem;
    }

    .benefit-highlight {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .benefit-highlight i {
        font-size: 1.2rem;
    }

    .cta-center-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Team Owner Modal */
.team-owner-modal {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.team-owner-modal .modal-header {
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.team-owner-modal .modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.team-owner-modal .modal-logo i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.team-owner-modal .modal-logo span {
    font-size: 1.1rem;
    font-weight: 600;
}

.team-owner-modal .modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-owner-modal .modal-header p {
    opacity: 0.9;
    margin: 0;
    font-size: 1rem;
}

/* Form Styling */
.team-owner-modal .form-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.team-owner-modal .form-section:last-child {
    border-bottom: none;
}

.team-owner-modal .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.team-owner-modal .section-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-owner-modal .section-header i {
    color: #4F46E5;
}

.team-owner-modal .section-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.team-owner-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.team-owner-modal .form-group {
    margin-bottom: 1rem;
}

.team-owner-modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.9rem;
}

.team-owner-modal .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.team-owner-modal .form-group select:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: var(--glow-medium);
}

.team-owner-modal .form-group select.error {
    border-color: #ef4444;
    box-shadow: var(--glow-medium);
}

.team-owner-modal .form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Sports Checkboxes */
.sports-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkbox-item:hover {
    background: #f1f5f9;
    border-color: #4F46E5;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* Radio Group for Event Types */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
}

.radio-option:hover .radio-toggle {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.radio-option input[type="checkbox"]:checked+.radio-toggle {
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    border-color: #4F46E5;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.radio-option input[type="checkbox"]:focus+.radio-toggle {
    box-shadow: var(--glow-medium);
}

/* Early Registration Note */
.early-registration-note {
    background: var(--bg-main);
    color: white;
    padding: 1.25rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    animation: notePulse 3s ease-in-out infinite;
    border: 2px solid rgba(220, 38, 38, 0.2);
}

@keyframes notePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }

    50% {
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
    }
}

.note-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.note-content h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.note-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.note-content strong {
    color: #fbbf24;
    font-weight: 700;
}

.team-owner-modal .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.team-owner-modal .checkbox-group:last-child {
    margin-bottom: 0;
}

.team-owner-modal .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
    cursor: pointer;
}

.team-owner-modal .checkbox-group label {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0;
    cursor: pointer;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.forgot-password {
    color: #4F46E5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #3730a3;
    text-decoration: underline;
}

/* Event Details Modal */
.event-details-content {
    padding: 2rem;
}

.event-meta-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}


.event-highlights {
    margin-bottom: 2rem;
}

.event-highlights h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.event-highlights ul {
    list-style: none;
    padding: 0;
}

.event-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.event-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.registration-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.registration-info h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.registration-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.registration-benefits h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.registration-benefits ul {
    list-style: none;
    padding: 0;
}

.registration-benefits li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-muted);
}

.registration-benefits li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4F46E5;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Success Section Styling */
.team-owner-modal .success-section {
    padding: 2rem;
    text-align: center;
    background: var(--bg-main);
    color: white;
}

.team-owner-modal .success-header {
    margin-bottom: 2rem;
}

.team-owner-modal .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-owner-modal .success-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-owner-modal .success-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
}

.team-owner-modal .success-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.team-owner-modal .step-number {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.team-owner-modal .step-info h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.team-owner-modal .step-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.team-owner-modal .success-benefits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.team-owner-modal .success-benefits h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.team-owner-modal .success-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-owner-modal .success-benefits li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.team-owner-modal .success-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Responsive Design for Team Owner Modal */
@media (max-width: 768px) {
    .team-owner-modal {
        width: 98%;
        max-height: 95vh;
        margin: 2% auto;
    }

    .note-content strong {
        color: #fbbf24;
    }

    .team-owner-modal .modal-header {
        padding: 1.5rem;
    }

    .team-owner-modal .modal-header h2 {
        font-size: 1.5rem;
    }

    .early-registration-note {
        margin: 1rem -1.5rem;
        padding: 1rem;
    }

    .note-content strong {
        color: #fbbf24;
    }

    .team-owner-modal .form-section {
        padding: 1.5rem;
    }

    .team-owner-modal .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sports-checkboxes {
        grid-template-columns: 1fr;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .radio-toggle {
        min-height: 45px;
        padding: 0.6rem 1rem;
    }

    .early-registration-note {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem;
    }

    .note-icon {
        align-self: center;
    }

    .note-content h4 {
        font-size: 1rem;
    }

    .note-content p {
        font-size: 0.85rem;
    }

    .note-content strong {
        color: #fbbf24;
    }
}

@media (max-width: 480px) {
    .team-owner-modal {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .team-owner-modal .modal-header {
        padding: 1rem;
        border-radius: 0;
    }

    .team-owner-modal .modal-header h2 {
        font-size: 1.3rem;
    }

    .team-owner-modal .form-section {
        padding: 1rem;
    }

    .checkbox-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .early-registration-card .note-content li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
        padding-left: 1.1rem;
    }

    .early-registration-card .note-content li::before {
        width: 14px;
        height: 14px;
        font-size: 0.65rem;
    }

    .note-header {
        gap: 0.5rem;
    }

    .note-header h3 {
        font-size: 1rem;
    }

    .note-header i {
        font-size: 1.1rem;
    }

    .early-registration-card .note-content strong {
        color: #fbbf24;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #4F46E5;
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #334155;
    background-color: #f1f5f9;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.registration-options {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.registration-option {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    width: 280px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.registration-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.registration-option .option-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 15px;
}

.registration-option h3 {
    margin: 10px 0;
    color: #1e293b;
    font-size: 1.25rem;
}

.registration-option p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.registration-option .btn {
    width: 100%;
    margin-top: 10px;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header .modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 600;

}

.modal-header .modal-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--accent-primary);

}

.modal-header h2 {
    margin: 10px 0 5px;
    color: var(--accent-primary);
    font-size: 1.75rem;

}

.modal-header p {
    color: #94a3b8;
    margin: 0;
    font-size: 1rem;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid var(--accent-primary) !important;
    color: var(--text-primary) !important;
}

#loginModal input,
#loginModal select,
#loginModal textarea {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid var(--accent-primary) !important;
    color: var(--text-primary) !important;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: var(--glow-medium);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 0.5rem;
}

.forgot-password {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #4338ca;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid #4f46e5;
    color: #4f46e5;
}

.btn-outline-primary:hover {
    background-color: #f5f3ff;
}

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

@media (max-width: 640px) {
    .registration-options {
        flex-direction: column;
        align-items: center;
    }

    .registration-option {
        width: 100%;
        max-width: 280px;
    }

    .modal-content {
        width: 100%;
        margin: 20px;
        padding: 20px;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal-overlay.active {
    display: flex !important;
}

.registration-modal {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--accent-primary);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

.registration-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Enhanced Registration Modal Styles */
.registration-modal {
    max-width: 700px;
    margin: 5% auto;
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.modal-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-header h3 i {
    color: #4F46E5;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.form-row .form-group {
    margin-bottom: 1rem;
}

/* Form Hints */
.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Sports Ratings Section */
.sports-ratings-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sports-ratings-section .section-header {
    margin-bottom: 1.5rem;
}

.sports-ratings-section .section-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.sports-ratings-section .section-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sports-ratings-container {
    display: grid;
    gap: 1.5rem;
}

.skill-rating-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.skill-rating-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.skill-icon {
    font-size: 2rem;
    background: var(--bg-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.1);
}

.skill-info {
    flex: 1;
}

.skill-info h5 {
    margin: 0 0 0.25rem 0;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
}

.skill-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.rating-control {
    margin-top: 1rem;
}

.rating-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-container {
    flex: 1;
    position: relative;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.slider-track {
    height: 100%;
    background: var(--bg-main);
    border-radius: 4px;
    position: relative;
}

.slider-fill {
    height: 100%;
    background: inherit;
    border-radius: 4px;
    transition: width 0.1s ease;
}

.slider-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #4F46E5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.1s ease;
    z-index: 10;
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    border-width: 4px;
}

.slider-thumb:active {
    transform: translate(-50%, -50%) scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
}

.slider-value {
    color: #4F46E5;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 5;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rating-label {
    font-weight: 500;
}

.rating-label.low {
    color: #ef4444;
}

.rating-label.medium {
    color: #f59e0b;
}

.rating-label.high {
    color: #10b981;
}

.no-skills {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.sport-rating-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sport-rating-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.sport-rating-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.rating-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f1f5f9;
    border-radius: 8px;
}

/* Slider Styles */
.rating-slider {
    margin-bottom: 1rem;
}

.slider-container {
    position: relative;
    margin: 1rem 0;
}

.slider-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: var(--bg-main);
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.1s ease;
}

.slider-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #4F46E5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.1s ease;
    z-index: 10;
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    border-width: 4px;
}

.slider-thumb:active {
    transform: translate(-50%, -50%) scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.slider-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4F46E5;
    min-width: 3rem;
    text-align: center;
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding: 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.rating-label {
    text-align: center;
    transition: all 0.2s ease;
}

.rating-label.low {
    color: #ef4444;
}

.rating-label.medium {
    color: #f59e0b;
}

.rating-label.high {
    color: #10b981;
}

/* Hidden input to store slider value */
.slider-input {
    display: none;
}

/* Skills Rating Section */
.skill-rating-item {
    background: rgba(10, 10, 10, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-card);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.skill-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.skill-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.rating-control {
    margin-bottom: 1rem;
}

.no-skills {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

/* Sports Ratings Section */
.sports-ratings-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.sports-ratings-section h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
    font-size: 1.1em;
}

.rating-instructions {
    margin-top: 0;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.sport-rating {
    margin-bottom: 20px;
}

.rating-container {
    margin-bottom: 10px;
}

.rating-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95em;
}

.rating-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    outline: none;
    margin: 15px 0;
    position: relative;
}

/* Thumb styles */
.rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #3b82f6;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #3b82f6;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Scale numbers */
.rating-scale {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 5px;
}

.scale-number {
    font-size: 0.8em;
    color: #666;
    cursor: pointer;
    padding: 2px 0;
    position: relative;
    width: 20px;
    text-align: center;
    user-select: none;
}

.scale-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background-color: #e0e0e0;
}

.scale-number.active {
    color: #3b82f6;
    font-weight: bold;
}

.scale-number.active::before {
    background-color: #3b82f6;
}

/* Track fill */
.rating-slider-container {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin: 15px 0;
}

.rating-slider-fill {
    position: absolute;
    height: 100%;
    background-color: #3b82f6;
    border-radius: 2px 0 0 2px;
    pointer-events: none;
}

/* Focus styles */
.rating-slider:focus {
    outline: none;
}

.rating-slider:focus::-webkit-slider-thumb {
    box-shadow: var(--glow-medium);
}

.rating-slider:focus::-moz-range-thumb {
    box-shadow: var(--glow-medium);
}

/* Hover states */
.rating-slider:hover::-webkit-slider-thumb {
    transform: scale(1.1);
}

.rating-slider:hover::-moz-range-thumb {
    transform: scale(1.1);
}

/* Active state */
.rating-slider:active::-webkit-slider-thumb {
    transform: scale(1.2);
    background-color: #3b82f6;
}

.rating-slider:active::-moz-range-thumb {
    transform: scale(1.2);
    background-color: #3b82f6;
}

/* Enhanced Modal Styles for Registration */
.registration-modal {
    max-width: 700px;
    margin: 2% auto;
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
}

.registration-modal .modal-header {
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.registration-modal .modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.registration-modal .modal-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.registration-modal .modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.registration-modal .modal-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.registration-form {
    padding: 0;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-header h3 i {
    color: #4F46E5;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: var(--glow-medium);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Success Section Styling */
.success-section {
    background: var(--bg-main);
    color: white;
    text-align: center;
    border-radius: 16px;
    margin-top: 2rem;
}

.success-header {
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.success-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.success-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.success-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
}

.success-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.success-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-info p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.success-benefits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.success-benefits h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.success-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.success-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.registration-submit {
    background: var(--bg-main);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    width: 100%;
}

.registration-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* Terms of Service Page */
.terms-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.5);
    min-height: calc(100vh - 200px);
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f1f5f9;
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    background: var(--bg-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

.terms-content {
    line-height: 1.8;
}

.terms-content .terms-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.terms-content .terms-section:last-child {
    border-bottom: none;
}

.terms-content .terms-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4F46E5;
    display: inline-block;
}

.terms-content .terms-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 1rem 0;
}

.terms-content .terms-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.terms-content .terms-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-content .terms-section li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.terms-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Event Details Page */
.event-details-section {
    padding: 6rem 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.event-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.event-details-header {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--border-light);
    margin-bottom: 3rem;
    position: relative;
}

.event-hero-image {
    height: 400px;
    position: relative;
    overflow: hidden;
}

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

.event-status-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-badge.upcoming {
    background: var(--bg-main);
}

.event-hero-content {
    padding: 2.5rem;
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    color: white;
}

.event-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.event-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.meta-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.event-details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-details {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 0 20px var(--border-light);
}

.details-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.details-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4F46E5;
    display: inline-block;
}

.details-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 1rem 0;
}

.details-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Sports Categories */
.sports-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

/* Registration Options */
.registration-options {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 1rem 0;
}

.options-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.registration-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.registration-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.options-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
    opacity: 0.8;
}

.error-message h2 {
    color: #ef4444;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-message p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-message .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Schedule Header */
.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.schedule-date,
.schedule-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.schedule-date i,
.schedule-duration i {
    color: #4F46E5;
    font-size: 1.1rem;
}

.schedule-timeline {
    margin-top: 1.5rem;
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bg-main);
    border-radius: 2px;
    box-shadow: var(--glow-medium);
    animation: timelineGlow 3s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    0% {
        box-shadow: var(--glow-medium);
    }

    100% {
        box-shadow: var(--glow-medium);
    }
}

.schedule-timeline::after {
    content: '';
    position: absolute;
    left: 54px;
    top: 15px;
    width: 15px;
    height: 15px;
    background: #10b981;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: var(--glow-medium);
    z-index: 3;
    animation: startPulse 2s ease-in-out infinite;
}

@keyframes startPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem 0;
    position: relative;
    margin-left: 2rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.schedule-item:nth-child(1) {
    animation-delay: 0.1s;
}

.schedule-item:nth-child(2) {
    animation-delay: 0.2s;
}

.schedule-item:nth-child(3) {
    animation-delay: 0.3s;
}

.schedule-item:nth-child(4) {
    animation-delay: 0.4s;
}

.schedule-item:nth-child(5) {
    animation-delay: 0.5s;
}

.schedule-item:nth-child(6) {
    animation-delay: 0.6s;
}

.schedule-item:nth-child(7) {
    animation-delay: 0.7s;
}

.schedule-item:nth-child(8) {
    animation-delay: 0.8s;
}

.schedule-item:nth-child(9) {
    animation-delay: 0.9s;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.schedule-item:hover {
    background: rgba(79, 70, 229, 0.03);
    transform: translateX(10px);
    margin-right: -10px;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 2rem;
    width: 10px;
    height: 10px;
    background: #4F46E5;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: var(--glow-medium);
    z-index: 2;
    animation: nodePulse 2s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 0.2s);
}

.schedule-item:nth-child(1)::before {
    --delay: 0;
}

.schedule-item:nth-child(2)::before {
    --delay: 1;
}

.schedule-item:nth-child(3)::before {
    --delay: 2;
}

.schedule-item:nth-child(4)::before {
    --delay: 3;
}

.schedule-item:nth-child(5)::before {
    --delay: 4;
}

.schedule-item:nth-child(6)::before {
    --delay: 5;
}

.schedule-item:nth-child(7)::before {
    --delay: 6;
}

.schedule-item:nth-child(8)::before {
    --delay: 7;
}

.schedule-item:nth-child(9)::before {
    --delay: 8;
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.schedule-item:last-child::before {
    background: #ef4444;
    box-shadow: var(--glow-medium);
}

.schedule-item:last-child::after {
    content: '';
    position: absolute;
    left: -1.5rem;
    bottom: 1.5rem;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: var(--glow-medium);
    z-index: 2;
    animation: endPulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes endPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.schedule-time {
    font-weight: 700;
    min-width: 140px;
    font-size: 1.1rem;
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.schedule-time:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.schedule-time::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 15px solid #4F46E5;
    filter: drop-shadow(-2px 0 4px rgba(79, 70, 229, 0.3));
}

.schedule-activity {
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    font-weight: 500;
    padding-top: 0.5rem;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.schedule-item:hover .schedule-activity {
    color: #4b5563;
}

/* Prizes Grid */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.prize-item {
    background: var(--bg-main);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.prize-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.prize-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.prize-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Event Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 0 20px var(--border-light);
    border: 1px solid #f1f5f9;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4F46E5;
}

.registration-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-value {
    font-weight: 500;
    color: #1e293b;
}

.benefit-item span {
    font-weight: 500;
    color: #1e293b;
}

.register-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.sidebar-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-info i {
    color: #4F46E5;
    width: 16px;
    text-align: center;
}

/* Early Registration Card in Sidebar */
.early-registration-card {
    background: var(--bg-main);
    color: white;
    border: 1px solid rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.early-registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(20px, -20px);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.note-header i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.note-header h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.early-registration-card .note-content {
    color: rgba(255, 255, 255, 0.95);
}

.early-registration-card .note-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.early-registration-card .note-content p:last-child {
    margin-bottom: 0;
}

.early-registration-card .note-content strong {
    color: #fbbf24;
    font-weight: 700;
}

.error-message h2 {
    color: #ef4444;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-hero-content {
        padding: 2rem 1.5rem;
    }

    .event-hero-content h1 {
        font-size: 2rem;
    }

    .event-hero-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-details {
        padding: 1.5rem;
    }

    .details-section h2 {
        font-size: 1.5rem;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
    }

    .schedule-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }

    .schedule-timeline {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .schedule-timeline::before {
        left: 30px;
        top: 0;
        bottom: 0;
        width: 2px;
    }

    .schedule-timeline::after {
        left: 26px;
        top: 12px;
        width: 10px;
        height: 10px;
    }

    .schedule-item {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        padding: 1rem 0;
        margin-left: 1rem;
        border-radius: 8px;
        border: 1px solid #f1f5f9;
    }

    .schedule-item:hover {
        transform: none;
        margin: 1rem 0;
        margin-left: 0.5rem;
        padding: 1rem;
        border-color: #4F46E5;
    }

    .schedule-item::before {
        left: -1.2rem;
        width: 8px;
        height: 8px;
        top: 1.5rem;
    }

    .schedule-item:last-child::after {
        bottom: 1.5rem;
        left: -1.2rem;
    }

    .schedule-time {
        min-width: 110px;
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .schedule-time::before {
        left: -12px;
        border-right-width: 12px;
        border-top-width: 6px;
        border-bottom-width: 6px;
    }

    .schedule-activity {
        font-size: 0.9rem;
        padding-top: 0.3rem;
    }

    .terms-footer {
        flex-direction: column;
    }
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.radio-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
    min-width: 80px;
    justify-content: center;
}

.radio-option input[type="radio"]:checked+.radio-toggle {
    background: var(--bg-main);
    border-bottom: 1px solid #4F46E540;
    border-color: #4F46E5;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.radio-option input[type="radio"]:focus+.radio-toggle {
    box-shadow: var(--glow-medium);
}

.radio-option:hover .radio-toggle {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.radio-option input[type="radio"]:checked:hover+.radio-toggle {
    border-color: #3730a3;
    background: var(--bg-main);
}

.terms-agreement {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group:last-child {
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0;
    cursor: pointer;
}

.terms-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Responsive Design for Registration Modal */
@media (max-width: 768px) {
    .registration-modal {
        margin: 1% auto;
        max-height: 98vh;
        border-radius: 12px;
    }

    .registration-modal .modal-header {
        padding: 1.5rem;
        border-radius: 12px 12px 0 0;
    }

    .registration-modal .modal-header h2 {
        font-size: 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .category-options {
        grid-template-columns: 1fr;
    }

    .category-label {
        padding: 0.75rem;
    }

    .category-info h4 {
        font-size: 1rem;
    }

    .category-info p {
        font-size: 0.8rem;
    }

    .category-info span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .registration-modal {
        width: 95%;
        margin: 0.5% auto;
    }

    .registration-modal .modal-header {
        padding: 1rem;
    }

    .registration-modal .modal-header h2 {
        font-size: 1.3rem;
    }

    .form-section {
        padding: 1rem;
    }

    .skill-rating-item {
        padding: 1rem;
    }

    .skill-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .skill-info h5 {
        font-size: 1rem;
    }

    .skill-info p {
        font-size: 0.8rem;
    }
}

/* Responsive Design for Registration Modal */
@media (max-width: 768px) {
    .registration-modal {
        margin: 2% auto;
        max-height: 96vh;
        border-radius: 12px;
    }

    .modal-header {
        padding: 1.5rem;
        border-radius: 12px 12px 0 0;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .category-options {
        gap: 0.75rem;
    }

    .category-label {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .category-info h4 {
        font-size: 1rem;
    }

    .category-info p {
        font-size: 0.8rem;
    }

    .category-info span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .registration-modal {
        width: 95%;
        margin: 1% auto;
    }

    .modal-content {
        padding: 0;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .form-section {
        padding: 1rem;
    }

    .category-info h4 {
        font-size: 1rem;
    }

    .category-info p {
        font-size: 0.8rem;
    }

    .category-info span {
        font-size: 0.75rem;
    }
}

/* Mobile Responsive for Sliders */
@media (max-width: 480px) {
    .slider-thumb {
        width: 28px;
        height: 28px;
        border-width: 4px;
    }

    .slider-value {
        font-size: 1.1rem;
    }

    .rating-labels {
        font-size: 0.75rem;
    }

    .sport-rating-item {
        padding: 1rem;
    }

    .sport-rating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sport-rating-info h5 {
        font-size: 1rem;
    }

    .sport-rating-info p {
        font-size: 0.8rem;
    }

    .rating-description {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-title {
        font-size: 2.5rem;
    }

    .intro-description {
        font-size: 1.1rem;
    }

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

    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }


    .role-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .intro-title {
        font-size: 2rem;
    }

    .intro-description {
        font-size: 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .auction-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
    }
}

/* Sports Rating Section Styles */
.sports-rating-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #1e293b;
    border-radius: 0.75rem;
    border: 1px solid #334155;
}

.sports-rating-section h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.rating-instructions {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    background-color: #0f172a;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border-left: 3px solid #f97316;
}

.skill-rating-item {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    border-radius: 50%;
    color: white;
}

.skill-info h5 {
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.skill-info p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.rating-control {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-container {
    position: relative;
    flex: 1;
    height: 40px;
    cursor: pointer;
    background-color: #334155;
    border-radius: 20px;
    overflow: hidden;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e293b;
    border-radius: 20px;
}

.slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--bg-main);
    border-radius: 20px;
    transition: width 0.1s ease;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--text-primary);
    border: 3px solid #10b981;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.1s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    z-index: 2;
}

.slider-labels {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 60px;
}

.slider-input {
    display: none;
}

.slider-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    background-color: #1e293b;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: transform 0.15s ease;
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 10px;
}

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

.rating-label.low {
    color: #ef4444;
}

.rating-label.medium {
    color: #f59e0b;
}

.rating-label.high {
    color: #10b981;
}

.no-skills {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 2rem;
    background-color: #0f172a;
    border-radius: 0.5rem;
    border: 1px solid #334155;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--glow-medium);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    backdrop-filter: blur(10px);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-primary);
}

.modal-header h2 {
    color: var(--accent-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;

}

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

.form-group label {
    display: block;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;

}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    color: var(--text-primary) !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 20px var(--border-light);
    background: rgba(0, 0, 0, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-options {
    margin: 1.5rem 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #f97316;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-section {
    margin: 2rem 0;
    text-align: center;
}

.form-section button {
    background: var(--bg-main);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-section button:hover {
    background: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.form-section button:active {
    transform: translateY(0);
}

.form-section button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive form styles */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .form-section button {
        width: 100%;
        justify-content: center;
    }
}

/* Sport Ratings Section */
.sport-ratings-grid {
    display: grid;
    gap: 1.5rem;
    background: #0f172a;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    margin-bottom: 1.5rem;
}

.sport-rating-item {
    background: #1e293b;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #475569;
}

.rating-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.sport-name {
    font-weight: 600;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sport-name i {
    color: #f97316;
}

.rating-value {
    background: #f97316;
    color: white;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.sport-rating-input {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: #475569;
    border-radius: 3px;
    outline: none;
    margin: 1rem 0;
}

.sport-rating-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f97316;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.sport-rating-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}



/* Fix text colors and readability */
.intro-title,
.section-header h2 {
    color: var(--text-primary) !important;
}

.intro-description,
.section-header p {
    color: var(--text-secondary) !important;
}

/* --- UNIFIED NAVBAR CSS --- */
.header {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle-btn,
.notification-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.theme-toggle-btn:hover,
.notification-btn:hover {
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 0.15rem 0.35rem;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.nav-user {
    position: relative;
}

.user-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0;
    color: var(--text-primary);
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    min-width: 180px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    margin: 1rem 0;
}

.sport-rating-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f97316;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.sport-rating-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}



/* Fix text colors and readability */
.intro-title,
.section-header h2 {
    color: var(--text-primary) !important;
}

.intro-description,
.section-header p {
    color: var(--text-secondary) !important;
}

/* --- UNIFIED NAVBAR CSS --- */
.header {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle-btn,
.notification-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.theme-toggle-btn:hover,
.notification-btn:hover {
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 0.15rem 0.35rem;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.nav-user {
    position: relative;
}

.user-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0;
    color: var(--text-primary);
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    min-width: 180px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    font-size: 0.9rem;
}

/* --- PLAYER ANALYTICS REDESIGN CSS --- */

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb .active {
    color: var(--primary);
    font-weight: 500;
}

.header-content h1 {
    margin: 0 0 0.25rem 0;
    font-size: 1.75rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.header-content p {
    margin: 0;
    color: var(--text-secondary);
}

.analytics-layout-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .analytics-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* Left Sidebar Profile */
.analytics-profile-card {
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.analytics-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    z-index: 0;
}

.profile-card-header {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.large-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--surface);
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.verification-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--surface);
    color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-name {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.profile-id {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
}

.profile-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sport-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tier-tag {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.profile-stats-list {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.stat-label {
    color: var(--text-secondary);
}

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

/* Actions Sidebar */
.analytics-actions-card {
    padding: 1.5rem;
}

.analytics-actions-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.actions-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.action-btn:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
    border-color: var(--primary);
}

.action-btn i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Premium Stat Cards Grid */
.stats-grid.premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card-premium {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-premium:hover {
    transform: translateY(-5px);
}

.stat-card-premium.empty-state {
    opacity: 0.7;
}

.stat-card-premium.empty-state:hover {
    transform: none;
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon-wrapper.primary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.stat-icon-wrapper.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.stat-icon-wrapper.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-icon-wrapper.info {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.stat-icon-wrapper.secondary {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

.stat-content {
    flex: 1;
}

.stat-label {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-trend.positive {
    color: var(--success);
}

.stat-trend.negative {
    color: var(--danger);
}

.stat-trend.neutral {
    color: var(--text-muted);
}

/* Charts Area */
.charts-row,
.lower-grid-row {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {

    .charts-row,
    .lower-grid-row {
        flex-direction: column;
    }

    .w-60,
    .w-40,
    .w-50 {
        width: 100% !important;
    }
}

.w-60 {
    width: 60%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.chart-glass-container {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.chart-select {
    background: var(--surface-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    outline: none;
}

.chart-body {
    flex: 1;
    position: relative;
    min-height: 250px;
}

.chart-body.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Proficiency Progress Bars */
.proficiency-container {
    padding: 1.5rem;
}

.proficiency-container h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.proficiency-item.empty-state {
    opacity: 0.6;
}

.prof-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.progress-bar-animated {
    width: 100%;
    height: 8px;
    background: var(--surface-hover);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.progress-fill.primary {
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.progress-fill.success {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.progress-fill.warning {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.progress-fill.secondary {
    background: var(--text-muted);
}

/* Timeline */
.timeline-container {
    padding: 1.5rem;
}

.timeline-container h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.history-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    bottom: 5px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.empty-state {
    opacity: 0.6;
}

.timeline-dot {
    position: absolute;
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 1px var(--border-color);
}

.timeline-dot.primary {
    background: var(--primary);
    border-color: var(--bg-card);
}

.timeline-dot.success {
    background: var(--success);
    border-color: var(--bg-card);
}

.timeline-dot.secondary {
    background: var(--text-muted);
    border-color: var(--bg-card);
}

.timeline-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.timeline-content .time {
    font-size: 0.8rem;
}

/* --- NOTIFICATIONS DROPDOWN CSS --- */
.nav-notifications {
    position: relative;
}

.notifications-dropdown {
    width: 350px;
    right: -20px;
    padding: 0;
    overflow: hidden;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.notifications-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.mark-all-read-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
}

.mark-all-read-btn:hover {
    text-decoration: underline;
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.notifications-list::-webkit-scrollbar {
    width: 6px;
}

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

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    position: relative;
    transition: background 0.2s;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.1);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.notification-icon.system {
    color: var(--text-muted);
}

.notification-icon.event {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.notification-icon.profile {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.notification-content {
    flex: 1;
}

.notification-title {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notification-message {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.notification-delete {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    padding: 0.25rem;
}

.notification-item:hover .notification-delete {
    opacity: 1;
}

.notification-delete:hover {
    color: var(--danger);
}

.notifications-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dynamic Sport Profile Fields */
.sport-profile-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
    border: 1px solid #475569;
    background-color: #1e293b;
    color: #e2e8f0;
    font-size: 1rem;
}

/* Fix label colors in the dark sport-ratings-grid for Light Mode */
html[data-theme="light"] .sport-ratings-grid label {
    color: #e2e8f0 !important;
}

/* Password Toggle Icon Fix */
.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--accent-cyan);
}

.password-container .form-input {
    padding-right: 45px;
}

/* Fix for browser autofill background on dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #1e293b inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Settings Tabs UI */
.settings-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.settings-tab-btn.active {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    position: relative;
}

.settings-tab-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background: #06b6d4;
    border-radius: 0 4px 4px 0;
}

.settings-tab-content {
    animation: fadeIn 0.3s ease-out;
}