.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-beginner-guide__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-beginner-guide__hero-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-beginner-guide__hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    margin-top: -80px; /* Adjust as needed to slightly overlap image for visual effect, but not cover text */
    position: relative;
    z-index: 1;
}

.page-beginner-guide__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-beginner-guide__hero-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-beginner-guide__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
}

.page-beginner-guide__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-beginner-guide__introduction-section,
.page-beginner-guide__how-to-register,
.page-beginner-guide__how-to-login,
.page-beginner-guide__deposit-withdrawal,
.page-beginner-guide__game-types,
.page-beginner-guide__app-download,
.page-beginner-guide__customer-support,
.page-beginner-guide__responsible-gaming,
.page-beginner-guide__faq-section,
.page-beginner-guide__final-cta {
    padding: 60px 0;
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-beginner-guide__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-beginner-guide__sub-section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #57E38D; /* Glow */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
}

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

/* Feature Cards */
.page-beginner-guide__feature-cards,
.page-beginner-guide__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #2E7A4E; /* Border */
}

.page-beginner-guide__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

.page-beginner-guide__card-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-beginner-guide__card-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1; /* Make description take available space */
    margin-bottom: 20px;
}

.page-beginner-guide__card-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-beginner-guide__card-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Step Lists */
.page-beginner-guide__step-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-beginner-guide__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__step-title {
    font-size: 1.3rem;
    color: #57E38D; /* Glow */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-beginner-guide__step-item p {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95rem;
}

.page-beginner-guide__sub-list {
    list-style: disc;
    margin-left: 25px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95rem;
    margin-top: 10px;
}

.page-beginner-guide__sub-list strong {
    color: #F2FFF6; /* Text Main */
}

/* App Features */
.page-beginner-guide__app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.page-beginner-guide__app-features li {
    background-color: #11271B; /* Card BG */
    padding: 15px 20px;
    border-radius: 8px;
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
    border-left: 4px solid #57E38D; /* Glow */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Contact Options */
.page-beginner-guide__contact-options {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-beginner-guide__contact-options li {
    background-color: #11271B; /* Card BG */
    padding: 15px 20px;
    border-radius: 8px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
    border-left: 4px solid #F2C14E; /* Gold */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide__contact-options li strong {
    color: #F2FFF6; /* Text Main */
}

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

.page-beginner-guide__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    list-style: none; /* Hide default marker */
}

.page-beginner-guide__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

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

.page-beginner-guide__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #57E38D; /* Glow */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-beginner-guide__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
}

/* Images within content sections */
.page-beginner-guide__how-to-register img,
.page-beginner-guide__deposit-withdrawal img,
.page-beginner-guide__app-download img {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-beginner-guide__hero-section {
        padding-bottom: 20px;
    }

    .page-beginner-guide__hero-content {
        margin-top: -40px; /* Less overlap on mobile */
        padding: 15px;
    }

    .page-beginner-guide__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-beginner-guide__hero-description {
        font-size: 1rem;
    }

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

    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-beginner-guide__introduction-section,
    .page-beginner-guide__how-to-register,
    .page-beginner-guide__how-to-login,
    .page-beginner-guide__deposit-withdrawal,
    .page-beginner-guide__game-types,
    .page-beginner-guide__app-download,
    .page-beginner-guide__customer-support,
    .page-beginner-guide__responsible-gaming,
    .page-beginner-guide__faq-section,
    .page-beginner-guide__final-cta {
        padding: 40px 0;
    }

    .page-beginner-guide__container {
        padding: 0 15px;
    }

    .page-beginner-guide__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-beginner-guide__sub-section-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-beginner-guide__text-block {
        font-size: 0.9rem;
    }

    .page-beginner-guide__feature-cards,
    .page-beginner-guide__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-beginner-guide__card {
        padding: 20px;
    }

    .page-beginner-guide__card-title {
        font-size: 1.2rem;
    }

    .page-beginner-guide__card-description {
        font-size: 0.9rem;
    }

    .page-beginner-guide__step-item {
        padding: 20px;
    }

    .page-beginner-guide__step-title {
        font-size: 1.1rem;
    }

    .page-beginner-guide__step-item p,
    .page-beginner-guide__sub-list {
        font-size: 0.85rem;
    }

    .page-beginner-guide__app-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-beginner-guide__app-features li {
        font-size: 0.9rem;
    }

    .page-beginner-guide__contact-options li {
        font-size: 0.9rem;
    }

    .page-beginner-guide__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-beginner-guide__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9rem;
    }

    /* Mobile image and video responsiveness */
    .page-beginner-guide img,
    .page-beginner-guide video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-beginner-guide__hero-image-wrapper,
    .page-beginner-guide__video-section,
    .page-beginner-guide__video-container,
    .page-beginner-guide__video-wrapper,
    .page-beginner-guide__container,
    .page-beginner-guide__card,
    .page-beginner-guide__step-item,
    .page-beginner-guide__app-features li,
    .page-beginner-guide__contact-options li,
    .page-beginner-guide__faq-item {
        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__cta-buttons {
        flex-direction: column; /* Ensure buttons stack vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}