/* Quiz Enhancements */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Increased gap */
    margin-top: 20px;
}

.quiz-btn {
    /* Base Button Style - Tactile Feel */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);

    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    width: 100%;

    /* Text Color from variable to support Light Mode */
    color: hsl(var(--text-primary));
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;

    /* Icon placeholder/alignment */
    display: flex;
    align-items: center;
}

.quiz-btn::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-right: 12px;
    transition: background 0.3s;
}

.quiz-btn:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-color: hsl(215, 90%, 60%);
    /* Accent Blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 10px hsla(215, 90%, 60%, 0.2);
    color: #fff;
}

.quiz-btn:hover::before {
    background: hsl(215, 90%, 60%);
    box-shadow: 0 0 5px hsl(215, 90%, 60%);
}

.quiz-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Success - Steady Green Glow */
.quiz-btn.correct {
    background: rgba(39, 201, 63, 0.15) !important;
    border-color: #27c93f !important;
    box-shadow: 0 0 15px rgba(39, 201, 63, 0.4), inset 0 0 10px rgba(39, 201, 63, 0.2);
    color: #fff;
    transform: none;
    /* Reset hover move */
}

.quiz-btn.correct::before {
    background: #27c93f;
    box-shadow: 0 0 8px #27c93f;
}

.quiz-btn.correct::after {
    content: ' [ACCESS GRANTED]';
    font-family: 'Fira Code', monospace;
    font-size: 0.8em;
    opacity: 0.8;
    margin-left: auto;
    /* Push to right */
}

/* Failure - Flashing Red Warning */
@keyframes flash-red {

    0%,
    100% {
        background: rgba(255, 95, 86, 0.15);
        border-color: #ff5f56;
        box-shadow: 0 0 8px #ff5f56;
    }

    50% {
        background: rgba(255, 0, 0, 0.3);
        border-color: #ff0000;
        box-shadow: 0 0 20px #ff0000;
    }
}

.quiz-btn.incorrect {
    animation: flash-red 0.6s infinite;
    color: #fff;
    transform: none;
}

.quiz-btn.incorrect::before {
    background: #ff5f56;
}

.quiz-btn.incorrect::after {
    content: ' [CRITICAL ERROR]';
    font-family: 'Fira Code', monospace;
    font-size: 0.8em;
    opacity: 0.8;
    margin-left: auto;
}