/* SET YOUR GAME'S COLOR THEME HERE */
:root {
    --primary-color: #CC59D2;
    --primary-hover: #A445AA;
    --hero-gradient-start: rgba(204, 89, 210, 0.1);
    --hero-gradient-end: rgba(204, 89, 210, 0.05);
    --section-bg-start: rgba(204, 89, 210, 0.05);
    --section-bg-end: rgba(204, 89, 210, 0.02);
    --primary-shadow: rgba(204, 89, 210, 0.3);
    --feature-shadow: rgba(204, 89, 210, 0.15);
    --focus-shadow: rgba(204, 89, 210, 0.25);
    --mode-shadow: rgba(204, 89, 210, 0.2);
    --btn-shadow: rgba(204, 89, 210, 0.4);
    --summary-bg-start: rgba(204, 89, 210, 0.1);
    --summary-bg-end: rgba(204, 89, 210, 0.05);
    --accordion-icon-filter: invert(56%) sepia(73%) saturate(1751%) hue-rotate(263deg) brightness(92%) contrast(88%);
}

.game-stats {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
}

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

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

.fraction-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    gap: 1rem;
}

.fraction-part {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.whole-number {
    font-size: 2.5rem;
}

.fraction-numerator {
    padding: 0 1rem;
}

.fraction-line {
    width: 100%;
    height: 4px;
    background: #2c3e50;
    margin: 0.2rem 0;
}

.fraction-denominator {
    padding: 0 1rem;
}

.answer-section {
    margin: 3rem 0;
}

.answer-label {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.answer-inputs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.answer-fraction {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.fraction-input {
    width: 120px;
    height: 60px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.fraction-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--focus-shadow);
}

.fraction-input.correct {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.fraction-input.incorrect {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.answer-divider {
    width: 120px;
    height: 4px;
    background: #2c3e50;
    margin: 0.2rem 0;
}

.whole-input {
    width: 100px;
}

.submit-btn {
    display: block;
    margin: 2rem auto;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--btn-shadow);
}

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

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-btn {
    display: none;
    margin: 2rem auto;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-btn.show {
    display: block;
}

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

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

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

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