/* style/support.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for overall dark background */
    background-color: #08160F; /* Background color */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F;
    overflow: hidden;
    gap: 40px;
}

.page-support__hero-image {
    width: 100%;
    max-width: 1200px; /* Ensure image fits container */
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    order: 1; /* Image first in DOM order for "image on top" */
}

.page-support__hero-content {
    text-align: center;
    max-width: 800px;
    order: 2; /* Content second in DOM order */
}

.page-support__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

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

/* General Sections */
.page-support__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-support__text-block {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    text-align: justify;
}

/* Card Styles */
.page-support__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-support__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-support__card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__card-title a:hover {
    color: #57E38D; /* Glow */
}

.page-support__card-text {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Button Styles */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
}

.page-support__btn-secondary:hover {
    background-color: #57E38D; /* Glow */
    color: #08160F; /* Background color */
}

/* Intro Section */
.page-support__intro-section {
    padding: 80px 20px;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
}

/* Guide Section */
.page-support__guide-section {
    padding: 80px 20px;
    background-color: #08160F; /* Background color */
}

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

.page-support__guide-card {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__guide-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Game Guides Section */
.page-support__game-guides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-support__game-card {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #2E7A4E; /* Border */
}

/* Policy Section */
.page-support__policy-section {
    padding: 80px 20px;
    background-color: #08160F; /* Background color */
}

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

.page-support__policy-card {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 20px;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-support__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #57E38D; /* Glow */
    margin-left: 15px;
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #2E7A4E; /* Divider */
}

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

.page-support__faq-btn {
    margin-top: 10px;
}

/* Contact Section */
.page-support__contact-section {
    padding: 80px 20px;
    background-color: #08160F; /* Background color */
}

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

.page-support__contact-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__contact-card .page-support__card-title {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-support__contact-card .page-support__card-text {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-support__hero-section {
        padding: 40px 20px;
    }

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

    .page-support__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        flex-direction: column;
        padding: 30px 15px;
        padding-top: 10px !important;
        gap: 20px;
    }

    .page-support__hero-image {
        order: 1;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-support__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

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

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .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;
    }

    .page-support__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

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

    /* All images responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/videos/buttons */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__guide-card,
    .page-support__policy-card,
    .page-support__contact-card,
    .page-support__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video specific - if any, ensure it's responsive */
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__video-section {
        padding-top: 10px !important;
    }
}