
        :root {
            --primary: #0f172a;
            --secondary: #1e293b;
            --accent: #f59e0b;
            --accent-dark: #d97706;
            --text: #e2e8f0;
            --text-light: #94a3b8;
            --success: #10b981;
            --danger: #ef4444;
            --glass: rgba(255, 255, 255, 0.05);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #0f172a, #1e293b);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }
        
        .header {
            background-color: var(--primary);
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid var(--glass);
        }
        
        .logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--accent);
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 10px;
        }
        
        .user-info {
            display: flex;
            align-items: center;
        }
        
        .balance, .points {
            display: flex;
            align-items: center;
            margin-left: 15px;
            font-size: 14px;
            background: var(--glass);
            padding: 5px 10px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .balance:hover, .points:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .balance i, .points i {
            margin-right: 5px;
            color: var(--accent);
        }
        
        .main-container {
            flex: 1;
            padding: 20px;
            max-width: 500px;
            margin: 0 auto;
            width: 100%;
        }
        
        .game-card {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            border: 1px solid var(--glass);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .game-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
            z-index: 0;
        }
        
        .game-title {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--accent);
            font-weight: 700;
            position: relative;
            text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
        }
        
        .game-subtitle {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 25px;
            position: relative;
        }
        
        .slots-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
            perspective: 1000px;
        }
        
        .slot {
            width: 60px;
            height: 80px;
            background: linear-gradient(145deg, #1e293b, #0f172a);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            font-weight: 700;
            color: var(--accent);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
                        inset 0 0 10px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(245, 158, 11, 0.3);
        }
        
        .slot::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
            z-index: 1;
        }
        
        .slot::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
            z-index: 1;
        }
        
        .slot-number {
            position: relative;
            z-index: 2;
            text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
        }
        
        .spin-btn {
            background: linear-gradient(to right, var(--accent), var(--accent-dark));
            color: #fff;
            border: none;
            padding: 16px 0;
            font-size: 18px;
            border-radius: 50px;
            cursor: pointer;
            width: 100%;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
            transition: all 0.3s ease;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .spin-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
        }
        
        .spin-btn:active {
            transform: translateY(1px);
        }
        
        .spin-btn:disabled {
            background: #64748b;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .spin-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }
        
        .spin-btn:hover:before {
            left: 100%;
        }
        
        .floating-coins {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 5;
            overflow: hidden;
        }
        
        .coin {
            position: absolute;
            width: 24px;
            height: 24px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f59e0b"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/><path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"/></svg>');
            background-size: contain;
            opacity: 0;
            animation: float-up 2s ease-out forwards;
            filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.7));
        }
        
        @keyframes float-up {
            0% {
                transform: translateY(0) rotate(0deg) scale(0.5);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                transform: translateY(-150px) rotate(360deg) scale(1.2);
                opacity: 0;
            }
        }
        
        .confetti {
            position: fixed;
            width: 12px;
            height: 12px;
            background-color: var(--accent);
            animation: fall 5s linear forwards;
            z-index: 1000;
            pointer-events: none;
            opacity: 0;
        }
        
        @keyframes fall {
            0% {
                transform: translateY(-100vh) rotate(0deg) scale(0.5);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(720deg) scale(1);
                opacity: 0;
            }
        }
        
        .history-container {
            background: var(--glass);
            border-radius: 15px;
            padding: 20px;
            margin-top: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }
        
        .history-title {
            font-size: 16px;
            margin-bottom: 15px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            font-weight: 500;
        }
        
        .history-title i {
            margin-right: 10px;
            color: var(--accent);
        }
        
        .history-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 14px;
            align-items: center;
        }
        
        .history-item:last-child {
            border-bottom: none;
        }
        
        .history-amount {
            color: var(--accent);
            font-weight: 600;
            background: rgba(245, 158, 11, 0.1);
            padding: 3px 10px;
            border-radius: 20px;
            border: 1px solid rgba(245, 158, 11, 0.3);
        }
        
        .history-time {
            color: var(--text-light);
            font-size: 12px;
        }
        
        .history-numbers {
            font-family: monospace;
            letter-spacing: 2px;
        }
        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .modal-overlay.active {
            opacity: 1;
            pointer-events: all;
        }
        
        .modal-content {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 20px;
            padding: 30px;
            width: 90%;
            max-width: 400px;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--glass);
            transform: scale(0.8);
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .modal-overlay.active .modal-content {
            transform: scale(1);
        }
        
        .modal-content::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
            z-index: 0;
        }
        
        .modal-content h2 {
            font-size: 26px;
            margin-bottom: 15px;
            color: var(--accent);
            position: relative;
        }
        
        .modal-content p {
            margin-bottom: 20px;
            color: var(--text-light);
            position: relative;
            line-height: 1.6;
        }
        
        .modal-amount {
            font-size: 32px;
            font-weight: 700;
            color: var(--accent);
            margin: 15px 0;
            text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
            position: relative;
        }
        
        .winning-numbers {
            font-size: 24px;
            font-weight: 700;
            letter-spacing: 5px;
            color: var(--accent);
            margin: 15px 0;
            font-family: monospace;
        }
        
        .claim-btn {
            background: linear-gradient(to right, var(--success), #34d399);
            color: #fff;
            border: none;
            padding: 16px 0;
            font-size: 18px;
            border-radius: 50px;
            cursor: pointer;
            width: 100%;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
            transition: all 0.3s ease;
            margin-top: 15px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .claim-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
        }
        
        .claim-btn:active {
            transform: translateY(1px);
        }
        
        .claim-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }
        
        .claim-btn:hover:before {
            left: 100%;
        }
        
        .withdraw-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }
        
        .withdraw-modal.active {
            display: flex;
        }
        
        .withdraw-content {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 20px;
            padding: 30px;
            width: 90%;
            max-width: 400px;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--glass);
            position: relative;
        }
        
        .withdraw-content h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--accent);
        }
        
        .withdraw-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .withdraw-option {
            background: var(--glass);
            padding: 15px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            text-align: left;
        }
        
        .withdraw-option:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }
        
        .withdraw-option i {
            font-size: 24px;
            margin-right: 15px;
            color: var(--accent);
            width: 30px;
            text-align: center;
        }
        
        .withdraw-option .option-text {
            flex: 1;
        }
        
        .withdraw-option .option-title {
            font-weight: 600;
            margin-bottom: 3px;
        }
        
        .withdraw-option .option-subtitle {
            font-size: 12px;
            color: var(--text-light);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 20px;
            cursor: pointer;
        }
        
        .mini-congrats {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 15px 25px;
            border-radius: 10px;
            z-index: 1000;
            text-align: center;
            border: 1px solid var(--accent);
            animation: fadeInOut 2s ease-out forwards;
        }
        
        @keyframes fadeInOut {
            0% { opacity: 0; transform: translate(-50%, -40%); }
            20% { opacity: 1; transform: translate(-50%, -50%); }
            80% { opacity: 1; transform: translate(-50%, -50%); }
            100% { opacity: 0; transform: translate(-50%, -60%); }
        }
        
        .money-rain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1001;
            overflow: hidden;
        }
        
        .money-bill {
            position: absolute;
            width: 40px;
            height: 20px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f59e0b"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/><path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"/></svg>');
            background-size: contain;
            background-repeat: no-repeat;
            opacity: 0;
            animation: money-fall linear forwards;
        }
        
        @keyframes money-fall {
            0% {
                transform: translateY(-100px) rotate(0deg) scale(0.5);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            100% {
                transform: translateY(calc(100vh + 100px)) rotate(360deg) scale(1);
                opacity: 0;
            }
        }
        
        @media (max-width: 400px) {
            .slot {
                width: 50px;
                height: 70px;
                font-size: 30px;
            }
            
            .header {
                padding: 15px 10px;
            }
            
            .balance, .points {
                margin-left: 10px;
                font-size: 13px;
            }
            
            .game-card {
                padding: 20px;
            }
        }
    