/* Spider-Man Color Scheme - More Vibrant */
:root {
    --spider-red: #ff1744;
    --spider-blue: #2196f3;
    --spider-bright-red: #ff4081;
    --spider-bright-blue: #00bcd4;
    --spider-dark-red: #d50000;
    --spider-light-blue: #03dac6;
    --spider-gold: #ffd600;
    --spider-silver: #e0e0e0;
    --spider-neon-red: #ff1744;
    --spider-neon-blue: #2196f3;
    --spider-neon-green: #00e676;
    --spider-neon-purple: #e040fb;
    
    /* Page-specific gradients */
    --home-gradient: linear-gradient(135deg, #ff1744, #ff4081);
    --sports-gradient: linear-gradient(135deg, #2196f3, #00bcd4);
    --mindmotion-gradient: linear-gradient(135deg, #d50000, #ff1744);
    --profile-gradient: linear-gradient(135deg, #ffd600, #ffab00);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(255, 23, 68, 0.9)) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 23, 68, 0.3),
        0 0 30px rgba(33, 150, 243, 0.2) !important;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(255, 23, 68, 0.3) !important;
}

.nav-links a:hover {
    color: #ffd600 !important;
    text-shadow: 
        0 0 10px rgba(255, 214, 0, 0.8),
        0 0 20px rgba(255, 214, 0, 0.6),
        0 0 30px rgba(255, 214, 0, 0.4) !important;
    transform: translateY(-2px);
}

/* Spider-Man Web Pattern */
@keyframes webPulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

.web-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(230, 57, 70, 0.2) 49%, rgba(29, 53, 87, 0.2) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(29, 53, 87, 0.2) 49%, rgba(230, 57, 70, 0.2) 51%, transparent 52%);
    background-size: 60px 60px;
    animation: webMove 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

/* Enhanced Hero Section with Vibrant Spider-Man Colors */
.hero {
    background: linear-gradient(135deg, var(--spider-neon-red), var(--spider-neon-blue));
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 100px rgba(255, 23, 68, 0.3),
        inset 0 0 200px rgba(33, 150, 243, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, var(--spider-neon-blue) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, var(--spider-neon-red) 0%, transparent 50%);
    opacity: 0.4;
    animation: colorShift 8s ease-in-out infinite;
    filter: blur(1px);
}

.hero-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    gap: 4rem !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
}

.hero-content {
    flex: none !important;
    text-align: center !important;
    max-width: 800px !important;
    z-index: 1 !important;
    padding: 3rem !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 23, 68, 0.4),
        0 0 40px rgba(33, 150, 243, 0.3),
        0 0 60px rgba(0, 230, 118, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
    transform-style: preserve-3d !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 23, 68, 0.2) 25%,
        rgba(33, 150, 243, 0.2) 50%,
        rgba(0, 230, 118, 0.2) 75%,
        transparent 100%
    );
    animation: webShine 3s linear infinite;
}

/* Page-specific hero backgrounds with Spider-Man color mix */
.home-hero {
    background: var(--home-gradient);
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, var(--spider-red) 0%, transparent 70%),
        radial-gradient(circle at center, var(--spider-bright-red) 0%, transparent 70%);
    opacity: 0.4;
    animation: webPulse 3s ease-in-out infinite;
}

.sports-hero {
    background: var(--sports-gradient);
    position: relative;
}

.sports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, var(--spider-bright-blue) 0%, transparent 70%),
        radial-gradient(circle at center, var(--spider-dark-red) 0%, transparent 70%);
    opacity: 0.4;
    animation: webPulse 3s ease-in-out infinite;
}

.mindmotion-hero {
    background: var(--mindmotion-gradient);
    position: relative;
}

.mindmotion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, var(--spider-dark-red) 0%, transparent 70%),
        radial-gradient(circle at center, var(--spider-light-blue) 0%, transparent 70%);
    opacity: 0.4;
    animation: webPulse 3s ease-in-out infinite;
}

.profile-hero {
    background: var(--profile-gradient);
    position: relative;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, var(--spider-red) 0%, transparent 70%),
        radial-gradient(circle at center, var(--spider-bright-red) 0%, transparent 70%);
    opacity: 0.4;
    animation: webPulse 3s ease-in-out infinite;
}

/* Enhanced Hero Text Styles */
.welcome-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 23, 68, 0.8),
        0 0 30px rgba(33, 150, 243, 0.6),
        0 0 40px rgba(0, 230, 118, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    animation: titleGlow 3s ease-in-out infinite !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)) !important;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 23, 68, 0.8),
            0 0 30px rgba(33, 150, 243, 0.6),
            0 0 40px rgba(0, 230, 118, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 25px rgba(255, 23, 68, 1),
            0 0 35px rgba(33, 150, 243, 0.8),
            0 0 45px rgba(0, 230, 118, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.6),
        0 0 10px rgba(255, 23, 68, 0.5),
        0 0 15px rgba(33, 150, 243, 0.3) !important;
    animation: subtitleFloat 4s ease-in-out infinite !important;
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* Enhanced Animations */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    25% {
        transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    }
    75% {
        transform: translateY(10px) rotateX(-2deg) rotateY(2deg);
    }
}

@keyframes webShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Card Styles with Spider-Man Colors */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(230, 57, 70, 0.2),
        0 0 40px rgba(29, 53, 87, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.card-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--spider-red), var(--spider-bright-red));
    color: white;
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M50 0L100 50L50 100L0 50z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
    background-size: 200% 200%, 50px 50px;
    animation: webPulse 3s ease-in-out infinite;
}

.card-body {
    padding: 2rem;
}

/* Theme Colors */
.tennis-theme {
    background: var(--tennis-theme);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.soccer-theme {
    background: var(--soccer-theme);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.achievements-theme {
    background: var(--achievements-theme);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.mindmotion-theme {
    background: var(--mindmotion-theme);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.profile-theme {
    background: var(--profile-theme);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.grid-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.grid-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.grid-item p {
    color: #666;
}

/* Interest Cards Specific Styles */
.interest-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.skill-progress {
    margin: 1.5rem 0;
}

.progress-bar {
    background: linear-gradient(90deg, var(--spider-red), var(--spider-bright-red));
    border-radius: 10px;
    height: 8px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Sport-specific Progress Bars */
.tennis .progress {
    background: linear-gradient(90deg, #e63946, #ff4d4d);
}

.soccer .progress {
    background: linear-gradient(90deg, #1a237e, #3949ab);
}

.ai .progress {
    background: var(--gradient-2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--spider-dark-red), var(--spider-blue)) !important;
    color: white !important;
    text-align: center !important;
    padding: 2rem !important;
    border-top: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 -2px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 23, 68, 0.2),
        0 0 30px rgba(33, 150, 243, 0.1) !important;
}

/* Responsive hero section */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Stats containers for all pages */
.sports-stats,
.mindmotion-stats,
.profile-stats,
.hero-stats {
    display: flex !important;
    gap: 2rem !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 800px !important;
    width: 100% !important;
}

/* Stat cards for all pages */
.stat-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    transition: all 0.3s ease !important;
    width: 200px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 23, 68, 0.2),
        0 0 30px rgba(33, 150, 243, 0.1) !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(255, 23, 68, 0.4),
        0 0 50px rgba(33, 150, 243, 0.3),
        0 0 75px rgba(0, 230, 118, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.stat-icon {
    font-size: 2.5rem !important;
    color: #fff !important;
    animation: iconFloat 3s infinite !important;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 23, 68, 0.6),
        0 0 30px rgba(33, 150, 243, 0.4) !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) !important;
}

.stat-icon:nth-child(1) {
    color: #ff4081 !important;
    text-shadow: 
        0 0 10px rgba(255, 64, 129, 0.8),
        0 0 20px rgba(255, 64, 129, 0.6),
        0 0 30px rgba(255, 64, 129, 0.4) !important;
}

.stat-icon:nth-child(2) {
    color: #00bcd4 !important;
    text-shadow: 
        0 0 10px rgba(0, 188, 212, 0.8),
        0 0 20px rgba(0, 188, 212, 0.6),
        0 0 30px rgba(0, 188, 212, 0.4) !important;
}

.stat-icon:nth-child(3) {
    color: #ffd600 !important;
    text-shadow: 
        0 0 10px rgba(255, 214, 0, 0.8),
        0 0 20px rgba(255, 214, 0, 0.6),
        0 0 30px rgba(255, 214, 0, 0.4) !important;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 23, 68, 0.6),
        0 0 30px rgba(33, 150, 243, 0.4),
        0 0 40px rgba(0, 230, 118, 0.2) !important;
    animation: valuePulse 2s ease-in-out infinite !important;
}

@keyframes valuePulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 23, 68, 0.6),
            0 0 30px rgba(33, 150, 243, 0.4),
            0 0 40px rgba(0, 230, 118, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 25px rgba(255, 23, 68, 0.8),
            0 0 35px rgba(33, 150, 243, 0.6),
            0 0 45px rgba(0, 230, 118, 0.4);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
} 