/* ===== FONTS & BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== SHARED ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(233, 69, 96, 0.8), 0 0 80px rgba(233, 69, 96, 0.4);
        transform: scale(1.05);
    }
}

@keyframes particle-move {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes flash {
    0% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ===== GRADIENT BACKGROUNDS ===== */
.hero-gradient {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%23764ba2"/><stop offset="1" stop-color="%23667eea"/></radialGradient></defs><g opacity="0.8"><circle cx="283" cy="283" r="1" fill="url(%23a)"/><circle cx="687" cy="687" r="1" fill="url(%23a)"/><circle cx="300" cy="700" r="1" fill="url(%23a)"/><circle cx="800" cy="200" r="1" fill="url(%23a)"/></g></svg>') center/cover;
    opacity: 0.1;
}

.cyber-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    position: relative;
    overflow: hidden;
}

.cyber-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

/* ===== GLASS MORPHISM & EFFECTS ===== */
.glass-morphism {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.nav-glass {
    backdrop-filter: blur(20px);
    background: rgba(15, 15, 35, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cyber-border {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #1a1a2e, #16213e) padding-box,
                linear-gradient(135deg, #67e8f9, #764ba2) border-box;
}

/* ===== NEON GLOWS ===== */
.neon-glow {
    box-shadow: 0 0 20px rgba(103, 232, 249, 0.5), 0 0 40px rgba(103, 232, 249, 0.3), 0 0 60px rgba(103, 232, 249, 0.1);
    transition: all 0.3s ease;
}

.neon-glow:hover {
    box-shadow: 0 0 30px rgba(103, 232, 249, 0.8), 0 0 60px rgba(103, 232, 249, 0.5), 0 0 90px rgba(103, 232, 249, 0.3);
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* ===== TEXT EFFECTS ===== */
.text-neon {
    color: #67e8f9;
    text-shadow: 0 0 10px rgba(103, 232, 249, 0.8);
}

.text-cyber {
    background: linear-gradient(135deg, #67e8f9 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.stats-counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #67e8f9 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== INTERACTIVE CARDS ===== */
.floating-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.floating-card:hover::before {
    transform: translateX(100%);
}

.floating-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* ===== SHARED CARD STYLES ===== */
.activity-card,
.achievement-card,
.team-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.activity-card::before,
.achievement-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.activity-card:hover::before,
.achievement-card:hover::before,
.team-card:hover::before {
    animation: shine 0.5s ease-in-out;
    opacity: 1;
}

.activity-card:hover {
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(103, 232, 249, 0.5);
    transform: translateY(-10px);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== PARTICLES & BACKGROUNDS ===== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 20%; right: 20%; animation-delay: 1s; }
.particle-3 { bottom: 30%; left: 30%; animation-delay: 2s; }
.particle-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.particle-5 { top: 50%; left: 50%; animation-delay: 4s; }

.particle-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(103, 232, 249, 0.15) 1px, transparent 0);
    background-size: 50px 50px;
    animation: particle-move 20s linear infinite;
}

/* ===== PROGRESS & ACTIVITY BARS ===== */
.activity-progress-bar {
    width: 0%;
    animation: progress-fill 2s ease-out forwards;
}

@keyframes progress-fill {
    from { width: 0%; }
    to { width: var(--progress-width, 0%); }
}

.activity-card:nth-child(1) .activity-progress-bar { --progress-width: 85%; }
.activity-card:nth-child(2) .activity-progress-bar { --progress-width: 92%; }
.activity-card:nth-child(3) .activity-progress-bar { --progress-width: 76%; }
.activity-card:nth-child(4) .activity-progress-bar { --progress-width: 88%; }

/* ===== UTILITY CLASSES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.enhanced-shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.enhanced-shadow:hover {
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4), 0 30px 60px rgba(0, 0, 0, 0.3);
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #67e8f9, transparent);
    margin: 4rem 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.bg-gold {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
}

/* ===== FLOATING ELEMENTS ===== */
.hero-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-delay: 2s; }
.floating-icon:nth-child(3) { animation-delay: 4s; }
.floating-icon:nth-child(4) { animation-delay: 1s; }
.floating-icon:nth-child(5) { animation-delay: 3s; }
.floating-icon:nth-child(6) { animation-delay: 5s; }

/* ===== SPECIAL EFFECTS ===== */
.team-card:hover .fa-coins {
    animation: spin 1s linear infinite;
}

.team-card:hover .fa-camera {
    animation: flash 0.5s ease-in-out infinite alternate;
}

.quote-container {
    position: relative;
    margin: 0 auto;
}

.quote-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, transparent, currentColor, transparent);
    transition: height 0.3s ease;
    transform: translateY(-50%);
}

.team-card:hover .quote-container::before {
    height: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(103, 232, 249, 0.3);
    border-bottom: 1px solid rgba(103, 232, 249, 0.2);
    padding: 1.5rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(103, 232, 249, 0.1);
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #67e8f9, #764ba2, #67e8f9, transparent);
    animation: gradient-shift 3s ease infinite;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #d1d5db;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    margin: 0.25rem 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.025em;
    overflow: hidden;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-menu a:hover::before {
    left: 100%;
}

.mobile-menu a:hover {
    color: #67e8f9;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(103, 232, 249, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(103, 232, 249, 0.2);
}

.mobile-menu a:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-menu a i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-menu a:hover i {
    opacity: 1;
    transform: scale(1.1);
    color: #67e8f9;
}

/* Mobile Menu Button Animation */
#mobile-menu-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

#mobile-menu-btn:hover {
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(103, 232, 249, 0.3);
    transform: scale(1.05);
}

#mobile-menu-btn i {
    transition: all 0.3s ease;
}

#mobile-menu-btn:hover i {
    color: #67e8f9;
    transform: rotate(90deg);
}

/* Enhanced Join Now Button for Mobile */
@media (max-width: 768px) {
    .cyber-gradient {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 25px;
        position: relative;
        overflow: hidden;
    }
    
    .cyber-gradient::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .cyber-gradient:hover::before {
        left: 100%;
    }
    
    .mobile-menu {
        padding: 2rem 1.5rem;
    }
    
    .mobile-menu a {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }
}

/* Add staggered animation for menu items */
.mobile-menu a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu a:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu a:nth-child(5) { animation-delay: 0.5s; }

.mobile-menu.active a {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-gradient {
        min-height: 100vh;
        padding: 0 1rem;
    }
    
    .text-5xl { font-size: 2.5rem !important; }
    .text-7xl { font-size: 3rem !important; }
    .text-xl { font-size: 1.1rem !important; }
    .text-2xl { font-size: 1.25rem !important; }
    .text-6xl { font-size: 3rem !important; }
    
    .stats-counter { font-size: 1.8rem !important; }
    
    .grid.lg\\:grid-cols-2 { grid-template-columns: 1fr; gap: 2rem; }
    .grid.grid-cols-3 { grid-template-columns: 1fr; gap: 1rem; }
    .grid.grid-cols-2 { grid-template-columns: 1fr; }
    
    .flex.flex-col.sm\\:flex-row { flex-direction: column; gap: 1rem; }
    .px-8 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    
    .w-80 { width: 16rem !important; }
    .h-80 { height: 16rem !important; }
    .w-64 { width: 12rem !important; }
    .h-64 { height: 12rem !important; }
    .w-96 { width: 100% !important; max-width: 20rem; }
    .h-96 { height: 20rem !important; }
    
    .floating-icon { display: none; }
    
    .nav-glass .container { padding-left: 1rem; padding-right: 1rem; }
    .hidden.md\\:block { display: none !important; }
    .hidden.md\\:flex { display: none !important; }
    
    .py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .space-y-8 > * + * { margin-top: 1.5rem !important; }
    .space-y-6 > * + * { margin-top: 1rem !important; }
    .gap-12 { gap: 2rem !important; }
    .gap-6 { gap: 1rem !important; }
    
    .glass-morphism { padding: 1rem; }
    
    .team-card { padding: 1.5rem; }
    .w-28 { width: 6rem; height: 6rem; }
}

@media (max-width: 480px) {
    .text-5xl { font-size: 2rem !important; }
    .text-4xl { font-size: 1.8rem !important; }
    
    .w-80 { width: 12rem !important; }
    .h-80 { height: 12rem !important; }
    .w-64 { width: 10rem !important; }
    .h-64 { height: 10rem !important; }
    
    .stats-counter { font-size: 1.5rem !important; }
    
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    
    .px-6, .px-8 { 
        padding-left: 1rem !important; 
        padding-right: 1rem !important; 
        font-size: 0.9rem; 
    }
}