/* ===========================================
   FAQ SECTION (.community)
   Community Hub with Live Updates
   =========================================== */

.community {
    padding: 60px 0;
    background: var(--apple-white);
}

.community-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 1024px) {
    .community-grid {
        grid-template-columns: 1fr;
    }
}

/* Live Feed Styles */
.live-feed {
    background: rgba(20, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    height: 600px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feed-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    animation: feedSlideIn 0.5s ease;
}

@keyframes feedSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.feed-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feed-content {
    flex: 1;
}

.feed-content strong {
    color: var(--neon-pink);
    font-weight: 600;
}

.feed-content p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.feed-time {
    font-size: 0.8rem;
    color: var(--light-text);
    opacity: 0.5;
}

/* Events Section Styles */
.events {
    background: rgba(20, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.event-item {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

.event-date {
    font-size: 0.9rem;
    color: var(--neon-yellow);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-text);
}

.event-description {
    font-size: 1rem;
    color: var(--light-text);
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.event-link:hover {
    color: var(--neon-pink);
    gap: 10px;
}
