/* style/vip-club.css */
/* 页面特定样式 */

:root {
    --primary-color: #0A246A;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #0A246A;
    --border-light: #e0e0e0;
}

/* Base styles for the page content */
.page-vip-club {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default body background is white */
}

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

.page-vip-club__section {
    padding: 60px 0;
    text-align: center;
}

.page-vip-club__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-vip-club__section-title--light {
    color: var(--text-light);
}

.page-vip-club__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-vip-club__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a8a 100%); /* Gradient background */
    color: var(--text-light);
}

.page-vip-club__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-vip-club__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-vip-club__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-vip-club__main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-vip-club__intro-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-vip-club__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width for wrapping */
}

.page-vip-club__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-vip-club__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-vip-club__cta-button--primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__cta-button--secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-vip-club__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Content Grid */
.page-vip-club__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.page-vip-club__content-grid:nth-of-type(even) {
    flex-direction: row-reverse;
}

.page-vip-club__text-block {
    flex: 1;
    padding: 20px;
}

.page-vip-club__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
}

.page-vip-club__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-vip-club__text-block a:hover {
    text-decoration: underline;
}

.page-vip-club__text-block--center {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-vip-club__text-block-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-vip-club__dark-bg .page-vip-club__text-block p,
.page-vip-club__dark-bg .page-vip-club__text-block a {
    color: var(--text-light);
}

.page-vip-club__dark-bg .page-vip-club__text-block-title {
    color: var(--secondary-color);
}

.page-vip-club__image-block {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-vip-club__image-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

/* VIP Privileges Section */
.page-vip-club__privilege-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-vip-club__card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark); /* Ensure text is dark on light card */
}

.page-vip-club__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-vip-club__card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-vip-club__card p {
    font-size: 15px;
    margin-bottom: 15px;
}

.page-vip-club__card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-vip-club__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-vip-club__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
}

.page-vip-club__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Promotions Section */
.page-vip-club__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-vip-club__promotion-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-vip-club__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-vip-club__promotion-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-vip-club__promotion-card .page-vip-club__card-title {
    padding: 15px 20px 0;
    font-size: 20px;
}

.page-vip-club__promotion-card p {
    padding: 0 20px 20px;
    font-size: 15px;
}

/* Support Section */
.page-vip-club__support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* FAQ Section */
.page-vip-club__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-vip-club__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-vip-club__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-vip-club__faq-item.active .page-vip-club__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-vip-club__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-vip-club__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-vip-club__faq-question:active {
    background: #eeeeee;
}

.page-vip-club__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: var(--primary-color);
}

.page-vip-club__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}