/* ===== Results Screen ===== */
.results-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-card {
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 100%;
}

.results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    color: var(--accent-green);
    animation: bounce 0.6s ease;
}

.results-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.results-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-score {
    margin-bottom: 1.5rem;
}

.score-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: conic-gradient(
        var(--gradient-start) 0%,
        var(--gradient-end) 50%,
        var(--bg-card) 50%
    );
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--bg-secondary);
    border-radius: 50%;
}

.score-percent {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-details {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.results-message {
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.results-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.action-btn svg {
    width: 20px;
    height: 20px;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.action-btn.secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.action-btn.secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.action-btn.tertiary {
    background: transparent;
    color: var(--text-muted);
}

.action-btn.tertiary:hover {
    color: var(--text-primary);
}

/* ===== Review Screen ===== */
.review-screen {
    animation: fadeIn 0.4s ease;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.review-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent-green);
}

.review-item.incorrect {
    border-left-color: var(--accent-red);
}

.review-question-num {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.review-question-text {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.review-answer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.review-answer.your-answer {
    border: 1px solid var(--accent-red);
}

.review-answer.correct-answer {
    border: 1px solid var(--accent-green);
}

.answer-icon {
    font-size: 1.25rem;
}

.answer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 100px;
}

.answer-text {
    color: var(--text-primary);
}

.review-actions {
    display: flex;
    justify-content: center;
}
