:root {
    --primary-color: #f093fb;
    --primary-hover: #e67fe8;
    --hero-gradient-start: rgba(240, 147, 251, 0.1);
    --hero-gradient-end: rgba(245, 87, 108, 0.1);
    --section-bg-start: rgba(240, 147, 251, 0.05);
    --section-bg-end: rgba(245, 87, 108, 0.05);
    --primary-shadow: rgba(240, 147, 251, 0.3);
    --feature-shadow: rgba(240, 147, 251, 0.15);
    --focus-shadow: rgba(240, 147, 251, 0.25);
    --mode-shadow: rgba(240, 147, 251, 0.2);
    --btn-shadow: rgba(240, 147, 251, 0.4);
    --summary-bg-start: rgba(240, 147, 251, 0.1);
    --summary-bg-end: rgba(245, 87, 108, 0.05);
    --accordion-icon-filter: invert(82%) sepia(34%) saturate(2847%) hue-rotate(284deg) brightness(100%) contrast(97%);
    --btn-text-color: #d81b60;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    font-variant-numeric: oldstyle-nums;
}

/* Question Display - Monospace for math equations */
.question-display {
    font-family: 'Courier New', Consolas, monospace;
    letter-spacing: 0.05em;
}

/* Answer Input - Number specific styling */
.answer-input {
    font-family: 'Courier New', Consolas, monospace;
}

/* Remove spinner arrows from number input */
.answer-input::-webkit-outer-spin-button,
.answer-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.answer-input[type=number] {
    -moz-appearance: textfield;
}

/* Feedback Icon */
.feedback-icon {
    min-width: 40px;
}

/* Timer Animation - Low time warning */
.timer-low {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Missing Factor Highlight in Examples */
.missing-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Example Box Styling */
.example-box {
    background: rgba(240, 147, 251, 0.1);
    border: 2px solid rgba(240, 147, 251, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.example-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.example-answer {
    font-size: 1rem;
    color: #666;
}

@keyframes flash-correct {
    0%, 100% {
        background-color: transparent;
        border-color: transparent;
    }
    50% {
        background-color: rgba(76, 175, 80, 0.2);
        border: 3px solid #4caf50;
    }
}

@keyframes flash-wrong {
    0%, 100% {
        background-color: transparent;
        border-color: transparent;
    }
    50% {
        background-color: rgba(244, 67, 54, 0.2);
        border: 3px solid #f44336;
    }
}

.content-card.flash-correct {
    animation: flash-correct 0.6s ease;
}

.content-card.flash-wrong {
    animation: flash-wrong 0.6s ease;
}

/* Clickable steps */
.step.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.step.clickable:hover {
    transform: scale(1.05);
}

.step.clickable:hover .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Locked steps (non-clickable) */
.step.locked {
    cursor: not-allowed;
    opacity: 0.5;
}

.step.locked:hover {
    transform: none;
}

/* Force stat cards to stay on one row with equal widths */
.game-stats {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
}

.stat-card {
    flex: 1;
    min-width: 0;
}
