body {
    margin: 0;
    overflow: hidden;
    background-color: #87CEEB;
    background-image: linear-gradient(to bottom, #87CEEB 0%, #E0F7FA 100%);
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#game-container {
    position: relative;
    width: 1024px;
    height: 768px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    border-radius: 25px;
    overflow: hidden;
    background: #4FC3F7;
}

canvas {
    display: block;
}

/* Dynamic Player Bubbles (Generated by JS) */
.player-bubble {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #000;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 5px solid white;
    transition: opacity 0.2s;
}

/* Score Leaf */
.score-leaf {
    position: absolute;
    width: 80px;
    height: 60px;
    background: #8BC34A;
    border-radius: 50% 0 50% 0;
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 11;
    border: 2px solid #558B2F;
}

/* Overlay & Menu */
#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    text-align: center;
}

h1 {
    font-size: 64px;
    color: #FF9800;
    -webkit-text-stroke: 2px #E65100;
    margin: 0;
}

.instructions-grid {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.instruction-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 150px;
}

.emoji { font-size: 50px; display: block; margin-bottom: 10px; }

/* Start Button with Progress */
#start-btn {
    position: relative;
    padding: 15px 50px;
    font-size: 24px;
    background: #FF4081;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 5px 0 #C2185B;
    transition: transform 0.1s;
    overflow: hidden; /* For progress bar */
}

#start-btn:active { transform: translateY(5px); box-shadow: none; }

/* The progress filler */
#btn-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.1s linear;
}

/* Hand Cursor */
#hand-cursor {
    position: absolute;
    font-size: 60px;
    pointer-events: none;
    z-index: 200;
    /* Center the point on the finger */
    transform: translate(-20%, -20%); 
    transition: top 0.05s, left 0.05s; /* Smooth visual */
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}