/* style/no-hu.css */

/* General Styles for .page-no-hu scope */
.page-no-hu {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is default white */
}

/* Section common styles */
.page-no-hu__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-no-hu__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-no-hu__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555555;
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
    box-sizing: border-box;
}

.page-no-hu__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-no-hu__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-no-hu__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-no-hu__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-no-hu__btn-play {
    background-color: #C30808; /* Red for play/register/login as per custom color */
    color: #FFFF00; /* Yellow text for play/register/login as per custom color */
    border: 2px solid #C30808;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-no-hu__btn-play:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-no-hu__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-no-hu__dark-bg .page-no-hu__section-title,
.page-no-hu__dark-bg .page-no-hu__section-description,
.page-no-hu__dark-bg .page-no-hu__main-title,
.page-no-hu__dark-bg .page-no-hu__hero-description,
.page-no-hu__dark-bg .page-no-hu__game-card-title a {
    color: #FFFFFF;
}

.page-no-hu__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}
.page-no-hu__light-bg a {
    color: #017439; /* Links in light sections */
    text-decoration: underline;
}
.page-no-hu__light-bg a:hover {
    color: #005a2e;
}

/* HERO Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Prevent content overflow */
}

.page-no-hu__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 40px;
}

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

.page-no-hu__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 600px;
}

.page-no-hu__hero-description {
    font-size: 1.15em;
    margin-bottom: 30px;
    max-width: 600px;
}

.page-no-hu__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-no-hu__hero-side-image {
    max-width: 800px; /* Use the width from HTML img tag */
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 12px;
}

/* Intro Section (Module 1 equivalent) */
.page-no-hu__intro-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-no-hu__feature-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-no-hu__icon-box-media {
    width: 200px; /* Fixed width for square */
    height: 200px; /* Fixed height for square */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0f2f1; /* Light background for the circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-no-hu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the circular area */
    border-radius: 50%;
    display: block;
}

.page-no-hu__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-no-hu__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Game Showcase Section */
.page-no-hu__game-showcase {
    padding-top: 60px;
    padding-bottom: 60px;
}

.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: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-no-hu__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for cards on desktop */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-no-hu__game-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFFFFF; /* White for dark background */
}
.page-no-hu__game-card-title a {
    color: #FFFFFF;
    text-decoration: none;
}
.page-no-hu__game-card-title a:hover {
    text-decoration: underline;
}

.page-no-hu__game-card-text {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px;
    margin-bottom: 20px;
}

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

/* Guide Section */
.page-no-hu__guide-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-no-hu__step-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-no-hu__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #017439;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-no-hu__step-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-no-hu__step-text {
    font-size: 1em;
    color: #555555;
}

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

/* Tips Section */
.page-no-hu__tips-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-no-hu__tips-list {
    max-width: 800px;
    margin: 40px auto 0;
    list-style: none;
    padding: 0;
}

.page-no-hu__tips-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-no-hu__tips-list li p {
    margin: 0;
    color: #FFFFFF;
}

.page-no-hu__tips-list li strong {
    color: #FFFF00; /* Highlight important text */
}

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

/* FAQ Section */
.page-no-hu__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-no-hu__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    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: #017439;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* Remove default marker */
}
.page-no-hu__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}
.page-no-hu__faq-question::marker {
    display: none; /* Hide default marker for other browsers */
}

.page-no-hu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-no-hu__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #555555;
    background-color: #fefefe;
}

.page-no-hu__faq-answer p {
    margin: 0;
}

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

/* Register Promo Section */
.page-no-hu__register-promo {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-no-hu__register-promo-content {
    max-width: 900px;
}

.page-no-hu__register-promo .page-no-hu__section-title {
    color: #FFFFFF;
}

.page-no-hu__register-promo .page-no-hu__section-description {
    color: #f0f0f0;
}

.page-no-hu__btn-register {
    background-color: #C30808; /* Red for register */
    border-color: #C30808;
    color: #FFFF00; /* Yellow text for register */
}
.page-no-hu__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-no-hu__btn-login {
    background-color: #C30808; /* Red for login */
    border-color: #C30808;
    color: #FFFF00; /* Yellow text for login */
}
.page-no-hu__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-no-hu__hero-container {
        padding: 30px 16px;
        gap: 30px;
    }

    .page-no-hu__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-no-hu__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }
    .page-no-hu__hero-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }
    .page-no-hu__hero-content,
    .page-no-hu__hero-image {
        flex: 1 1 100%;
        min-width: unset;
        text-align: center;
    }
    .page-no-hu__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller font for mobile H1 */
        margin-bottom: 15px;
        max-width: 100%;
    }
    .page-no-hu__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
        max-width: 100%;
    }
    .page-no-hu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-no-hu__cta-buttons .page-no-hu__btn-primary,
    .page-no-hu__cta-buttons .page-no-hu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-no-hu__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Intro Section (Module 1 equivalent) */
    .page-no-hu__intro-section,
    .page-no-hu__game-showcase,
    .page-no-hu__guide-section,
    .page-no-hu__tips-section,
    .page-no-hu__faq-section,
    .page-no-hu__register-promo {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .page-no-hu__content-area {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-no-hu__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-no-hu__section-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-no-hu__features-grid,
    .page-no-hu__game-grid,
    .page-no-hu__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    /* Module 1 three-column square image */
    .page-no-hu__icon-box-media {
        width: 150px; /* Still square, but smaller */
        height: 150px;
        margin-bottom: 15px;
    }
    .page-no-hu__icon-box-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Game Showcase Card */
    .page-no-hu__game-card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure responsiveness */
    }
    .page-no-hu__game-card {
        padding-bottom: 15px;
    }
    .page-no-hu__game-card-title {
        font-size: 1.2em;
    }
    .page-no-hu__btn-play {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Guide Section */
    .page-no-hu__step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    .page-no-hu__step-title {
        font-size: 1.2em;
    }
    .page-no-hu__guide-cta .page-no-hu__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Tips Section */
    .page-no-hu__tips-list {
        margin-top: 25px;
    }
    .page-no-hu__tips-list li {
        padding: 15px;
        font-size: 0.95em;
    }
    .page-no-hu__tips-cta .page-no-hu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* FAQ Section */
    .page-no-hu__faq-list {
        margin-top: 25px;
    }
    .page-no-hu__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }
    .page-no-hu__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
    .page-no-hu__faq-cta .page-no-hu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Register Promo Section */
    .page-no-hu__register-promo {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-no-hu__register-promo .page-no-hu__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-no-hu__register-promo .page-no-hu__btn-primary,
    .page-no-hu__register-promo .page-no-hu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Global image and container responsive rules for mobile */
    .page-no-hu img:not(.page-no-hu__icon-box-media img) {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-no-hu__section,
    .page-no-hu__card,
    .page-no-hu__container,
    .page-no-hu__feature-item,
    .page-no-hu__game-card,
    .page-no-hu__step-item,
    .page-no-hu__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}