
        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            overflow-x: hidden;
        }
        
        body {
            font-family: 'Comic Sans MS', cursive, sans-serif;
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            padding: 20px 10px; /* Reduced side padding */
            min-height: 100vh;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
        }

        .container {
            max-width: 1000px;
            width: 100%;
            text-align: center;
            margin: 0 auto;
            padding: 10px;
            box-sizing: border-box;
        }

        h1 {
            color: #FFD700;
            font-size: 2.4em;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
            margin-bottom: 5px;
            padding: 0 10px;
        }

        .subtitle {
            color: #4fc3f7;
            font-size: 1.2em;
            margin-bottom: 20px;
            padding: 0 10px;
        }

        .question-container {
            background: rgba(0, 0, 50, 0.5);
            border: 2px solid #4fc3f7;
            border-radius: 15px;
            padding: 15px;
            margin: 15px auto;
            max-width: 800px;
            box-shadow: 0 0 15px rgba(79, 195, 247, 0.3);
        }

        .question {
            font-size: 1.7em;
            margin-bottom: 15px;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 10px;
            line-height: 1.3;
        }

        .planets-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin: 20px 0;
            padding: 0 10px;
        }

        .planet {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
            flex: 0 0 auto;
            padding: 0;
            background-color: transparent;
        }

        .planet img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        @media (min-width: 768px) {
            .planet {
                width: 120px;
                height: 120px;
            }
        }

        .planet:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
        }

        .planet.selected {
            transform: scale(1.15);
            box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
        }

        .correct-answer {
            box-shadow: 0 0 25px 5px rgba(0, 255, 0, 0.8) !important;
        }

        .planet-label {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            margin: 0 auto;
            width: fit-content;
            font-size: 1.0em;
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 2px 8px;
            border-radius: 5px;
        }

        .controls {
            margin: 15px 0;
        }

        button {
            background: linear-gradient(to bottom, #FFD700, #FFA500);
            border: none;
            color: #000;
            padding: 12px 20px;
            font-size: 1.3em;
            font-weight: bold;
            border-radius: 50px;
            cursor: pointer;
            margin: 8px;
            transition: all 0.3s;
            font-family: 'Comic Sans MS', cursive, sans-serif;
            min-width: 120px;
        }

        button:hover {
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
        }

        button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .score-container {
            margin-top: 15px;
            font-size: 1.4em;
            color: #FFD700;
        }

        .feedback {
            font-size: 1.6em;
            height: 40px;
            margin: 15px 0;
            font-weight: bold;
        }

        .correct {
            color: #7cff00 !important;
            text-shadow: 0 0 8px rgba(124, 255, 0, 0.7);
        }

        .incorrect {
            color: #ff3c00 !important;
            text-shadow: 0 0 8px rgba(255, 60, 0, 0.7);
        }

        .difficulty {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
            font-size: 1.1em;
        }

        /* Mobile-specific styles */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            h1 {
                font-size: 2.2em;
            }
            
            .question {
                font-size: 1.4em;
            }
            
            .planets-container {
                gap: 10px;
            }
            
            .planet {
                width: 70px;
                height: 70px;
            }
            
            .planet-label {
                font-size: 0.9em;
                bottom: -25px;
            }
            
            button {
                padding: 10px 15px;
                font-size: 1.2em;
                margin: 5px;
                min-width: 100px;
            }
            
            .feedback {
                font-size: 1.4em;
            }
            
            .score-container {
                font-size: 1.3em;
            }
            
            .question-container {
                padding: 10px;
                margin: 10px auto;
            }
        }
        
        @media (max-width: 480px) {
            h1 {
                font-size: 1.8em;
            }
            
            .subtitle {
                font-size: 1.1em;
            }
            
            .question {
                font-size: 1.3em;
            }
            
            .planets-container {
                gap: 8px;
            }
            
            .planet {
                width: 60px;
                height: 60px;
            }
            
            .planet-label {
                font-size: 0.8em;
                bottom: -25px;
            }
            
            button {
                padding: 9px 12px;
                font-size: 1.1em;
                min-width: 90px;
            }
            
            .feedback {
                font-size: 1.3em;
            }
        }

        .easy {
            background: rgba(0, 255, 0, 0.2);
            border: 1px solid #00ff00;
        }

        .medium {
            background: rgba(255, 165, 0, 0.2);
            border: 1px solid #ffa500;
        }

        .hard {
            background: rgba(255, 0, 0, 0.2);
            border: 1px solid #ff0000;
        }

        #difficulty-selection {
            text-align: center;
            margin-top: 20vh;
        }

        .difficulty-btn {
            font-size: 1.5em;
            padding: 15px 30px;
            margin: 10px;
            border-radius: 10px;
            border: 2px solid #fff;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s;
        }

        .difficulty-btn.easy {
            background-color: #4CAF50;
        }

        .difficulty-btn.medium {
            background-color: #ff9800;
        }

        .difficulty-btn.hard {
            background-color: #f44336;
        }

        .difficulty-btn:hover {
            transform: scale(1.1);
        }
    