/* =====================================================
   COMMUNITY PAGE
===================================================== */

.community-page {
    max-width: 1300px;
    margin: 120px auto 80px;
    padding: 0 25px;
}

/* =====================================================
   PAGE HEADER
===================================================== */

.page-header {
    margin-bottom: 80px;
}

.page-header h1 {
    font-size: 3rem;
    color: #00c8ff;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(0, 200, 255, .3);
}

.page-header h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 12px;
    border-radius: 20px;
    background: linear-gradient(90deg, #00c8ff, #0070ff);
}

.page-header p {
    max-width: 700px;
    color: #cfcfcf;
    line-height: 1.8;
}

/* =====================================================
   SECTIONS
===================================================== */

.community-section {
    margin-bottom: 90px;
}

.community-section h2 {
    color: #00c8ff;
    font-size: 2rem;
    margin-bottom: 12px;
}

.community-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 10px;
    border-radius: 20px;
    background: linear-gradient(90deg, #00c8ff, #0070ff);
}

.section-description {
    color: #bfbfbf;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* =====================================================
   PLATFORM GRID
===================================================== */

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.platform-card {
    text-decoration: none;
    color: inherit;

    background: rgba(255, 255, 255, .03);

    border: 1px solid rgba(0, 200, 255, .15);

    border-radius: 16px;

    padding: 30px;

    transition: .3s ease;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: #00c8ff;
    box-shadow: 0 0 25px rgba(0, 200, 255, .15);
}

.platform-card i {
    font-size: 2.5rem;
    color: #00c8ff;
    margin-bottom: 18px;
}

.platform-card h3 {
    color: white;
    margin-bottom: 12px;
}

.platform-card p {
    color: #cfcfcf;
    line-height: 1.7;
}

/* =====================================================
   CTA BUTTONS
===================================================== */

.cta-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.primary-btn,
.secondary-btn {

    display: inline-block;

    padding: 14px 28px;

    border-radius: 8px;

    text-decoration: none;

    transition: .25s;
}

.primary-btn {

    background: linear-gradient(90deg,
            #00c8ff,
            #0070ff);

    color: white;

}

.primary-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 0 18px rgba(0, 200, 255, .35);

}

.secondary-btn {

    border: 1px solid rgba(0, 200, 255, .3);

    color: white;

}

.secondary-btn:hover {

    background: rgba(0, 200, 255, .08);

    border-color: #00c8ff;

}

/* =====================================================
   COMMUNITY EVENTS
===================================================== */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    padding: 22px 25px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(0, 200, 255, .15);
    border-left: 4px solid #00c8ff;
    border-radius: 14px;
    transition: .3s ease;
}

.event-item:hover {
    border-color: #00c8ff;
    transform: translateX(6px);
    box-shadow: 0 0 20px rgba(0, 200, 255, .12);
}

.event-item h3 {
    color: white;
    margin-bottom: 10px;
}

.event-item p {
    color: #cfcfcf;
    line-height: 1.7;
}

/* =====================================================
   NEWS
===================================================== */

.news-placeholder {
    text-align: center;
    padding: 60px 40px;

    border-radius: 16px;

    border: 1px dashed rgba(0, 200, 255, .2);

    background: rgba(255, 255, 255, .03);
}

.news-placeholder i {
    font-size: 3rem;
    color: #00c8ff;
    margin-bottom: 20px;
}

.news-placeholder h3 {
    color: white;
    margin-bottom: 12px;
}

.news-placeholder p {
    color: #cfcfcf;
    max-width: 650px;
    margin: auto;
    line-height: 1.8;
}

/* =====================================================
   GUIDELINES
===================================================== */

.guideline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guideline-list li {
    position: relative;

    padding: 0 0 20px 28px;

    margin-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, .08);

    color: #cfcfcf;

    line-height: 1.8;
}

.guideline-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.guideline-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;

    color: #00c8ff;
    font-weight: bold;

    text-shadow: 0 0 8px rgba(0, 200, 255, .5);
}

/* =====================================================
   COMMUNITY CTA
===================================================== */

.community-cta {
    margin-top: 100px;
    text-align: center;

    background: rgba(255, 255, 255, .03);

    border: 1px solid rgba(0, 200, 255, .15);

    border-radius: 20px;

    padding: 60px 40px;
}

.community-cta h2 {
    color: #00c8ff;
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.community-cta p {
    color: #cfcfcf;
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

/* =====================================================
   CTA BUTTONS
===================================================== */

.cta-buttons {
    display: flex;
    justify-content: center;   /* Center horizontally */
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 220px;
    padding: 14px 28px;

    border-radius: 8px;
    text-decoration: none;
    transition: .25s;
    font-weight: 600;
}

.primary-btn {
    background: linear-gradient(90deg, #00c8ff, #0070ff);
    color: #fff;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(0, 200, 255, .35);
}

.secondary-btn {
    border: 1px solid rgba(0, 200, 255, .3);
    color: #fff;
}

.secondary-btn:hover {
    background: rgba(0, 200, 255, .08);
    border-color: #00c8ff;
}

/* =====================================================
   ANIMATION
===================================================== */

.page-header,
.community-section,
.community-cta {
    animation: fadeUp .7s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .community-page {
        margin-top: 100px;
        padding: 0 18px;
    }

    .page-header {
        text-align: center;
    }

    .page-header h1::after {
        margin: 12px auto 0;
    }

    .community-section h2 {
        text-align: center;
    }

    .community-section h2::after {
        margin: 10px auto 0;
    }

    .section-description {
        text-align: center;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .event-item {
        padding: 20px;
    }

    .news-placeholder {
        padding: 40px 20px;
    }

    .community-cta {
        padding: 40px 20px;
    }

    .cta-buttons {
        justify-content: center;
    }

}