        :root {
            --primary: #10b981;
            --secondary: #047857;
            --accent: #f59e0b;
            --dark: #064e3b;
            --light: #ecfdf5;
        }
        
        body {
            font-family: 'El Messiri', sans-serif;
            background-color: #f0fdf4;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(167, 243, 208, 0.15) 0%, transparent 90%),
                radial-gradient(circle at 90% 80%, rgba(167, 243, 208, 0.15) 0%, transparent 90%);
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        .glass-card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px rgba(5, 150, 105, 0.1);
            transition: all 0.3s ease;
        }
        
        .glass-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(5, 150, 105, 0.15);
        }
        
        .win-animation {
            animation: winFlash 1.5s ease-out;
            position: relative;
            overflow: hidden;
        }
        
        .win-animation::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
            transform: scale(0);
            opacity: 0;
            animation: winRipple 1.5s ease-out;
        }
        
        .loss-animation {
            animation: lossShake 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        .rotate {
            animation: rotate 10s linear infinite;
        }
        
        .number-glow {
            animation: numberGlow 2s infinite alternate;
        }
        
        .badge-pop {
            animation: badgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes winFlash {
            0% { background-color: rgba(16, 185, 129, 0.1); }
            50% { background-color: rgba(16, 185, 129, 0.3); }
            100% { background-color: rgba(255, 255, 255, 0.85); }
        }
        
        @keyframes winRipple {
            0% { transform: scale(0); opacity: 0.8; }
            100% { transform: scale(1); opacity: 0; }
        }
        
        @keyframes lossShake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
            70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }
        
        @keyframes floating {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        @keyframes numberGlow {
            0% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.3); }
            100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.6); }
        }
        
        @keyframes badgePop {
            0% { transform: scale(0); opacity: 0; }
            80% { transform: scale(1.1); }
            100% { transform: scale(1); opacity: 1; }
        }
        
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        
        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .progress-ring {
            transition: stroke-dashoffset 0.5s ease;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
        }
        
        /* Popup styles */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .popup-content {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px rgba(5, 150, 105, 0.2);
            border-radius: 16px;
            width: 90%;
            max-width: 400px;
            padding: 25px;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .popup-overlay.active .popup-content {
            transform: translateY(0);
        }
        
        .popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(5, 150, 105, 0.1);
        }
        
        .popup-close {
            background: none;
            border: none;
            font-size: 20px;
            color: #047857;
            cursor: pointer;
        }