/* 页面基础样式 */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    line-height: 1.6;
}

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

.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0D0E12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for aesthetic */
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and text */
}

.page-support__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual flow */
    position: relative;
    z-index: 1;
    background-color: rgba(13, 14, 18, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    padding-bottom: 40px;
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: #FFB04D; /* Glow */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-support__hero-description {
    font-size: 1.1em;
    color: #FFF3E6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 145, 26, 0.4);
}

.page-support__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 145, 26, 0.6);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #FF8C1A; /* Main color border */
}

.page-support__btn-secondary:hover {
    background-color: #FF8C1A; /* Main color */
    color: #ffffff;
}

.page-support__btn-outline {
    background-color: transparent;
    color: #FF8C1A; /* Main color */
    border: 1px solid #A84F0C; /* Border color */
}

.page-support__btn-outline:hover {
    background-color: #FF8C1A;
    color: #FFF3E6;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-support__section-description {
    font-size: 1.1em;
    color: #FFF3E6;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-support__method-card {
    background-color: #17191F; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-support__method-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-support__method-title {
    font-size: 1.5em;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__method-text {
    color: #FFF3E6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-support__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-item summary {
    display: block;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: #FFB04D; /* Glow */
    position: relative;
    list-style: none; /* Hide default marker */
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 25px;
    color: #FFF3E6;
    font-size: 1em;
    line-height: 1.7;
    /* max-height: 0; */ /* Not needed for native details, but for JS controlled accordions */
    /* overflow: hidden; */
}

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

.page-support__cta-faq {
    text-align: center;
    margin-top: 40px;
}

/* Guides Section */
.page-support__guides-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

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

.page-support__guide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-support__guide-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4em;
    color: #FFB04D; /* Glow */
    font-weight: 600;
}

.page-support__guide-card h3 a {
    color: #FFB04D; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__guide-card h3 a:hover {
    color: #FFA53A; /* Accent color on hover */
}

.page-support__guide-text {
    padding: 0 20px 20px;
    color: #FFF3E6;
    flex-grow: 1;
}

.page-support__guide-card .page-support__btn-outline {
    margin: 0 20px 20px;
    align-self: flex-start;
    width: calc(100% - 40px);
}

/* Policies Section */
.page-support__policies-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-support__policy-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 145, 26, 0.2);
}

.page-support__policy-title {
    font-size: 1.3em;
    color: #FFB04D; /* Glow */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-support__policy-text {
    color: #FFF3E6;
    font-size: 0.95em;
    flex-grow: 1;
}

/* Commitment Section */
.page-support__commitment-section {
    padding: 60px 0 80px;
    background-color: #0D0E12; /* Background */
}

.page-support__commitment-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-support__commitment-list li {
    background-color: #17191F; /* Card BG */
    border-left: 5px solid #FF8C1A; /* Main color accent */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #FFF3E6;
}

.page-support__commitment-item-title {
    color: #FFB04D; /* Glow */
    font-size: 1.1em;
    margin-right: 5px;
}

.page-support__cta-final {
    text-align: center;
    margin-top: 40px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-support__container {
        padding: 20px 30px;
    }

    .page-support__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

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

    .page-support__hero-content {
        margin-top: -60px;
    }
}

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

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* HERO 主图区域 */
    .page-support__hero-section {
        padding-top: 10px !important; /* Small top padding */
    }

    .page-support__hero-image {
        max-height: 300px !important;
    }

    .page-support__hero-content {
        padding: 15px !important;
        margin-top: -40px !important;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 10px !important;
    }

    .page-support__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px !important;
    }

    /* 按钮与按钮容器 */
    .page-support__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-outline,
    .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 !important;
        padding-right: 15px !important;
    }
    .page-support__button-group,
    .page-support__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px !important;
      padding-right: 15px !important;
      flex-wrap: wrap !important;
      gap: 10px !important;
      display: flex !important;
      flex-direction: column !important; /* Ensure vertical stacking for buttons */
    }

    .page-support__section-title {
        font-size: 1.8em !important;
        margin-top: 40px !important;
        margin-bottom: 15px !important;
    }

    .page-support__section-description {
        font-size: 0.95em !important;
        margin-bottom: 30px !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__methods-grid,
    .page-support__guides-grid,
    .page-support__policies-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-support__method-card,
    .page-support__guide-card,
    .page-support__policy-card {
        padding: 20px !important;
    }

    .page-support__method-icon,
    .page-support__guide-image {
        height: 180px !important; /* Adjust image height for mobile */
    }

    .page-support__faq-item summary {
        padding: 15px 20px !important;
        font-size: 1.1em !important;
    }

    .page-support__faq-answer {
        padding: 0 20px 15px 20px !important;
    }
}

/* Ensure no small icons */
.page-support img:not(.page-support__hero-image, .page-support__method-icon, .page-support__guide-image) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}