/* style/red88-community.css */
.page-red88-community {
    font-family: 'Arial', sans-serif;
    color: #36454F; /* Carbon Gray for main text */
    line-height: 1.6;
}

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

.page-red88-community__hero {
    background: linear-gradient(135deg, #DC143C, #8B0000); /* Crimson to Dark Red */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-red88-community__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-red88-community__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    color: #F0F8FF; /* AliceBlue for readability */
}

.page-red88-community__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: auto;
    opacity: 0.2;
    z-index: 0;
    animation: page-red88-community__float 6s ease-in-out infinite;
}

@keyframes page-red88-community__float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.page-red88-community__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.page-red88-community__btn--primary {
    background-color: #DC143C; /* Crimson */
    color: #FFFFFF;
    border: 2px solid #DC143C;
}

.page-red88-community__btn--primary:hover {
    background-color: #A50F2C; /* Darker Crimson */
    transform: translateY(-2px);
}

.page-red88-community__btn--secondary {
    background-color: #36454F; /* Carbon Gray */
    color: #FFFFFF;
    border: 2px solid #36454F;
}

.page-red88-community__btn--secondary:hover {
    background-color: #2A363E; /* Darker Carbon Gray */
    transform: translateY(-2px);
}

.page-red88-community__btn--inline {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 15px;
    background-color: #DC143C;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
}

.page-red88-community__btn--inline:hover {
    background-color: #A50F2C;
}

.page-red88-community__section-title {
    font-size: 2.5em;
    color: #DC143C; /* Crimson */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
}

.page-red88-community__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #DC143C;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-red88-community__paragraph {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #36454F;
}

.page-red88-community__intro, .page-red88-community__sections, .page-red88-community__join-steps, .page-red88-community__exclusive-benefits, .page-red88-community__cta {
    padding: 60px 0;
}

.page-red88-community__intro {
    background-color: #F8F8F8;
}

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

.page-red88-community__feature-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-top: 5px solid #DC143C;
}

.page-red88-community__feature-item:hover {
    transform: translateY(-5px);
}

.page-red88-community__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.page-red88-community__feature-title {
    font-size: 1.5em;
    color: #DC143C;
    margin-bottom: 15px;
}

.page-red88-community__feature-text {
    font-size: 1em;
    color: #555;
}

.page-red88-community__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-red88-community__detail-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #36454F;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-red88-community__detail-title {
    font-size: 1.6em;
    color: #36454F;
    margin-bottom: 15px;
}

.page-red88-community__detail-title a {
    color: #36454F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-red88-community__detail-title a:hover {
    color: #DC143C;
}

.page-red88-community__detail-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-red88-community__join-steps {
    background-color: #F8F8F8;
}

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

.page-red88-community__step-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid #DC143C;
}

.page-red88-community__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-red88-community__step-title {
    font-size: 1.8em;
    color: #36454F;
    margin-bottom: 15px;
}

.page-red88-community__step-text {
    font-size: 1em;
    color: #555;
}

.page-red88-community__exclusive-benefits {
    background-color: #FFFFFF;
}

.page-red88-community__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-red88-community__benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #36454F;
    background-color: #f0f0f0;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-red88-community__benefit-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-red88-community__benefit-list li strong {
    color: #DC143C;
}

.page-red88-community__cta {
    background: linear-gradient(135deg, #36454F, #1C242A); /* Carbon Gray to Darker Gray */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-red88-community__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-red88-community__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #E0E0E0;
}

.page-red88-community__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-red88-community__cta .page-red88-community__btn {
    z-index: 1;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-red88-community__hero-title {
        font-size: 2.5em;
    }

    .page-red88-community__hero-subtitle {
        font-size: 1.2em;
    }

    .page-red88-community__section-title {
        font-size: 2em;
    }

    .page-red88-community__paragraph {
        font-size: 1em;
    }

    .page-red88-community__features-grid, .page-red88-community__detail-list, .page-red88-community__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-red88-community__cta-title {
        font-size: 2.2em;
    }

    .page-red88-community__cta-text {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-red88-community__hero-title {
        font-size: 2em;
    }

    .page-red88-community__hero-subtitle {
        font-size: 1em;
    }

    .page-red88-community__btn {
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-red88-community__cta-title {
        font-size: 1.8em;
    }
}