/* style/about.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General Styles */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--site-background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__text-center {
    text-align: center;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    background-color: #f0f8ff; /* Light blue background for hero */
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
    text-align: left;
    z-index: 1;
}

.page-about__hero-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    color: #555555;
    margin-bottom: 30px;
}

.page-about__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

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

.page-about__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-about__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.page-about__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Introduction Section */
.page-about__introduction-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-about__grid-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-about__grid-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    text-align: center;
}

/* Values Section */
.page-about__values-section {
    padding: 80px 0;
}

.page-about__dark-section {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #FFFFFF; /* White text for dark background */
}

.page-about__dark-section .page-about__section-title {
    color: #FFFFFF;
}

.page-about__dark-section .page-about__section-title::after {
    background-color: #FFFFFF;
}

.page-about__dark-section .page-about__text-block {
    color: #f0f0f0;
}

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

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on primary brand color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__value-icon {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px; /* Ensure images are not small icons */
}

.page-about__value-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-about__value-description {
    color: #f0f0f0;
}

/* Products Section */
.page-about__products-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-about__product-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-about__product-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-about__product-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__product-title a:hover {
    color: #1e87c0;
}

.page-about__product-description {
    color: #555555;
}

/* Security Section & Support Section (Flexible Content Layout) */
.page-about__flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__flex-container--reverse {
    flex-direction: row-reverse; /* Reverse order for support section */
}

.page-about__security-content,
.page-about__support-content,
.page-about__responsible-gambling-content {
    flex: 1;
    min-width: 300px;
}

.page-about__security-image-wrapper,
.page-about__support-image-wrapper,
.page-about__responsible-gambling-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__security-image,
.page-about__support-image,
.page-about__responsible-gambling-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-about__security-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light background */
}

.page-about__light-bg {
    background-color: #f0f8ff; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-about__light-bg .page-about__section-title {
    color: #26A9E0;
}

.page-about__light-bg .page-about__section-title::after {
    background-color: #26A9E0;
}

.page-about__light-bg .page-about__text-block {
    color: #555555;
}

.page-about__light-bg .page-about__list-title {
    color: #26A9E0;
}

.page-about__security-list,
.page-about__support-list,
.page-about__responsible-gambling-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-about__security-list li,
.page-about__support-list li,
.page-about__responsible-gambling-list li {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__dark-section .page-about__security-list li,
.page-about__dark-section .page-about__support-list li {
    background-color: rgba(0, 0, 0, 0.1); /* Darker background for list items on dark section */
    color: #f0f0f0;
}

.page-about__list-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-about__dark-section .page-about__list-title {
    color: #FFFFFF;
}

.page-about__support-section {
    padding: 80px 0;
}

.page-about__responsible-gambling-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

/* Future Section */
.page-about__future-section {
    padding: 80px 0;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
}

.page-about__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    background-color: #f0f8ff;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #e6f2ff;
}

.page-about__faq-title {
    margin: 0;
    color: #26A9E0;
    font-size: 1.2em;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
    padding-top: 0; /* Adjust padding to look better with question */
}

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

/* Conclusion Section */
.page-about__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Login Button Specific Color */
.page-about__login-button { /* Example if there was a login button, using custom color */
    background-color: #EA7C07;
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-about__login-button:hover {
    background-color: #c46405;
    border-color: #c46405;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }

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

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

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section {
        padding: 60px 0;
        flex-direction: column;
        text-align: center;
    }

    .page-about__hero-content {
        max-width: 100%;
        padding: 20px 15px;
        text-align: center;
    }

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

    .page-about__hero-description {
        font-size: 1.1em;
    }

    .page-about__hero-cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        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-about__hero-image-wrapper {
        max-width: 100%;
        padding: 20px 15px;
    }

    .page-about__hero-image,
    .page-about__security-image,
    .page-about__support-image,
    .page-about__responsible-gambling-image,
    .page-about__value-icon {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All content containers should be responsive */
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__grid-layout,
    .page-about__values-grid,
    .page-about__products-grid,
    .page-about__flex-container,
    .page-about__security-content,
    .page-about__support-content,
    .page-about__responsible-gambling-content,
    .page-about__security-image-wrapper,
    .page-about__support-image-wrapper,
    .page-about__responsible-gambling-image-wrapper,
    .page-about__faq-list,
    .page-about__hero-cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-about__flex-container {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__flex-container--reverse {
        flex-direction: column; /* Reset to column for mobile */
    }

    .page-about__section-title {
        font-size: 1.8em;
    }

    .page-about__text-block {
        font-size: 1em;
    }

    .page-about__grid-item,
    .page-about__value-card,
    .page-about__product-item {
        padding: 20px;
    }

    .page-about__faq-question {
        font-size: 1.1em;
    }

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

    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}