/* SET YOUR GAME'S COLOR THEME HERE */
:root {
    --primary-color: #00bcd4;
    --primary-hover: #009688;
    --hero-gradient-start: rgba(0, 188, 212, 0.1);
    --hero-gradient-end: rgba(0, 150, 136, 0.1);
    --section-bg-start: rgba(0, 188, 212, 0.05);
    --section-bg-end: rgba(0, 150, 136, 0.05);
    --primary-shadow: rgba(0, 188, 212, 0.3);
    --feature-shadow: rgba(0, 188, 212, 0.15);
    --focus-shadow: rgba(0, 188, 212, 0.25);
    --mode-shadow: rgba(0, 188, 212, 0.2);
    --btn-shadow: rgba(0, 188, 212, 0.4);
    --summary-bg-start: rgba(0, 188, 212, 0.1);
    --summary-bg-end: rgba(0, 150, 136, 0.05);
    --accordion-icon-filter: invert(62%) sepia(58%) saturate(4070%) hue-rotate(155deg) brightness(95%) contrast(101%);
}

.question-display {
    text-align: center;
    margin: 2rem 0;
}

.question-prompt {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.question-number {
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1rem 0;
}

.question-divisor {
    font-size: 1.8rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.answer-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.answer-btn {
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-btn.yes {
    background: white;
    border-color: #4caf50;
    color: #4caf50;
}

.answer-btn.yes:hover {
    background: #4caf50;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.answer-btn.no {
    background: white;
    border-color: #f44336;
    color: #f44336;
}

.answer-btn.no:hover {
    background: #f44336;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

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

.btn-primary-gradient,

/* Divisibility Rules Section Styling */
.divisibility-rules {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hints Button Styling - matches page primary gradient */
.btn-hints {
    background: linear-gradient(135deg, var(--primary-color, #00bcd4) 0%, var(--primary-dark, #0097a7) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hints:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
    filter: brightness(1.1);
}

.btn-hints:active {
    transform: translateY(0);
}

.btn-hints i {
    font-size: 1.2rem;
}

/* Modal Customization - matches page color scheme */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color, #00bcd4) 0%, var(--primary-dark, #0097a7) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
    border: none;
}

.modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.modal-body {
    padding: 0;
    max-height: 70vh;
}

.modal-body .divisibility-rules {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
}

.rule-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    gap: 1.5rem;
    transition: transform 0.2s ease;
}

.rule-item:hover {
    transform: translateX(5px);
}

.rule-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    min-width: 60px;
    text-align: center;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.3);
}

.rule-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    flex: 1;
}

/* Color scheme for each rule - matching the reference image */
.rule-2 {
    background: linear-gradient(135deg, #b19cd9 0%, #a08dc9 100%);
}

.rule-3 {
    background: linear-gradient(135deg, #f9d423 0%, #e8c413 100%);
}

.rule-4 {
    background: linear-gradient(135deg, #87ceeb 0%, #77bedb 100%);
}

.rule-5 {
    background: linear-gradient(135deg, #ff9999 0%, #ff8989 100%);
}

.rule-6 {
    background: linear-gradient(135deg, #90ee90 0%, #80de80 100%);
}

.rule-7 {
    background: linear-gradient(135deg, #9370db 0%, #8360cb 100%);
}

.rule-8 {
    background: linear-gradient(135deg, #ffa500 0%, #ff9500 100%);
}

.rule-9 {
    background: linear-gradient(135deg, #87ceeb 0%, #77bedb 100%);
}

.rule-10 {
    background: linear-gradient(135deg, #ff9999 0%, #ff8989 100%);
}

.rule-11 {
    background: linear-gradient(135deg, #b19cd9 0%, #a08dc9 100%);
}

.rule-12 {
    background: linear-gradient(135deg, #90ee90 0%, #80de80 100%);
}

.rule-note {
    background: linear-gradient(135deg, #90ee90 0%, #80de80 100%);
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.rule-note i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rule-item {
        padding: 1rem;
        gap: 1rem;
    }

    .rule-number {
        font-size: 2rem;
        min-width: 50px;
    }

    .rule-text {
        font-size: 1rem;
    }

    .rule-note {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .rule-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .rule-number {
        font-size: 1.8rem;
        min-width: auto;
    }

    .rule-text {
        font-size: 0.95rem;
    }
}
