/* General styles */
.page-no-hu {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Main text color for dark background */
    background-color: #140C0C; /* Overall background */
}

.page-no-hu__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-no-hu__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold for titles */
}

.page-no-hu__section-title--light {
    color: #FFF1E8; /* Lighter title for dark background */
}

.page-no-hu__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: rgba(255, 241, 232, 0.8); /* Slightly muted text color */
}

.page-no-hu__section-description--light {
    color: #FFF1E8;
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play,
.page-no-hu__btn-details {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-no-hu__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    border: none;
}

.page-no-hu__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-no-hu__btn-secondary {
    background: #2A1212; /* Card BG color */
    color: #F3C54D; /* Gold text */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-no-hu__btn-secondary:hover {
    background: #F3C54D;
    color: #140C0C;
    transform: translateY(-2px);
}

.page-no-hu__btn-play {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    border: none;
    width: 100%; /* Full width in card */
}

.page-no-hu__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-no-hu__btn-details {
    background: #7E0D0D; /* Deep Red */
    color: #FFF1E8;
    border: none;
    width: 100%; /* Full width in card */
}

.page-no-hu__btn-details:hover {
    background: #C61F1F; /* Main Red */
    transform: translateY(-2px);
}

.page-no-hu__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-no-hu__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Images */
.page-no-hu img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 1. HERO Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for --header-offset */
    padding-bottom: 60px;
    background-color: #140C0C;
}

.page-no-hu__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 16px;
}

.page-no-hu__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-no-hu__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    color: #F3C54D;
    line-height: 1.2;
}

.page-no-hu__hero-description {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: #FFF1E8;
}

.page-no-hu__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

/* 2. Intro Section (Module 1 - 3 columns with round images) */
.page-no-hu__intro-section {
    background-color: #2A1212; /* Card BG color */
    padding: 60px 0;
}

.page-no-hu__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__feature-item {
    text-align: center;
    padding: 20px;
    background-color: #140C0C; /* Background color */
    border-radius: 12px;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-no-hu__icon-box-media {
    width: 280px; /* Square dimensions for round image */
    height: 280px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F3C54D; /* Gold border */
}

.page-no-hu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure image is round */
}

.page-no-hu__feature-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F3C54D;
}

.page-no-hu__feature-text {
    font-size: 1em;
    color: rgba(255, 241, 232, 0.8);
}

/* 3. Game List Section */
.page-no-hu__game-list-section {
    background-color: #140C0C;
    padding: 60px 0;
}

.page-no-hu__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__game-card {
    background-color: #2A1212;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #6A1E1E;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-no-hu__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #6A1E1E;
}

.page-no-hu__game-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #F3C54D;
}

.page-no-hu__game-description {
    font-size: 0.95em;
    margin: 0 15px 20px;
    color: rgba(255, 241, 232, 0.7);
    flex-grow: 1;
}

.page-no-hu__btn-play {
    margin: 0 15px 15px;
}

.page-no-hu__view-all-games {
    text-align: center;
    margin-top: 50px;
}

/* 4. Guide Section */
.page-no-hu__guide-section {
    background-color: #2A1212;
    padding: 60px 0;
}

.page-no-hu__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__step-item {
    background-color: #140C0C;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #6A1E1E;
}

.page-no-hu__step-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F3C54D;
}

.page-no-hu__step-text {
    font-size: 1em;
    color: rgba(255, 241, 232, 0.8);
}

/* 5. Promotion Section */
.page-no-hu__promo-section {
    background-color: #140C0C;
    padding: 60px 0;
}

.page-no-hu__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-no-hu__promo-card {
    background-color: #2A1212;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #6A1E1E;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-no-hu__promo-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #6A1E1E;
}

.page-no-hu__promo-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #F3C54D;
}

.page-no-hu__promo-text {
    font-size: 0.95em;
    margin: 0 15px 20px;
    color: rgba(255, 241, 232, 0.7);
    flex-grow: 1;
}

.page-no-hu__btn-details {
    margin: 0 15px 15px;
}

/* 6. FAQ Section */
.page-no-hu__faq-section {
    background-color: #2A1212;
    padding: 60px 0;
}

.page-no-hu__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-no-hu__faq-item {
    background-color: #140C0C;
    border: 1px solid #6A1E1E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFF1E8;
    cursor: pointer;
    background-color: #140C0C;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    list-style: none; /* Hide default marker for details/summary */
}

.page-no-hu__faq-item[open] .page-no-hu__faq-question {
    border-bottom-color: #6A1E1E;
    color: #F3C54D; /* Gold when open */
}

.page-no-hu__faq-question::-webkit-details-marker {
    display: none;
}

.page-no-hu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #F3C54D;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-no-hu__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1em;
    color: rgba(255, 241, 232, 0.8);
    border-top: none;
}

/* 7. Final CTA Section */
.page-no-hu__cta-final-section {
    background-color: #140C0C;
    padding: 80px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-no-hu__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-no-hu__hero-content {
        text-align: center;
    }
    .page-no-hu__main-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    /* General responsive adjustments for content containers */
    .page-no-hu__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* All images must be responsive */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    /* Exception for round images, they should maintain aspect ratio */
    .page-no-hu__icon-box-media img {
        height: 100% !important; /* Keep height 100% of parent square container */
        width: 100% !important;
        object-fit: cover !important;
    }
    .page-no-hu__game-card img,
    .page-no-hu__promo-card img {
         /* Keep fixed height for card images */
        width: 100% !important;
        object-fit: cover !important;
    }

    /* Ensure buttons and their containers are responsive */
    .page-no-hu__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-no-hu__btn-primary,
    .page-no-hu__btn-secondary,
    .page-no-hu__btn-play,
    .page-no-hu__btn-details {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      margin: 5px 0; /* Add vertical margin for stacked buttons */
    }

    /* 1. HERO Section */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }
    .page-no-hu__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }
    .page-no-hu__main-title {
        font-size: clamp(2em, 8vw, 2.8em); /* Smaller font for mobile */
        margin-bottom: 15px;
    }
    .page-no-hu__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-no-hu__hero-image {
        width: 100%;
    }

    /* 2. Intro Section (Module 1 - 3 columns with round images) */
    .page-no-hu__intro-section {
        padding: 40px 0;
    }
    .page-no-hu__features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }
    .page-no-hu__icon-box-media {
        width: 200px; /* Maintain square aspect ratio */
        height: 200px;
        border-width: 2px;
    }
    .page-no-hu__feature-title {
        font-size: 1.5em;
    }
    .page-no-hu__feature-text {
        font-size: 0.95em;
    }

    /* 3. Game List Section */
    .page-no-hu__game-list-section {
        padding: 40px 0;
    }
    .page-no-hu__game-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }
    .page-no-hu__game-title {
        font-size: 1.3em;
    }
    .page-no-hu__game-description {
        font-size: 0.9em;
    }
    .page-no-hu__btn-play {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-no-hu__view-all-games .page-no-hu__btn-primary {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* 4. Guide Section */
    .page-no-hu__guide-section {
        padding: 40px 0;
    }
    .page-no-hu__guide-steps {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }
    .page-no-hu__step-item {
        padding: 25px;
    }
    .page-no-hu__step-title {
        font-size: 1.4em;
    }
    .page-no-hu__step-text {
        font-size: 0.95em;
    }

    /* 5. Promotion Section */
    .page-no-hu__promo-section {
        padding: 40px 0;
    }
    .page-no-hu__promo-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }
    .page-no-hu__promo-title {
        font-size: 1.3em;
    }
    .page-no-hu__promo-text {
        font-size: 0.9em;
    }
    .page-no-hu__btn-details {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* 6. FAQ Section */
    .page-no-hu__faq-section {
        padding: 40px 0;
    }
    .page-no-hu__faq-list {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-no-hu__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-no-hu__faq-answer {
        padding: 10px 20px 20px;
        font-size: 0.95em;
    }

    /* 7. Final CTA Section */
    .page-no-hu__cta-final-section {
        padding: 60px 15px;
    }

    /* Contrast Fixes (if needed, though primary colors should be fine) */
    .page-no-hu__contrast-fix {
      background: #ffffff !important;
      color: #333333 !important;
      border: 1px solid #e0e0e0 !important;
    }

    .page-no-hu__text-contrast-fix {
      color: #333333 !important;
      text-shadow: none !important;
    }
}