/* style/community-forum.css */
.page-community-forum {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #1A1A1A; /* Auxiliary color as main background */
    line-height: 1.6;
}

.page-community-forum__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-community-forum__section {
    padding: 60px 0;
    text-align: center;
}

.page-community-forum__section:nth-of-type(even) {
    background-color: #2a2a2a;
}

.page-community-forum__section-title,
.page-community-forum__hero-title {
    color: #FFD700; /* Primary gold color for titles */
    font-size: 2.8em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-community-forum__hero-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.page-community-forum__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #CCCCCC;
}

.page-community-forum__hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-community-forum__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-community-forum__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1A1A1A; /* Dark text on gold */
    border: 2px solid #FFD700;
}

.page-community-forum__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-community-forum__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-community-forum__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A1A1A;
}

.page-community-forum__hero-image,
.page-community-forum__app-image,
.page-community-forum__section-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-community-forum__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-community-forum__category-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-community-forum__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-community-forum__category-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.page-community-forum__category-title,
.page-community-forum__benefit-title,
.page-community-forum__guide-title {
    color: #FFD700;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: left;
}

.page-community-forum__category-item p {
    color: #CCCCCC;
    font-size: 0.95em;
}

.page-community-forum__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-community-forum__benefit-item {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-community-forum__benefit-item p {
    color: #CCCCCC;
}

.page-community-forum__guide-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-community-forum__rules-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-community-forum__rules-list li {
    background-color: #1A1A1A;
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid #FFD700;
    border-radius: 4px;
    color: #E0E0E0;
    font-size: 1em;
}

.page-community-forum__rules-list li strong {
    color: #FFD700;
}

.page-community-forum__app-download .page-community-forum__btn {
    margin-top: 30px;
}

.page-community-forum__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-community-forum__section-title,
    .page-community-forum__hero-title {
        font-size: 2em;
    }

    .page-community-forum__hero-description {
        font-size: 1em;
    }

    .page-community-forum__hero-buttons,
    .page-community-forum__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-community-forum__btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-community-forum__category-grid,
    .page-community-forum__benefits-grid {
        grid-template-columns: 1fr;
    }

    .page-community-forum__category-item,
    .page-community-forum__benefit-item,
    .page-community-forum__guide-item {
        padding: 20px;
    }

    .page-community-forum__category-title,
    .page-community-forum__benefit-title,
    .page-community-forum__guide-title {
        font-size: 1.5em;
    }
}