/* Cyberpunk Cat Game Styles */

/* Game container */
.game-container {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(136, 0, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    animation: neon-border 3s infinite alternate;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
}

.game-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to left, #ff00ff, #00ffff);
    animation: neon-border 3s infinite alternate-reverse;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* Game title styling */
.cyberpunk-game-title {
    color: #ffffff;
    font-family: 'Press Start 2P', cursive, sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 
        0 0 5px #ff00ff,
        0 0 10px #ff00ff,
        0 0 20px #ff00ff;
}

.cyberpunk-game-title span {
    color: #00ffff;
    animation: text-flicker 3s infinite alternate;
}

/* Game canvas container */
.cyberpunk-game-container {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    border: 2px solid #333;
    border-radius: 5px;
    background-color: #000;
    overflow: hidden;
    box-shadow: 
        0 0 10px #ff00ff,
        0 0 20px rgba(0, 255, 255, 0.5);
}

/* Canvas styling */
.cyberpunk-game-canvas {
    display: block;
    background-color: #000;
    margin: 0 auto;
}

/* Score display */
.cyberpunk-score-display {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 14px;
    border-bottom: 2px solid #333;
}

.cyberpunk-score-display .score {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

.cyberpunk-score-display .high-score {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

/* Controls hint */
.cyberpunk-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    text-align: center;
    font-family: 'Press Start 2P', cursive, sans-serif;
    z-index: 100;
    animation: pulse 2s infinite alternate;
}

/* Rotate hint for microphone chapter */
.rotate-hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    z-index: 100;
}

/* Game note styling - for collectible music notes */
.music-note.game-note {
    cursor: pointer;
    z-index: 1000;
    animation: float 3s infinite ease-in-out, glow 2s infinite alternate;
}

/* Animation for music note floating */
@keyframes float {
    0% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -65%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

/* Animation for music note glowing */
@keyframes glow {
    0% {
        box-shadow: 0 0 10px #ff00ff;
        filter: brightness(1);
    }
    100% {
        box-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff;
        filter: brightness(1.2);
    }
}

/* Animation for neon border */
@keyframes neon-border {
    0% {
        opacity: 0.8;
        box-shadow: 0 0 5px rgba(255, 0, 255, 0.8);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 0, 255, 1), 0 0 30px rgba(255, 0, 255, 0.8);
    }
}

/* Animation for flickering text */
@keyframes text-flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
        text-shadow: none;
    }
}

/* Animation for pulsing controls */
@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cyberpunk-game-container {
        width: 100%;
    }
    
    .cyberpunk-game-canvas {
        width: 100%;
        height: auto;
    }
    
    .cyberpunk-score-display {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* Notification styling */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--true-black);
    font-size: 14px;
    z-index: 1000;
    max-width: 300px;
    border-left: 4px solid var(--lavender);
}