   body {
            font-family: 'El Messiri', sans-serif;
            background: linear-gradient(135deg, #fff0f0, #ffffff);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            margin: 0;
            padding: 0;
            transition: background 0.5s ease;
        }
        .light-red-theme {
            background: linear-gradient(135deg, #ffcccc, #ffffff);
        }
        .popup, .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255, 255, 255, 0.95);
            padding: 0.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 4px 12px rgba(255, 102, 102, 0.4);
            z-index: 1000;
            width: 90%;
            max-width: 320px;
            border: 2px solid #ff6666;
        }
        .card {
            transition: all 0.3s ease;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(255, 102, 102, 0.2);
            position: relative;
            margin: 0.25rem;
            overflow: hidden;
        }
        .card:hover {
            transform: translateY(-6px) scale(1.03);
            box-shadow: 0 6px 14px rgba(255, 102, 102, 0.3);
        }
        .gradient-bg {
            background: linear-gradient(135deg, #ff6666, #ffcccc);
        }
        svg {
            width: 100%;
            height: auto;
            margin: 0 auto;
            display: block;
        }
        svg text {
            text-anchor: middle;
            dominant-baseline: middle;
            text-transform: uppercase;
            animation: stroke 5s infinite alternate;
            stroke-width: 1.2;
            stroke: #ff6666;
            font-size: 130px;
            fill: rgba(255, 255, 255, 0);
        }
        @media (max-width: 768px) {
            svg text { 
                font-size: 110px; 
            }
        }
        @keyframes stroke {
            0% { fill: rgba(255, 255, 255, 0); stroke: #ff6666; stroke-dashoffset: 25%; stroke-dasharray: 0 50%; stroke-width: 1.2; }
            70% { fill: rgba(255, 255, 255, 0); stroke: #ff9999; }
            80% { fill: rgba(255, 255, 255, 0); stroke: #ffcccc; stroke-width: 2.5; }
            100% { fill: #fff; stroke: rgba(255, 102, 102, 0); stroke-dashoffset: -25%; stroke-dasharray: 50% 0; stroke-width: 0; }
        }
        .history-container {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: none;
            overflow: visible;
            position: relative;
        }
        .history-item {
            transition: all 0.3s ease;
            width: 100%;
            max-width: 100%;
            margin: 0;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            box-shadow: 0 3px 12px rgba(255, 102, 102, 0.15);
            position: relative;
            overflow: hidden;
            padding: 1rem;
            border-left: 4px solid transparent;
        }
        .history-item.win {
            border-left-color: #4CAF50;
            background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(255, 255, 255, 0.95));
        }
        .history-item.loss {
            border-left-color: #F44336;
            background: linear-gradient(135deg, rgba(244, 67, 54, 0.08), rgba(255, 255, 255, 0.95));
        }
        .history-item.pending {
            border-left-color: #FFC107;
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 255, 255, 0.95));
        }
        .history-item:hover {
            transform: scale(1.02);
            box-shadow: 0 5px 16px rgba(255, 102, 102, 0.25);
        }
        .history-item.fade-out {
            animation: fadeOut 0.5s ease forwards;
        }
        @keyframes fadeOut {
            0% { opacity: 1; transform: scale(1); }
            100% { opacity: 0; transform: scale(0.95); height: 0; padding: 0; margin: 0; }
        }
        .history-item .watermark {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
            font-size: 1.5rem;
            color: rgba(255, 102, 102, 0.15);
            pointer-events: none;
            z-index: 0;
            text-transform: uppercase;
            font-weight: bold;
        }
        .small-dot {
            position: absolute;
            width: 5px;
            height: 5px;
            background: #ff6666;
            border-radius: 50%;
            animation: float 4s infinite;
            z-index: 1;
        }
        @keyframes float {
            0% { transform: translate(0, 0); opacity: 0.9; }
            50% { transform: translate(10px, -10px); opacity: 0.5; }
            100% { transform: translate(0, 0); opacity: 0.9; }
        }
        .delete-btn:hover {
            color: #ff6666;
            transform: scale(1.3);
        }
        .win-badge {
            background: rgba(76, 175, 80, 0.15);
            color: #2E7D32;
        }
        .loss-badge {
            background: rgba(244, 67, 54, 0.15);
            color: #C62828;
        }
        .pending-badge {
            background: rgba(255, 193, 7, 0.15);
            color: #FF8F00;
        }
        .status-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            position: relative;
            overflow: hidden;
        }
        .status-icon::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            opacity: 0.2;
            background: radial-gradient(circle, currentColor 0%, transparent 70%);
        }
        .win-icon {
            color: #4CAF50;
            animation: pulseWin 1.5s infinite;
        }
        .loss-icon {
            color: #F44336;
            animation: pulseLoss 1s infinite;
        }
        .pending-icon {
            color: #FFC107;
            animation: rotate 2s infinite linear;
        }
        @keyframes pulseWin {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
        }
        @keyframes pulseLoss {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1001;
            cursor: pointer;
            font-size: 1.5rem;
            color: #ff6666;
            transition: color 0.3s ease;
        }
        .theme-toggle:hover {
            color: #ff9999;
        }
        .dashboard-card {
            background: linear-gradient(135deg, #fff0f0, #ffe6e6);
            border-radius: 20px;
            padding: 1rem;
            box-shadow: 0 3px 8px rgba(255, 102, 102, 0.15);
            transition: all 0.3s ease;
        }
        .light-red-theme .dashboard-card {
            background: linear-gradient(135deg, #fff0f0, #ffe6e6);
        }
        .dashboard-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 5px 12px rgba(255, 102, 102, 0.25);
        }
        @media (max-width: 768px) {
            .card { 
                padding: 0.5rem; 
                margin: 0.2rem; 
            }
            .grid-cols-2 { 
                grid-template-columns: 1fr; 
            }
            .md\\:grid-cols-3 { 
                grid-template-columns: 1fr 1fr; 
            }
            .text-3xl { 
                font-size: 1.5rem; 
            }
            .text-2xl { 
                font-size: 1.25rem; 
            }
            .text-xl { 
                font-size: 1rem; 
            }
            .text-lg { 
                font-size: 0.875rem; 
            }
            .text-sm { 
                font-size: 0.75rem; 
            }
            .p-6 { 
                padding: 0.5rem; 
            }
            .p-5 { 
                padding: 0.4rem; 
            }
            .w-12 { 
                width: 2.5rem; 
                height: 2.5rem; 
            }
            .history-item { 
                padding: 0.8rem; 
            }
            .history-item .watermark {
                font-size: 1rem;
            }
            .rounded-xl { 
                border-radius: 0.5rem; 
            }
            .gap-4 { 
                gap: 0.5rem; 
            }
            .mb-4 { 
                margin-bottom: 0.5rem; 
            }
            .mb-2 { 
                margin-bottom: 0.3rem; 
            }
            .mb-1 { 
                margin-bottom: 0.2rem; 
            }
            .px-4 { 
                padding-left: 0.5rem; 
                padding-right: 0.5rem; 
            }
            .px-2 { 
                padding-left: 0.3rem; 
                padding-right: 0.3rem; 
            }
            .py-1 { 
                padding-top: 0.25rem; 
                padding-bottom: 0.25rem; 
            }
            .space-x-2 > * + * { 
                margin-left: 0.5rem; 
            }
            .space-x-1 > * + * { 
                margin-left: 0.3rem; 
            }
            .theme-toggle {
                font-size: 1.25rem;
                top: 15px;
                right: 15px;
            }
        }