body {
    background-color: #202028;
    color: white;
    font-family: 'Press Start 2P', cursive;
    /* Font Pixel */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

.game-container {
    position: relative;
}

h1 {
    color: #f1c40f;
    text-shadow: 4px 4px #c0392b;
    margin-bottom: 10px;
}

.instructions {
    font-size: 10px;
    color: #bdc3c7;
    margin-bottom: 20px;
}

canvas {
    background-color: #34495e;
    /* Warna lantai game */
    border: 4px solid #ecf0f1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    image-rendering: pixelated;
}

/* Prompt (Tekan Spasi) */
#interaction-prompt {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border: 2px solid white;
    animation: blink 1s infinite;
}

/* Modal Pop-up */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    background: #fff;
    color: #333;
    padding: 30px;
    border: 4px solid #000;
    max-width: 500px;
    text-align: left;
    line-height: 1.6;
    position: relative;
    font-family: 'Courier New', Courier, monospace;
    /* Font agar mudah dibaca */
}

.modal-content h2 {
    font-family: 'Press Start 2P', cursive;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.modal-content button {
    margin-top: 20px;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

.hidden {
    display: none;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}