.forum-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2ECC40;
    margin-bottom: 5px;
}

.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(46,204,64,0.1), rgba(39,174,96,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.forum-topics {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.topic-item {
    display: flex;
    padding: 25px;
    border-bottom: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
}

.topic-item:hover {
    background: #F8F9FA;
}

.topic-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 8px;
}

.topic-excerpt {
    color: #7F8C8D;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.topic-meta {
    display: flex;
    gap: 20px;
    color: #95A5A6;
    font-size: 0.85rem;
}

.topic-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    padding-left: 20px;
}

.reply-count {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
}

.new-topic-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #2ECC40, #27AE60);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(46,204,64,0.3);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.new-topic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46,204,64,0.4);
}

.topic-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
}

.badge-hot {
    background: #FFEBEE;
    color: #E74C3C;
}

.badge-solved {
    background: #E8F8F5;
    color: #27AE60;
}

.badge-pinned {
    background: #FFF5E6;
    color: #F39C12;
}

.search-bar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2ECC40;
}
