:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000000; /* Black */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4; /* From shared.css body background */
    --border-color: #e0e0e0;
}

.page-resources-mcw88-beginner-guide {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Ensure high contrast with light body background */
    background-color: var(--bg-light); /* Inherited from body */
}

.page-resources-mcw88-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-mcw88-beginner-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-mcw88-beginner-guide__section-title {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-mcw88-beginner-guide__section-description {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO Section */
.page-resources-mcw88-beginner-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background-color: var(--secondary-color); /* Dark background for hero */
    color: var(--text-light); /* Light text on dark background */
}

.page-resources-mcw88-beginner-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-mcw88-beginner-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-mcw88-beginner-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-mcw88-beginner-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-mcw88-beginner-guide__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color); /* Gold title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-mcw88-beginner-guide__intro-text {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-mcw88-beginner-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-mcw88-beginner-guide__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Steps Section */
.page-resources-mcw88-beginner-guide__section--steps {
    background-color: var(--bg-light);
}

.page-resources-mcw88-beginner-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.page-resources-mcw88-beginner-guide__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-mcw88-beginner-guide__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-mcw88-beginner-guide__step-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure images are responsive */
    display: block;
}

.page-resources-mcw88-beginner-guide__step-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-mcw88-beginner-guide__step-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-resources-mcw88-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto; /* Push button to bottom */
}

.page-resources-mcw88-beginner-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Features Section */
.page-resources-mcw88-beginner-guide__section--features {
    background-color: #fcfcfc;
}

.page-resources-mcw88-beginner-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.page-resources-mcw88-beginner-guide__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-mcw88-beginner-guide__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources-mcw88-beginner-guide__feature-item img {
    width: 200px; /* Min size 200x200 */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle shadow for visual pop */
}

.page-resources-mcw88-beginner-guide__feature-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-resources-mcw88-beginner-guide__feature-text {
    font-size: 15px;
    color: var(--text-dark);
    flex-grow: 1;
}

/* Promotions Section */
.page-resources-mcw88-beginner-guide__section--promotions {
    background-color: var(--bg-light);
}

.page-resources-mcw88-beginner-guide__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.page-resources-mcw88-beginner-guide__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources-mcw88-beginner-guide__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-mcw88-beginner-guide__promo-card img {
    width: 100%;
    height: 200px; /* Consistent image height for promo cards */
    object-fit: cover;
    display: block;
}

.page-resources-mcw88-beginner-guide__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-mcw88-beginner-guide__promo-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-resources-mcw88-beginner-guide__promo-text {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-mcw88-beginner-guide__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto; /* Push button to bottom */
}

.page-resources-mcw88-beginner-guide__btn-primary:hover {
    background: #e6c200; /* Slightly darker gold */
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* FAQ Section */
.page-resources-mcw88-beginner-guide__section--faq {
    background-color: #fcfcfc;
}

.page-resources-mcw88-beginner-guide__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-resources-mcw88-beginner-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-mcw88-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-mcw88-beginner-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-mcw88-beginner-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-mcw88-beginner-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--secondary-color);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-resources-mcw88-beginner-guide__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.1);
}

.page-resources-mcw88-beginner-guide__faq-item.active .page-resources-mcw88-beginner-guide__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(180deg);
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-mcw88-beginner-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.page-resources-mcw88-beginner-guide__faq-item.active .page-resources-mcw88-beginner-guide__faq-answer {
    max-height: 2000px !important; /* Ensure content fits */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-resources-mcw88-beginner-guide__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: var(--text-dark);
}

/* Contact Section */
.page-resources-mcw88-beginner-guide__section--contact {
    background-color: var(--secondary-color); /* Dark background */
    color: var(--text-light); /* Light text */
}

.page-resources-mcw88-beginner-guide__section--contact .page-resources-mcw88-beginner-guide__section-title,
.page-resources-mcw88-beginner-guide__section--contact .page-resources-mcw88-beginner-guide__section-description {
    color: var(--text-light);
}

.page-resources-mcw88-beginner-guide__contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-mcw88-beginner-guide__contact-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-mcw88-beginner-guide__contact-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-mcw88-beginner-guide__contact-item p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-resources-mcw88-beginner-guide__section--contact .page-resources-mcw88-beginner-guide__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
}

.page-resources-mcw88-beginner-guide__section--contact .page-resources-mcw88-beginner-guide__btn-primary:hover {
    background: #e6c200;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-mcw88-beginner-guide__main-title {
        font-size: 42px;
    }
    .page-resources-mcw88-beginner-guide__intro-text {
        font-size: 18px;
    }
    .page-resources-mcw88-beginner-guide__section-title {
        font-size: 30px;
    }
    .page-resources-mcw88-beginner-guide__section-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-resources-mcw88-beginner-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-mcw88-beginner-guide__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-resources-mcw88-beginner-guide__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
}