/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #2d3748;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: white;
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.95;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== PLATFORM FEATURES ===== */
.features-section {
    background: white;
    padding: 80px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a365d;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a365d;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
}

/* ===== CALL TO ACTION ===== */
.cta-section {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===== INTERACTIVE ELEMENTS ===== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    margin: 10px;
}

.btn-primary {
    background: white;
    color: #4299e1;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-volleyball {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #4299e1;
    font-size: 1.2rem;
    padding: 18px 36px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(66, 153, 225, 0.1);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-volleyball:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.6);
    border-color: rgba(66, 153, 225, 0.2);
}

.btn-sessions {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 15px;
}

.btn-sessions:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ===== ACTION CARD ===== */
.action-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.card-title {
    font-size: 2rem;
    font-weight: 800;
    color: #4299e1;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    opacity: 0.8;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===== JOURNEY PATH STYLES ===== */
.journey-path {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    padding: 20px;
    background: rgba(66, 153, 225, 0.08);
    border-radius: 15px;
    border: 2px solid rgba(66, 153, 225, 0.15);
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-icon {
    font-size: 2rem;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
    border: 2px solid rgba(66, 153, 225, 0.1);
}

.step-text {
    font-weight: 600;
    color: #4299e1;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journey-arrow {
    margin: 0 20px;
    font-size: 1.8rem;
    color: #4299e1;
    font-weight: bold;
}

/* ===== QUICK STATS STYLES ===== */
.quick-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(66, 153, 225, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #4299e1;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #718096;
    margin-top: 4px;
    font-weight: 500;
}

.card-btn {
    display: block;
    padding: 18px 24px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.card-btn-primary {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
}

.card-btn-primary:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.4);
}

.card-btn-secondary {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(237, 137, 54, 0.3);
}

.card-btn-secondary:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(237, 137, 54, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-cta {
    background: #38a169;
    color: white;
    box-shadow: 0 4px 20px rgba(56, 161, 105, 0.4);
}

.btn-cta:hover {
    background: #2f855a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 161, 105, 0.5);
}

/* ===== SPORTS GRID ===== */
.sports-section {
    background: #f8fafc;
    padding: 80px 20px;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.sport-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.sport-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.sport-emoji {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sport-name {
    font-weight: 600;
    color: #1a365d;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a365d;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .action-card {
        padding: 30px 25px;
        max-width: 350px;
    }

    .card-title {
        font-size: 1.7rem;
    }

    .card-subtitle {
        font-size: 1.2rem;
    }

    .card-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* ===== ADMIN LOGIN STYLES ===== */
.admin-login-section {
    text-align: center;
}

.login-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.login-status {
    color: #4ade80;
    font-size: 0.9rem;
}

.logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 10px;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== LOGIN MODAL STYLES ===== */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.login-header h3 {
    margin: 0;
    color: #1a365d;
    font-size: 1.2rem;
}

.login-close {
    font-size: 24px;
    cursor: pointer;
    color: #718096;
    line-height: 1;
}

.login-close:hover {
    color: #2d3748;
}

.login-body {
    padding: 24px;
}

.login-body p {
    margin-bottom: 20px;
    color: #4a5568;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-input:focus {
    outline: none;
    border-color: #4299e1;
}

.login-submit {
    background: #4299e1;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-submit:hover {
    background: #3182ce;
}

.login-error {
    background: #fed7d7;
    color: #c53030;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* ===== ONBOARDING STYLES ===== */
.login-step {
    display: none;
}

.login-step.active {
    display: block;
}

.secondary-btn {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.secondary-btn:hover {
    background: #cbd5e0;
}

#emailSentMessage {
    background: #c6f6d5;
    padding: 15px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

.verification-check-btn {
    background: #3182ce;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.verification-check-btn:hover {
    background: #2c5aa0;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

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