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

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    border: 3px solid #00eeff;
    box-shadow: 0 10px 30px rgba(0, 238, 255, 0.3);
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #00ff88;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ff88;
}

.subtitle {
    color: #a0e7ff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 40, 85, 0.7);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.score-box {
    background-color: #ff4d8d;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 77, 141, 0.5);
}

.score-label {
    font-size: 1.2rem;
}

.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    background-color: #00aaff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    background-color: #0088cc;
    transform: scale(1.05);
    box-shadow: 0 0 15px #00aaff;
}

#pauseBtn {
    background-color: #ffaa00;
}

#pauseBtn:hover {
    background-color: #cc8800;
    box-shadow: 0 0 15px #ffaa00;
}

#resetBtn {
    background-color: #ff4444;
}

#resetBtn:hover {
    background-color: #cc2222;
    box-shadow: 0 0 15px #ff4444;
}

#gameCanvas {
    background-color: #0d1b2a;
    border-radius: 15px;
    border: 4px solid #00eeff;
    display: block;
    margin: 0 auto 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.hint {
    background-color: rgba(255, 215, 0, 0.2);
    padding: 12px;
    border-radius: 10px;
    font-size: 1.1rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.status {
    font-size: 1.4rem;
    padding: 15px;
    border-radius: 15px;
    background-color: rgba(0, 255, 136, 0.15);
    border: 2px dashed #00ff88;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 550px) {
    .game-header {
        flex-direction: column;
        gap: 15px;
    }
    h1 {
        font-size: 2.2rem;
    }
    .btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
    #gameCanvas {
        width: 95vw;
        height: 95vw;
        max-width: 400px;
        max-height: 400px;
    }
}