@import url('https://googleapis.com');

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

body {
    background-color: #111;
    color: #00ff66;
    font-family: 'Press Start 2P', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.game-container {
    text-align: center;
    position: relative;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 0 0 10px #00ff66;
}

.score-container {
    display: flex;
    justify-content: space-between;
    width: 400px;
    margin: 0 auto 15px auto;
    font-size: 0.8rem;
}

canvas {
    background-color: #000;
    border: 4px solid #00ff66;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
    display: block;
}

#game-over-screen {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff3333;
    padding: 20px;
    width: 280px;
    box-shadow: 0 0 15px #ff3333;
}

#game-over-screen p {
    color: #ff3333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #ff3333;
}

#restart-btn {
    background-color: transparent;
    border: 2px solid #00ff66;
    color: #00ff66;
    font-family: 'Press Start 2P', monospace;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

#restart-btn:hover {
    background-color: #00ff66;
    color: #000;
    box-shadow: 0 0 10px #00ff66;
}

.controls-hint {
    margin-top: 15px;
    font-size: 0.5rem;
    color: #888;
}

.hidden {
    display: none !important;
}
