



/* ===================== FORUM STYLES ===================== */
/* ===================== FORUM HERO SECTION - MATCHING HOMEPAGE ===================== */


/* Forum Layout */
.forum-container {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.forum-layout {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2rem;
    align-items: start;
}

/* Sidebars */
.forum-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 90px;
}

.left-sidebar {
    /* Specific styles for left sidebar */
}

.right-sidebar {
    /* Specific styles for right sidebar */
}

/* Sidebar Widgets */
.sidebar-widget {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 1px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.1);
}

.sidebar-widget:hover {
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.15);
    transform: translateY(-2px);
}

.widget-title {
    color: #00bfff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

/* Quick Actions */
.quick-actions {
    text-align: center;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.8rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.action-btn.primary {
    background: linear-gradient(135deg, #00bfff, #0091cc);
    color: white;
    border: none;
    font-weight: 600;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #00f9ff, #00bfff);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.action-btn.secondary {
    background: transparent;
    border: 1px solid #00bfff;
    color: #00bfff;
}

.action-btn.secondary:hover {
    background: rgba(0, 191, 255, 0.1);
}

.action-btn.full-width {
    width: 100%;
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-item:hover {
    background: rgba(0, 191, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(0, 191, 255, 0.3);
}

.category-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.category-name {
    flex: 1;
    font-size: 0.9rem;
}

.category-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Types List */
.types-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.type-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.type-item:hover {
    background: rgba(0, 191, 255, 0.1);
    transform: translateX(3px);
}

.type-item i {
    color: #00bfff;
    width: 20px;
    text-align: center;
}

/* Main Feed */
.forum-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Create Post Card */
.create-post-card {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 1px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.1);
}

.create-post-card.sticky-card {
    position: sticky;
    top: 90px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.post-input-container {
    flex: 1;
}

.post-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.post-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.post-input:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.post-actions-quick {
    display: flex;
    gap: 0.5rem;
}

.action-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #00bfff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: #00bfff;
    color: white;
    transform: scale(1.1);
}

/* Feed Filters */
.feed-filters {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 1px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    justify-content: between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-tab:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.5);
}

.filter-tab.active {
    background: #00bfff;
    color: #0a0f1f;
    border-color: #00bfff;
    font-weight: 600;
}

.filter-sort {
    margin-left: auto;
}

.sort-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #00bfff;
}

/* Posts Feed */
.posts-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Post Card */
.post-card {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 1px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.1);
    position: relative;
}

.post-card:hover {
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.15);
    transform: translateY(-3px);
    border-color: #00f9ff;
}

.post-card.pinned {
    border-left: 4px solid #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), #0a0f1f);
}

.post-card.pinned::after {
    content: '📌 PINNED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    color: #0a0f1f;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.type-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.discussion { background: rgba(0, 191, 255, 0.2); color: #00bfff; }
.type-badge.question { background: rgba(255, 107, 107, 0.2); color: #ff6b6b; }
.type-badge.experiment { background: rgba(81, 207, 102, 0.2); color: #51cf66; }
.type-badge.news { background: rgba(255, 212, 59, 0.2); color: #ffd43b; }

.post-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.post-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: #00bfff;
}

.post-content {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-content-preview {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.post-content-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #0a0f1f);
}

.post-footer {
    display: flex;
    justify-content: between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff, #0077ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.avatar-initials-small {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-date {
    color: #888;
    font-size: 0.8rem;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vote-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0.3rem;
}

.vote-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vote-btn.upvote:hover {
    color: #00ff88;
}

.vote-btn.downvote:hover {
    color: #ff6b6b;
}

.vote-btn.active.upvote {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.vote-btn.active.downvote {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.vote-count {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-icon.active {
    background: #00bfff;
    color: #0a0f1f;
    border-color: #00bfff;
}

/* Empty Feed */
.empty-feed {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px dashed #00bfff;
}

.empty-feed i {
    font-size: 4rem;
    color: #00bfff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-feed h3 {
    color: white;
    margin-bottom: 1rem;
}

.empty-feed p {
    color: #b0b0b0;
    margin-bottom: 2rem;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #00bfff, #0091cc);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #00f9ff, #00bfff);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stats-grid .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.stats-grid .stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 0.3rem;
}

.stats-grid .stat-label {
    color: #b0b0b0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trending-item:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateX(3px);
}

.trending-rank {
    background: linear-gradient(135deg, #00bfff, #0077ff);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.trending-content {
    flex: 1;
}

.trending-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.trending-meta {
    color: #888;
    font-size: 0.8rem;
}

.no-trending {
    text-align: center;
    padding: 2rem 1rem;
    color: #b0b0b0;
}

.no-trending i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(0, 191, 255, 0.15);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.tag:hover {
    background: #00bfff;
    color: #0a0f1f;
    transform: translateY(-2px);
}

/* Guidelines */
.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guidelines-list li {
    padding: 0.5rem 0;
    color: #b0b0b0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guidelines-list li:last-child {
    border-bottom: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #0a0f1f, #1a1f3e);
    border: 2px solid #00bfff;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3);
}

.modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #00bfff;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.post-form-modal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #00bfff;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00bfff, #0091cc);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00f9ff, #00bfff);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .forum-layout {
        grid-template-columns: 250px 1fr;
    }
    
    .right-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .forum-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .left-sidebar {
        order: -1;
    }
    
    .forum-hero {
        padding: 3rem 1rem;
    }
    
    .forum-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 1rem;
    }
    
    .create-post-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .post-actions-quick {
        justify-content: center;
    }
    
    .feed-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-sort {
        margin-left: 0;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .post-actions {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .forum-container {
        padding: 1rem 0.5rem;
    }
    
    .forum-hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}



/* ===================== FORCE HOMEPAGE HERO STYLING ===================== */
.forum-hero {
    background: linear-gradient(135deg, #0a0f1f, #001122) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 100px 20px !important;
    min-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    position: relative !important;
}

.forum-hero h1 {
    font-size: 3rem !important;
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

.forum-hero .hero-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
    color: #00bfff !important;
    text-align: center !important;
}

.forum-hero .hero-subtitle span {
    color: #00bfff !important;
    text-shadow: 0 0 10px #00bfff !important;
}

.forum-hero .hero-description {
    font-size: 1.2rem !important;
    max-width: 800px !important;
    margin: auto !important;
    color: #ddd !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
}

.hero-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin: 2rem 0 !important;
}

.cta-primary, .cta-secondary {
    background: #00bfff !important;
    color: #0a0f1f !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px #00bfff, 0 0 40px #00bfff !important;
}

.cta-secondary {
    background: transparent !important;
    border: 2px solid #00bfff !important;
    color: #00bfff !important;
}

.cta-secondary:hover {
    background: #00bfff !important;
    color: #0a0f1f !important;
}

.hero-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 3rem !important;
    margin-top: 3rem !important;
    flex-wrap: wrap !important;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 2rem 1.5rem !important;
    border-radius: 15px !important;
    border: 1px solid rgba(0, 191, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    min-width: 160px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.stat-card:hover {
    transform: translateY(-5px) !important;
    border-color: #00bfff !important;
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2) !important;
}

.stat-card .stat-number {
    font-size: 2.5rem !important;
    font-weight: bold !important;
    color: #00bfff !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3) !important;
}

.stat-card .stat-label {
    color: #b0b0b0 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .forum-hero {
        padding: 80px 15px !important;
        min-height: 70vh !important;
    }
    
    .forum-hero h1 {
        font-size: 2rem !important;
    }
    
    .forum-hero .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .forum-hero .hero-description {
        font-size: 1rem !important;
    }
    
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-stats {
        gap: 1rem !important;
    }
    
    .stat-card {
        min-width: 120px !important;
        padding: 1.5rem 1rem !important;
    }
}



/* ===================== FORUM STYLES WITH BLUE CONTAINERS ===================== */
.forum-hero {
    background: linear-gradient(135deg, #0a0f1f, #001122);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.forum-hero h1 {
    font-size: 3rem;
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
    margin-bottom: 1rem;
}

.forum-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #00bfff;
}

.forum-hero .hero-subtitle span {
    color: #00bfff;
    text-shadow: 0 0 10px #00bfff;
}

.forum-hero .hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: auto;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cta-primary, .cta-secondary {
    background: #00bfff;
    color: #0a0f1f;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00bfff, 0 0 40px #00bfff;
}

.cta-secondary {
    background: transparent;
    border: 2px solid #00bfff;
    color: #00bfff;
}

.cta-secondary:hover {
    background: #00bfff;
    color: #0a0f1f;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 160px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00bfff;
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.stat-card .stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Forum Layout */
.forum-container {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.forum-layout {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2rem;
    align-items: start;
}

/* ===================== BLUE CONTAINERS ===================== */
.sidebar-widget {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #00f9ff);
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.25);
    border-color: #00f9ff;
}

.widget-title {
    color: #00bfff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
    padding-bottom: 0.8rem;
}

/* Quick Actions Container */
.quick-actions {
    background: linear-gradient(135deg, #0a0f1f, #1a2b3c);
    border: 2px solid #00bfff;
}

.quick-actions .action-btn {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.4);
    color: #00bfff;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 0.8rem;
    justify-content: center;
}

.quick-actions .action-btn:hover {
    background: #00bfff;
    color: #0a0f1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.quick-actions .action-btn.primary {
    background: linear-gradient(135deg, #00bfff, #0091cc);
    color: white;
    border: none;
}

.quick-actions .action-btn.primary:hover {
    background: linear-gradient(135deg, #00f9ff, #00bfff);
}

/* Categories Container */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.category-item:hover {
    background: rgba(0, 191, 255, 0.15);
    transform: translateX(8px);
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.2);
}

.category-icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.category-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.category-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

/* Post Types Container */
.types-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.type-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.type-item:hover {
    background: rgba(0, 191, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(0, 191, 255, 0.4);
}

.type-item i {
    color: #00bfff;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Create Post Card */
.create-post-card {
    background: linear-gradient(135deg, #0a0f1f, #1a2b3c);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.create-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #00f9ff);
}

.create-post-card.sticky-card {
    position: sticky;
    top: 90px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.post-input-container {
    flex: 1;
}

.post-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 191, 255, 0.4);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.post-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.post-input:focus {
    outline: none;
    border-color: #00bfff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.post-actions-quick {
    display: flex;
    gap: 0.8rem;
}

.action-icon {
    background: rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(0, 191, 255, 0.4);
    color: #00bfff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.action-icon:hover {
    background: #00bfff;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

/* Feed Filters Container */
.feed-filters {
    background: linear-gradient(135deg, #0a0f1f, #1a2b3c);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
}

.filter-tabs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: #00bfff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: rgba(0, 191, 255, 0.5);
}

.filter-tab.active {
    background: #00bfff;
    color: #0a0f1f;
    border-color: #00bfff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.filter-sort {
    margin-left: auto;
}

.sort-select {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.4);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 150px;
}

.sort-select:focus {
    outline: none;
    border-color: #00bfff;
}

/* Empty Feed Container */
.empty-feed {
    background: linear-gradient(135deg, #0a0f1f, #1a2b3c);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
}

.empty-feed i {
    font-size: 4rem;
    color: #00bfff;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-feed h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-feed p {
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #00bfff, #0091cc);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #00f9ff, #00bfff);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 191, 255, 0.4);
}

/* Stats Grid Container */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stats-grid .stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.stats-grid .stat-item:hover {
    background: rgba(0, 191, 255, 0.15);
    transform: translateY(-3px);
}

.stats-grid .stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.stats-grid .stat-label {
    color: #b0b0b0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trending Container */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.trending-item:hover {
    background: rgba(0, 191, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(0, 191, 255, 0.4);
}

.trending-rank {
    background: linear-gradient(135deg, #00bfff, #0077ff);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.trending-content {
    flex: 1;
}

.trending-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.trending-meta {
    color: #888;
    font-size: 0.8rem;
}

.no-trending {
    text-align: center;
    padding: 2rem 1rem;
    color: #b0b0b0;
}

.no-trending i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Tags Cloud Container */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(0, 191, 255, 0.15);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.tag:hover {
    background: #00bfff;
    color: #0a0f1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

/* Guidelines Container */
.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guidelines-list li {
    padding: 0.8rem 0;
    color: #b0b0b0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.guidelines-list li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .forum-layout {
        grid-template-columns: 250px 1fr;
    }
    
    .right-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .forum-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .left-sidebar {
        order: -1;
    }
    
    .create-post-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .post-actions-quick {
        justify-content: center;
    }
    
    .feed-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-sort {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .forum-container {
        padding: 1rem 0.5rem;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .sidebar-widget {
        padding: 1.2rem;
    }
}




/* ===================== POST CONTAINER STYLES ===================== */
.post-container {
    background: linear-gradient(135deg, #0a0f1f, #1a1f3e);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.post-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #00f9ff);
}

.post-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.25);
    border-color: #00f9ff;
}

/* Pinned Indicator */
.pinned-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    color: #0a0f1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.pinned-indicator i {
    margin-right: 0.3rem;
}

/* Post Header */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff, #0077ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.avatar-initials {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.post-date {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.post-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.category-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.type-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.type-badge.discussion { background: rgba(0, 191, 255, 0.2); color: #00bfff; border: 1px solid rgba(0, 191, 255, 0.4); }
.type-badge.question { background: rgba(255, 107, 107, 0.2); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.4); }
.type-badge.experiment { background: rgba(81, 207, 102, 0.2); color: #51cf66; border: 1px solid rgba(81, 207, 102, 0.4); }
.type-badge.news { background: rgba(255, 212, 59, 0.2); color: #ffd43b; border: 1px solid rgba(255, 212, 59, 0.4); }

/* Post Content */
.post-content-wrapper {
    margin-bottom: 1.5rem;
}

.post-title {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #00bfff;
}

.post-content {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

.post-content p {
    margin: 0;
}

/* Post Stats */
.post-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.stat-item i {
    color: #00bfff;
    width: 16px;
}

/* Post Actions */
.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vote-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 0.5rem;
}

.vote-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vote-btn.upvote:hover {
    color: #00ff88;
}

.vote-btn.downvote:hover {
    color: #ff6b6b;
}

.vote-btn.active.upvote {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.vote-btn.active.downvote {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.vote-count {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.action-btn.active {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00bfff;
    color: #00bfff;
}

.action-btn.comment-btn:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.5);
}

.action-btn.share-btn:hover {
    background: rgba(81, 207, 102, 0.1);
    border-color: rgba(81, 207, 102, 0.5);
}

.action-btn.bookmark-btn:hover {
    background: rgba(255, 212, 59, 0.1);
    border-color: rgba(255, 212, 59, 0.5);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tag {
    background: rgba(0, 191, 255, 0.15);
    color: #00bfff;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-container {
        padding: 1.5rem;
    }
    
    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .post-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vote-section {
        justify-content: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
}
/* ===================== POST WIDGET STYLES - Matching Active Discussions ===================== */
.post-widget {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #00f9ff);
}

.post-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.25);
    border-color: #00f9ff;
}

/* Pinned Indicator */
.pinned-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    color: #0a0f1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.pinned-indicator i {
    margin-right: 0.3rem;
}

/* Post Header Section */
.post-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff, #0077ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.avatar-initials-small {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.post-time {
    color: #b0b0b0;
    font-size: 0.8rem;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-type-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-type-tag.discussion { background: rgba(0, 191, 255, 0.2); color: #00bfff; border: 1px solid rgba(0, 191, 255, 0.4); }
.post-type-tag.question { background: rgba(255, 107, 107, 0.2); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.4); }
.post-type-tag.experiment { background: rgba(81, 207, 102, 0.2); color: #51cf66; border: 1px solid rgba(81, 207, 102, 0.4); }
.post-type-tag.news { background: rgba(255, 212, 59, 0.2); color: #ffd43b; border: 1px solid rgba(255, 212, 59, 0.4); }

/* Post Content Section */
.post-content-section {
    margin-bottom: 1rem;
}

.post-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #00bfff;
}

.post-text {
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.post-text p {
    margin: 0;
}

/* Post Statistics Section */
.post-stats-section {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.stat i {
    color: #00bfff;
    width: 14px;
    font-size: 0.9rem;
}

/* Post Actions Section */
.post-actions-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vote-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0.3rem;
}

.vote-button {
    background: none;
    border: none;
    color: #b0b0b0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.vote-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vote-button.upvote:hover {
    color: #00ff88;
}

.vote-button.downvote:hover {
    color: #ff6b6b;
}

.vote-button.active.upvote {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.vote-button.active.downvote {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.vote-total {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 25px;
    text-align: center;
}

.action-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.action-button.active {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00bfff;
    color: #00bfff;
}

.action-button.comment:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.5);
}

.action-button.share:hover {
    background: rgba(81, 207, 102, 0.1);
    border-color: rgba(81, 207, 102, 0.5);
}

.action-button.save:hover {
    background: rgba(255, 212, 59, 0.1);
    border-color: rgba(255, 212, 59, 0.5);
}

/* Responsive Design for Post Widgets */
@media (max-width: 768px) {
    .post-widget {
        padding: 1.2rem;
    }
    
    .post-header-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-categories {
        width: 100%;
        justify-content: flex-start;
    }
    
    .post-actions-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vote-container {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .action-container {
        justify-content: center;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
}

/* ===================== POST WIDGET STYLES - Matching Sidebar Widgets ===================== */
.post-widget {
    background: linear-gradient(135deg, #0a0f1f, #111828);
    border: 2px solid #00bfff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bfff, #00f9ff);
}

.post-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.25);
    border-color: #00f9ff;
}

/* Pinned Indicator */
.pinned-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    color: #0a0f1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.pinned-indicator i {
    margin-right: 0.3rem;
}

/* Post Header Section */
.post-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff, #0077ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.avatar-initials-small {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.post-time {
    color: #b0b0b0;
    font-size: 0.8rem;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-type-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-type-tag.discussion { background: rgba(0, 191, 255, 0.2); color: #00bfff; border: 1px solid rgba(0, 191, 255, 0.4); }
.post-type-tag.question { background: rgba(255, 107, 107, 0.2); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.4); }
.post-type-tag.experiment { background: rgba(81, 207, 102, 0.2); color: #51cf66; border: 1px solid rgba(81, 207, 102, 0.4); }
.post-type-tag.news { background: rgba(255, 212, 59, 0.2); color: #ffd43b; border: 1px solid rgba(255, 212, 59, 0.4); }

/* Post Content Section */
.post-content-section {
    margin-bottom: 1rem;
}

.post-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #00bfff;
}

.post-text {
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.post-text p {
    margin: 0;
}

/* Post Statistics Section */
.post-stats-section {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.stat i {
    color: #00bfff;
    width: 14px;
    font-size: 0.9rem;
}

/* Post Actions Section */
.post-actions-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vote-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0.3rem;
}

.vote-button {
    background: none;
    border: none;
    color: #b0b0b0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.vote-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vote-button.upvote:hover {
    color: #00ff88;
}

.vote-button.downvote:hover {
    color: #ff6b6b;
}

.vote-button.active.upvote {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.vote-button.active.downvote {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.vote-total {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 25px;
    text-align: center;
}

.action-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.action-button.active {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00bfff;
    color: #00bfff;
}

.action-button.comment:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.5);
}

.action-button.share:hover {
    background: rgba(81, 207, 102, 0.1);
    border-color: rgba(81, 207, 102, 0.5);
}

.action-button.save:hover {
    background: rgba(255, 212, 59, 0.1);
    border-color: rgba(255, 212, 59, 0.5);
}

/* Responsive Design for Post Widgets */
@media (max-width: 768px) {
    .post-widget {
        padding: 1.2rem;
    }
    
    .post-header-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-categories {
        width: 100%;
        justify-content: flex-start;
    }
    
    .post-actions-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vote-container {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .action-container {
        justify-content: center;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
}
/* ===================== FORUM POST CONTAINER - LARGE & RESPONSIVE ===================== */
.forum-post-container {
    background: linear-gradient(135deg, #0a0f1f, #1a1f3e);
    border: 2px solid #00bfff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.forum-post-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00bfff, #00f9ff, #00bfff);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

.forum-post-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3);
    border-color: #00f9ff;
}

/* 🏷️ HEADER SECTION */
.post-header {
    margin-bottom: 2rem;
}

.pinned-banner {
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    color: #0a0f1f;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.pinned-banner i {
    font-size: 1.1rem;
}

.post-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-categories {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.main-category {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.post-type {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid;
}

.post-type.discussion { background: rgba(0, 191, 255, 0.15); color: #00bfff; border-color: rgba(0, 191, 255, 0.4); }
.post-type.question { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; border-color: rgba(255, 107, 107, 0.4); }
.post-type.experiment { background: rgba(81, 207, 102, 0.15); color: #51cf66; border-color: rgba(81, 207, 102, 0.4); }
.post-type.news { background: rgba(255, 212, 59, 0.15); color: #ffd43b; border-color: rgba(255, 212, 59, 0.4); }

.header-stats {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-badge i {
    color: #00bfff;
}

/* 👤 AUTHOR SECTION */
.author-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.author-identity {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar-large {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff, #0077ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.avatar-initials-large {
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #00ff88;
    color: #0a0f1f;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 3px solid #0a0f1f;
}

.author-details h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post-metadata {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-metadata span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.post-metadata i {
    color: #00bfff;
    width: 16px;
}

/* 📝 CONTENT SECTION */
.content-section {
    margin-bottom: 2rem;
}

.post-title-main {
    color: white;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title-link:hover {
    color: #00bfff;
}

.post-content-main {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-text {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.content-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.metric i {
    color: #00bfff;
    width: 16px;
}

/* 📊 ENGAGEMENT SECTION */
.engagement-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.engagement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.engagement-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.engagement-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.engagement-icon.views { background: rgba(0, 191, 255, 0.2); color: #00bfff; }
.engagement-icon.comments { background: rgba(81, 207, 102, 0.2); color: #51cf66; }
.engagement-icon.shares { background: rgba(255, 212, 59, 0.2); color: #ffd43b; }

.engagement-info {
    display: flex;
    flex-direction: column;
}

.engagement-count {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.engagement-label {
    color: #b0b0b0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 🎯 ACTION SECTION */
.action-section {
    margin-bottom: 1.5rem;
}

.action-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.voting-column {
    display: flex;
    justify-content: center;
}

.vote-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vote-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.vote-btn.upvote-btn:hover {
    color: #00ff88;
}

.vote-btn.downvote-btn:hover {
    color: #ff6b6b;
}

.vote-btn.active.upvote-btn {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.15);
}

.vote-btn.active.downvote-btn {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
}

.vote-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.vote-count {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.vote-label {
    color: #b0b0b0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.actions-column {
    flex: 1;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 1.2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    width: 100%;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.action-btn.active {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00bfff;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
}

.action-btn.comment-btn .action-icon { background: rgba(0, 191, 255, 0.2); color: #00bfff; }
.action-btn.share-btn .action-icon { background: rgba(81, 207, 102, 0.2); color: #51cf66; }
.action-btn.bookmark-btn .action-icon { background: rgba(255, 212, 59, 0.2); color: #ffd43b; }
.action-btn.more-btn .action-icon { background: rgba(147, 51, 234, 0.2); color: #9333ea; }

.action-text {
    flex: 1;
}

.action-title {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.action-subtitle {
    display: block;
    color: #b0b0b0;
    font-size: 0.8rem;
}

/* 🔗 FOOTER SECTION */
.post-footer {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    background: none;
    border: none;
    color: #00bfff;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link:hover {
    color: #00f9ff;
    transform: translateX(5px);
}

.report-link {
    color: #ff6b6b;
}

.report-link:hover {
    color: #ff5252;
}

.footer-meta {
    color: #888;
    font-size: 0.8rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .forum-post-container {
        padding: 2rem;
    }
    
    .action-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .voting-column {
        justify-content: flex-start;
    }
    
    .vote-widget {
        flex-direction: row;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .forum-post-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .post-meta-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-identity {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .post-title-main {
        font-size: 1.5rem;
    }
    
    .post-content-main {
        padding: 1.5rem;
    }
    
    .engagement-stats {
        grid-template-columns: 1fr;
    }
    
    .action-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .forum-post-container {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .post-categories {
        flex-direction: column;
        width: 100%;
    }
    
    .main-category, .post-type {
        width: 100%;
        justify-content: center;
    }
    
    .header-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .post-title-main {
        font-size: 1.3rem;
    }
    
    .post-content-main {
        padding: 1.2rem;
    }
}




/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1f35, #0a0f1f);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #00bfff;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: rgba(0, 191, 255, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid #00bfff;
    display: flex;
    justify-content: between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #00bfff;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #00bfff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.post-form-modal {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00bfff;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #4a5568;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #00bfff;
    color: #0a0f1f;
    font-weight: bold;
}

.btn-primary:hover {
    background: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid #4a5568;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00bfff;
}




/* FORCE MODAL VISIBILITY CONTROL */
#createPostModal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: fixed !important;
    z-index: 10000 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    transition: opacity 0.3s ease !important;
}

#createPostModal.modal-show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#createPostModal .modal-content {
    position: relative !important;
    margin: 5% auto !important;
    width: 90% !important;
    max-width: 600px !important;
    background: linear-gradient(135deg, #1a1f35, #0a0f1f) !important;
    border: 2px solid #00bfff !important;
    border-radius: 15px !important;
    padding: 0 !important;
}





/* FORCE MODAL STYLES */
#createPostModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#createPostModal.modal-show,
#createPostModal[style*="display: block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1f35, #0a0f1f);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    border: 2px solid #00bfff;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure buttons are clickable */
[data-action="create-post"],
.action-icon,
.post-input,
.modal-close,
[data-action="close-modal"] {
    cursor: pointer !important;
}

/* Remove any pointer-events blocking */
.post-card *,
.forum-post-container * {
    pointer-events: auto !important;
}
/* ===================== ENHANCED BLUE THEME EFFECTS ===================== */

/* Glowing Blue Effects */
.sidebar-widget,
.create-post-card,
.feed-filters,
.post-card,
.forum-post-container {
    position: relative;
    overflow: hidden;
}

/* Enhanced Glow Effects */
.sidebar-widget::after,
.create-post-card::after,
.feed-filters::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 191, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.sidebar-widget:hover::after,
.create-post-card:hover::after,
.feed-filters:hover::after {
    left: 100%;
}

/* Enhanced Button Glow */
.action-btn.primary,
.cta-primary,
.load-more-btn,
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00bfff, #0091cc, #00bfff);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.action-btn.primary::before,
.cta-primary::before,
.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.action-btn.primary:hover::before,
.cta-primary:hover::before,
.load-more-btn:hover::before {
    left: 100%;
}

/* Enhanced Modal Blue Effects */
.modal-content {
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00bfff, #00f9ff, #00bfff, #00f9ff);
    border-radius: 17px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Blue Pulse Animation for Important Elements */
@keyframes bluePulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 191, 255, 0.8), 0 0 40px rgba(0, 191, 255, 0.4);
    }
}

.create-post-card.sticky-card {
    animation: bluePulse 4s ease-in-out infinite;
}

/* Enhanced Vote Buttons with Blue Theme */
.vote-btn {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-btn.upvote:hover {
    color: #00bfff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.vote-btn.downvote:hover {
    color: #ff6b6b;
    transform: translateY(2px);
}

.vote-btn.active.upvote {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

/* Enhanced Category Items */
.category-item {
    position: relative;
    transition: all 0.3s ease;
}

.category-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #00bfff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.category-item:hover::before {
    transform: scaleY(1);
}

/* Blue Theme Scrollbar */
.posts-feed::-webkit-scrollbar {
    width: 8px;
}

.posts-feed::-webkit-scrollbar-track {
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
}

.posts-feed::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00bfff, #0091cc);
    border-radius: 10px;
}

.posts-feed::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00f9ff, #00bfff);
}

/* Enhanced Form Elements */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #00bfff;
    box-shadow: 
        0 0 0 3px rgba(0, 191, 255, 0.1),
        0 0 20px rgba(0, 191, 255, 0.2);
}

/* Blue Theme Loading States */
.load-more-btn:disabled {
    background: rgba(0, 191, 255, 0.3);
    cursor: not-allowed;
    animation: none;
}

.load-more-btn.loading {
    position: relative;
    color: transparent;
}

.load-more-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #00bfff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Active States */
.filter-tab.active {
    background: #00bfff;
    color: #0a0f1f;
    border-color: #00bfff;
    font-weight: 600;
    box-shadow: 
        0 4px 12px rgba(0, 191, 255, 0.3),
        0 0 20px rgba(0, 191, 255, 0.2);
}

/* Blue Theme Notification Badges */
.notification-badge {
    background: linear-gradient(135deg, #00bfff, #ff6b6b);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Enhanced Hero Section Blue Effects */
.forum-hero {
    position: relative;
    overflow: hidden;
}

.forum-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Animation for Cards */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sidebar-widget:hover,
.post-card:hover,
.forum-post-container:hover {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Blue Text Shadows */
.widget-title,
.hero-subtitle,
.post-title a:hover {
    text-shadow: 
        0 0 10px rgba(0, 191, 255, 0.3),
        0 0 20px rgba(0, 191, 255, 0.2),
        0 0 30px rgba(0, 191, 255, 0.1);
}

/* Gradient Text Effects */
.gradient-text {
    background: linear-gradient(135deg, #00bfff, #00f9ff, #00bfff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Enhanced Mobile Blue Theme */
@media (max-width: 768px) {
    .forum-hero::before {
        background: 
            radial-gradient(circle at center, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
    }
    
    .sidebar-widget,
    .post-card,
    .forum-post-container {
        border-width: 1px;
    }
}

/* Blue Theme Selection */
::selection {
    background: rgba(0, 191, 255, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(0, 191, 255, 0.3);
    color: white;
}

/* Enhanced Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #00bfff;
    outline-offset: 2px;
}

/* Blue Theme Transitions */
.sidebar-widget,
.create-post-card,
.post-card,
.forum-post-container,
.action-btn,
.vote-btn,
.category-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Dark Blue Variants */
.blue-dark {
    background: linear-gradient(135deg, #0a1f2e, #08334d);
    border-color: #0077b6;
}

.blue-medium {
    background: linear-gradient(135deg, #0a2f45, #095785);
    border-color: #0096c7;
}

.blue-light {
    background: linear-gradient(135deg, #0a3f5c, #0a6ebd);
    border-color: #00b4d8;
}




/* Blue Utility Classes */
.blue-glow {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.blue-glow:hover {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

.blue-border {
    border: 2px solid #00bfff;
}

.blue-gradient {
    background: linear-gradient(135deg, #00bfff, #0091cc);
}

.blue-text {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.blue-bg {
    background: rgba(0, 191, 255, 0.1);
}

/* Animation Classes */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-blue {
    animation: bluePulse 2s ease-in-out infinite;
}

.glow-blue {
    animation: borderGlow 3s ease-in-out infinite;
}



/* Voting Styles */
.vote-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.vote-btn:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #00bfff;
}

.vote-btn.upvote-btn.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.vote-btn.downvote-btn.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.vote-display {
    text-align: center;
    padding: 4px 0;
}

.vote-count {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    color: #f1f5f9;
}

.vote-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}







