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

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #00ffff;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff;
    margin-bottom: 20px;
    letter-spacing: 4px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff;
    }
    to {
        text-shadow: 
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            0 0 40px #00ffff,
            0 0 50px #00ffff;
    }
}

.score-board {
    display: flex;
    justify-content: space-around;
    width: 400px;
    margin: 0 auto;
}

.score {
    text-align: center;
    padding: 10px 20px;
    border: 2px solid #00ffff;
    border-radius: 5px;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.player-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ff00ff;
}

.score span:last-child {
    font-size: 2rem;
    font-weight: 900;
    color: #00ffff;
}

#gameCanvas {
    border: 3px solid #00ffff;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    margin: 20px 0;
}

.controls {
    text-align: center;
    margin-top: 20px;
}

.control-info {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #cccccc;
}

.key {
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
    color: #00ffff;
}

.cyber-button {
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    border: none;
    color: #000;
    padding: 12px 24px;
    margin: 0 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.cyber-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.8),
        0 0 30px rgba(0, 255, 255, 0.8);
}

.cyber-button:active {
    transform: translateY(0);
}

.game-status {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    min-height: 30px;
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

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

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

.scan-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.1) 2px,
        rgba(0, 255, 255, 0.1) 4px
    );
    animation: scan 3s linear infinite;
}

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

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    #gameCanvas {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .score-board {
        width: 300px;
    }
} 