body {
            font-family: 'Courier New', monospace;
            background-color: #0a0a1a;
            color: #e0e0ff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
            overflow: hidden;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(100, 50, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 30%, rgba(255, 50, 150, 0.1) 0%, transparent 25%),
                radial-gradient(circle at 50% 80%, rgba(50, 255, 200, 0.1) 0%, transparent 30%);
        }

        /* Splash Screen Styles */
        .splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #143127;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            transition: opacity 1s ease-out;
        }

        .splash-logo {
            font-size: 3.5rem;
            color: #b388ff;
            text-shadow: 0 0 15px rgba(179, 136, 255, 0.7);
            margin-bottom: 30px;
            animation: pulse 2s infinite;
        }

        .progress-container {
            width: 200px;
            height: 10px;
            background-color: rgba(179, 136, 255, 0.2);
            border-radius: 5px;
            overflow: hidden;
            margin-top: 20px;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(to right, #7c4dff, #b388ff);
            border-radius: 5px;
            transition: width 0.3s ease;
        }

        /* Ads Screen Styles */
        .ads-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            display: none;
        }

        .ads-content {
            background: linear-gradient(135deg, #1a1a2e, #16213e);
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            max-width: 500px;
            border: 2px solid #7c4dff;
            box-shadow: 0 0 20px rgba(124, 77, 255, 0.5);
            position: relative;
        }

        .ads-title {
            color: #b388ff;
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .ads-message {
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .ads-timer {
            font-size: 2.5rem;
            color: #ffeb3b;
            margin: 20px 0;
            font-family: 'Courier New', monospace;
            text-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
        }

        .ads-progress-container {
            width: 100%;
            height: 10px;
            background-color: rgba(179, 136, 255, 0.2);
            border-radius: 5px;
            overflow: hidden;
            margin: 20px 0;
        }

        .ads-progress-bar {
            height: 100%;
            width: 100%;
            background: linear-gradient(to right, #7c4dff, #b388ff);
            border-radius: 5px;
            transition: width 1s linear;
        }

        .ads-placeholder {
            width: 100%;
            height: 250px;
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px dashed #7c4dff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
            color: #b388ff;
        }

        /* Rest of the styles remain the same */
        .container {
            text-align: center;
            max-width: 600px;
            padding: 20px;
            position: relative;
            z-index: 1;
            display: none; /* Initially hidden */
        }

        h1 {
            color: #b388ff;
            text-shadow: 0 0 10px rgba(179, 136, 255, 0.5);
            margin-bottom: 30px;
            font-size: 2.5rem;
        }

        .scene {
            display: none;
            animation: fadeIn 1s ease-in-out;
        }

        .scene.active {
            display: block;
        }

        .crystal-ball {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle at 30% 30%, #fff, #b388ff, #7c4dff);
            border-radius: 50%;
            margin: 20px auto;
            box-shadow: 
                0 0 20px #7c4dff,
                0 0 40px #b388ff,
                0 0 60px rgba(255, 255, 255, 0.3);
            position: relative;
            animation: float 3s ease-in-out infinite;
        }
        .crystal-ballend {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle at 30% 30%, #fff, #b388ff, #7c4dff);
            border-radius: 50%;
            margin: 20px auto;
            box-shadow: 
                0 0 20px #7c4dff,
                0 0 40px #b388ff,
                0 0 60px rgba(255, 255, 255, 0.3);
            position: relative;
            animation: float 3s ease-in-out infinite;
        }

        .crystal-ball::before {
            content: '';
            position: absolute;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            top: 30px;
            left: 40px;
            filter: blur(5px);
        }

        .instruction {
            font-size: 1.5rem;
            margin: 20px 0;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .floating-number {
            position: absolute;
            font-size: 1.5rem;
            color: #b388ff;
            animation: floatUp 4s linear infinite;
            opacity: 0;
        }

        button {
            background: linear-gradient(to right, #7c4dff, #b388ff);
            color: white;
            border: none;
            padding: 12px 25px;
            font-size: 1.2rem;
            border-radius: 25px;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.3s;
            box-shadow: 0 0 10px rgba(179, 136, 255, 0.5);
        }

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

        .final-number {
            font-size: 5rem;
            color: #ffeb3b;
            text-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
            margin: 20px 0;
            animation: pulse 1.5s infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        @keyframes floatUp {
            0% { transform: translateY(0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100px); opacity: 0; }
        }

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

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes typewriter {
            from { width: 0; }
            to { width: 100%; }
        }

        .typewriter {
            overflow: hidden;
            white-space: nowrap;
            animation: typewriter 2s steps(40) 1s 1 normal both;
        }

        .stars {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .star {
            position: absolute;
            background-color: white;
            border-radius: 50%;
            animation: twinkle 5s infinite;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 1; }
        }
        
        /* Music control styles */
        .music-control {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 100;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .music-control:hover {
            background: rgba(179, 136, 255, 0.5);
        }
        
        .music-icon {
            color: white;
            font-size: 24px;
        }