/* style/user-community.css */
.page-user-community {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-user-community__section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.page-user-community__section:nth-of-type(even) {
    background-color: #fff;
}

.page-user-community__section-title {
    font-size: 2.5em;
    color: #0A2342;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-user-community__section-title .highlight {
    color: #FFD700;
}

.page-user-community__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-user-community__section-title--small {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 20px;
}

.page-user-community__section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-user-community__hero {
    background: linear-gradient(135deg, #0A2342, #1A3B6A);
    color: #fff;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-user-community__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-user-community__hero > .page-user-community__container {
    position: relative;
    z-index: 1;
}

.page-user-community__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #fff;
}

.page-user-community__hero-title .highlight {
    color: #FFD700;
}

.page-user-community__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    max-width: 900px;
    opacity: 0.9;
}

.page-user-community__hero-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    opacity: 0.8;
}

.page-user-community__hero-image-wrapper {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.page-user-community__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.page-user-community__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-user-community__btn--primary {
    background-color: #FFD700;
    color: #0A2342;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-user-community__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-user-community__btn--secondary {
    background-color: #0A2342;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(10, 35, 66, 0.4);
}

.page-user-community__btn--secondary:hover {
    background-color: #1A3B6A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.6);
}

.page-user-community__btn--link {
    background: none;
    color: #0A2342;
    padding: 10px 20px;
    border: 2px solid #0A2342;
}

.page-user-community__btn--link:hover {
    color: #FFD700;
    border-color: #FFD700;
    background-color: #0A2342;
}

/* About Section */
.page-user-community__about .page-user-community__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
}

@media (min-width: 768px) {
    .page-user-community__about .page-user-community__content-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.page-user-community__about .page-user-community__image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-user-community__about .page-user-community__image {
    width: 100%;
    height: auto;
    display: block;
}

.page-user-community__about .page-user-community__text-content p {
    margin-bottom: 15px;
    color: #444;
}

/* Features Section */
.page-user-community__features {
    background-color: #0A2342;
    color: #fff;
}

.page-user-community__features .page-user-community__section-title {
    color: #fff;
}

.page-user-community__features .page-user-community__section-title::after {
    background-color: #FFD700;
}

.page-user-community__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-user-community__feature-item {
    background-color: #1A3B6A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-user-community__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-user-community__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

.page-user-community__feature-heading {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-user-community__feature-item p {
    font-size: 0.95em;
    color: #ccc;
}

.page-user-community__cta-bottom {
    margin-top: 50px;
}

/* Detail Pages Section */
.page-user-community__detail-pages .page-user-community__detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-user-community__detail-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-user-community__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-user-community__detail-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 3px rgba(10, 35, 66, 0.4));
}

.page-user-community__detail-title {
    font-size: 1.4em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-user-community__detail-title a {
    color: #0A2342;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-user-community__detail-title a:hover {
    color: #FFD700;
}

.page-user-community__detail-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-user-community__detail-item .page-user-community__btn--link {
    margin-top: auto; /* Push button to bottom */
}

/* CTA Section */
.page-user-community__cta {
    background: linear-gradient(135deg, #FFD700, #e6c200);
    color: #0A2342;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-user-community__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:geometric_pattern,light_gold,subtle]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-user-community__cta > .page-user-community__container {
    position: relative;
    z-index: 1;
}

.page-user-community__cta .page-user-community__section-title {
    color: #0A2342;
}

.page-user-community__cta .page-user-community__section-title .highlight {
    color: #0A2342;
}

.page-user-community__cta .page-user-community__section-title::after {
    background-color: #0A2342;
}

.page-user-community__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.page-user-community__cta-image-wrapper {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.page-user-community__cta-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsible Gaming Section */
.page-user-community__responsible-gaming {
    background-color: #0A2342;
    color: #ccc;
    padding: 40px 0;
}

.page-user-community__responsible-gaming .page-user-community__section-title--small {
    color: #FFD700;
}

.page-user-community__responsible-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-user-community__hero-title {
        font-size: 3em;
    }
    .page-user-community__hero-subtitle {
        font-size: 1.3em;
    }
    .page-user-community__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-user-community__hero {
        padding: 80px 0;
    }
    .page-user-community__hero-title {
        font-size: 2.5em;
    }
    .page-user-community__hero-subtitle {
        font-size: 1.1em;
    }
    .page-user-community__section-title {
        font-size: 1.8em;
    }
    .page-user-community__feature-grid, .page-user-community__detail-grid {
        grid-template-columns: 1fr;
    }
    .page-user-community__about .page-user-community__content-grid {
        grid-template-columns: 1fr;
    }
    .page-user-community__about .page-user-community__image-wrapper {
        order: -1; /* Image above text on mobile */
    }
    .page-user-community__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-user-community__hero-title {
        font-size: 2em;
    }
    .page-user-community__hero-subtitle {
        font-size: 1em;
    }
    .page-user-community__section-title {
        font-size: 1.5em;
    }
    .page-user-community__section-description, .page-user-community__hero-text, .page-user-community__cta-text, .page-user-community__responsible-text {
        font-size: 0.9em;
    }
    .page-user-community__feature-item, .page-user-community__detail-item {
        padding: 20px;
    }
    .page-user-community__feature-heading, .page-user-community__detail-title {
        font-size: 1.2em;
    }
}