/* Aurora Background Animation */
@keyframes aurora-1 {
    0% { top: -20%; left: -10%; transform: scale(1); }
    50% { top: -10%; left: 10%; transform: scale(1.2); }
    100% { top: -20%; left: -10%; transform: scale(1); }
}
@keyframes aurora-2 {
    0% { top: 20%; right: -10%; transform: scale(1); }
    50% { top: 30%; right: 10%; transform: scale(1.2); }
    100% { top: 20%; right: -10%; transform: scale(1); }
}
@keyframes aurora-3 {
    0% { bottom: -20%; left: 20%; transform: scale(1); }
    50% { bottom: -10%; left: 40%; transform: scale(1.2); }
    100% { bottom: -20%; left: 20%; transform: scale(1); }
}

.animate-aurora-1 { animation: aurora-1 10s infinite ease-in-out alternate; }
.animate-aurora-2 { animation: aurora-2 12s infinite ease-in-out alternate; }
.animate-aurora-3 { animation: aurora-3 8s infinite ease-in-out alternate; }

/* Aurora Text Effect */
.aurora-text-effect {
    background: linear-gradient(
        to right,
        #6366f1,
        #a855f7,
        #ec4899,
        #6366f1
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Glassmorphism Refinements */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Smokey Cursor Canvas */
#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Responsive Grid Adjustments (if needed beyond Tailwind) */
.quiz-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Navigation Button Pulse */
.btn-play-pulse {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.kbc-shell {
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.5), transparent 55%), radial-gradient(circle at bottom, rgba(147, 51, 234, 0.5), transparent 55%), #020617;
}

.kbc-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
    border-radius: 1.5rem;
    border: 1px solid rgba(129, 140, 248, 0.5);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
}

.kbc-question-card {
    position: relative;
    border-radius: 999px;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.9), rgba(15, 23, 42, 0.98));
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.kbc-question-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.9), rgba(236, 72, 153, 0.8));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.9;
}

.kbc-option {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(129, 140, 248, 0.8);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
}

.kbc-option::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
    transform: scale(0.8);
}

.kbc-option:hover::before {
    opacity: 1;
    transform: scale(1);
}

.kbc-option-label {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: radial-gradient(circle at top, #facc15, #f97316);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}

.kbc-option-correct {
    border-color: rgba(34, 197, 94, 0.9) !important;
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.7);
}

.kbc-option-wrong {
    border-color: rgba(248, 113, 113, 0.9) !important;
    box-shadow: 0 0 35px rgba(248, 113, 113, 0.7);
}
