/* Base styles for the Nổ Hũ page */
.page-no-hu {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

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

/* Color contrast classes */
.page-no-hu__dark-bg {
    background-color: #0D0E12;
    color: #FFF3E6;
}

.page-no-hu__light-bg {
    background-color: #17191F; /* Card BG, slightly lighter for distinction */
    color: #FFF3E6;
}

.page-no-hu__section-title {
    font-size: 2.5em;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-no-hu__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-no-hu__text-block--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-no-hu__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #A84F0C; /* Border */
}

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

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

.page-no-hu__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-no-hu__btn-secondary {
    background: #17191F;
    color: #FFA53A;
    border: 2px solid #FFA53A;
}

.page-no-hu__btn-secondary:hover {
    background: #FFA53A;
    color: #17191F;
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.3);
}

.page-no-hu__btn-outline {
    background: transparent;
    color: #FFA53A;
    border: 1px solid #FFA53A;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-no-hu__btn-outline:hover {
    background: #FFA53A;
    color: #17191F;
}

.page-no-hu__text-link {
    color: #FFA53A;
    text-decoration: underline;
}

.page-no-hu__text-link:hover {
    color: #FFB04D;
}

/* Hero Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Approximately 10px top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-no-hu__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

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

.page-no-hu__hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual flow */
    background-color: rgba(13, 14, 18, 0.85); /* Semi-transparent dark background */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border: 1px solid #A84F0C;
}

.page-no-hu__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Clamp for responsive H1 */
    color: #FFB04D;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
}

.page-no-hu__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFF3E6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-no-hu__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Intro Section */
.page-no-hu__intro-section {
    padding: 60px 0;
}

/* Benefits Section */
.page-no-hu__benefits-section {
    padding: 60px 0;
}

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

.page-no-hu__benefit-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-no-hu__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-no-hu__card-text {
    font-size: 1em;
    color: #FFF3E6;
}

/* Gameplay Section & Tips Section */
.page-no-hu__gameplay-section,
.page-no-hu__tips-section,
.page-no-hu__promotions-section,
.page-no-hu__security-section {
    padding: 60px 0;
}

.page-no-hu__guide-list,
.page-no-hu__tips-list,
.page-no-hu__promotions-list,
.page-no-hu__security-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-no-hu__guide-list li,
.page-no-hu__tips-list li,
.page-no-hu__promotions-list li,
.page-no-hu__security-features li {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    font-size: 1.1em;
    color: #FFF3E6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-no-hu__guide-list li strong,
.page-no-hu__tips-list li strong,
.page-no-hu__promotions-list li strong,
.page-no-hu__security-features li strong {
    color: #FFA53A;
}

.page-no-hu__cta-buttons--center {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Popular Games Section */
.page-no-hu__popular-games-section {
    padding: 60px 0;
}

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

.page-no-hu__game-card {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-no-hu__game-card .page-no-hu__card-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-no-hu__game-card .page-no-hu__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #FFB04D;
}

.page-no-hu__game-card .page-no-hu__card-text {
    font-size: 0.95em;
    color: #FFF3E6;
    flex-grow: 1;
    margin-bottom: 15px;
}

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

.page-no-hu__faq-list {
    margin-top: 40px;
}

.page-no-hu__faq-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFA53A;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

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

.page-no-hu__faq-question .page-no-hu__faq-qtext {
    flex-grow: 1;
    color: #FFB04D;
}

.page-no-hu__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFA53A;
    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: 0 20px 20px;
    font-size: 1.1em;
    color: #FFF3E6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    transition: max-height 0.5s ease-in;
}

/* Final CTA Section */
.page-no-hu__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-no-hu__container {
        padding: 0 15px;
    }

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

    .page-no-hu__hero-content-wrapper {
        margin-top: -60px;
        padding: 30px 15px;
    }

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

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

    .page-no-hu__benefits-grid,
    .page-no-hu__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .page-no-hu__benefit-card,
    .page-no-hu__game-card {
        padding: 20px;
    }

    .page-no-hu__card-title {
        font-size: 1.3em;
    }

    .page-no-hu__guide-list li,
    .page-no-hu__tips-list li,
    .page-no-hu__promotions-list li,
    .page-no-hu__security-features li {
        font-size: 1em;
        padding: 15px;
    }

    .page-no-hu__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-no-hu__faq-answer {
        font-size: 1em;
        padding: 0 15px 15px;
    }
}

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

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

    /* HERO 主图区域 */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Approximately 10px top padding */
    }

    .page-no-hu__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-no-hu__hero-content-wrapper {
        margin-top: -40px;
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-no-hu__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-no-hu__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* 长文金框区 - N/A for this page type */
    /* Game轮播 - N/A for this page type */
    /* 合作品牌六宫格 - N/A for this page type */
    /* 博客卡片区 - N/A for this page type */

    /* 通用图片与容器 */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-no-hu__container,
    .page-no-hu__intro-section,
    .page-no-hu__benefits-section,
    .page-no-hu__gameplay-section,
    .page-no-hu__tips-section,
    .page-no-hu__popular-games-section,
    .page-no-hu__promotions-section,
    .page-no-hu__security-section,
    .page-no-hu__faq-section,
    .page-no-hu__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-no-hu__benefits-grid,
    .page-no-hu__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-no-hu__benefit-card,
    .page-no-hu__game-card {
        padding: 20px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-no-hu__card-image {
        max-width: 80% !important;
        width: 80% !important;
        margin: 0 auto 20px auto;
    }

    .page-no-hu__guide-list li,
    .page-no-hu__tips-list li,
    .page-no-hu__promotions-list li,
    .page-no-hu__security-features li {
        font-size: 0.95em;
        padding: 15px;
    }

    /* 按钮与按钮容器 */
    .page-no-hu__btn-primary,
    .page-no-hu__btn-secondary,
    .page-no-hu__btn-outline,
    .page-no-hu a[class*="button"],
    .page-no-hu a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-no-hu__cta-buttons,
    .page-no-hu__button-group,
    .page-no-hu__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-no-hu__cta-buttons {
        flex-direction: column;
    }

    .page-no-hu__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-no-hu__faq-answer {
        font-size: 0.95em;
        padding: 0 15px 15px;
    }
}