/* style/user-community.css */
.page-user-community {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #121A2A; /* Slightly lighter dark background */
}

.page-user-community .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-user-community .hero-section {
    background: linear-gradient(135deg, #1A2B4C 0%, #0F1D38 100%);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-user-community .hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(26, 43, 76, 0) 70%);
    opacity: 0.3;
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-user-community .hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-user-community .hero-section p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-user-community .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1em;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-user-community .btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1A2B4C; /* Deep Blue */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-user-community .btn-primary:hover {
    background-color: #e5c100; /* Darker Gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-user-community .btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.page-user-community .btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2B4C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-user-community .btn.large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-user-community section {
    padding: 60px 0;
    background-color: #121A2A;
}

.page-user-community section:nth-of-type(even) {
    background-color: #15223A; /* Slightly different dark blue for contrast */
}

.page-user-community h2 {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-user-community h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
}

.page-user-community p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-user-community ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-user-community ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #E0E0E0;
}

.page-user-community ul li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #FFD700;
}

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

.page-user-community .feature-card {
    background-color: #1A2B4C;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-user-community .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-user-community .feature-card .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-user-community .feature-card h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-user-community .feature-card p {
    color: #D0D0D0;
    font-size: 0.95em;
    flex-grow: 1;
}

.page-user-community .feature-card .btn {
    margin-top: 20px;
    align-self: center;
}

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

.page-user-community .section-item {
    background-color: #1A2B4C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-user-community .section-item .section-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-user-community .section-item h3 {
    color: #FFD700;
    font-size: 1.6em;
    text-align: left;
    margin-bottom: 15px;
}

.page-user-community .section-item p {
    color: #D0D0D0;
    font-size: 0.98em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-user-community .section-item ul {
    margin-top: 15px;
    margin-bottom: 20px;
}

.page-user-community .section-item ul li::before {
    content: '✨';
}

.page-user-community .section-item .button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-user-community .section-item .btn {
    margin-top: auto;
    align-self: flex-start;
}

.page-user-community .how-to-join-section .steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-user-community .how-to-join-section .steps-list li {
    background-color: #1A2B4C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 80px;
    color: #D0D0D0;
}

.page-user-community .how-to-join-section .steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 30px;
    top: 30px;
    background-color: #FFD700;
    color: #1A2B4C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5em;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.page-user-community .how-to-join-section .steps-list li h3 {
    text-align: left;
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-user-community .benefits-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-user-community .benefits-section ul li {
    background-color: #1A2B4C;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-user-community .benefits-section ul li::before {
    content: '⭐';
}

.page-user-community .full-width-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-user-community .safety-responsibility-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-user-community .safety-responsibility-section .btn {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.page-user-community .app-download-section {
    background-color: #1A2B4C;
    text-align: center;
}

.page-user-community .app-download-section h2 {
    color: #FFD700;
}

.page-user-community .app-download-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.page-user-community .app-download-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-user-community .app-download-cta .qr-code {
    width: 180px;
    height: 180px;
    border: 5px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.page-user-community .app-download-cta .download-buttons p {
    margin-top: 15px;
    font-size: 0.9em;
    color: #C0C0C0;
}

.page-user-community .promo-cta-section {
    text-align: center;
}

.page-user-community .promo-cta-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.page-user-community .conclusion-section {
    text-align: center;
    background-color: #1A2B4C;
    padding-bottom: 80px;
}

.page-user-community .conclusion-section h2 {
    color: #FFD700;
}

.page-user-community .conclusion-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-user-community .hero-section h1 {
        font-size: 2.5em;
    }
    .page-user-community h2 {
        font-size: 2em;
    }
    .page-user-community h3 {
        font-size: 1.4em;
    }
    .page-user-community .grid-3-col, .page-user-community .section-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-user-community .how-to-join-section .steps-list li {
        padding-left: 60px;
    }
    .page-user-community .how-to-join-section .steps-list li::before {
        left: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-user-community .hero-section {
        padding: 60px 0;
    }
    .page-user-community .hero-section h1 {
        font-size: 2em;
    }
    .page-user-community .hero-section p {
        font-size: 1em;
    }
    .page-user-community section {
        padding: 40px 0;
    }
    .page-user-community h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-user-community h3 {
        font-size: 1.2em;
    }
    .page-user-community .grid-3-col, .page-user-community .section-list {
        grid-template-columns: 1fr;
    }
    .page-user-community .app-download-cta {
        flex-direction: column;
        gap: 20px;
    }
    .page-user-community .app-download-cta .download-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-user-community .btn.large {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-user-community .hero-section h1 {
        font-size: 1.6em;
    }
    .page-user-community .hero-section p {
        font-size: 0.9em;
    }
    .page-user-community h2 {
        font-size: 1.5em;
    }
    .page-user-community h3 {
        font-size: 1.1em;
    }
    .page-user-community .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-user-community .how-to-join-section .steps-list li {
        padding-left: 50px;
    }
    .page-user-community .how-to-join-section .steps-list li::before {
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }
    .page-user-community .section-item .button-group {
        flex-direction: column;
        align-items: center;
    }
    .page-user-community .section-item .btn {
        width: 100%;
        text-align: center;
    }
}