/* Base styles for the Nổ Hũ page */
.page-no-hu {
    background-color: var(--color-background, #08160F); /* Use custom background color */
    color: var(--text-main, #F2FFF6); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for the bottom of the page */
}

/* Hero Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg, #11271B); /* Use card background for hero section */
}

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

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

.page-no-hu__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 15px 50px;
    text-align: center;
    position: relative; /* Ensure content is above image if any z-index issues */
    z-index: 1;
}

.page-no-hu__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--glow, #57E38D); /* Using Glow color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Subtle glow effect */
}

.page-no-hu__hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8); /* Secondary text color */
    margin-bottom: 30px;
}

.page-no-hu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-no-hu__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: var(--text-main, #F2FFF6);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-no-hu__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-no-hu__btn-secondary {
    background: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-no-hu__btn-secondary:hover {
    background: var(--glow, #57E38D);
    color: var(--background, #08160F);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* General Section Styling */
.page-no-hu__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--background, #08160F); /* Ensure sections use the main background */
}

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

.page-no-hu__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gold, #F2C14E); /* Gold color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-no-hu__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold, #F2C14E), transparent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-no-hu__text-block {
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    text-align: justify;
}

.page-no-hu__text-block strong {
    color: var(--text-main, #F2FFF6);
}

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

.page-no-hu__feature-item {
    background-color: var(--card-bg, #11271B); /* Card background color */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E); /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-no-hu__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-no-hu__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px; /* Ensure images are not too wide */
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-no-hu__feature-title {
    font-size: 1.5rem;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-no-hu__feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Download Guide */
.page-no-hu__download-guide {
    background-color: var(--deep-green, #0A4B2C); /* Deep green for contrast section */
    padding: 80px 0;
}

.page-no-hu__guide-steps {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-no-hu__guide-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg, #11271B);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
}

.page-no-hu__guide-title {
    font-size: 1.6rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-no-hu__guide-subtitle {
    font-size: 1.4rem;
    color: var(--text-main, #F2FFF6);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-no-hu__ordered-list,
.page-no-hu__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-no-hu__ordered-list li,
.page-no-hu__unordered-list li {
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 10px;
}

.page-no-hu__ordered-list li::marker {
    color: var(--glow, #57E38D);
    font-weight: bold;
}

.page-no-hu__unordered-list li::before {
    content: "• ";
    color: var(--glow, #57E38D);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.page-no-hu__guide-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-no-hu__cta-buttons--center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

/* Game Types Grid */
.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: var(--card-bg, #11271B);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-no-hu__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-no-hu__game-title {
    font-size: 1.4rem;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-no-hu__game-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Strategy Tips */
.page-no-hu__strategy-tips {
    padding: 80px 0;
}

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

.page-no-hu__strategy-item {
    background-color: var(--card-bg, #11271B);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-no-hu__strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-no-hu__strategy-title {
    font-size: 1.5rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-no-hu__strategy-description {
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Promotions */
.page-no-hu__promotions {
    background-color: var(--deep-green, #0A4B2C);
    padding: 80px 0;
}