/* SET YOUR GAME'S COLOR THEME HERE */
:root {
    --primary-color: #8bc34a;
    --primary-hover: #689f38;
    --hero-gradient-start: rgba(176, 230, 104, 0.1);
    --hero-gradient-end: rgba(139, 195, 74, 0.1);
    --section-bg-start: rgba(176, 230, 104, 0.05);
    --section-bg-end: rgba(139, 195, 74, 0.05);
    --primary-shadow: rgba(139, 195, 74, 0.3);
    --feature-shadow: rgba(139, 195, 74, 0.15);
    --focus-shadow: rgba(139, 195, 74, 0.25);
    --mode-shadow: rgba(139, 195, 74, 0.2);
    --btn-shadow: rgba(139, 195, 74, 0.4);
    --summary-bg-start: rgba(176, 230, 104, 0.1);
    --summary-bg-end: rgba(139, 195, 74, 0.05);
    --accordion-icon-filter: invert(64%) sepia(23%) saturate(849%) hue-rotate(43deg) brightness(94%) contrast(87%);
}

.question-instruction {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.divisor-display {
    font-weight: 700;
    color: var(--primary-color);
}

.math-expression {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
}

.missing-digit-input {
    width: 80px;
    height: 100px;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    border: 3px solid var(--primary-color);
    border-radius: 0.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.missing-digit-input:focus {
    outline: none;
    border-color: var(--primary-hover);
    background: white;
    box-shadow: 0 0 0 3px var(--focus-shadow);
}

.missing-digit-input.correct {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.missing-digit-input.incorrect {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.feedback {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedback.show {
    opacity: 1;
}

.feedback.correct {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.feedback.incorrect {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 2px solid #f44336;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.game-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px var(--btn-shadow);
}

.game-button.primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--btn-shadow);
}

.game-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-button.secondary {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.game-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@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;
}
