/* AI or Artist? Styles */

.game-header {
    text-align: center;
    margin-bottom: 1rem;
}

.game-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.game-header .subtitle {
    color: var(--color-text-sub);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-surface);
    border-radius: 4px;
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 10%;
}

.progress-text {
    position: absolute;
    right: 0;
    top: 12px;
    font-size: 0.85rem;
    color: var(--color-text-sub);
}

.score-display {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.score-display span {
    font-weight: 600;
}

.artwork-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.artwork-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: var(--color-surface);
}

.artwork-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.artwork-overlay.visible {
    opacity: 1;
}

.result-badge {
    font-size: 4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.artwork-info {
    text-align: center;
    max-width: 400px;
    min-height: 80px;
}

.artwork-info.hidden {
    visibility: hidden;
}

.artwork-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.artwork-explanation {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    line-height: 1.5;
}

.choice-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 1.5rem 2rem;
    border: 3px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.choice-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.choice-btn.ai-choice:hover:not(:disabled) {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.choice-btn.artist-choice:hover:not(:disabled) {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.choice-icon {
    font-size: 2.5rem;
}

.choice-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.choice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.choice-btn.selected.correct {
    border-color: var(--color-secondary);
    background: rgba(16, 185, 129, 0.2);
}

.choice-btn.selected.wrong {
    border-color: var(--color-accent);
    background: rgba(239, 68, 68, 0.2);
}

.choice-btn.correct-answer {
    border-color: var(--color-secondary);
    background: rgba(16, 185, 129, 0.15);
}

.next-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 32px;
    font-size: 1.1rem;
}

.next-btn.hidden {
    display: none;
}

.results-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 1rem 0;
    font-size: 1.5rem;
}

@media (max-width: 480px) {
    .choice-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .choice-btn {
        flex-direction: row;
        justify-content: center;
        padding: 1rem 1.5rem;
        min-width: auto;
    }

    .choice-icon {
        font-size: 1.8rem;
    }

    .artwork-frame {
        max-width: 100%;
    }
}
