body {
            font-family: 'Fredoka One', cursive;
            background-color: #87CEEB;
            /* Sky Blue */
            overflow: hidden;
            touch-action: none;
            /* Disable double-tap zoom on mobile */
        }

        #game-container {
            position: relative;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
        }

        canvas {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 10;
        }

        .parallax-bg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 200%;
            /* Wider than screen for seamless looping */
            height: 100%;
            background-repeat: repeat-x;
            background-position: 0 100%;
            will-change: transform;
        }

        #bg-far {
            background-image: url('https://placehold.co/2000x600/aaddff/aaddff?text=+');
            z-index: 1;
            /* Placeholder will be replaced by SVG clouds in JS */
        }

        #bg-mid {
            background-image: url('https://placehold.co/2000x600/6ab4e9/FFFFFF?text=⛰️');
            z-index: 2;
            background-size: auto 40%;
            opacity: 0.8;
        }

        #bg-near {
            background-image: url('https://placehold.co/2000x200/4CAF50/FFFFFF?text=🌳');
            z-index: 3;
            background-size: auto 25%;
            opacity: 0.9;
        }

        #ui-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            pointer-events: none;
            /* Allow clicks to pass through to canvas/game */
        }

        #ui-container>* {
            pointer-events: auto;
            /* Re-enable pointer events for specific UI elements */
        }

        .button {
            background: linear-gradient(145deg, #ff8a00, #e52e71);
            border: none;
            border-radius: 9999px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
            transition: all 0.2s ease-in-out;
        }

        .button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .stage-label {
            position: absolute;
            top: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: clamp(1.5rem, 2vw, 2.5rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
            z-index: 25;
        }

        .stage-banner {
            position: absolute;
            top: 25%;
            left: 50%;
            transform: translateX(-50%);
            padding: 1rem 2.5rem;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 221, 128, 0.9));
            color: #0f172a;
            font-size: clamp(1.75rem, 3vw, 3rem);
            font-weight: 800;
            letter-spacing: 0.18em;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
            text-transform: uppercase;
            pointer-events: none;
            z-index: 30;
        }

        .powerup-display {
            position: absolute;
            top: 5rem;
            right: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0.5rem;
            padding: 0.65rem 1.25rem;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.5);
            backdrop-filter: blur(8px);
            font-size: clamp(1rem, 1.4vw, 1.4rem);
            font-weight: 700;
            letter-spacing: 0.08em;
            z-index: 25;
        }

        .powerup-status {
            font-weight: 700;
        }

        .achievement-container {
            width: 100%;
            margin: 1rem 0 0.5rem 0;
            padding: 1.5rem;
            border-radius: 1.25rem;
            background: rgba(15, 23, 42, 0.55);
            box-shadow: inset 0 0 25px rgba(8, 47, 73, 0.35);
        }

        .achievement-list {
            list-style: none;
            margin-top: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            padding: 0;
        }

        .achievement-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(255, 238, 153, 0.95), rgba(251, 191, 36, 0.95));
            color: #0f172a;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
        }
