/* Forum Page Styles */

.forum-main {
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
    background: linear-gradient(135deg, #0a1a0a 0%, #000000 50%, #0a1a0a 100%);
}

.forum-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.forum-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.page-title {
    color: #d4af37;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.title-icon {
    font-size: 48px;
}

.page-subtitle {
    color: #cccccc;
    font-size: 18px;
}

/* Categories */
.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.category-card {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    display: flex;
    gap: 20px;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
}

.category-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-title {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.category-description {
    color: #cccccc;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.category-stats {
    color: #888888;
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Recent Posts */
.recent-posts {
    margin-bottom: 40px;
}

.section-title {
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-item:hover {
    transform: translateX(5px);
    border-color: #00ff00;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.post-title {
    color: #d4af37;
    font-size: 18px;
    font-weight: bold;
    flex: 1;
}

.post-category {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.post-content {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    flex-wrap: wrap;
    gap: 10px;
}

.post-author {
    color: #00ff00;
    font-weight: bold;
    font-size: 13px;
}

.post-date {
    color: #888888;
    font-size: 12px;
}

.post-stats {
    display: flex;
    gap: 15px;
    color: #888888;
    font-size: 12px;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* New Post Button */
.new-post-section {
    text-align: center;
    margin-top: 40px;
}

.new-post-btn {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 15px 40px;
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.new-post-btn:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.btn-icon {
    font-size: 20px;
}

/* Active Nav Link */
.nav-link.active {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .forum-categories {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
    }
    
    .post-header,
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

