 :root {
            --primary-color: #e63946;
            --bg-color: #0a0a0a;
            --text-color: #f8f9fa;
            --section-bg: rgba(10, 10, 10, 0.95);
            --border-color: #2d2d2d;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(45, 45, 45, 0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(45, 45, 45, 0.15) 1px, transparent 1px);
            background-size: 30px 30px;
            z-index: -1;
            pointer-events: none;
        }

        body.light-mode {
            --bg-color: #f8f9fa;
            --text-color: #0a0a0a;
            --section-bg: rgba(248, 249, 250, 0.95);
            --border-color: #dee2e6;
        }

        .navbar {
            background: var(--section-bg);
            border-bottom: 1px solid var(--primary-color);
            backdrop-filter: blur(10px);
        }

        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: var(--section-bg);
            border: 1px solid var(--border-color);
        }

        .custom-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
        }

        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: var(--primary-color);
            z-index: 999;
            transition: width 0.2s ease-out;
        }

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

        .floating { animation: float 2s ease-in-out infinite; }
        .pulse-animation { animation: pulse 1.5s ease-in-out infinite; }

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

         
        .reaction-container {
            position: fixed;
            pointer-events: none;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 50;
            overflow: hidden;
        }
        
        .reaction {
            position: absolute;
            font-size: 24px;
            user-select: none;
        }

        .history-item {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 0.5rem;
            background: var(--section-bg);
        }