body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #87CEEB;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

/* Floating Glassmorphic HUD Dashboard Layer */
#hud {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    min-width: 210px;
    z-index: 10;
}

h2 {
    margin: 0 0 12px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 6px;
}

.stat-row {
    margin: 6px 0;
    font-size: 15px;
    font-weight: 500;
}

.value {
    font-weight: 700;
    font-family: monospace;
    font-size: 18px;
}

.gold { color: #fbbf24; }
.lime { color: #4ade80; }

/* Difficulty Selection Dropdown Design */
.mode-container {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

#difficultySelect {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    outline: none;
    transition: all 0.2s ease;
}

#difficultySelect:hover {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.4);
}

.controls-tip {
    font-size: 11px;
    color: #64748b;
    margin-top: 14px;
    font-style: italic;
}
