/* CSS Variables */
:root {
    --bg-primary: #0a0a23;
    --neon-green: #39ff14;
    --neon-magenta: #ff0266;
    --neon-cyan: #00f0ff;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.1);
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-cyan);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 35, 0.98);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px var(--neon-green));
}

.logo-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(57, 255, 20, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
    position: relative;
}

.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 98% { transform: translate(0); }
    2% { transform: translate(2px, 0); }
    4% { transform: translate(-2px, 0); }
    6% { transform: translate(0); }
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.cta-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--neon-magenta);
    color: var(--neon-magenta);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-button:hover {
    color: var(--bg-primary);
    text-shadow: none;
    box-shadow: 0 0 30px var(--neon-magenta);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-magenta);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover .button-glow {
    left: 0;
}

.neon-lines {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
}

.neon-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: pulse 2s infinite;
}

.neon-line:nth-child(2) {
    top: 50%;
    animation-delay: 0.5s;
}

.neon-line:nth-child(3) {
    bottom: 0;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--bg-primary), #1a1a3a);
}

.section-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(57, 255, 20, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .card-glow {
    opacity: 1;
    animation: cardGlow 2s infinite;
}

@keyframes cardGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.game-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.play-button {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 10px 20px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.play-button:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-green);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.arcade-cabinet {
    width: 200px;
    height: 300px;
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
    border-radius: 20px 20px 0 0;
    position: relative;
    margin: 0 auto;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.cabinet-screen {
    width: 80%;
    height: 120px;
    background: var(--bg-primary);
    border: 3px solid var(--neon-green);
    border-radius: 10px;
    margin: 20px auto;
    position: relative;
}

.cabinet-screen::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.cabinet-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
}

.control-stick {
    width: 30px;
    height: 30px;
    background: var(--neon-magenta);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--neon-magenta);
}

.control-buttons {
    display: flex;
    gap: 10px;
}

.button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(-45deg, var(--bg-primary), #2a2a4a);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.feature-card h3 {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 50px 0;
    background: rgba(255, 2, 102, 0.1);
    border-top: 1px solid var(--neon-magenta);
    border-bottom: 1px solid var(--neon-magenta);
}

.disclaimer-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(57, 255, 20, 0.3);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}