.page-contact {
    font-family: Arial, sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
}

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

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    background-color: #f0f8ff; /* Light background for hero */
    padding-bottom: 40px; /* Space below content */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

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

.page-contact__hero-content {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 0 15px;
}

.page-contact__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    color: #26A9E0; /* Brand color for H1 */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

/* --- Section Titles --- */
.page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-contact__section-description {
    font-size: 1rem;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
}

/* --- Buttons --- */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-contact__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #26A9E0;
}

.page-contact__btn-center {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 300px;
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods {
    background-color: #FFFFFF;
    padding: 60px 0;
}

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

.page-contact__method-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
}

.page-contact__method-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 400px; /* Limit max width for larger screens */
    height: auto;
    object-fit: contain; /* Use contain to avoid cropping if aspect ratio varies */
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block;
    min-height: 200px; /* Min size requirement */
}

.page-contact__card-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__card-text {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to grow */
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-grow: 1; /* Allow links to grow/push button down */
    align-items: flex-end; /* Push social icons to bottom */
}

.page-contact__social-icon {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #1a8cc7;
}

.page-contact__note-text {
    text-align: center;
    font-style: italic;
    color: #777777;
    margin-top: 50px;
    font-size: 0.95rem;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    background-color: #f0f8ff;
    padding: 60px 0;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    border-top: 1px solid #e0e0e0;
}

.page-contact__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-top: none;
    margin-bottom: 0; /* Remove default margin */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker */
}

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

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: #f5f5f5;
}

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

.page-contact__faq-question:hover {
    background-color: #f5f5f5;
}

.page-contact__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Prevent text from intercepting click */
}

.page-contact__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent toggle from intercepting click */
}

.page-contact__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #fcfcfc;
    border-top: 1px solid #e0e0e0;
}

.page-contact__faq-answer p {
    margin-bottom: 0;
}

/* --- Why Choose Section --- */
.page-contact__why-choose {
    background-color: #FFFFFF;
    padding: 60px 0;
}

/* Placeholder for other sections required in media query but not on this page */
.page-contact__home-content {
    border: 1px solid #FBB00D;
    border-radius: 10px;
    height: 650px;
    overflow-y: auto;
}
.page-contact__row-games, .page-contact__row-sport, .page-contact__row-coop {
    background-color: #1A202C;
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
}
.page-contact__games-title, .page-contact__sport-title, .page-contact__coop-title {
    color: #fff;
    text-align: center;
}
.page-contact__slider-wrapper {
    overflow: hidden;
}
.page-contact__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}
.page-contact__game-slide {
    flex: 0 0 200px;
    max-width: 200px;
}
.page-contact__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.page-contact__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.page-contact__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.page-contact__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.page-contact__btn-outline {
    margin-top: auto;
}
.page-contact__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}
.page-contact__blog-slide {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

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

    /* 1. HERO 主图区域 */
    .page-contact__hero-section {
        padding-top: 10px;
    }

    .page-contact__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-contact__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

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

    /* 2. 长文金框区 (Placeholder) */
    .page-contact__home-content {
        height: auto;
        overflow-y: visible;
        padding: 20px;
    }

    /* 3. 游戏轮播 (Placeholder) */
    .page-contact__slider-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .page-contact__game-slide {
        flex: 0 0 160px;
        max-width: 160px;
        scroll-snap-align: start;
    }

    /* 4. 合作品牌六宫格 (Placeholder) */
    .page-contact__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        max-width: 100%;
        padding: 0 15px;
    }
    .page-contact__banner-item img {
        
        
    }

    /* 5. 博客卡片区 (Placeholder) */
    .page-contact__blog-masonry {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    .page-contact__blog-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .page-contact__blog-slider-track {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }


    /* 6. 通用图片与容器 */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__contact-methods,
    .page-contact__faq-section,
    .page-contact__why-choose,
    .page-contact__method-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-contact__card-title {
        font-size: 1.3rem;
    }

    .page-contact__faq-list {
        margin-top: 20px;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-contact__faq-answer {
        padding: 10px 20px 15px 20px;
        font-size: 0.95rem;
    }

    .page-contact__section-title {
        font-size: 1.8rem;
    }

    .page-contact__section-description {
        margin-bottom: 20px;
    }

    /* 7. 按钮与按钮容器 */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact 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-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .page-contact__social-links {
        flex-direction: column;
        gap: 10px;
    }
    .page-contact__social-icon {
        width: 100%;
    }
}