/* ============================================
   ULTIMATE GAMING WEBSITE - CYBERPUNK EDITION
   ============================================ */

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

:root {
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.5);
    --secondary: #ff00ff;
    --secondary-glow: rgba(255, 0, 255, 0.5);
    --accent: #ffff00;
    --accent-glow: rgba(255, 255, 0, 0.5);
    --success: #00ff88;
    --dark: #0a0a0f;
    --dark-secondary: #12121a;
    --dark-card: #1a1a25;
    --light: #ffffff;
    --text: #e0e0e0;
    --text-muted: #8888aa;
    --border: rgba(0, 240, 255, 0.2);
    --gradient-cyber: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-neon: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

html {
    scroll-behavior: smooth;
}

/* Custom Gaming Cursor */
body {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><polygon points="0,0 0,24 6,18 12,28 16,26 10,16 18,16" fill="%2300f0ff" stroke="%23ff00ff" stroke-width="1"/></svg>') 0 0, auto;
    font-family: 'Segoe UI', 'Orbitron', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Clickable elements cursor */
a, button, .btn, .clickable {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="8" fill="none" stroke="%2300f0ff" stroke-width="2"/><circle cx="16" cy="16" r="3" fill="%23ff00ff"/></svg>') 16 16, pointer;
}

/* ===== ANIMATED SPACE BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 0, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-secondary) 50%, var(--dark) 100%);
    pointer-events: none;
    z-index: -2;
}

/* Animated Grid Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 150px;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

.loading-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-neon);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: loadingProgress 2s ease-out forwards, shimmer 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glitchText 2s infinite;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--primary)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 30px var(--primary)) drop-shadow(0 0 60px var(--secondary)); }
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatDelay {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary), 0 0 20px var(--primary-glow);
        border-color: var(--primary);
    }
    50% { 
        box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 40px var(--primary-glow), 0 0 60px var(--secondary-glow);
        border-color: var(--secondary);
    }
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--primary)); }
    50% { filter: drop-shadow(0 0 30px var(--primary)) drop-shadow(0 0 50px var(--secondary)); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glitchText {
    0%, 90%, 100% { opacity: 1; transform: translateX(0); }
    92% { opacity: 0.8; transform: translateX(-2px); }
    94% { opacity: 0.8; transform: translateX(2px); }
    96% { opacity: 0.9; transform: translateX(-1px); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary); }
    33% { border-color: var(--secondary); }
    66% { border-color: var(--accent); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary-glow); }
    50% { text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary-glow), 0 0 60px var(--secondary-glow); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    animation: slideInDown 0.6s ease-out;
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-neon);
    background-size: 300% 100%;
    animation: shimmer 3s linear infinite;
}

/* Scanline effect on navbar */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 240, 255, 0.02) 50%);
    background-size: 100% 4px;
    pointer-events: none;
}

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

.logo-img {
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--primary)) drop-shadow(0 0 40px var(--secondary));
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 10px var(--primary);
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.nav-links a:hover::before {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow), inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 30px var(--primary), 0 0 60px var(--primary-glow);
    transform: translateY(-3px) scale(1.05);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 0 30px var(--secondary), 0 0 60px var(--secondary-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Glowing Play Button */
.btn-play {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    border: none;
    font-size: 12px;
    padding: 10px 20px;
    animation: neonPulse 2s ease-in-out infinite;
}

.btn-play:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 40px var(--primary), 0 0 80px var(--secondary);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    animation: floatDelay 10s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.2));
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
    animation: neonPulse 3s ease-in-out infinite;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.hero-text h1 .gradient-text {
    background: var(--gradient-neon);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite, textGlow 2s ease-in-out infinite;
}

.hero-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.3s both;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    opacity: 0.3;
    animation: neonPulse 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 50px var(--primary-glow), 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 80px var(--primary), 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark) 100%);
}

.section h2 {
    text-align: center;
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 15px;
    color: var(--light);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 20px var(--primary-glow);
}

.section h2::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-neon);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--accent);
    animation: expandContract 2s ease-in-out infinite;
}

@keyframes expandContract {
    0%, 100% { width: 30px; opacity: 1; }
    50% { width: 100px; opacity: 0.5; }
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 25px auto;
    font-size: 14px;
    line-height: 1.7;
}

.section-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    display: block;
    border-radius: 20px;
    box-shadow: 0 0 40px var(--primary-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    animation: scaleIn 0.8s ease-out;
    border: 2px solid var(--border);
}

.section-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 60px var(--primary), 0 30px 80px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

/* ===== CARD GRIDS ===== */
.features-grid, .gameplay-grid, .modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card, .gameplay-card, .mode-card {
    padding: 40px 30px;
    background: linear-gradient(145deg, var(--dark-card) 0%, rgba(26, 26, 37, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out both;
}

/* Card glow effect */
.feature-card::before, .gameplay-card::before, .mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--primary-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Card shine effect */
.feature-card::after, .gameplay-card::after, .mode-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 240, 255, 0.1) 50%, transparent 60%);
    transition: all 0.6s ease;
}

.feature-card:hover::before, .gameplay-card:hover::before, .mode-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after, .gameplay-card:hover::after, .mode-card:hover::after {
    top: 0;
    left: 0;
}

.feature-card:hover, .gameplay-card:hover, .mode-card:hover {
    box-shadow: 0 0 30px var(--primary-glow), 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-card h3, .gameplay-card h3, .mode-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px var(--primary-glow);
}

.feature-card:hover h3, .gameplay-card:hover h3, .mode-card:hover h3 {
    text-shadow: 0 0 20px var(--primary);
}

.feature-card p, .gameplay-card p, .mode-card p {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Staggered animations */
.feature-card:nth-child(1), .gameplay-card:nth-child(1), .mode-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2), .gameplay-card:nth-child(2), .mode-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3), .gameplay-card:nth-child(3), .mode-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4), .mode-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5), .mode-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== AUDIO CONTROL ===== */
.audio-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audio-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--primary-glow);
}

.audio-btn:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--primary);
}

.audio-btn.muted {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
}

/* Volume slider */
.volume-slider {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 60px;
    height: 150px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.volume-slider.show {
    display: flex;
}

.volume-slider input[type="range"] {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 8px;
    height: 100px;
    -webkit-appearance: none;
    background: var(--border);
    border-radius: 4px;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark) 100%);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-neon);
    background-size: 300% 100%;
    animation: shimmer 4s linear infinite;
}

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

.footer-section h4 {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section a::before {
    content: '▸';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(10px);
    text-shadow: 0 0 10px var(--primary-glow);
}

.footer-section a:hover::before {
    opacity: 1;
    left: -20px;
}

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

.footer-bottom p {
    font-size: 14px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(18, 18, 26, 0.98) 100%);
    border-top: 2px solid var(--primary);
    box-shadow: 0 -10px 50px rgba(0, 240, 255, 0.2);
    z-index: 1000;
    padding: 25px;
    display: none;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-banner-text a:hover {
    text-shadow: 0 0 10px var(--primary);
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    padding: 12px 24px;
    font-size: 12px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== GLITCH EFFECT ===== */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitchTop 1s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    animation: glitchBottom 1.5s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchTop {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitchBottom {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, 0); }
    40% { transform: translate(-3px, 0); }
    60% { transform: translate(0, 3px); }
    80% { transform: translate(3px, -3px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-content {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .features-grid, .gameplay-grid, .modes-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: 100%;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
    }
    
    .audio-control {
        bottom: 20px;
        right: 20px;
    }
    
    .audio-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== GAME PAGE SPECIFIC ===== */
.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.game-header h1 {
    font-size: 28px;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    margin: 0;
}

.game-controls {
    display: flex;
    gap: 15px;
}

canvas {
    border: 3px solid var(--primary);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(18, 18, 26, 0.9) 100%);
    box-shadow: 0 0 40px var(--primary-glow), 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    height: auto;
    animation: neonPulse 4s ease-in-out infinite;
}

.game-info {
    margin-top: 30px;
    text-align: center;
    color: var(--text-muted);
}

.game-info p {
    margin: 10px 0;
    font-size: 14px;
}

.game-info strong {
    color: var(--primary);
}

.back-button {
    margin-top: 30px;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}
