/* Community Page Styles */

.community-hero {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    /* color: white; */
    padding: 120px 0 80px;
    text-align: center;
}

.community-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.community-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Community Platforms */
.community-platforms {
    padding: 80px 0;
    background: #f8f9fa;
}

.community-platforms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* .platform-card.discord {
    border-color: #5865f2;
} */

.platform-card.discord:hover {
    /* border-color: #5865f2; */
    /* background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%); */
    color: white;
}

.platform-card.reddit {
    border-color: #ff4500;
}

.platform-card.reddit:hover {
    border-color: #ff4500;
    background: linear-gradient(135deg, #ff4500 0%, #e03d00 100%);
    color: white;
}

.platform-card.youtube {
    border-color: #ff0000;
}

.platform-card.youtube:hover {
    border-color: #ff0000;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
}

.platform-card.twitter {
    border-color: #1da1f2;
}

.platform-card.twitter:hover {
    border-color: #1da1f2;
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.platform-stats {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
}

.platform-card:hover .platform-stats {
    color: rgba(255,255,255,0.9);
}

.platform-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.platform-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.platform-card:hover .platform-btn {
    background: rgba(255,255,255,0.2);
    color: white;
}

.platform-card:hover .platform-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Community Forums */
.community-forums {
    padding: 80px 0;
    background: white;
}

.community-forums h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.forums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.forum-category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.forum-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.forum-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.forum-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.forum-stats span {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.forum-category p {
    color: #666;
    line-height: 1.6;
}

/* Hot Topics */
.hot-topics {
    padding: 80px 0;
    background: #f8f9fa;
}

.hot-topics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.topics-list {
    max-width: 800px;
    margin: 0 auto;
}

.topic-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.topic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.topic-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
}

.topic-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.topic-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.topic-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.topic-meta span {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.topic-meta span:first-child {
    background: #667eea;
    color: white;
}

/* Upcoming Events */
.upcoming-events {
    padding: 80px 0;
    background: white;
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.event-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.event-date {
    text-align: center;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 80px;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-content p {
    margin-bottom: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.event-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-meta span {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .community-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .forums-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .topic-item {
        flex-direction: column;
        text-align: center;
    }
    
    .topic-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .community-hero {
        padding: 100px 0 60px;
    }
    
    .community-hero-content h1 {
        font-size: 2rem;
    }
    
    .community-subtitle {
        font-size: 1rem;
    }
    
    .community-platforms,
    .community-forums,
    .hot-topics,
    .upcoming-events {
        padding: 60px 0;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .forum-category {
        padding: 1.5rem;
    }
    
    .topic-item {
        padding: 1rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
}