/*
 * IMPORTANT: As this is a non-homepage (no-hu.html), specific homepage modules
 * like the 5 'team' vertical cards, the 700px 'home_content' scrolling box,
 * and the 4-column blog grid are intentionally omitted as per the "非首页图片类型限制"
 * and "禁止在非首页复制首页四段式全套" rules.
 * Responsive styles are provided for the actual content modules present on this page.
 */

:root {
    --page-no-hu-primary-color: #C61F1F;
    --page-no-hu-secondary-color: #E53030;
    --page-no-hu-card-bg: #2A1212;
    --page-no-hu-background-color: #140C0C;
    --page-no-hu-text-main: #FFF1E8;
    --page-no-hu-border-color: #6A1E1E;
    --page-no-hu-gold-color: #F3C54D;
    --page-no-hu-deep-red-color: #7E0D0D;
    --page-no-hu-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-no-hu {
    background-color: var(--page-no-hu-background-color);
    color: var(--page-no-hu-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

.page-no-hu__section-title {
    font-size: 2.8em;
    color: var(--page-no-hu-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-no-hu__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: var(--page-no-hu-text-main);
}

/* Hero Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Rely on body padding for header offset */
    position: relative;
    overflow: hidden;
    background-color: var(--page-no-hu-deep-red-color);
}

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

.page-no-hu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly darken image for text contrast */
}

.page-no-hu__hero-content {
    text-align: center;
    padding: 40px 20px 60px;
    background-color: var(--page-no-hu-background-color);
    border-top: 5px solid var(--page-no-hu-border-color);
}

.page-no-hu__main-title {
    color: var(--page-no-hu-gold-color);
    font-size: clamp(2.5em, 4vw, 3.5em); /* Use clamp for H1 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-no-hu__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--page-no-hu-text-main);
}

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

.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: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Important for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
    text-align: center;
}

.page-no-hu__btn-primary {
    background: var(--page-no-hu-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-no-hu__btn-primary:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.page-no-hu__btn-secondary {
    background: var(--page-no-hu-text-main);
    color: var(--page-no-hu-deep-red-color);
    border: 2px solid var(--page-no-hu-deep-red-color);
}

.page-no-hu__btn-secondary:hover {
    background: var(--page-no-hu-deep-red-color);
    color: var(--page-no-hu-text-main);
    transform: translateY(-2px);
}

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

/* General Content */
.page-no-hu__content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    color: var(--page-no-hu-text-main);
}

.page-no-hu__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-no-hu__sub-title {
    font-size: 1.8em;
    color: var(--page-no-hu-gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-no-hu__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-no-hu__list li {
    margin-bottom: 10px;
}

.page-no-hu__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

/* Games Showcase Section */
.page-no-hu__games-showcase {
    background-color: var(--page-no-hu-card-bg); /* Darker background for contrast */
}

.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: #1f0f0f; /* Slightly lighter than section bg */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--page-no-hu-border-color);
    padding-bottom: 20px;
}

.page-no-hu__game-trial-frame {
    width: 100%;
    height: 200px; /* Adjust height for game iframe */
    border: none;
    display: block;
    margin-bottom: 15px;
}

.page-no-hu__game-title {
    font-size: 1.5em;
    color: var(--page-no-hu-gold-color);
    margin-bottom: 5px;
}

.page-no-hu__game-provider {
    color: var(--page-no-hu-text-main);
    font-size: 0.9em;
}

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

.page-no-hu__guide-step-item {
    background-color: var(--page-no-hu-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-no-hu-border-color);
}

.page-no-hu__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--page-no-hu-button-gradient);
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-no-hu__step-title {
    font-size: 1.5em;
    color: var(--page-no-hu-gold-color);
    margin-bottom: 10px;
}

.page-no-hu__step-description {
    color: var(--page-no-hu-text-main);
    font-size: 1em;
}

.page-no-hu__step-description a {
    color: var(--page-no-hu-gold-color);
    text-decoration: underline;
}

/* Tips Section */
.page-no-hu__tips-section {
    background-color: var(--page-no-hu-card-bg);
}

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

.page-no-hu__tip-card {
    background-color: #1f0f0f;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-no-hu-border-color);
}

.page-no-hu__tip-title {
    font-size: 1.5em;
    color: var(--page-no-hu-gold-color);
    margin-bottom: 10px;
}

.page-no-hu__tip-description {
    color: var(--page-no-hu-text-main);
    font-size: 1em;
}

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

.page-no-hu__promo-card {
    background-color: var(--page-no-hu-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-no-hu-border-color);
    display: flex;
    flex-direction: column;
}

.page-no-hu__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-no-hu__promo-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-no-hu__promo-title {
    font-size: 1.5em;
    color: var(--page-no-hu-gold-color);
    margin-bottom: 10px;
}

.page-no-hu__promo-description {
    color: var(--page-no-hu-text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Us Section */
.page-no-hu__why-choose-us {
    background-color: var(--page-no-hu-deep-red-color);
}

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

.page-no-hu__features-list li {
    background-color: var(--page-no-hu-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-no-hu-border-color);
}

.page-no-hu__feature-title {
    font-size: 1.5em;
    color: var(--page-no-hu-gold-color);
    margin-bottom: 10px;
}

.page-no-hu__feature-description {
    color: var(--page-no-hu-text-main);
    font-size: 1em;
}

/* FAQ Section */
.page-no-hu__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-no-hu__faq-item {
    background-color: var(--page-no-hu-card-bg);
    border: 1px solid var(--page-no-hu-border-color);
    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: var(--page-no-hu-gold-color);
    cursor: pointer;
    background-color: #1f0f0f; /* Slightly lighter for contrast */
    border-bottom: 1px solid transparent; /* Placeholder for details open state */
}

.page-no-hu__faq-item[open] .page-no-hu__faq-question {
    border-bottom-color: var(--page-no-hu-border-color);
}

.page-no-hu__faq-qtext {
    flex-grow: 1;
}

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

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
    transform: rotate(45deg);
}

.page-no-hu__faq-answer {
    padding: 15px 25px 25px;
    color: var(--page-no-hu-text-main);
    font-size: 1em;
    line-height: 1.6;
}

.page-no-hu__faq-answer p {
    margin-bottom: 10px;
}

.page-no-hu__faq-answer a {
    color: var(--page-no-hu-gold-color);
    text-decoration: underline;
}

/* Conclusion Section */
.page-no-hu__cta-final {
    text-align: center;
}

/* Dark Section styling for contrast */
.page-no-hu__dark-section {
    background-color: var(--page-no-hu-card-bg);
    color: var(--page-no-hu-text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-no-hu__section-title {
        font-size: 2.2em;
    }
    .page-no-hu__hero-description {
        font-size: 1.1em;
    }
    .page-no-hu__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-no-hu__games-showcase .page-no-hu__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-no-hu__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-no-hu {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-no-hu__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-no-hu__section-spacing {
        padding: 40px 0;
    }
    .page-no-hu__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-no-hu__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Hero Section - Desktop styles */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Fixed header offset from body */
    }
    .page-no-hu__hero-content {
        padding: 30px 15px 40px;
    }
    .page-no-hu__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-no-hu__hero-description {
        font-size: 1em;
    }
    .page-no-hu__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container */
    }
    .page-no-hu__btn-primary,
    .page-no-hu__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General Images - Desktop styles */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to images */
    }
    .page-no-hu__content-image,
    .page-no-hu__promo-image {
        min-width: unset; /* Remove min-width for mobile */
        min-height: unset; /* Remove min-height for mobile */
        height: auto; /* Ensure height is auto for responsive images */
    }

    /* Games Showcase Section - Desktop styles */
    .page-no-hu__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-no-hu__game-card {
        padding-bottom: 15px;
    }
}