/* style/red88-community-newbie-help.css */

/* Base styles for the page content */
.page-red88-community-newbie-help {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #36454F; /* Charcoal Grey for main text */
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-red88-community-newbie-help__hero {
    background: linear-gradient(135deg, #DC143C 0%, #36454F 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Ensure sufficient height */
}

.page-red88-community-newbie-help__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-red88-community-newbie-help__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.page-red88-community-newbie-help__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-red88-community-newbie-help__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
}

.page-red88-community-newbie-help__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Buttons */
.page-red88-community-newbie-help__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    border: none;
    text-align: center;
}

.page-red88-community-newbie-help__btn--primary {
    background-color: #DC143C; /* Crimson */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.page-red88-community-newbie-help__btn--primary:hover {
    background-color: #a8102d; /* Darker Crimson */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.page-red88-community-newbie-help__btn--secondary {
    background-color: #36454F; /* Charcoal Grey */
    color: #ffffff;
    margin-left: 15px;
}

.page-red88-community-newbie-help__btn--secondary:hover {
    background-color: #2a353d; /* Darker Charcoal */
    transform: translateY(-2px);
}

.page-red88-community-newbie-help__btn--link {
    background: none;
    color: #DC143C; /* Crimson for links */
    padding: 0;
    font-size: 1em;
    border-bottom: 2px solid #DC143C;
    border-radius: 0;
}

.page-red88-community-newbie-help__btn--link:hover {
    color: #a8102d;
    border-bottom-color: #a8102d;
}

/* Section common styles */
.page-red88-community-newbie-help__introduction, 
.page-red88-community-newbie-help__faq-section, 
.page-red88-community-newbie-help__guides-section, 
.page-red88-community-newbie-help__tips-section, 
.page-red88-community-newbie-help__community-cta {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-red88-community-newbie-help__section-title {
    font-size: 2.5em;
    color: #DC143C; /* Crimson for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

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

.page-red88-community-newbie-help__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #36454F;
}

/* FAQ Section */
.page-red88-community-newbie-help__faq-list {
    margin-top: 30px;
}

.page-red88-community-newbie-help__faq-item {
    background-color: #f2f2f2;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-red88-community-newbie-help__faq-question {
    font-size: 1.3em;
    color: #36454F;
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    background-color: #e9e9e9;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-red88-community-newbie-help__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-red88-community-newbie-help__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-red88-community-newbie-help__faq-answer {
    padding: 20px 25px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    display: none;
    color: #36454F;
}

.page-red88-community-newbie-help__faq-answer p {
    margin-bottom: 15px;
}

.page-red88-community-newbie-help__image-full-width {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Guides Section */
.page-red88-community-newbie-help__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-red88-community-newbie-help__guide-card {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-red88-community-newbie-help__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.page-red88-community-newbie-help__guide-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-red88-community-newbie-help__guide-card-title {
    font-size: 1.6em;
    color: #DC143C;
    padding: 20px 20px 10px;
    margin: 0;
}

.page-red88-community-newbie-help__guide-card-text {
    font-size: 1em;
    color: #36454F;
    padding: 0 20px 20px;
    margin: 0;
    text-align: justify;
}

/* Tips Section */
.page-red88-community-newbie-help__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-red88-community-newbie-help__tips-list li {
    background-color: #fefefe;
    border-left: 5px solid #DC143C;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 1.1em;
    color: #36454F;
}

.page-red88-community-newbie-help__tips-list li p {
    margin: 0;
}

.page-red88-community-newbie-help__tips-list li strong {
    color: #DC143C;
}

/* Call to Action Section */
.page-red88-community-newbie-help__community-cta {
    text-align: center;
    background-color: #36454F;
    color: #ffffff;
    padding: 80px 0;
}

.page-red88-community-newbie-help__community-cta .page-red88-community-newbie-help__section-title {
    color: #ffffff;
}

.page-red88-community-newbie-help__community-cta .page-red88-community-newbie-help__section-title::after {
    background-color: #ffffff;
}

.page-red88-community-newbie-help__community-cta .page-red88-community-newbie-help__text-content {
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* Floating Promotion */
.page-red88-community-newbie-help__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #DC143C;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.page-red88-community-newbie-help__floating-promo-text {
    margin: 0;
    font-weight: bold;
    font-size: 1.1em;
}

.page-red88-community-newbie-help__floating-promo-btn {
    background-color: #ffffff;
    color: #DC143C;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-red88-community-newbie-help__floating-promo-btn:hover {
    background-color: #f0f0f0;
    color: #a8102d;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

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

    .page-red88-community-newbie-help__hero-subtitle {
        font-size: 1.2em;
    }

    .page-red88-community-newbie-help__section-title {
        font-size: 2em;
    }

    .page-red88-community-newbie-help__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-red88-community-newbie-help__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-red88-community-newbie-help__guide-grid {
        grid-template-columns: 1fr;
    }

    .page-red88-community-newbie-help__floating-promo {
        flex-direction: column;
        align-items: stretch;
        right: 10px;
        left: 10px;
        bottom: 10px;
        padding: 10px 15px;
        text-align: center;
    }
    .page-red88-community-newbie-help__floating-promo-btn {
        width: 100%;
        margin-top: 10px;
    }
}

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

    .page-red88-community-newbie-help__hero-subtitle {
        font-size: 1em;
    }

    .page-red88-community-newbie-help__section-title {
        font-size: 1.8em;
    }

    .page-red88-community-newbie-help__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-red88-community-newbie-help__guide-card-title {
        font-size: 1.4em;
    }
}