body {
    margin: 0;
    padding: 0;
    background-color: #0f0f14;
    color: #f2f3f5;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

main {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.game-container {
    position: relative;
    background: #171822;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #262838;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #6c8cff;
}

.stats {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

#score { color: #2ecc71; }
#combo { color: #f1c40f; }

#game-wrapper {
    position: relative;
    width: 400px;
    height: 500px;
    margin: 0 auto;
    background: #0c0d12;
    border: 2px solid #262838;
    border-radius: 8px;
    overflow: hidden;
}

canvas {
    display: block;
}

#hit-zones {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    background: rgba(108, 140, 255, 0.1);
    border-top: 2px solid #6c8cff;
}

.zone {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #6c8cff;
    border-right: 1px solid rgba(108, 140, 255, 0.2);
    transition: background 0.1s;
}

.zone:last-child { border-right: none; }

.zone.active {
    background: rgba(108, 140, 255, 0.4);
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 16px;
}

.overlay.hidden { display: none; }

.content {
    background: #171822;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #262838;
}

button {
    background: #6c8cff;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    margin-top: 20px;
}

button:hover { background: #5a7be0; }
button:active { transform: scale(0.95); }

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #aab0bd;
    text-decoration: none;
}

.back-link:hover { color: #f2f3f5; }

.site-footer {
    margin-top: 40px;
    padding: 20px;
    color: #aab0bd;
    font-size: 0.9rem;
}
