.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main */
    background-color: var(--deep-navy); /* Body background is dark, so text should be light */
}

/* Hero Section */
.page-beginner-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom for content */
    overflow: hidden;
    box-sizing: border-box;
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for aesthetic */
}

.page-beginner-guide__hero-content {
    position: relative; /* Not absolute, to ensure "image above text" rule */
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image for visual flow, but not *on* the image */
    background-color: rgba(17, 59, 122, 0.8); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1; /* Ensure content is above any decorative elements if any */
}

.page-beginner-guide__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide__hero-description {
    font-size: 1.1em;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
}

/* General Section Styling */
.page-beginner-guide__section {
    padding: 60px 0;
    box-sizing: border-box;
}

.page-beginner-guide__dark-section {
    background-color: #10233F; /* Card BG */
}

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

.page-beginner-guide__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: 700;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__sub-section-title {
    font-size: clamp(1.4em, 3vw, 2.2em);
    font-weight: 600;
    color: #F3F8FF; /* Text Main */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

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

.page-beginner-guide__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-beginner-guide__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #F3F8FF; /* Text Main */
}

.page-beginner-guide__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #4FA8FF; /* Glow */
}

.page-beginner-guide__list-strong {
    color: #F2C14E; /* Gold */
}

.page-beginner-guide__ordered-list {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #F3F8FF; /* Text Main */
}

.page-beginner-guide__ordered-list li {
    margin-bottom: 10px;
}

/* CTA Buttons */
.page-beginner-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    text-align: center;
}

.page-beginner-guide__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__btn-secondary:hover {
    background-color: #F2C14E; /* Gold */
    color: #10233F; /* Card BG (darker for contrast) */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-beginner-guide__card,
.page-beginner-guide__game-card {
    background-color: #10233F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* For game cards */
    color: inherit;
}

.page-beginner-guide__card:hover,
.page-beginner-guide__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-beginner-guide__card-image,
.page-beginner-guide__game-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 20px;
}

.page-beginner-guide__card-title,
.page-beginner-guide__game-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-beginner-guide__card-description,
.page-beginner-guide__game-description {
    font-size: 0.95em;
    color: #AFC4E8; /* Text Secondary */
    padding: 0 15px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Content Images */
.page-beginner-guide__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Icon List */
.page-beginner-guide__list--icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.page-beginner-guide__list--icons li {
    display: flex;
    align-items: center;
    background-color: #113B7A; /* Primary color */
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #F3F8FF; /* Text Main */
    font-size: 1.05em;
    position: relative;
    padding-left: 60px; /* Space for icon */
    min-width: 280px; /* Ensure sufficient width */
    max-width: 45%; /* For desktop layout */
}

.page-beginner-guide__list--icons li img {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    
    
    object-fit: contain;
    border-radius: 0; /* Icons typically don't have border-radius */
    box-shadow: none; /* Icons typically don't have box-shadow */
    min- /* Ensure minimum size */
    min- /* Ensure minimum size */
}

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

.page-beginner-guide__faq-item {
    background-color: #113B7A; /* Primary color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #F3F8FF; /* Text Main */
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    background-color: #1D5FD1; /* Auxiliary color */
    color: #F3F8FF; /* Text Main */
    border-bottom: 1px solid #244D84; /* Border */
    list-style: none; /* For details/summary */
}

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

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

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

.page-beginner-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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: 20px 25px;
    font-size: 0.95em;
    color: #AFC4E8; /* Text Secondary */
    line-height: 1.8;
}

.page-beginner-guide__faq-answer p {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-beginner-guide__conclusion-section {
    text-align: center;
    background-color: #08162B; /* Deep Navy */
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-beginner-guide__hero-content {
        margin-top: -80px;
        padding: 30px 20px;
    }
    .page-beginner-guide__section {
        padding: 50px 0;
    }
    .page-beginner-guide__section-title {
        margin-bottom: 30px;
    }
    .page-beginner-guide__card-grid,
    .page-beginner-guide__game-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide {
        font-size: 16px; /* Mobile font size for readability */
        line-height: 1.6;
    }
    .page-beginner-guide__hero-section {
        padding: 10px 0 40px;
    }
    .page-beginner-guide__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }
    .page-beginner-guide__main-title {
        font-size: 2.2em;
    }
    .page-beginner-guide__hero-description {
        font-size: 1em;
    }
    .page-beginner-guide__section {
        padding: 40px 0;
    }
    .page-beginner-guide__section-title {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .page-beginner-guide__sub-section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-beginner-guide__paragraph,
    .page-beginner-guide__list li,
    .page-beginner-guide__ordered-list li,
    .page-beginner-guide__faq-answer {
        font-size: 0.95em;
        text-align: left; /* Align text left on mobile for better readability */
    }

    /* Images responsiveness */
    .page-beginner-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-beginner-guide__card-image,
    .page-beginner-guide__game-image {
        height: 180px; /* Adjust height for mobile cards */
    }
    .page-beginner-guide__content-image {
        margin: 20px auto;
    }

    /* Container padding for mobile */
    .page-beginner-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* CTA buttons responsiveness */
    .page-beginner-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Card/Game Grid responsiveness */
    .page-beginner-guide__card-grid,
    .page-beginner-guide__game-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 25px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-beginner-guide__card,
    .page-beginner-guide__game-card {
        padding-bottom: 15px;
    }
    .page-beginner-guide__card-title,
    .page-beginner-guide__game-title {
        font-size: 1.2em;
    }
    .page-beginner-guide__card-description,
    .page-beginner-guide__game-description {
        font-size: 0.9em;
    }

    /* Icon list responsiveness */
    .page-beginner-guide__list--icons {
        flex-direction: column;
        align-items: center;
    }
    .page-beginner-guide__list--icons li {
        max-width: 100%;
        width: 100%;
        min-width: unset; /* Remove min-width for mobile */
        padding-left: 50px;
    }
    .page-beginner-guide__list--icons li img {
        left: 10px;
    }

    /* FAQ responsiveness */
    .page-beginner-guide__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-beginner-guide__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    /* Video section top padding for mobile, must be small */
    .page-beginner-guide__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-beginner-guide__video-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    .page-beginner-guide__video-wrapper { /* If a wrapper is used for aspect ratio */
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    /* Ensure all images and videos inside .page-beginner-guide do not overflow */
    .page-beginner-guide__section,
    .page-beginner-guide__card,
    .page-beginner-guide__container,
    .page-beginner-guide__video-section,
    .page-beginner-guide__video-container,
    .page-beginner-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Added to ensure no overflow */
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__main-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__section-title {
        font-size: 1.6em;
    }
    .page-beginner-guide__sub-section-title {
        font-size: 1.4em;
    }
    .page-beginner-guide__card-image,
    .page-beginner-guide__game-image {
        height: 150px;
    }
}