/* Mode Selection */
.mode-selection {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Flag Option Styles */
.option-btn.flag-option {
    padding: 0.5rem;
    height: 160px;
    /* Fixed height for consistency */
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.option-btn.flag-option img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Specific hover effect for flags */
.option-btn.flag-option:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Correct/Wrong states for flags need to be visible on the container */
.option-btn.flag-option.correct {
    background: rgba(46, 204, 113, 0.4) !important;
    border-color: #2ecc71;
}

.option-btn.flag-option.wrong {
    background: rgba(231, 76, 60, 0.4) !important;
    border-color: var(--danger-color);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .mode-selection {
        flex-direction: column;
        gap: 0.8rem;
    }

    .mode-selection .action-btn {
        width: 100%;
    }

    .option-btn.flag-option {
        height: 120px;
        /* Smaller flags on mobile */
    }
}