/* Custom CSS for Quantum Forge Games */

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Glow Effects */
.glow-text {
    position: relative;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(0, 206, 209, 0.5),
        0 0 20px rgba(0, 206, 209, 0.3),
        0 0 40px rgba(0, 206, 209, 0.1);
}

.glow-text-spark {
    position: relative;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(0, 206, 209, 0.4),
        0 0 40px rgba(255, 140, 0, 0.2);
}

.glow-text-hero {
    position: relative;
    color: #fff;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(0, 206, 209, 0.6),
        0 0 60px rgba(255, 140, 0, 0.4);
}

.glow-button {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(0, 206, 209, 0.1) 50%, 
        rgba(255, 140, 0, 0.1) 100%);
    border: 1px solid rgba(0, 206, 209, 0.5);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.glow-button:hover:before {
    left: 100%;
}

.glow-button:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(0, 206, 209, 0.3),
        inset 0 0 20px rgba(255, 140, 0, 0.1);
    transform: translateY(-2px);
}

/* Glass Cards */
.glass-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 245, 255, 0.5), 
        rgba(139, 92, 246, 0.5), 
        rgba(236, 72, 153, 0.5), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover:before {
    opacity: 1;
}

.glass-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 245, 255, 0.1);
}

/* Navigation */
.nav-link {
    position: relative;
    color: #9ca3af;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #00CED1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700;
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

/* Game Cards */
.game-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 245, 255, 0.05) 0%, 
        transparent 50%, 
        rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover:before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 245, 255, 0.2);
}

.game-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.game-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-badge {
    background: rgba(0, 206, 209, 0.2);
    color: #00CED1;
    border: 1px solid rgba(0, 206, 209, 0.3);
}

.pc-badge {
    background: rgba(106, 13, 173, 0.2);
    color: #6A0DAD;
    border: 1px solid rgba(106, 13, 173, 0.3);
}

.vr-badge {
    background: rgba(255, 140, 0, 0.2);
    color: #FF8C00;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.webgl-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.game-stats {
    margin-top: auto;
}

/* Career Cards */
.career-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 245, 255, 0.1);
}

.skill-tag {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Team Cards */
.team-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 245, 255, 0.1);
}

.team-card img {
    transition: transform 0.3s ease;
    filter: grayscale(20%);
}

.team-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Form Styles */
.form-input {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #00f5ff;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
    background: rgba(42, 42, 42, 1);
}

.form-input::placeholder {
    color: rgba(156, 163, 175, 0.7);
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Footer Links */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #FFD700;
}

/* Background Patterns */
.bg-circuit-pattern {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 245, 255, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Animations */
@keyframes glow-pulse {
    0% {
        text-shadow: 
            0 0 10px rgba(0, 245, 255, 0.5),
            0 0 20px rgba(0, 245, 255, 0.3),
            0 0 40px rgba(0, 245, 255, 0.1);
    }
    100% {
        text-shadow: 
            0 0 20px rgba(0, 245, 255, 0.8),
            0 0 40px rgba(0, 245, 255, 0.5),
            0 0 60px rgba(0, 245, 255, 0.3);
    }
}

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

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .glow-text-hero {
        font-size: 2.5rem;
    }
    
    .game-card,
    .career-card {
        margin-bottom: 20px;
    }
    
    .team-card {
        margin-bottom: 16px;
    }
}

/* Loading Animation */
.loading-animation {
    position: relative;
    overflow: hidden;
}

.loading-animation:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 245, 255, 0.4), 
        transparent);
    animation: loading-sweep 2s infinite;
}

@keyframes loading-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 245, 255, 0.2);
    z-index: 9999;
}

.scroll-indicator:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #8b5cf6, #ec4899);
    transition: width 0.1s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f5ff, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00f5ff, #ec4899);
}
