  :root {
            --color-midnight: #0a0a0a;
            --color-deep-blue: #1c233c;
            --color-emerald: #10b981;
            --color-teal: #2dd4bf;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--color-midnight);
            color: #f3f4f6;
            overflow-x: hidden;
        }

        /* Custom scrollbar for aesthetics */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--color-midnight); }
        ::-webkit-scrollbar-thumb { background: var(--color-deep-blue); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--color-teal); }

        /* Glassmorphism Base Style */
        .glass-card {
            background-color: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
        }

        .glass-card:hover {
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.05), 0 0 30px rgba(45, 212, 191, 0.3);
        }

        /* Glowing Button Effect */
        .btn-glow {
            position: relative;
            z-index: 10;
            overflow: hidden;
        }
        .btn-glow::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(30, 255, 175, 0.2), transparent 70%);
            opacity: 0;
            transition: opacity 0.5s;
            z-index: -1;
        }
        .btn-glow:hover::before {
            opacity: 1;
        }

.hero-bg {
    background-image: url('https://i.pinimg.com/1200x/de/a5/2a/dea52a400c8188310ca3ea298a3894ec.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}      

/* 

        /* Glowing Category Block */
        .category-block {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            background-color: var(--color-deep-blue);
            border: 1px solid rgba(16, 185, 129, 0.2); /* Emerald border */
        }
        .category-block:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
            border-color: var(--color-emerald);
        }
        .category-block::after {
            content: '';
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: linear-gradient(60deg, rgba(45, 212, 191, 0.1) 0%, transparent 50%, rgba(16, 185, 129, 0.1) 100%);
            transition: transform 0.8s ease;
        }
        .category-block:hover::after {
            transform: rotate(30deg) translate(20px, 20px);
        }

        /* Calculator/Quiz specific styles */
        .calculator-result {
            background-color: rgba(45, 212, 191, 0.1);
            border: 1px solid var(--color-teal);
        }
        .quiz-option {
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .quiz-option:hover {
            background-color: rgba(45, 212, 191, 0.2);
        }
        .quiz-option.selected {
            border-color: var(--color-emerald);
            background-color: rgba(16, 185, 129, 0.3);
        }

.popup-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-card {
    background: #0f172a;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 0 25px rgba(0,255,200,0.2);
    animation: popIn 0.3s ease;
    color: white;
    text-align: center;
}

.close-popup {
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: #14b8a6;
    color: white;
    border-radius: 0.5rem;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
