/* style/no-hu.css */

/* Custom color variables */
:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --bg-color-main: #B71C1C;
    --text-main: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red: #7A0E0E;
}

/* Base styles for the page content */
.page-no-hu {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark backgrounds */
    background-color: var(--bg-color-main); /* Main background color */
}

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

.page-no-hu__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color); /* Gold color for main titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Buttons */
.page-no-hu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-small {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button does not overflow */
}

.page-no-hu__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red); /* Text color for gradient button */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-no-hu__btn-secondary {
    background: var(--deep-red); /* Secondary button background */
    color: var(--text-main); /* Secondary button text color */
    border: 2px solid var(--gold-color); /* Secondary button border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-no-hu__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    background: var(--button-gradient);
    color: var(--deep-red);
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-no-hu__btn-small:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Hero Section */
.page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--deep-red); /* Hero background color */
}

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

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

.page-no-hu__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-no-hu__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
}

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

.page-no-hu__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: block; /* Ensure it behaves as a block element */
}

/* Intro Section */
.page-no-hu__intro-section {
    background-color: var(--bg-color-main);
    padding: 60px 0;
}

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

.page-no-hu__feature-item {
    text-align: center;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-no-hu__icon-box-media {
    width: 240px;
    height: 240px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.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: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* Game List Section */
.page-no-hu__game-list-section {
    background-color: var(--deep-red);
    padding: 60px 0;
}

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

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

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

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

.page-no-hu__game-card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-no-hu__game-card-text {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-no-hu__game-trial-section {
    margin-top: 60px;
    text-align: center;
    background-color: var(--deep-red); /* Ensure background is dark */
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-no-hu__game-trial-title {
    font-size: 2em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-no-hu__game-trial-description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-no-hu__game-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid var(--gold-color);
}

.page-no-hu__game-trial-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Promo Section */
.page-no-hu__promo-section {
    background-color: var(--bg-color-main);
    padding: 60px 0;
}

.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(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

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

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

.page-no-hu__promo-card-text {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 15px;
}

/* Strategy Section */
.page-no-hu__strategy-section {
    background-color: var(--deep-red);
    padding: 60px 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);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding-bottom: 20px; /* Added for consistent spacing */
    text-align: center;
}

.page-no-hu__strategy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-no-hu__strategy-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 20px;
    font-weight: 700;
}

.page-no-hu__strategy-text {
    font-size: 1em;
    color: var(--text-main);
    padding: 0 20px;
}

/* FAQ Section */
.page-no-hu__faq-section {
    background-color: var(--bg-color-main);
    padding: 60px 0;
}

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

.page-no-hu__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main); /* Ensure text is light on dark card */
}

.page-no-hu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--gold-color); /* Gold for question text */
    cursor: pointer;
    background-color: var(--card-bg);
    position: relative;
    list-style: none; /* Hide default marker */
}

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

.page-no-hu__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-no-hu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.page-no-hu__faq-item[open] .page-no-hu__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-no-hu__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-main);
    border-top: 1px solid rgba(242, 181, 68, 0.2); /* Lighter border for answer separation */
}

.page-no-hu__faq-answer p {
    margin: 0;
    padding-top: 15px;
}

/* Final CTA Section */
.page-no-hu__cta-final-section {
    background-color: var(--deep-red);
    padding: 80px 0;
    text-align: center;
}

.page-no-hu__cta-final-content {
    max-width: 900px;
}

/* Universal image responsiveness */
.page-no-hu img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Dark section styles (for dark backgrounds) */
.page-no-hu__dark-section {
    background-color: var(--bg-color-main); /* Or any dark background */
    color: var(--text-main); /* Light text for dark backgrounds */
}

/* 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__hero-image {
        order: -1; /* Image appears above content on smaller screens */
        margin-bottom: 30px;
    }

    .page-no-hu__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }

    .page-no-hu__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }

    .page-no-hu__hero-content,
    .page-no-hu__hero-image {
        min-width: unset;
        width: 100%;
    }

    .page-no-hu__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-no-hu__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Buttons */
    .page-no-hu__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-no-hu__btn-primary,
    .page-no-hu__btn-secondary,
    .page-no-hu__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Intro Section - Module 1 three-column icon boxes */
    .page-no-hu__intro-section {
        padding: 40px 0;
    }

    .page-no-hu__content-area {
        padding: 30px 15px;
    }

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

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

    .page-no-hu__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    .page-no-hu__icon-box-media {
        width: 200px;
        height: 200px;
        margin-bottom: 15px;
    }

    .page-no-hu__feature-title {
        font-size: 1.4em;
    }

    /* Game List Section */
    .page-no-hu__game-list-section {
        padding: 40px 0;
    }

    .page-no-hu__game-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

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

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

    .page-no-hu__game-trial-section {
        margin-top: 40px;
        padding: 30px 15px;
    }

    .page-no-hu__game-trial-title {
        font-size: 1.8em;
    }

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

    /* Promo Section */
    .page-no-hu__promo-section {
        padding: 40px 0;
    }

    .page-no-hu__promo-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

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

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

    /* Strategy Section */
    .page-no-hu__strategy-section {
        padding: 40px 0;
    }

    .page-no-hu__strategy-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

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

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

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

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

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

    .page-no-hu__faq-toggle {
        font-size: 1.2em;
    }

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

    /* Final CTA Section */
    .page-no-hu__cta-final-section {
        padding: 60px 0;
    }

    .page-no-hu__cta-final-content {
        padding: 0 15px;
    }

    /* Universal image responsiveness for content area */
    .page-no-hu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* All containers that hold images/content */
    .page-no-hu__section,
    .page-no-hu__card,
    .page-no-hu__container,
    .page-no-hu__hero-container,
    .page-no-hu__content-area,
    .page-no-hu__features-grid,
    .page-no-hu__game-grid,
    .page-no-hu__promo-grid,
    .page-no-hu__strategy-grid,
    .page-no-hu__faq-list,
    .page-no-hu__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding added to individual sections/containers as needed */
    }
}