/* style/no-hu.css */

/* Base styles for the Nổ Hũ page */
.page-no-hu {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background: #f4f4f4;
}

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

.page-no-hu__section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #C91F17;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-no-hu__text-center {
    text-align: center;
}

/* Hero Section */
.page-no-hu__hero-section {
    background: #B71C1C;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
}

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

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

.page-no-hu__hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #FFCC66;
}

.page-no-hu__hero-description {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #FFF5E1;
}

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

.page-no-hu__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* CTA Buttons */
.page-no-hu__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play,
.page-no-hu__btn-view-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%;
}

.page-no-hu__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E;
    border: 2px solid #F2B544;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-no-hu__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
    transform: translateY(-2px);
}

.page-no-hu__btn-secondary {
    background: #C91F17;
    color: #FFF5E1;
    border: 2px solid #E53935;
    box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-no-hu__btn-secondary:hover {
    background: #E53935;
    box-shadow: 0 6px 20px rgba(201, 31, 23, 0.6);
    transform: translateY(-2px);
}

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

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

.page-no-hu__feature-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-no-hu__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-no-hu__icon-box-media {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #E53935;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px #F4D34D;
}

.page-no-hu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-no-hu__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #C91F17;
    margin-bottom: 15px;
}

.page-no-hu__feature-text {
    font-size: 16px;
    color: #555555;
}

/* Game Showcase Section */
.page-no-hu__game-showcase {
    padding: 60px 0;
    background: #B71C1C;
}

.page-no-hu__game-showcase .page-no-hu__section-title {
    color: #FFCC66;
}

.page-no-hu__game-showcase .page-no-hu__section-description {
    color: #FFF5E1;
}

.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: #D32F2F;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #F2B544;
}

.page-no-hu__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-no-hu__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-no-hu__game-card-content {
    padding: 20px;
    text-align: center;
}

.page-no-hu__game-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-no-hu__game-card-title a {
    color: #FFCC66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-no-hu__game-card-title a:hover {
    color: #FFD86A;
}

.page-no-hu__game-card-text {
    font-size: 15px;
    color: #FFF5E1;
    margin-bottom: 20px;
}

.page-no-hu__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E;
    border: 2px solid #F2B544;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 6px;
}

.page-no-hu__btn-play:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-1px);
}

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

.page-no-hu__guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-no-hu__guide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 20px;
}

.page-no-hu__guide-item:nth-child(even) {
    flex-direction: column-reverse; /* Alternating layout for visual interest */
}

.page-no-hu__guide-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-no-hu__guide-content {
    text-align: center;
    padding: 0 20px;
}

.page-no-hu__guide-title {
    font-size: 26px;
    font-weight: 700;
    color: #C91F17;
    margin-bottom: 15px;
}

.page-no-hu__guide-text {
    font-size: 16px;
    color: #555555;
}

/* Promo Section */
.page-no-hu__promo-section {
    padding: 60px 0;
    background: #E53935;
}

.page-no-hu__promo-section .page-no-hu__section-title {
    color: #FFF5E1;
}

.page-no-hu__promo-section .page-no-hu__section-description {
    color: #FFF5E1;
}

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

.page-no-hu__promo-card {
    background: #C91F17;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #F4D34D;
}

.page-no-hu__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-no-hu__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-no-hu__promo-card-content {
    padding: 20px;
    text-align: center;
}

.page-no-hu__promo-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFD86A;
    margin-bottom: 10px;
}

.page-no-hu__promo-card-text {
    font-size: 15px;
    color: #FFF5E1;
    margin-bottom: 20px;
}

.page-no-hu__btn-view-promo {
    background: #FFF5E1;
    color: #C91F17;
    border: 2px solid #F4D34D;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 6px;
}

.page-no-hu__btn-view-promo:hover {
    background: #F4D34D;
    transform: translateY(-1px);
}

/* Tips Section */
.page-no-hu__tips-section {
    padding: 60px 0;
    background: #f4f4f4;
}

.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: 30px;
}

.page-no-hu__tips-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #C91F17;
}

.page-no-hu__tips-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #C91F17;
    margin-bottom: 10px;
}

.page-no-hu__tips-item-text {
    font-size: 16px;
    color: #555555;
}

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

.page-no-hu__faq-section .page-no-hu__section-title {
    color: #FFCC66;
}

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

.page-no-hu__faq-item {
    background: #D32F2F;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #F2B544;
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 600;
    color: #FFF5E1;
    cursor: pointer;
    user-select: none;
    position: relative;
    list-style: none; /* Hide default details marker */
}

.page-no-hu__faq-question::-webkit-details-marker {
    display: none; /* Hide default details marker for webkit browsers */
}

.page-no-hu__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: #FFD86A;
    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: 0 25px 20px;
    font-size: 16px;
    color: #FFF5E1;
    line-height: 1.6;
}

/* Final CTA Section */
.page-no-hu__final-cta-section {
    padding: 60px 0;
    background: #f4f4f4;
}

.page-no-hu__final-cta-section .page-no-hu__cta-buttons {
    justify-content: center;
    margin-top: 30px;
}

/* 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__cta-buttons {
        justify-content: center;
    }

    .page-no-hu__guide-item {
        flex-direction: column !important;
    }
}

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

    .page-no-hu__container,
    .page-no-hu__hero-container {
        padding: 20px 15px !important;
    }

    /* HERO Section */
    .page-no-hu__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px !important;
    }

    .page-no-hu__hero-title {
        font-size: clamp(28px, 9vw, 40px);
        margin-bottom: 15px;
    }

    .page-no-hu__hero-description {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .page-no-hu__hero-image {
        order: -1; /* Image above text on mobile */
    }

    /* Buttons */
    .page-no-hu__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !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-view-promo,
    .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: 12px 20px;
        font-size: 16px;
    }

    /* Intro Section */
    .page-no-hu__intro-section,
    .page-no-hu__game-showcase,
    .page-no-hu__guide-section,
    .page-no-hu__promo-section,
    .page-no-hu__tips-section,
    .page-no-hu__faq-section,
    .page-no-hu__final-cta-section {
        padding: 30px 0 !important;
    }

    .page-no-hu__section-title {
        font-size: 28px !important;
        margin-bottom: 15px;
    }

    .page-no-hu__section-description {
        font-size: 16px !important;
        margin-bottom: 30px;
    }

    .page-no-hu__feature-grid,
    .page-no-hu__game-grid,
    .page-no-hu__promo-grid,
    .page-no-hu__tips-list {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Module 1 - Feature Items with circular images */
    .page-no-hu__icon-box-media {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 0 0 4px #F4D34D;
    }

    /* Game Showcase Cards */
    .page-no-hu__game-card-image {
        height: 180px;
    }

    .page-no-hu__game-card-title {
        font-size: 20px;
    }

    /* Guide Section */
    .page-no-hu__guide-item {
        padding: 15px;
    }

    .page-no-hu__guide-image {
        margin-bottom: 15px;
    }

    .page-no-hu__guide-title {
        font-size: 22px;
    }

    /* Promo Cards */
    .page-no-hu__promo-card-image {
        height: 180px;
    }

    .page-no-hu__promo-card-title {
        font-size: 20px;
    }

    /* FAQ Section */
    .page-no-hu__faq-question {
        padding: 15px 20px;
        font-size: 18px;
    }

    .page-no-hu__faq-toggle {
        font-size: 20px;
    }

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

    /* General Images and Containers */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !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__promo-card,
    .page-no-hu__guide-item,
    .page-no-hu__tips-item,
    .page-no-hu__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-no-hu__hero-section .page-no-hu__hero-content, .page-no-hu__hero-section .page-no-hu__hero-image { padding: 0 !important; }
}