@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    background-color: #020617;
    /* Deepest Slate/Black */
    color: white;
    background-image:
        radial-gradient(circle at 50% 0%, #1e293b 0%, transparent 70%),
        /* Top Light */
        radial-gradient(circle at 50% 100%, #1e1b4b 0%, transparent 70%);
    /* Bottom Purple Hue */
    background-attachment: fixed;
}

/* --- Neon Energy Bars (Glow Effects) --- */
.bg-math {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.bg-science {
    background: linear-gradient(90deg, #10b981, #34d399);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.bg-reading {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.bg-writing {
    background: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

/* --- Premium Glassmorphism --- */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    /* Darker, more transparent */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(59, 130, 246, 0.2);
    /* Blue glow on hover */
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
}

.mission-glow {
    animation: pulse-glow 3s infinite;
}

.energy-bar {
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy effect */
}

/* --- UI Utilities --- */
.text-glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.locked {
    filter: grayscale(100%) brightness(0.5);
    pointer-events: none;
}