        body {
            background: linear-gradient(180deg, #ff9e7d, #ffeb3b, #80deea);
            margin: 0;
            padding: 100px;
            font-family: 'Comic Neue', cursive;
            overflow: hidden;
        }
        
        .title {
            position: relative;
            margin-top: 10px;
            text-align: center;
            font-size: 35px;
            font-weight: bold;
            background: linear-gradient(90deg, #ffffff, #e0f7fa, #b2ebf2, #ffffff);
            background-size: 300% 300%;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            /* gentle glow and shadow */
            text-shadow: 0 0 6px rgba(255, 255, 255, 0.6),
                        0 0 12px rgba(176, 224, 230, 0.5);
            animation: soft-rainbow 8s ease infinite,
            gentle-float 4s ease-in-out infinite alternate;
            z-index: 5;
        }
        @keyframes soft-rainbow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes gentle-float {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-12px); }
        }

        /* Optional sparkles effect */
        .title::before,
        .title::after {
            content: '✨';
            position: absolute;
            font-size: 1em;
            opacity: 0;
            animation: mild-sparkle 3s infinite ease-in-out;
        }

        .title::before {
            top: -10px;
            left: 30%;
            animation-delay: 0.5s;
        }

        .title::after {
            bottom: -10px;
            right: 25%;
            animation-delay: 1.3s;
        }

        @keyframes mild-sparkle {
            0%, 100% { opacity: 0; transform: scale(0.8); }
            50% { opacity: 0.7; transform: scale(1.1); }
        }

        

        #game {
            position: relative;
            width: 800px;
            height: 700px;
            margin: 20px auto;
            background: linear-gradient(135deg, #fff9c4, #ffe0b2);
            border: 8px double #ff6d00;
            box-shadow: 0 0 25px rgba(255, 109, 0, 0.6);
            border-radius: 25px;
            overflow: hidden;
            font-family: 'Comic Neue', cursive;
        }

        #miner {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            font-size: 42px;
            text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
            animation: bounce 1.2s infinite ease-in-out;
            z-index: 5;
        }

        @keyframes bounce {
            0%, 100% { transform: translate(-50%, 0); }
            50%      { transform: translate(-50%, 12px); }
        }

        #hook {
            position: absolute;
            top: 20px;
            font-size: 26px;
            filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6));
            animation: hook-swing 3s infinite ease-in-out;
            z-index: 4;
        }

        @keyframes hook-swing {
            0%, 100% { transform: rotate(-20deg); }
            50%      { transform: rotate(20deg); }
        }

        .object {
            position: absolute;
            font-size: 24px;
            filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
            animation: object-pulse 1.8s infinite ease-in-out;
            z-index: 3;
        }

        @keyframes object-pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        #score, #timer {
            position: absolute;
            top: 5px;
            padding: 1px 18px;
            background: rgba(255, 255, 255, 0.85);
            border: 4px solid #ff6d00;
            border-radius: 15px;
            color: #e65100;
            font-size: 20px;
            font-weight: bold;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 5;
        }
        #score { 
            left: 15px; 
            background: linear-gradient(45deg, #ffd54f, #ffb300);
        }
        #timer { 
            right: 15px;
            background: linear-gradient(45deg, #4fc3f7, #039be5);
        }

        .popup {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 700px;
            height: 470px;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #fff8e1, #ffecb3);
            border: 6px solid #ffa000;
            border-radius: 25px;
            padding: 30px;
            text-align: center;
            color: #5d4037;
            display: none;
            z-index: 20;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            font-family: 'Comic Neue', cursive;
        }
        .popup::before, .popup::after {
            content: '✨';
            position: absolute;
            font-size: 36px;
            animation: twinkle 2s infinite alternate;
        }
        .popup::before {
            top: 15px;
            left: 15px;
        }
        .popup::after {
            bottom: 15px;
            right: 15px;
        }
        
        @keyframes twinkle {
            0% { opacity: 0.5; transform: scale(1); }
            100% { opacity: 1; transform: scale(1.2); }
        }
        
        .popup h2 {
            margin: 0 0 20px;
            font-size: 28px;
            font-weight: bold;
            text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
            color: #d84315;
        }
        .popup button {
            margin-top: 25px;
            padding: 12px 25px;
            font-size: 22px;
            background: linear-gradient(45deg, #ffb300, #ff8f00);
            border: none;
            border-radius: 20px;
            color: white;
            cursor: pointer;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
            box-shadow: 0 5px 15px rgba(255, 143, 0, 0.6);
            transition: all 0.3s ease;
            font-family: 'Comic Neue', cursive;
        }
        .popup button:hover {
            transform: scale(1.08);
            box-shadow: 0 7px 20px rgba(255, 143, 0, 0.8);
        }
        .option {
            background: linear-gradient(45deg, #81d4fa, #29b6f6);
            padding: 22px;
            margin: 23px;
            cursor: pointer;
            font-size: 1.5em;
            border-radius: 18px;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        .option:hover {
            background: linear-gradient(45deg, #4fc3f7, #0288d1);
            transform: translateY(-3px);
        }
        .correct {
            background: linear-gradient(45deg, #a5d6a7, #66bb6a);
            transform: scale(1.05);
        }
        .incorrect {
            background: linear-gradient(45deg, #ef9a9a, #e57373);
            animation: shake 0.5s ease;
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-8px); }
            40%, 80% { transform: translateX(8px); }
        }
        
        #feedback {
            font-size: 1.3em;
            margin-top: 20px;
            color: #5d4037;
            font-weight: bold;
        }

        .popup-2 {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 320px;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #1a237e, #283593);
            border: 4px solid #18ffff;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            color: white;
            display: none;
            z-index: 20;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
            font-family: 'Comic Neue', cursive;
        }
        .popup-2 button {
            margin-top: 20px;
            padding: 10px 20px;
            font-size: 20px;
            background: linear-gradient(45deg, #00e5ff, #00b0ff);
            border: none;
            border-radius: 10px;
            color: white;
            cursor: pointer;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
            box-shadow: 0 5px 15px rgba(0, 230, 255, 0.6);
            transition: all 0.3s ease;
            font-family: 'Comic Neue', cursive;
        }
        .popup-2 button:hover {
            transform: scale(1.05);
            box-shadow: 0 7px 20px rgba(0, 255, 255, 0.8);
        }
        #boom-screen, #finish-page {
            font-size: 24px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }
        #boom-screen::before {
            content: '💥';
            display: block;
            font-size: 80px;
            margin-bottom: 15px;
            animation: explode 0.8s ease-out;
        }
        #finish-page::before {
            content: '🎉';
            display: block;
            font-size: 80px;
            margin-bottom: 15px;
            animation: celebrate 2s infinite ease-in-out;
        }
        @keyframes explode {
            0% { transform: scale(0.1); opacity: 0; }
            70% { transform: scale(1.8); opacity: 1; }
            100% { transform: scale(1); }
        }
        @keyframes celebrate {
            0%, 100% { transform: rotate(0) scale(1); }
            25% { transform: rotate(-15deg) scale(1.2); }
            50% { transform: rotate(0) scale(1); }
            75% { transform: rotate(15deg) scale(1.2); }
        }
        
        /* Ground effect */
        #ground {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 40px;
            background: linear-gradient(to top, #8d6e63, #5d4037);
            border-top: 4px solid #4e342e;
            z-index: 2;
        }
        
        /* Clouds */
        .cloud {
            position: absolute;
            font-size: 60px;
            top: 20px;
            opacity: 0.7;
            z-index: 1;
            animation: float 25s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translateX(-100px); }
            100% { transform: translateX(900px); }
        }
        /* Instructions */
        .instructions {
            position: absolute;
            bottom: 0;
            font-family: 'OpenDyslexic', sans-serif;
            right: 20px;
            background: rgba(0, 0, 0, 0.8);
            padding: 15px;
            border-radius: 15px;
            color: white;
            font-size: 1.1em;
            max-width: 300px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 10;
        }

        /* Touch Controls */
        .touch-controls {
            display: none;
            position: fixed;
            bottom: 50px;
            left: 0;
            right: 0;
            z-index: 100;
            justify-content: space-between;
            padding: 0 20px;
            touch-action: manipulation;
        }
        
        .touch-btn {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: 4px solid #ff6d00;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: bold;
            color: #e65100;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            user-select: none;
            touch-action: manipulation;
            transition: all 0.15s;
        }
        
        .touch-btn:active {
            transform: scale(0.95);
            background: rgba(255, 214, 79, 0.9);
        }
        
        .hook-btn {
            width: 100px;
            height: 100px;
            font-size: 32px;
            background: linear-gradient(135deg, #ffd54f, #ffb300);
            box-shadow: 0 6px 20px rgba(255, 143, 0, 0.7);
        }
        
        .left-btn { margin-left: 250px; }
        .right-btn { margin-right: 250px; }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
        body {
            padding: 60px 20px;
        }
        
        #game {
            width: 95vw;
            height: 85vh;
            max-width: 800px;
            max-height: 700px;
        }
        
        .title {
            font-size: 30px;
        }
        .instructions {
            display: none;
        }
        
        .popup {
            width: 90vw;
            max-width: 700px;
            height: auto;
            min-height: 470px;
        }
        .touch-controls {
            display: flex;
        }
        }

        @media (max-width: 768px) {
        #game {
            height: 75vh;
        }
        
        .title {
            font-size: 24px;
            margin-top: 5px;
        }
        
        #miner {
            font-size: 36px;
        }
        
        .object {
            font-size: 20px;
        }
        
        #score, #timer {
            font-size: 16px;
            padding: 1px 12px;
        }
        
        .popup {
            padding: 20px;
        }
        
        .popup h2 {
            font-size: 22px;
        }
        
        .option {
            padding: 15px;
            margin: 15px;
            font-size: 1.2em;
        }
        
        .instructions {
            display: none;
        }
        .touch-btn {
            width: 70px;
            height: 70px;
            font-size: 24px;
        }
        .hook-btn {
            width: 90px;
            height: 90px;
            font-size: 28px;
        }
        }

        @media (max-width: 480px) {
        body {
            padding: 40px 10px;
        }
        
        #game {
            height: 70vh;
        }
        
        .title {
            font-size: 20px;
        }
        .instructions {
            display: none;
        }
        
        .cloud {
            font-size: 40px;
        }
        
        #miner {
            font-size: 32px;
        }
        
        .popup {
            width: 95vw;
            padding: 15px;
        }
        
        .popup h2 {
            font-size: 18px;
            margin-bottom: 15px;
        }
        
        .option {
            padding: 10px;
            margin: 10px;
            font-size: 1em;
        }
        
        #feedback {
            font-size: 1em;
        }
        
        .popup button {
            padding: 8px 16px;
            font-size: 18px;
        }
        
        .popup-2 {
            width: 90vw;
            padding: 15px;
            font-size: 20px;
        }
        
        .popup-2 button {
            font-size: 18px;
        }
        .touch-btn {
            width: 60px;
            height: 60px;
            font-size: 20px;
        }
        
        .hook-btn {
            width: 75px;
            height: 75px;
            font-size: 24px;
        }
    }