   :root {
            --primary: #00a5e0;
            --primary-dark: #0077b6;
            --secondary: #ff6b6b;
            --success: #4caf50;
            --warning: #ff9800;
            --danger: #f44336;
            --light: #f8f9fa;
            --dark: #212529;
            --gold: #ffd700;
        }
        
        body {
            font-family: 'El Messiri', sans-serif;
            background: linear-gradient(135deg, #e3fdff, #baf7ff);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            margin: 0;
            padding: 0;
            color: var(--dark);
        }
        
        /* Floating particles background */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }
        
        .particle {
            position: absolute;
            background: rgba(0, 165, 224, 0.5);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translateY(0) rotate(0deg); opacity: 1; }
            100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
        }
        
        /* Main container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }
        
        /* Header with animated text */
        .header {
            text-align: center;
            margin: 1rem 0;
            position: relative;
            overflow: hidden;
            padding: 1rem 0;
        }
        
        .header-title {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
            display: inline-block;
            padding: 0 1rem;
        }
        
        .header-title::before, .header-title::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 50vw;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary));
        }
        
        .header-title::before {
            right: 100%;
        }
        
        .header-title::after {
            left: 100%;
            background: linear-gradient(90deg, var(--primary), transparent);
        }
        
        /* Cards */
        .card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        }
        
        /* Current period/result card */
        .current-info {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        
        @media (max-width: 768px) {
            .current-info {
                grid-template-columns: 1fr;
            }
        }
        
        .info-box {
            padding: 1.5rem;
            border-radius: 12px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .period-box {
            background: linear-gradient(135deg, #e3fdff, #baf7ff);
        }
        
        .result-box {
            background: linear-gradient(135deg, #ffefba, #ffffff);
        }
        
        .info-label {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .info-label i {
            margin-right: 0.5rem;
        }
        
        .period-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-dark);
        }
        
        .result-value {
            font-size: 2.5rem;
            font-weight: 800;
            text-transform: uppercase;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            padding: 0.5rem;
            border-radius: 8px;
            display: inline-block;
        }
        
        /* Stats grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }
        
        .stat-card {
            padding: 1.5rem;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: scale(1.05);
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        /* History section */
        .history-container {
            max-height: 500px;
            overflow-y: auto;
            padding-right: 0.5rem;
        }
        
        .history-item {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 0.75rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary);
        }
        
        .history-item:hover {
            transform: translateX(5px);
            background: rgba(255, 255, 255, 1);
        }
        
        .history-period {
            font-weight: 600;
            color: var(--primary-dark);
        }
        
        .history-prediction {
            font-weight: 700;
            text-transform: uppercase;
        }
        
        .history-status {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        
        .status-win {
            background-color: rgba(76, 175, 80, 0.2);
            color: var(--success);
            animation: pulse-green 2s infinite;
        }
        
        .status-loss {
            background-color: rgba(244, 67, 54, 0.2);
            color: var(--danger);
            animation: pulse-red 2s infinite;
        }
        
        .status-pending {
            background-color: rgba(255, 152, 0, 0.2);
            color: var(--warning);
            animation: pulse-orange 2s infinite;
        }
        
        @keyframes pulse-green {
            0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
            100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
        }
        
        @keyframes pulse-red {
            0% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(244, 67, 54, 0); }
            100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0); }
        }
        
        @keyframes pulse-orange {
            0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(255, 152, 0, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
        }
        
        /* Buttons */
        .btn {
            padding: 0.5rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn i {
            margin-right: 0.5rem;
        }
        
        .btn-primary {
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 165, 224, 0.4);
        }
        
        /* Popups */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .popup {
            background: white;
            border-radius: 15px;
            width: 90%;
            max-width: 400px;
            padding: 2rem;
            text-align: center;
            position: relative;
            transform: scale(0.8);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .popup-overlay.active .popup {
            transform: scale(1);
            opacity: 1;
        }
        
        .popup-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark);
        }
        
        .popup-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }
        
        .popup-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .popup-message {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        /* Specific popup styles */
        .jackpot-popup .popup-icon {
            color: var(--gold);
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }
        
        .jackpot-popup .popup-title {
            color: var(--gold);
        }
        
        .win-popup .popup-icon {
            color: var(--success);
        }
        
        .win-popup .popup-title {
            color: var(--success);
        }
        
        .loss-popup .popup-icon {
            color: var(--danger);
        }
        
        .loss-popup .popup-title {
            color: var(--danger);
        }
        
        .streak-popup .popup-icon {
            color: var(--warning);
        }
        
        .streak-popup .popup-title {
            color: var(--warning);
        }
        
        /* Confetti effect */
        .confetti {
            position: fixed;
            width: 10px;
            height: 10px;
            background-color: #f00;
            opacity: 0;
            z-index: 999;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .header-title {
                font-size: 1.8rem;
            }
            
            .info-label {
                font-size: 1rem;
            }
            
            .period-value {
                font-size: 1.5rem;
            }
            
            .result-value {
                font-size: 1.8rem;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .stat-card {
                padding: 1rem;
            }
            
            .stat-value {
                font-size: 1.2rem;
            }
        }