/* style/no-hu.css */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-no-hu {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--deep-navy-color); /* Assuming body background is deep-navy-color from shared.css */
}

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

.page-no-hu__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-no-hu__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    border-radius: 2px;
}

.page-no-hu__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.page-no-hu__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-no-hu__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-no-hu__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-no-hu__btn-secondary:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

/* Hero Section */
.page-no-hu__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Assuming shared.css handles body padding-top */
    background-color: var(--deep-navy-color);
    position: relative;
    overflow: hidden;
}

.page-no-hu__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-no-hu__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover the area, may crop */
    display: block;
}

.page-no-hu__hero-content {
    position: relative;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 2;
}

.page-no-hu__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
    font-weight: bold;
}

.page-no-hu__hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Introduction Section */
.page-no-hu__introduction-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

/* Why Choose Section */
.page-no-hu__why-choose-section {
    padding: 80px 0;
    background-color: var(--deep-navy-color);
}

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

.page-no-hu__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-no-hu__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-no-hu__feature-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-no-hu__feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Popular Games Section */
.page-no-hu__popular-games-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.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: var(--deep-navy-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-no-hu__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-no-hu__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for game thumbnails */
    object-fit: cover;
    display: block;
}

.page-no-hu__game-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.page-no-hu__game-trial-frame {
    border: none;
    width: 100%;
    height: 200px; /* Consistent iframe height */
    display: block;
    background-color: #000;
}

.page-no-hu__game-card .page-no-hu__cta-button {
    margin-top: auto; /* Push button to bottom */
    width: calc(100% - 30px); /* Adjust for padding */
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}

/* How To Play Section */
.page-no-hu__how-to-play-section {
    padding: 80px 0;
    background-color: var(--deep-navy-color);
}

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

.page-no-hu__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-no-hu__step-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-no-hu__step-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-no-hu__step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-no-hu__step-item .page-no-hu__cta-button {
    margin-top: auto; /* Push button to bottom */
    width: calc(100% - 0px); /* Full width within padding */
    margin-left: 0;
    margin-right: 0;
}

/* Promotions Section */
.page-no-hu__promotions-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.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: var(--deep-navy-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-no-hu__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-no-hu__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
}

.page-no-hu__promo-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    padding: 15px;
    font-weight: bold;
}

.page-no-hu__promo-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0 15px 15px;
    line-height: 1.7;
    flex-grow: 1;
}

.page-no-hu__promo-card .page-no-hu__cta-button {
    margin-top: auto;
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-no-hu__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy-color);
}

.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(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--primary-color);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-no-hu__faq-question:hover {
    background-color: var(--secondary-color);
}

.page-no-hu__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    user-select: none;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-question {
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
}

.page-no-hu__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    background-color: var(--card-bg);
    border-radius: 0 0 8px 8px;
}

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

/* Conclusion Section */
.page-no-hu__conclusion-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    text-align: center;
}

/* General Image Styling */
.page-no-hu img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

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

    .page-no-hu__hero-title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }

    .page-no-hu__hero-description {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }

    .page-no-hu__feature-grid, .page-no-hu__game-grid, .page-no-hu__steps-grid, .page-no-hu__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-no-hu__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-no-hu__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
    }

    .page-no-hu__hero-image-wrapper {
        max-height: none; /* Remove desktop height limit */
    }

    .page-no-hu__hero-image {
        object-fit: contain !important; /* Contain, not cover for mobile hero */
        aspect-ratio: unset !important;
    }

    .page-no-hu__hero-content {
        padding: 30px 15px;
    }

    .page-no-hu__hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 15px;
    }

    .page-no-hu__hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 25px;
    }

    .page-no-hu__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .page-no-hu__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-no-hu__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 30px;
    }

    .page-no-hu__text-block {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Game Grid mobile */
    .page-no-hu__game-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        overflow-x: hidden;
    }
    
    .page-no-hu__game-card {
        height: auto; /* Allow height to adjust */
    }

    .page-no-hu__game-thumbnail {
        height: 150px; /* Smaller fixed height for mobile */
    }
    
    .page-no-hu__game-title {
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .page-no-hu__game-trial-frame {
        height: 150px; /* Adjust iframe height */
    }

    .page-no-hu__game-card .page-no-hu__cta-button {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    /* Feature Grid mobile */
    .page-no-hu__feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-no-hu__feature-image {
        height: 180px;
    }

    /* Steps Grid mobile */
    .page-no-hu__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-no-hu__step-icon {
        width: 80px;
        height: 80px;
    }
    
    .page-no-hu__step-item .page-no-hu__cta-button {
        width: calc(100% - 0px); /* Full width within padding */
    }

    /* Promo Grid mobile */
    .page-no-hu__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-no-hu__promo-image {
        height: 200px;
    }
    
    .page-no-hu__promo-card .page-no-hu__cta-button {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    /* FAQ mobile */
    .page-no-hu__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

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

    /* General image responsiveness */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-no-hu__section,
    .page-no-hu__card,
    .page-no-hu__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-no-hu__button-group {
        flex-wrap: wrap !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color contrast fixes if needed */
.page-no-hu__dark-section {
  background: var(--card-bg);
  color: var(--text-main);
}
.page-no-hu__dark-section .page-no-hu__text-block {
  color: var(--text-secondary);
}
.page-no-hu__dark-section .page-no-hu__section-title::after {
  background-color: var(--gold-color);
}