:root {
    --primary: #00ff88;
    --secondary: #ff0080;
    --accent: #00d4ff;
    --dark: #0a0a0a;
    --darker: #050505;
    --gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #333333;
    --glow: 0 0 20px rgba(0, 255, 136, 0.3);
    --glow-pink: 0 0 20px rgba(255, 0, 128, 0.3);
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body {
    font-family: 'Orbitron', 'Courier New', monospace;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-10px); }
    50% { transform: translateX(20px) translateY(10px); }
    75% { transform: translateX(-10px) translateY(20px); }
}

/* Optional grid pattern */
.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--glow);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: var(--glow); }
    50% { box-shadow: var(--glow-pink); }
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.nav a:hover::before { left: 100%; }
.nav a:hover { background: rgba(0, 255, 136, 0.1); box-shadow: var(--glow); }

.main { margin-top: 100px; }

/* Footer */
.footer {
    background: var(--darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul li a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-section ul li a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Utilities */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary { background: linear-gradient(45deg, var(--primary), var(--accent)); color: var(--dark); box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4); }
.btn-secondary { background: transparent; color: var(--text); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--dark); box-shadow: var(--glow); }

/* Shared responsive */
@media (max-width: 768px) {
    .header-content { 
        flex-direction: column; 
        gap: 15px; 
        align-items: stretch;
    }
    
    .nav { 
        gap: 10px; 
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .search-container {
        order: -1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}



@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
        flex-direction: column;
        gap: 5px;
    }
    
    .nav a {
        text-align: center;
        padding: 10px;
    }
}