/* assets/css/style.css */

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

body {
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    background: #0f172a;
    color: #f1f5f9;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.nav-link.active {
    color: #818cf8;
    background: rgba(129, 140, 248, 0.15);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0.5rem;
}

.mobile-nav-link:hover {
    background: rgba(96, 165, 250, 0.1);
}

/* Neon Logo */
.neon-logo {
    filter: drop-shadow(0 0 8px #00f3ff) drop-shadow(0 0 16px #9d00ff);
    animation: neon-pulse 2s infinite alternate;
}

@keyframes neon-pulse {
    from { filter: drop-shadow(0 0 8px #00f3ff) drop-shadow(0 0 16px #9d00ff); }
    to { filter: drop-shadow(0 0 12px #00f3ff) drop-shadow(0 0 24px #9d00ff); }
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
    min-width: 180px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Stat Cards */
.stat-card {
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.stat-title {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
}

.stat-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.stat-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Game Cards */
.game-card {
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.game-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.game-card-header {
    padding: 1.5rem;
    position: relative;
}

.game-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    font-weight: bold;
    opacity: 0.1;
    font-family: 'Orbitron', monospace;
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.game-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.game-badge.multiplayer {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.game-badge.cooperative {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.game-badge.competitive {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.game-card-body {
    padding: 1.5rem;
}

.game-canvas-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.game-description {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.game-features span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.game-card-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.play-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.online-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* Footer */
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #60a5fa;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .game-card {
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Dark mode scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.8);
}