.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background-color: transparent; /* Body background handled by shared.css */
    padding-bottom: 40px;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    text-align: center;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-support__hero-content {
    max-width: 800px;
    padding: 20px;
}

.page-support__main-title {
    font-size: 3.2em; /* Adjusted for better contrast/readability */
    font-weight: bold;
    color: #FFCC66; /* Glow for title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__description {
    font-size: 1.1em;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-support__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__btn--primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-support__btn--secondary {
    background: transparent;
    color: #FFCC66; /* Glow */
    border: 2px solid #FFCC66; /* Glow */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__btn--secondary:hover {
    background: rgba(255, 204, 102, 0.1);
    color: #FFF5E1; /* Text Main */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-support__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 20px;
    margin-top: 15px;
}

.page-support__btn--inline {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 0.9em;
    border-radius: 15px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E;
    border: 1px solid #F2B544;
}

.page-support__btn--inline:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

/* Section Titles */
.page-support__section-title {
    font-size: 2.5em;
    color: #FFCC66; /* Glow */
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-support__text-block {
    font-size: 1.05em;
    color: #FFF5E1; /* Text Main */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Card Styles */
.page-support__card--dark-bg {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF5E1; /* Text Main */
    height: 100%; /* Ensure cards in grid have same height */
    box-sizing: border-box;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
    margin-top: 15px;
}

.page-support__card-description {
    font-size: 0.95em;
    color: #FFF5E1; /* Text Main */
    flex-grow: 1; /* Pushes button to bottom */
}

/* Channels Section */
.page-support__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-support__channel-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensures proper spacing */
}

/* FAQ Section */
.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-support__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* For smooth transition */
    color: #FFF5E1; /* Text Main */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #FFCC66; /* Glow */
    cursor: pointer;
    background-color: #C91F17; /* Main Color for summary */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* Hide default marker */
}

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

.page-support__faq-question:hover {
    background-color: #E53935; /* Accent Color */
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #FFF5E1; /* Text Main */
    padding-top: 10px;
}

.page-support__faq-answer p {
    margin-bottom: 10px;
}

/* Guides Section */
.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-support__guide-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

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

.page-support__guide-card .page-support__card-title {
    padding: 15px 20px 0;
    text-align: left;
}

.page-support__guide-card .page-support__card-description {
    padding: 0 20px 15px;
    text-align: left;
    flex-grow: 1;
}

.page-support__guide-card .page-support__btn--small {
    margin-left: 20px;
    margin-bottom: 20px;
    align-self: flex-start;
}

/* Policies Section */
.page-support__policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.page-support__policy-link {
    display: block;
    background-color: #D32F2F; /* Card BG */
    color: #FFCC66; /* Glow */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__policy-link:hover {
    background-color: #C91F17; /* Main Color */
    color: #FFF5E1; /* Text Main */
    border-color: #FFCC66; /* Glow */
}

/* Commitment Section (Dark Background) */
.page-support__dark-section {
    background-color: #C91F17; /* Main Color */
    padding: 60px 0;
    text-align: center;
    margin-top: 50px;
}

.page-support__dark-section .page-support__section-title {
    color: #FFD86A; /* Gold for title on dark red */
}

.page-support__dark-section .page-support__text-block {
    color: #FFF5E1; /* Text Main */
    margin-bottom: 40px;
}


/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.8em;
    }

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

    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__policies-grid {
        gap: 20px;
    }
}

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

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. 顶区标题 + 双 CTA */
    .page-support__hero-section {
        padding-top: 10px !important; /* Small top padding */
        margin-bottom: 30px;
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5em); /* Use clamp for H1 */
        margin-bottom: 10px;
    }

    .page-support__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__btn,
    .page-support__btn--primary,
    .page-support__btn--secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 2. 单栏长文容器 */
    .page-support__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-support__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 5px; /* Slight horizontal padding for text block */
    }

    .page-support__channels-grid,
    .page-support__guides-grid,
    .page-support__policies-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-support__card--dark-bg {
        padding: 20px;
    }

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

    .page-support__channel-icon {
        max-width: 200px; /* Smaller icons on mobile */
    }

    /* 3. 通用图片与 figure */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__hero-image-wrapper {
        max-height: 300px; /* Adjust hero image height for mobile */
    }

    .page-support__guide-image {
        height: 180px; /* Adjust guide image height for mobile */
    }

    /* 4. 按钮与按钮容器 (already covered in CTA buttons and general btn styles) */
    /* Ensure any other button groups also stack or wrap */
    .page-support__button-group { /* Example for other button groups */
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 5. 注册教程与 FAQ 区块 */
    .page-support__faq-item {
        margin-bottom: 10px;
    }

    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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

    .page-support__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }
    
    .page-support__dark-section {
        padding: 40px 0;
    }
}