/* Reddit vs Corpus — Answers Page Styles */

/* Stat bar */
.stat-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ef4444;
    letter-spacing: -0.02em;
}
.stat-label {
    color: #86868B;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Filter buttons */
.filter-btn {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background: transparent;
    color: #86868B;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Geist', sans-serif;
}
.filter-btn:hover {
    border-color: rgba(255,255,255,0.2);
    color: #F5F5F7;
}
.filter-btn.active {
    background: rgba(96, 165, 250, 0.15);
    border-color: #60a5fa;
    color: #60a5fa;
}

/* ---- Comparison Cards (3-section stacked layout) ---- */
.comparison-card {
    margin-bottom: 3.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.01);
    transition: opacity 0.3s;
}
.comparison-card.hidden { display: none; }

/* Section 1: The Original Post */
.post-section {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.post-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}
.post-content { flex: 1; }
.question-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}
.sub-badge, .score-badge, .comment-badge, .topic-badge, .date-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.sub-badge {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}
.score-badge {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}
.comment-badge {
    background: rgba(255,255,255,0.05);
    color: #86868B;
}
.date-badge {
    background: rgba(255,255,255,0.05);
    color: #86868B;
}
.topic-badge {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
}
.question-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    color: #F5F5F7;
}
.question-body {
    color: #86868B;
    font-size: 0.85rem;
    line-height: 1.6;
}
.reddit-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #60a5fa;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.reddit-link:hover { opacity: 1; }

/* Section 2 & 3: Answer sections */
.answer-section {
    padding: 1.5rem 1.75rem;
}
.reddit-section {
    background: rgba(239, 68, 68, 0.02);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.corpus-section {
    background: rgba(74, 222, 128, 0.02);
}

.section-label-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.section-icon {
    font-size: 1.1rem;
}
.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex: 1;
}
.reddit-section .section-label { color: #ef4444; }
.corpus-section .section-label { color: #4ade80; }

.section-score {
    font-size: 0.65rem;
    padding: 0.15rem 0.6rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #86868B;
}

.answer-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #d1d1d6;
    margin-bottom: 1rem;
}
.answer-content p { margin: 0; }
.corpus-content strong { color: #4ade80; }
.corpus-content .corpus-heading {
    font-weight: 600;
    color: #F5F5F7;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

/* Verdict bar */
.verdict-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.verdict-text {
    font-size: 0.75rem;
    color: #86868B;
    font-style: italic;
}

/* Quality tags */
.quality-tag {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.quality-tag.vibes {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}
.quality-tag.math {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

/* Mobile */
@media (max-width: 700px) {
    .stat-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
    .stat-number { font-size: 2rem; }
    .post-section { flex-direction: column; gap: 0.5rem; }
    .post-number { display: none; }
    .question-title { font-size: 1.05rem; }
    .answer-section { padding: 1.25rem 1rem; }
}
