body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to top, #020024, #090979, #00d4ff);
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 700px;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

.ui {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    display: flex;
    gap: 20px;
    align-items: center;
}

button#restartBtn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

button#restartBtn:hover {
    transform: scale(1.1);
}

.instructions {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
}
