.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default body background */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    text-align: center;
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 40px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative; /* Image on top */
    z-index: 1;
}

.page-support__hero-content {
    padding: 30px 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* Content below image */
    z-index: 2;
    background-color: #ffffff; /* Explicitly white background for text for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px); /* Slightly overlap for visual appeal, but not on image directly */
    margin-bottom: -50px; /* Counteract transform */
}

.page-support__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__description {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-support__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-support__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-support__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* Section Titles and Descriptions */
.page-support__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.05em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Dark Background Sections */
.page-support__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-support__dark-section .page-support__section-title {
    color: #ffffff;
}

.page-support__dark-section .page-support__section-description {
    color: #f0f0f0;
}

/* Card Styling */
.page-support__method-cards,
.page-support__guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%; /* Ensure cards are same height */
    text-decoration: none; /* For link cards */
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-support__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__card p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-support__card .page-support__btn-primary {
    margin-top: auto; /* Align button at bottom */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
}

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

.page-support__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    list-style: none; /* For details/summary */
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-support__faq-question .page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Change to X or rotate for open state */
}

.page-support__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
}

.page-support__faq-answer p {
    margin: 0;
}

.page-support__cta-faq {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Guides Section */
.page-support__guide-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__guide-card .page-support__card-title {
    font-size: 1.3em;
    line-height: 1.3;
}

.page-support__cta-guides {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Security Section */
.page-support__security-section {
    padding: 60px 0;
    background-color: #f5f5f5; /* Light grey background */
}

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

.page-support__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
}

.page-support__feature-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__feature-item p {
    color: #555555;
    font-size: 0.95em;
}

.page-support__cta-security {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Final CTA Section */
.page-support__final-cta {
    padding: 80px 0;
    text-align: center;
}

/* General image and container responsiveness */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-support__section,
.page-support__container,
.page-support__card-container { /* Generic containers */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Responsive Styles (Mobile First) --- */
@media (max-width: 1024px) {
    .page-support__container {
        padding: 20px 15px;
    }

    .page-support__hero-content {
        padding: 25px 15px;
    }

    .page-support__main-title {
        font-size: 2.5em;
    }

    .page-support__section-title {
        font-size: 2em;
    }

    .page-support__method-cards,
    .page-support__guide-cards,
    .page-support__security-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    /* HERO 主图区域 */
    .page-support__hero-section {
        padding-top: 10px; /* Small top padding */
        padding-bottom: 20px;
    }
    .page-support__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__hero-content {
        transform: translateY(-30px); /* Adjust overlap */
        margin-bottom: -30px;
        padding: 20px 15px;
    }
    .page-support__main-title {
        font-size: 1.8em !important; /* Smaller H1 for mobile */
    }
    .page-support__description {
        font-size: 1em;
    }
    .page-support__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 长文金框区 (Placeholder for homepage, not used here, but required by checklist) */
    .page-support__home-content {
        height: auto !important; /* Allow content to expand */
        overflow-y: visible !important;
        padding: 20px !important;
    }
    .page-support__home-content h2 {
        font-size: 1.5em !important;
    }

    /* 游戏轮播 (Placeholder for homepage, not used here, but required by checklist) */
    .page-support__slider-track {
        display: flex !important; /* Ensure flex for horizontal scroll */
        flex-wrap: nowrap !important; /* No wrapping, allow horizontal scroll */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    .page-support__slider-track::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }
    .page-support__game-slide {
        flex: 0 0 160px !important; /* Smaller fixed width */
        max-width: 160px !important;
    }

    /* 合作品牌六宫格 (Placeholder for homepage, not used here, but required by checklist) */
    .page-support__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns */
        gap: 8px !important;
    }
    .page-support__banner-item img {
         /* Smaller image size */
        
    }

    /* 博客卡片区 (Placeholder for homepage, not used here, but required by checklist) */
    .page-support__blog-masonry {
        grid-template-columns: 1fr !important; /* Single column */
    }
    .page-support__blog-slider-track {
        display: flex !important; /* Ensure flex for horizontal scroll */
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .page-support__blog-slider-track::-webkit-scrollbar {
        display: none;
    }
    .page-support__blog-slide {
        flex: 0 0 100% !important; /* Full width for each slide */
        max-width: 100% !important;
    }

    /* 通用图片与容器 */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__method-cards,
    .page-support__guide-cards,
    .page-support__security-features,
    .page-support__cta-buttons,
    .page-support__cta-faq,
    .page-support__cta-guides,
    .page-support__cta-security {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__method-cards,
    .page-support__guide-cards,
    .page-support__security-features {
        grid-template-columns: 1fr !important; /* Stack cards vertically */
        gap: 20px;
    }
    .page-support__guide-image {
        height: auto; /* Allow height to adjust */
    }

    /* FAQ specific for mobile */
    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-support__faq-answer {
        padding: 0 20px 15px;
    }

    /* Section padding adjustments */
    .page-support__dark-section,
    .page-support__faq-section,
    .page-support__security-section {
        padding: 40px 0;
    }
    .page-support__final-cta {
        padding: 50px 0;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
}