/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #F5F7FA;
}

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

.page-support__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #E53935;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333333;
}

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

.page-support__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.page-support__btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #E53935;
    color: #E53935;
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-weight: normal;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-outline:hover {
    background-color: #E53935;
    color: #ffffff;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Rely on body for header offset */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: #F5F7FA;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

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

.page-support__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-support__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #E53935;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-support__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Why Choose Section */
.page-support__why-choose-section {
    background-color: #F5F7FA;
    padding: 60px 0;
    color: #333333;
}

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

.page-support__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-support__feature-item:hover {
    transform: translateY(-5px);
}

.page-support__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-support__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

/* Common Issues Section */
.page-support__common-issues-section {
    background-color: #E53935;
    padding: 60px 0;
    color: #ffffff;
}

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

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

.page-support__issue-card {
    background-color: #FF5A4F;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-support__issue-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-support__issue-text {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__issue-card .page-support__btn-outline {
    border-color: #ffffff;
    color: #ffffff;
    margin-right: 10px;
    margin-bottom: 10px;
}

.page-support__issue-card .page-support__btn-outline:hover {
    background-color: #ffffff;
    color: #E53935;
}

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

.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-support__contact-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-support__contact-icon {
    width: 100%;
    max-width: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-support__contact-text {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

.page-support__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-support__faq-question::-webkit-details-marker {
    display: none;
}

.page-support__faq-question::marker {
    display: none;
}

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #E53935;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: '-';
}

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

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

/* CTA Section */
.page-support__cta-section {
    background-color: #E53935;
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

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

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

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-support__section,
.page-support__card,
.page-support__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

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

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

    .page-support__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

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

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

    .page-support__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

    .page-support__hero-cta-buttons,
    .page-support__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    /* Feature Grid (Why Choose Section) */
    .page-support__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-support__feature-item {
        padding: 20px;
    }

    /* Issues Grid (Common Issues Section) */
    .page-support__issues-grid {
        grid-template-columns: 1fr;
    }

    .page-support__issue-card {
        padding: 25px;
    }

    .page-support__issue-card .page-support__btn-outline {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* Contact Grid (Contact Methods Section) */
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }

    .page-support__contact-card {
        padding: 20px;
    }

    /* FAQ Section */
    .page-support__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

    /* No specific styles for long text gold frame (not applicable to this page) */
    /* No specific styles for game/brand carousel (not applicable to this page) */
    /* No specific styles for blog cards (not applicable to this page) */
}

@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__section-title {
        font-size: 2.2em;
    }
    .page-support__feature-grid,
    .page-support__issues-grid,
    .page-support__contact-grid {
        gap: 20px;
    }
}