/* Forum Styles */

.forum-notice {
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.forum-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.forum-notice p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.category-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid var(--purple);
    background: var(--white);
    color: var(--purple);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--purple);
    color: var(--white);
}

.forum-threads {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forum-thread {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--purple);
}

.forum-thread:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.thread-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.thread-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.thread-info {
    flex: 1;
}

.thread-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.thread-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.category-badge.general {
    background: #E0E7FF;
    color: #3730A3;
}

.category-badge.strategies {
    background: #DBEAFE;
    color: #1E3A8A;
}

.category-badge.hot-topics {
    background: #FEE2E2;
    color: #991B1B;
}

.category-badge.leaderboard {
    background: #FEF3C7;
    color: #92400E;
}

.category-badge.help {
    background: #D1FAE5;
    color: #065F46;
}

.thread-excerpt {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.thread-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.thread-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .forum-thread {
        padding: 1.5rem;
    }

    .thread-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .thread-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .thread-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .thread-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}
