/* Community Section Styles */
.community-section {
    padding: 120px 0;
    background-color: #0A0C10;
    color: white;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(125, 126, 255, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 95, 11, 0.08), transparent 50%);
    z-index: 0;
}

.community-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    color: white;
    font-family: var(--font-title);
}

.community-section > .container-wide > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #99A2B2;
    position: relative;
    z-index: 1;
}

.community-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.platform-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
}

.platform-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 15px;
}

.platform-svg {
    width: 100%;
    height: 100%;
}

.github-card .platform-icon {
    color: #7d80ff;
}

.slack-card .platform-icon {
    color: #4A154B;
}

.twitter-card .platform-icon {
    color: #1DA1F2;
}

.youtube-card .platform-icon {
    color: #FF0000;
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
    font-family: var(--font-title);
}

.platform-card p {
    color: #99A2B2;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    color: #7d80ff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.platform-link:hover {
    color: #9597ff;
}

.platform-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.platform-link:hover::after {
    transform: translateX(4px);
}

.metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.metric-label {
    font-size: 0.9rem;
    color: #99A2B2;
}

.community-events {
    position: relative;
    z-index: 1;
}

.community-events h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: white;
    font-family: var(--font-title);
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
}

.event-date {
    background: linear-gradient(135deg, #7d80ff, #ff5f0b);
    color: white;
    width: 80px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.event-month {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-day {
    font-size: 1.75rem;
    font-weight: 700;
}

.event-details {
    padding: 20px;
    flex-grow: 1;
}

.event-details h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: white;
    font-family: var(--font-title);
}

.event-details p {
    font-size: 0.9rem;
    color: #99A2B2;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.event-link {
    display: inline-flex;
    align-items: center;
    color: #7d80ff;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-link:hover {
    color: #9597ff;
}

.event-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.event-link:hover::after {
    transform: translateX(4px);
}

.next-event-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(125, 128, 255, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

@media (max-width: 1200px) {
    .community-section h2 {
        font-size: 2.75rem;
    }
    
    .community-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .community-section {
        padding: 80px 0;
    }
    
    .community-section h2 {
        font-size: 2.25rem;
    }
    
    .community-section > .container-wide > p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .community-section {
        padding: 60px 0;
    }
    
    .community-section h2 {
        font-size: 2rem;
    }
    
    .community-platforms {
        grid-template-columns: 1fr;
    }
    
    .platform-card, 
    .event-card {
        max-width: 100%;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
} 