/* ===== ANSWERS PAGE — SPECIFIC STYLES ===== */

/* --- Category Stats Bar --- */
.answers-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px 0 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.blue-glow {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4a90d9 0%, #6bb3e8 25%, #a6d4fa 50%, #6bb3e8 75%, #4a90d9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite; /* Reuse animation name, it's just bg shift */
    line-height: 1.2;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #a09888;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* --- Category Filter Tabs Base (from Prophecy) --- */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    transition: box-shadow 0.3s ease;
}

.category-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.category-tabs {
    display: flex;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #a09888;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    user-select: none;
}

.cat-tab:hover {
    border-color: rgba(244, 211, 94, 0.3);
    color: #d4c9b8;
    background: rgba(255, 255, 255, 0.06);
}

.cat-tab.active {
    background: linear-gradient(135deg, rgba(196, 154, 42, 0.2), rgba(244, 211, 94, 0.12));
    border-color: rgba(244, 211, 94, 0.4);
    color: #f4d35e;
    font-weight: 600;
}

/* --- Expand All / Collapse All Button Base --- */
.expand-all-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.expand-all-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #a09888;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-all-btn:hover {
    border-color: rgba(244, 211, 94, 0.3);
    color: #f4d35e;
    background: rgba(244, 211, 94, 0.08);
}

/* --- Category Filter Tabs (Blue variations) --- */
.answers-nav .cat-tab:hover {
    border-color: rgba(107, 179, 232, 0.3);
    color: #a6d4fa;
    background: rgba(255, 255, 255, 0.06);
}

.answers-nav .cat-tab.active {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.2), rgba(107, 179, 232, 0.12));
    border-color: rgba(107, 179, 232, 0.4);
    color: #6bb3e8;
    font-weight: 600;
}

/* Base button overrides for Answers */
.blue-btn:hover {
    border-color: rgba(107, 179, 232, 0.3) !important;
    color: #6bb3e8 !important;
    background: rgba(107, 179, 232, 0.08) !important;
}

/* --- Category Sections --- */
.answers-category {
    padding: 80px 20px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.answers-category:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.category-header h2.blue-gradient {
    background: linear-gradient(135deg, #4a90d9 0%, #6bb3e8 25%, #a6d4fa 50%, #6bb3e8 75%, #4a90d9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expand-icon.blue-icon {
    border: 1px solid rgba(107, 179, 232, 0.3);
    -webkit-text-fill-color: #6bb3e8;
}

/* --- Answer Cards --- */
.answer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.answer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(20px);
}

.answer-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.answer-card:hover {
    border-color: rgba(107, 179, 232, 0.15);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(74, 144, 217, 0.04);
}

.answer-title-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.answer-title-bar:hover {
    background: rgba(255, 255, 255, 0.02);
}

.answer-number {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6bb3e8;
    background: rgba(74, 144, 217, 0.1);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.answer-title-text {
    flex: 1;
}

.answer-title-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #f0e6d3;
    margin: 0 0 2px;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.answer-title-text h3::before {
    content: "Q: ";
    color: #6bb3e8;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.answer-expand-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a7060;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.answer-card.open .answer-expand-btn {
    transform: rotate(180deg);
    color: #6bb3e8;
}

/* --- Detail (collapsible) --- */
.answer-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.answer-card.open .answer-detail {
    max-height: 2500px;
}

.answer-detail-inner {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answer-content {
    background: rgba(74, 144, 217, 0.04);
    border: 1px solid rgba(74, 144, 217, 0.1);
    padding: 24px;
    border-radius: 12px;
}

.answer-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a227; /* Gold accent inside blue box */
    margin-bottom: 12px;
}

.answer-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #c8baa8;
    margin-top: 0;
    margin-bottom: 16px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.answer-content ul {
    margin-top: 0;
    margin-bottom: 16px;
    padding-left: 20px;
}

.answer-content li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #c8baa8;
    margin-bottom: 8px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .answers-stats { gap: 24px; }
    .blue-glow { font-size: 2rem; }
    .answers-category { padding: 50px 16px; }
    .answer-title-bar { padding: 16px; }
    .answer-number { width: 32px; height: 32px; font-size: 0.8rem; }
    .answer-title-text h3 { font-size: 1rem; }
    .category-header h2 { font-size: 1.4rem; }
    .answer-detail-inner { padding: 0 16px 20px; }
    .answer-content { padding: 16px; }
}
