.page-beginner-guide {
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Body background from shared.css is #08160F (dark), so use light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-beginner-guide__container--center {
    text-align: center;
}

/* Hero Section */
.page-beginner-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #08160F;
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px; /* Limit height for large screens */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-beginner-guide__hero-content {
    text-align: center;
    padding: 20px 20px 60px;
    max-width: 900px;
    margin-top: -80px; /* Pull content up slightly over image for visual flow, but not overlap text on image */
    z-index: 1;
}

.page-beginner-guide__main-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__description {
    font-size: 1.1em;
    color: #A7D9B8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary,
.page-beginner-guide__btn-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-beginner-guide__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
    box-shadow: 0 2px 8px rgba(42, 209, 111, 0.2);
}

.page-beginner-guide__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-beginner-guide__btn-link {
    background-color: transparent;
    color: #2AD16F;
    border: 1px solid #2AD16F;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-beginner-guide__btn-link:hover {
    background-color: #2AD16F;
    color: #ffffff;
}


/* General Section Styles */
.page-beginner-guide__introduction-section,
.page-beginner-guide__download-section,
.page-beginner-guide__register-section,
.page-beginner-guide__deposit-section,
.page-beginner-guide__games-section,
.page-beginner-guide__promotions-section,
.page-beginner-guide__safety-section,
.page-beginner-guide__faq-section,
.page-beginner-guide__final-cta-section {
    padding: 60px 0;
    background-color: #08160F; /* Dark background */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-beginner-guide__section-title {
    font-size: 2.2em;
    color: #F2C14E; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-beginner-guide__text-block {
    font-size: 1em;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 20px;
    text-align: justify;
}

.page-beginner-guide__text-block--center {
    text-align: center;
}

/* Step Cards */
.page-beginner-guide__step-card {
    display: flex;
    align-items: center;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid #2E7A4E;
}

.page-beginner-guide__step-card--reverse {
    flex-direction: row-reverse;
}

.page-beginner-guide__step-image {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__step-content {
    flex: 2;
    min-width: 300px;
}

.page-beginner-guide__step-title {
    font-size: 1.8em;
    color: #F2FFF6;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-beginner-guide__step-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #A7D9B8;
}

.page-beginner-guide__step-list li {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.page-beginner-guide__step-list li strong {
    color: #F2FFF6;
}

/* Game Categories */
.page-beginner-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__game-card {
    background-color: #11271B;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E;
    transition: transform 0.3s ease;
}

.page-beginner-guide__game-card:hover {
    transform: translateY(-5px);
}

.page-beginner-guide__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-beginner-guide__game-title {
    font-size: 1.5em;
    color: #F2FFF6;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-beginner-guide__game-description {
    font-size: 0.95em;
    color: #A7D9B8;
    margin-bottom: 20px;
    min-height: 60px; /* Ensure consistent height for description */
}

/* Promotions */
.page-beginner-guide__promo-card {
    display: flex;
    align-items: center;
    background-color: #11271B;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid #2E7A4E;
}

.page-beginner-guide__promo-image {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.page-beginner-guide__promo-content {
    flex: 2;
    min-width: 300px;
}

.page-beginner-guide__promo-title {
    font-size: 1.8em;
    color: #F2FFF6;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Safety List */
.page-beginner-guide__safety-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-beginner-guide__safety-list li {
    background-color: #11271B;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #A7D9B8;
    font-size: 1em;
    border-left: 5px solid #2AD16F;
}

/* FAQ Section */
.page-beginner-guide__faq-list {
    margin-top: 30px;
}

.page-beginner-guide__faq-item {
    background-color: #11271B;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #2E7A4E;
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #F2FFF6;
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green for question background */
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-beginner-guide__faq-question::-webkit-details-marker {
    display: none;
}

.page-beginner-guide__faq-question:hover {
    background-color: #13994A;
}

.page-beginner-guide__faq-qtext {
    flex-grow: 1;
}

.page-beginner-guide__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #57E38D; /* Glow color for toggle */
}

.page-beginner-guide__faq-answer {
    padding: 15px 25px 20px;
    color: #A7D9B8;
    font-size: 0.95em;
    border-top: 1px solid #1E3A2A;
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-question {
    background-color: #13994A;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-beginner-guide__hero-content {
        margin-top: -60px;
    }
    .page-beginner-guide__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-beginner-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__container {
        padding: 0 15px;
    }

    .page-beginner-guide__hero-image {
        max-height: 400px;
    }

    .page-beginner-guide__hero-content {
        padding: 15px 15px 40px;
        margin-top: -40px;
    }

    .page-beginner-guide__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-beginner-guide__description {
        font-size: 1em;
    }

    .page-beginner-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary,
    .page-beginner-guide__btn-link {
        padding: 12px 20px;
        font-size: 0.95em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-beginner-guide__introduction-section,
.page-beginner-guide__download-section,
.page-beginner-guide__register-section,
.page-beginner-guide__deposit-section,
.page-beginner-guide__games-section,
.page-beginner-guide__promotions-section,
.page-beginner-guide__safety-section,
.page-beginner-guide__faq-section,
.page-beginner-guide__final-cta-section {
        padding: 40px 0;
    }

    .page-beginner-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-beginner-guide__step-card,
    .page-beginner-guide__step-card--reverse {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .page-beginner-guide__step-image,
    .page-beginner-guide__promo-image {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        height: auto !important;
    }

    .page-beginner-guide__game-categories {
        grid-template-columns: 1fr;
    }

    .page-beginner-guide__game-card {
        padding: 20px;
    }

    .page-beginner-guide__promo-card {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .page-beginner-guide__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-beginner-guide__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Mobile image and container adjustments */
    .page-beginner-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-beginner-guide__section,
    .page-beginner-guide__card,
    .page-beginner-guide__container,
    .page-beginner-guide__game-categories,
    .page-beginner-guide__step-card,
    .page-beginner-guide__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-beginner-guide__hero-section {
        padding-top: 10px !important;
    }
    .page-beginner-guide__video-section {
        padding-top: 10px !important;
    }
}