/* Community page styles */
.community-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.community-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, white, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.community-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.community-stats .stat {
    text-align: center;
}

.community-stats .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.community-stats .label {
    font-size: 1rem;
    opacity: 0.9;
}

.community-channels {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 1.5rem;
}

.channel-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    color: white;
}

.channel-card.twitter:hover { background-color: #1DA1F2; }
.channel-card.discord:hover { background-color: #7289DA; }
.channel-card.telegram:hover { background-color: #0088cc; }
.channel-card.medium:hover { background-color: #00AB6C; }

.channel-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.channel-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.channel-card p {
    opacity: 0.9;
    margin: 0;
}

/* Events Section */
.events-section {
    padding: 6rem 0;
    background-color: var(--gray-100);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 4rem;
}

.events-grid {
    display: grid;
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    font-weight: 600;
}

.event-content {
    padding: 1.5rem;
    flex: 1;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Highlights Section */
.highlights-section {
    padding: 6rem 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.highlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.highlight-content {
    padding: 1.5rem;
}

.highlight-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Guidelines Section */
.guidelines-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: white;
}

.guidelines-content {
    text-align: center;
}

.guidelines-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.guideline-item {
    text-align: center;
}

.guideline-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.guideline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.guideline-item p {
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 991px) {
    .community-hero h1 {
        font-size: 2.5rem;
    }

    .community-channels {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .community-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        padding: 1rem;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
    }
}