.page-newbie-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-newbie-guide__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background-color: #08160F; /* Consistent background */
    color: #F2FFF6;
}

.page-newbie-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-newbie-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 20px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-newbie-guide__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page-newbie-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Limit height for hero image */
    min-width: 200px;
    min-height: 200px;
}

.page-newbie-guide__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    border-radius: 8px;
    margin-top: -100px; /* Adjust to slightly overlap the image */
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.page-newbie-guide__hero-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-newbie-guide__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Section Titles */
.page-newbie-guide__section-title {
    font-size: 2.2em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-newbie-guide__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-newbie-guide__subsection-title {
    font-size: 1.8em;
    color: #22C768; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Buttons */
.page-newbie-guide__btn-primary,
.page-newbie-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-newbie-guide__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-newbie-guide__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-newbie-guide__btn-secondary {
    background-color: transparent;
    color: #22C768; /* Auxiliary color */
    border: 2px solid #2E7A4E; /* Border */
}

.page-newbie-guide__btn-secondary:hover {
    background-color: rgba(34, 199, 104, 0.1);
    color: #F2FFF6;
    border-color: #2AD16F;
    transform: translateY(-2px);
}

.page-newbie-guide__btn-text {
    color: #2AD16F; /* Green from gradient */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-newbie-guide__btn-text:hover {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-newbie-guide__cta-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Paragraphs and Lists */
.page-newbie-guide p {
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
}

.page-newbie-guide p strong {
    color: #F2FFF6; /* Text Main */
}

.page-newbie-guide ul,
.page-newbie-guide ol {
    margin-bottom: 20px;
    padding-left: 25px;
    color: #A7D9B8; /* Text Secondary */
}

.page-newbie-guide ul li,
.page-newbie-guide ol li {
    margin-bottom: 10px;
}

.page-newbie-guide ul li strong,
.page-newbie-guide ol li strong {
    color: #F2FFF6; /* Text Main */
}

/* Images and Videos */
.page-newbie-guide__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-newbie-guide__video-section {
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    margin-bottom: 20px;
}

.page-newbie-guide__video-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%; /* Desktop width for flex */
    box-sizing: border-box;
}

.page-newbie-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    width: 100%; /* Ensure wrapper takes full width */
    max-width: 100%;
}

.page-newbie-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-newbie-guide__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.page-newbie-guide__video-caption {
    font-style: italic;
    color: #A7D9B8; /* Text Secondary */
    margin-top: 10px;
}

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

.page-newbie-guide__game-item {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 199, 104, 0.3);
}

.page-newbie-guide__game-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-newbie-guide__game-title a {
    color: #F2FFF6;
    text-decoration: none;
}

.page-newbie-guide__game-title a:hover {
    color: #2AD16F;
    text-decoration: underline;
}

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

.page-newbie-guide__faq-item {
    background-color: #11271B; /* Card BG */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
}

.page-newbie-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #1E3A2A; /* Divider or similar dark green */
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* For details/summary */
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-newbie-guide__faq-question:hover {
    background-color: #2A5C3C;
}

.page-newbie-guide__faq-item[open] .page-newbie-guide__faq-question {
    background-color: #0A4B2C; /* Deep Green when open */
    color: #F2FFF6;
}

.page-newbie-guide__faq-qtext {
    flex-grow: 1;
    color: #F2FFF6;
}

.page-newbie-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Green from gradient */
}

.page-newbie-guide__faq-answer {
    padding: 20px 25px;
    background-color: #11271B; /* Card BG */
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #2E7A4E; /* Border */
}

.page-newbie-guide__faq-answer p {
    margin-bottom: 10px;
}

.page-newbie-guide__faq-answer a {
    color: #2AD16F;
    text-decoration: none;
}

.page-newbie-guide__faq-answer a:hover {
    text-decoration: underline;
}

/* Remove default details marker */
.page-newbie-guide__faq-item > summary::-webkit-details-marker {
    display: none;
}
.page-newbie-guide__faq-item > summary {
    list-style: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-newbie-guide__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }
    .page-newbie-guide__hero-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-newbie-guide__section-title {
        font-size: 2em;
    }
    .page-newbie-guide__subsection-title {
        font-size: 1.6em;
    }
    .page-newbie-guide__game-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-newbie-guide__hero-section {
        padding-bottom: 40px;
    }
    .page-newbie-guide__hero-image {
        max-height: 400px;
    }
    .page-newbie-guide__hero-content {
        margin-top: -60px;
        padding: 20px 10px;
    }
    .page-newbie-guide__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-newbie-guide__hero-description {
        font-size: 1em;
    }
    .page-newbie-guide__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-newbie-guide__btn-primary,
    .page-newbie-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-newbie-guide__section {
        padding: 40px 10px;
    }
    .page-newbie-guide__container {
        padding: 0 10px;
    }
    .page-newbie-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-newbie-guide__subsection-title {
        font-size: 1.4em;
    }

    /* Images responsiveness */
    .page-newbie-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-newbie-guide__section,
    .page-newbie-guide__hero-image-wrapper,
    .page-newbie-guide__video-container,
    .page-newbie-guide__video-wrapper,
    .page-newbie-guide__game-list,
    .page-newbie-guide__game-item,
    .page-newbie-guide__faq-list,
    .page-newbie-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-newbie-guide__video-section {
        padding-top: 10px !important;
    }

    /* Video responsiveness */
    .page-newbie-guide video,
    .page-newbie-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-newbie-guide__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsive */
    .page-newbie-guide__cta-bottom {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-newbie-guide__cta-bottom .page-newbie-guide__btn-primary,
    .page-newbie-guide__cta-bottom .page-newbie-guide__btn-secondary {
        width: 100%;
    }
    .page-newbie-guide__faq-question {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    .page-newbie-guide__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }
}