/* style/no-hu.css */

.page-no-hu {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Default background */
}

.page-no-hu__section {
    padding: 60px 0;
    text-align: center;
}

.page-no-hu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-no-hu__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #017439; /* Primary brand color for titles */
    font-weight: bold;
    line-height: 1.2;
}

.page-no-hu__section-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-no-hu__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0; /* Light background for the section */
}

.page-no-hu__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    overflow: hidden;
}

.page-no-hu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-no-hu__hero-content {
    background-color: #FFFFFF; /* Light background for content block */
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-top: -80px; /* Overlap with image */
    position: relative;
    z-index: 10;
    text-align: center;
    color: #333333;
}

.page-no-hu__hero-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: #017439;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.page-no-hu__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

/* Buttons */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-no-hu__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

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

.page-no-hu__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-no-hu__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

/* Intro Section */
.page-no-hu__intro-section {
    background-color: #f9f9f9;
}

.page-no-hu__image-block {
    margin-top: 40px;
}

.page-no-hu__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-no-hu__game-types-section {
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-no-hu__game-types-section .page-no-hu__section-title,
.page-no-hu__game-types-section .page-no-hu__section-text {
    color: #ffffff;
}

.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-no-hu__game-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-no-hu__game-card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How To Play Section */
.page-no-hu__how-to-play-section {
    background-color: #ffffff;
}

.page-no-hu__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-no-hu__step-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #017439;
}

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

.page-no-hu__step-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
}

/* Tips Section */
.page-no-hu__tips-section {
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-no-hu__tips-section .page-no-hu__section-title,
.page-no-hu__tips-section .page-no-hu__section-text {
    color: #ffffff;
}

.page-no-hu__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    text-align: left;
}

.page-no-hu__tip-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-no-hu__tip-title {
    font-size: 1.4em;
    color: #FFFF00; /* Yellow for highlights on dark background */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-no-hu__tip-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Promo Section */
.page-no-hu__promo-section {
    background-color: #f0f0f0;
}

.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-no-hu__promo-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-no-hu__promo-card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Section */
.page-no-hu__why-choose-section {
    background-color: #ffffff;
    padding-bottom: 80px;
}

.page-no-hu__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-no-hu__advantage-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-right: 5px solid #017439;
}

.page-no-hu__advantage-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-no-hu__advantage-description {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-no-hu__faq-section {
    background-color: #f9f9f9;
    padding-bottom: 80px;
}

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

.page-no-hu__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden; 
}

.page-no-hu__faq-question {
    font-size: 1.2em;
    color: #017439;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
}

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

/* Final CTA Section */
.page-no-hu__final-cta-section {
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
    padding: 80px 0;
}

.page-no-hu__final-cta-section .page-no-hu__section-title,
.page-no-hu__final-cta-section .page-no-hu__section-text {
    color: #ffffff;
}

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

/* Global Image & Button Responsive for desktop */
.page-no-hu img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu a[class*="button"],
.page-no-hu a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-no-hu__hero-cta-buttons,
.page-no-hu__cta-buttons,
.page-no-hu__button-group,
.page-no-hu__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-no-hu {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-no-hu__section {
        padding: 40px 0;
    }

    .page-no-hu__container {
        padding: 0 15px;
    }

    .page-no-hu__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-no-hu__section-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Hero Section Mobile (Part of '顶区轮播' for general hero section, even if static) */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-no-hu__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust overlap */
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-no-hu__hero-title {
        font-size: 2em; /* Smaller H1 for mobile */
    }

    .page-no-hu__hero-description {
        font-size: 1em;
    }

    .page-no-hu__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    /* All images must be responsive (Part of '通用图片与按钮') */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-no-hu__section,
    .page-no-hu__container,
    .page-no-hu__game-card,
    .page-no-hu__promo-card,
    .page-no-hu__step-item,
    .page-no-hu__tip-item,
    .page-no-hu__advantage-item,
    .page-no-hu__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}