.page-newbie-guide {
    background-color: #140C0C; /* Background */
    color: #FFF1E8; /* Text Main */
    padding-top: 10px; /* Small top padding for first section */
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.page-newbie-guide__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-newbie-guide__section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Hero Section */
.page-newbie-guide__hero-section {
    position: relative;
    padding: 0;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
}

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

.page-newbie-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
}

.page-newbie-guide__hero-content {
    padding: 30px 20px 60px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-newbie-guide__main-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    color: #FFF1E8; /* Text Main */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-newbie-guide__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #FFF1E8; /* Text Main */
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-newbie-guide__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-newbie-guide__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.page-newbie-guide__btn--primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8;
    border: none;
}

.page-newbie-guide__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 74, 0.4);
}

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

.page-newbie-guide__btn--secondary:hover {
    background-color: #F3C54D; /* Gold */
    color: #140C0C; /* Background color for contrast */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 197, 77, 0.3);
}

.page-newbie-guide__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* Introduction Section */
.page-newbie-guide__introduction p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

/* Steps Section */
.page-newbie-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-newbie-guide__step-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-newbie-guide__step-image-wrapper {
    margin: 0 auto 20px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.page-newbie-guide__step-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.page-newbie-guide__step-title {
    font-size: 1.3rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-newbie-guide__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Game Categories Section */
.page-newbie-guide__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.page-newbie-guide__category-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    text-decoration: none;
    color: #FFF1E8; /* Text Main */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-newbie-guide__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__category-image-wrapper {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.page-newbie-guide__category-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-newbie-guide__category-card:hover .page-newbie-guide__category-image {
    transform: scale(1.05);
}

.page-newbie-guide__category-title {
    font-size: 1.2rem;
    color: #F3C54D; /* Gold */
    padding: 15px 15px 5px;
    font-weight: 600;
}

.page-newbie-guide__category-description {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 15px 15px;
    flex-grow: 1;
}

/* Tips Section */
.page-newbie-guide__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-newbie-guide__tip-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-left: 5px solid #E53030; /* Deep Red accent */
    border-radius: 12px;
    padding: 25px;
}

.page-newbie-guide__tip-heading {
    font-size: 1.25rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-newbie-guide__tip-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Section */
.page-newbie-guide__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.page-newbie-guide__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 20px;
}

.page-newbie-guide__faq-question {
    font-size: 1.15rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-newbie-guide__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
}

.page-newbie-guide__faq-more {
    text-align: center;
}

/* Call to Action Section */
.page-newbie-guide__cta {
    text-align: center;
    padding-bottom: 60px;
}

.page-newbie-guide__cta-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-newbie-guide__section {
        padding: 30px 15px;
    }

    .page-newbie-guide__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .page-newbie-guide__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .page-newbie-guide__hero-description {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }

    .page-newbie-guide__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-newbie-guide__btn {
        width: 100%;
        max-width: 300px;
    }

    .page-newbie-guide__introduction p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-newbie-guide__hero-image,
    .page-newbie-guide__step-image,
    .page-newbie-guide__category-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-newbie-guide__section {
        padding: 20px 10px;
    }

    .page-newbie-guide__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    .page-newbie-guide__main-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
    }

    .page-newbie-guide__hero-content {
        padding: 20px 15px 40px;
    }

    .page-newbie-guide__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-newbie-guide__introduction p,
    .page-newbie-guide__step-description,
    .page-newbie-guide__category-description,
    .page-newbie-guide__tip-item p,
    .page-newbie-guide__faq-answer,
    .page-newbie-guide__cta-description {
        font-size: 0.9rem;
    }

    .page-newbie-guide__step-card,
    .page-newbie-guide__category-card,
    .page-newbie-guide__tip-item,
    .page-newbie-guide__faq-item {
        padding: 15px;
    }

    .page-newbie-guide__step-title,
    .page-newbie-guide__category-title,
    .page-newbie-guide__tip-heading,
    .page-newbie-guide__faq-question {
        font-size: 1.1rem;
    }
}

/* Ensure all content images within .page-newbie-guide meet minimum size requirements */
.page-newbie-guide__introduction img,
.page-newbie-guide__steps img,
.page-newbie-guide__game-categories img,
.page-newbie-guide__tips img,
.page-newbie-guide__faq img,
.page-newbie-guide__cta img {
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
}

/* Override min-width/height for responsive images on smaller screens to prevent layout breaks */
@media (max-width: 768px) {
    .page-newbie-guide__introduction img,
    .page-newbie-guide__steps img,
    .page-newbie-guide__game-categories img,
    .page-newbie-guide__tips img,
    .page-newbie-guide__faq img,
    .page-newbie-guide__cta img {
        min-width: unset;
        min-height: unset;
        max-width: 100%;
        height: auto;
    }
}