:root {
    --Master-Sub-Green: #aadcb9;
    --Master-Sub-Blue: #82bef0;
    --Master-Sub-Purple: #d2a5eb;
}

body {
    margin: 0;
    padding: 20px;
    background: linear-gradient(
        90deg,
        var(--Master-Sub-Green, #aadcb9) 0%,
        var(--Master-Sub-Blue, #82bef0) 50%,
        var(--Master-Sub-Purple, #d2a5eb) 100%
    );
    font-family: 'Klee One', 'Yusei Magic', cursive, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

canvas {
    border: 3px solid #fff;
    border-radius: 10px;
    background: linear-gradient(to bottom, var(--Master-Sub-Blue, #82bef0), var(--Master-Sub-Green, #aadcb9));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-info {
    margin-top: 15px;
    color: #9d9d9d;
    font-size: 22px;
    font-weight: 600;
    text-shadow: none;
    font-family: 'Yusei Magic', cursive, sans-serif;
}

.instructions {
    margin-top: 10px;
    color: #9d9d9d;
    font-size: 18px;
    font-family: 'Klee One', cursive, sans-serif;
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    display: none;
    font-family: 'Klee One', cursive, sans-serif;
    font-size: 18px;
}

.game-over h2 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-family: 'Yusei Magic', cursive, sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.retry-btn {
    background: #FF69B4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
    font-family: 'Klee One', cursive, sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #FF1493;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.game-clear {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    display: none;
    font-family: 'Klee One', cursive, sans-serif;
    font-size: 18px;
}

.game-clear h2 {
    color: #FFD700;
    margin-bottom: 15px;
    font-family: 'Yusei Magic', cursive, sans-serif;
    font-weight: 700;
    font-size: 28px;
}
