/* style/game-community.css */
.page-game-community {
    font-family: 'Arial', sans-serif;
    color: #FFFFFF; /* Light text for dark backgrounds */
    background-color: #003366; /* Dark blue background */
    line-height: 1.6;
    padding-bottom: 50px;
}

.page-game-community strong.page-game-community__highlight {
    color: #FFD700; /* Gold for highlighting keywords */
}

.page-game-community__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #00BFFF, #003366);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-game-community__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-game-community__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
    line-height: 1.2;
}

.page-game-community__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-game-community__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
    filter: grayscale(50%);
}

.page-game-community__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-game-community__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-game-community__section-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-game-community__section-intro {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 40px;
}

.page-game-community__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-game-community__feature-item {
    background-color: #004488; /* Slightly lighter blue for contrast */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #0055AA;
}

.page-game-community__feature-title {
    font-size: 1.5em;
    color: #00BFFF;
    margin-bottom: 15px;
}

.page-game-community__feature-description {
    color: #D0D0D0;
}

.page-game-community__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-game-community__button--primary {
    background-color: #FFD700;
    color: #333333; /* Dark text on gold button */
    border: 2px solid #FFD700;
}

.page-game-community__button--primary:hover {
    background-color: #E6C200;
    color: #1a1a1a;
}

.page-game-community__button--secondary {
    background-color: #00BFFF;
    color: #FFFFFF;
    border: 2px solid #00BFFF;
}

.page-game-community__button--secondary:hover {
    background-color: #00A3E6;
    color: #F0F0F0;
}

.page-game-community__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-game-community__area-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-game-community__card {
    background-color: #004488;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #0055AA;
    display: flex;
    flex-direction: column;
}

.page-game-community__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #0055AA;
}

.page-game-community__card-title {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 20px 10px;
}

.page-game-community__card-description {
    color: #D0D0D0;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-game-community__card .page-game-community__button--secondary {
    margin: 0 20px 20px;
    align-self: flex-start;
}

.page-game-community__cta-section {
    background-color: #FFD700;
    color: #333333; /* Dark text on gold background */
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    margin: 80px auto;
}

.page-game-community__cta-title {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 20px;
}

.page-game-community__cta-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-game-community__cta-small-text {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666666;
}

.page-game-community__text-link {
    color: #00BFFF; /* Blue link on gold background */
    text-decoration: none;
    font-weight: bold;
}

.page-game-community__text-link:hover {
    text-decoration: underline;
    color: #0088CC;
}

.page-game-community__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-game-community__detail-item {
    background-color: #004488;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #0055AA;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-community__detail-title {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.page-game-community__detail-title a {
    color: #00BFFF;
    text-decoration: none;
}

.page-game-community__detail-title a:hover {
    text-decoration: underline;
    color: #4dd2ff;
}

.page-game-community__detail-description {
    color: #D0D0D0;
    margin-bottom: 20px;
}

.page-game-community__faq-item {
    background-color: #004488;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
    border: 1px solid #0055AA;
}

.page-game-community__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-game-community__faq-answer {
    color: #D0D0D0;
}

.page-game-community__contact-info {
    text-align: center;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-game-community__contact-info p {
    margin-bottom: 10px;
}

.page-game-community__contact-info a {
    color: #00BFFF;
    text-decoration: none;
    font-weight: bold;
}

.page-game-community__contact-info a:hover {
    text-decoration: underline;
    color: #4dd2ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-game-community__hero {
        padding: 60px 15px;
    }

    .page-game-community__hero-title {
        font-size: 2em;
    }

    .page-game-community__hero-description {
        font-size: 1em;
    }

    .page-game-community__section-title {
        font-size: 1.8em;
    }

    .page-game-community__section-intro {
        font-size: 1em;
    }

    .page-game-community__cta-title {
        font-size: 2em;
    }

    .page-game-community__cta-description {
        font-size: 1em;
    }

    .page-game-community__features-grid,
    .page-game-community__area-cards,
    .page-game-community__detail-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-game-community__hero {
        padding: 40px 10px;
    }

    .page-game-community__hero-title {
        font-size: 1.6em;
    }

    .page-game-community__hero-description {
        font-size: 0.9em;
    }

    .page-game-community__section-title {
        font-size: 1.5em;
    }

    .page-game-community__section-intro {
        font-size: 0.9em;
    }

    .page-game-community__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-game-community__card-title,
    .page-game-community__feature-title,
    .page-game-community__detail-title,
    .page-game-community__faq-question {
        font-size: 1.2em;
    }
}