/* style/no-hu.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --header-offset: 120px; /* Default, will be overridden by shared if present */
}

.page-no-hu {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Light text on dark body background */
    background-color: var(--background-color);
    line-height: 1.6;
}

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

.page-no-hu__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    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(--primary-color);
    border-radius: 2px;
}

.page-no-hu__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-no-hu__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 50px;
    background-color: var(--background-color);
    text-align: center;
}

.page-no-hu__hero-image-container {
    max-width: 100%;
    margin-bottom: 30px;
}

.page-no-hu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 130, 26, 0.5);
}

.page-no-hu__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

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

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

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-no-hu__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(255, 130, 26, 0.4);
}

.page-no-hu__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 130, 26, 0.6);
}

.page-no-hu__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 130, 26, 0.2);
}

.page-no-hu__btn-secondary:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 130, 26, 0.4);
}

.page-no-hu__btn-play {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    border: none;
    font-size: 0.9em;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(255, 130, 26, 0.3);
}

.page-no-hu__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 130, 26, 0.5);
}

.page-no-hu__introduction-section,
.page-no-hu__popular-games-section,
.page-no-hu__tips-section,
.page-no-hu__faq-section {
    padding: 60px 0;
}

.page-no-hu__dark-section {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

.page-no-hu__dark-section .page-no-hu__section-title {
    color: var(--secondary-color);
}

.page-no-hu__dark-section .page-no-hu__section-title::after {
    background-color: var(--primary-color);
}

.page-no-hu__introduction-section p {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 20px auto;
}

.page-no-hu__features-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__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-no-hu__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 130, 26, 0.3);
}

.page-no-hu__feature-image,
.page-no-hu__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
    object-fit: cover;
}

.page-no-hu__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.page-no-hu__step-card p {
    font-size: 1em;
    margin-bottom: 0;
}

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

.page-no-hu__tip-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-no-hu__tip-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-no-hu__promo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--deep-orange-color));
    text-align: center;
    color: #ffffff;
}

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

.page-no-hu__promo-section .page-no-hu__section-title::after {
    background-color: #ffffff;
}

.page-no-hu__promo-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 40px auto;
}

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

.page-no-hu__faq-item {
    margin-bottom: 20px;
    text-align: left;
    cursor: pointer;
}

.page-no-hu__faq-question {
    font-size: 1.3em;
    color: var(--primary-color);
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Common responsive rules for images and buttons */
.page-no-hu img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__btn-play,
.page-no-hu a[class*="button"],
.page-no-hu a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-no-hu__cta-buttons,
.page-no-hu__button-group,
.page-no-hu__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

    .page-no-hu__container {
        padding: 15px;
    }

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

    .page-no-hu__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        padding: 0 10px;
    }

    .page-no-hu__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-no-hu__hero-description {
        font-size: 1em;
        padding: 0 10px;
    }

    .page-no-hu__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-no-hu__btn-primary,
    .page-no-hu__btn-secondary,
    .page-no-hu a[class*="button"],
    .page-no-hu a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    .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 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-no-hu__introduction-section,
    .page-no-hu__why-choose-section,
    .page-no-hu__popular-games-section,
    .page-no-hu__guide-section,
    .page-no-hu__tips-section,
    .page-no-hu__promo-section,
    .page-no-hu__faq-section {
        padding: 40px 0;
    }

    .page-no-hu__features-grid,
    .page-no-hu__game-grid,
    .page-no-hu__guide-steps,
    .page-no-hu__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-no-hu__card {
        padding: 20px;
    }

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

    .page-no-hu__promo-description {
        font-size: 1em;
        padding: 0 10px;
    }

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

    .page-no-hu__faq-answer {
        padding: 12px 15px;
    }

    /* Generic mobile rules for "顶区轮播" (if present, here for hero-section) */
    .page-no-hu__hero-carousel-section .page-no-hu__hero-slide {
        height: auto; /* Adjust height for mobile */
    }

    /* Generic mobile rules for "操作指引外框 + 五张 team 竖型卡" (if present) */
    .page-no-hu__guide-grid {
        display: flex; /* Override grid to flex for simpler wrap */
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-no-hu__guide-card {
        flex: 0 0 calc(50% - 10px); /* Two cards per row */
        max-width: calc(50% - 10px);
        padding-top: 0 !important; /* Reset specific padding */
    }
    .page-no-hu__guide-card img {
        aspect-ratio: 250/350; /* Maintain aspect ratio */
        object-fit: contain;
    }

    /* Generic mobile rules for "home_content 外框" (if present) */
    .page-no-hu__home-content-box {
        height: auto !important; /* Full content height */
        overflow-y: visible !important;
        max-width: 100%;
        border: none; /* Remove border for cleaner mobile look */
        box-shadow: none;
        padding: 0;
    }
    .page-no-hu__home-content-inner {
        height: auto !important;
        overflow: visible !important;
    }

    /* Generic mobile rules for "博客卡片区" (if present) */
    .page-no-hu__blog-grid {
        grid-template-columns: 1fr; /* Single column for blog cards */
    }
}

/* Placeholder for desktop styles for blog-grid and home-content-box, as requested in the prompt's CSS example. */
/* These are not directly used in the no-hu.html HTML but are included in the CSS output as per instructions. */
.page-no-hu__home-content-box {
    max-width: 91%; /* Example desktop width */
    margin: 0 auto;
    padding: 10px 16px;
    border: 5px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 0 20px var(--glow-color);
    height: 700px;
}
.page-no-hu__home-content-inner {
    height: 100%;
    overflow-y: auto;
}
.page-no-hu__blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Placeholder for desktop styles for guide-box and guide-grid, as requested in the prompt's CSS example. */
/* These are not directly used in the no-hu.html HTML but are included in the CSS output as per instructions. */
.page-no-hu__guide-box {
    padding: 16px 20px 24px;
    background: var(--card-bg);
    border-radius: 4px;
}
.page-no-hu__guide-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.page-no-hu__guide-card {
    flex: 0 0 20%;
    max-width: 20%;
}
.page-no-hu__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100%;
    height: auto;
}
.page-no-hu__guide-card--pos-1, .page-no-hu__guide-card--pos-5 { padding-top: 50px; }
.page-no-hu__guide-card--pos-2, .page-no-hu__guide-card--pos-4 { padding-top: 25px; }