/* style/vip-club.css */

/* General Page Styling */
.page-vip-club {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background (#121212) -> light text */
    background-color: #121212;
}

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

.page-vip-club__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-vip-club__main-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
}

.page-vip-club__description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-vip-club__description-text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-vip-club__text-block {
    font-size: 16px;
    text-align: left;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-vip-club__text-link {
    color: #FFD700; /* Gold for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-vip-club__text-link:hover {
    color: #ffffff;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-vip-club__btn-primary {
    background-color: #8B0000; /* Main color */
    color: #ffffff;
    border: 2px solid #8B0000;
}

.page-vip-club__btn-primary:hover {
    background-color: #a00000;
    border-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-club__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold color */
    border: 2px solid #FFD700;
}

.page-vip-club__btn-secondary:hover {
    background-color: #FFD700;
    color: #121212; /* Dark text on gold hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Image base styles */
.page-vip-club img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

/* Sections */
.page-vip-club__hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    padding-top: 0; /* As per fixed header offset rule */
    padding-bottom: 0;
    min-height: 600px; /* Ensure sufficient height for hero */
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    max-width: 1200px;
    box-sizing: border-box;
}

.page-vip-club__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-vip-club__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Slightly darken image for text readability */
}

.page-vip-club__introduction,
.page-vip-club__benefits-details,
.page-vip-club__cta-section {
    padding: 80px 0;
}

.page-vip-club__levels,
.page-vip-club__faq {
    padding: 80px 0;
    background-color: #202020; /* Slightly lighter dark background for contrast */
}

.page-vip-club__dark-section {
    background-color: #121212; /* Explicitly dark for sections */
}

.page-vip-club__light-bg {
    background-color: #202020; /* Explicitly lighter dark for sections */
}

/* Feature Cards */
.page-vip-club__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-vip-club__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club__feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-vip-club__feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-vip-club__feature-description {
    font-size: 15px;
    color: #e0e0e0;
}

/* VIP Levels */
.page-vip-club__levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__level-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly more opaque for levels */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.page-vip-club__level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club__level-card img {
    width: 250px;
    
    object-fit: contain;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.page-vip-club__level-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-vip-club__level-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #e0e0e0;
}

.page-vip-club__level-card li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.page-vip-club__level-card li::before {
    content: '✓';
    color: #8B0000; /* Main brand color for checkmark */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-vip-club__note {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #cccccc;
}

/* Benefits Details */
.page-vip-club__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-vip-club__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-club__benefit-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-vip-club__benefit-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-vip-club__benefit-description {
    font-size: 15px;
    color: #e0e0e0;
}

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

/* FAQ容器样式 */
.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.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;
  color: #e0e0e0; /* Light text for answer */
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-vip-club__faq-item.active .page-vip-club__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for open answer */
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1); /* Slightly lighter background for question */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-vip-club__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-vip-club__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* 问题标题样式 */
.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; /* 防止h3标签阻止点击事件 */
  color: #FFD700; /* Gold for FAQ questions */
}

/* 切换图标 */
.page-vip-club__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-vip-club__faq-item.active .page-vip-club__faq-toggle {
  color: #ffffff; /* White when active */
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

/* CTA Section */
.page-vip-club__cta-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-club__section-title {
        font-size: 32px;
    }
    .page-vip-club__main-title {
        font-size: 40px;
    }
    .page-vip-club__features-grid,
    .page-vip-club__levels-grid,
    .page-vip-club__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-vip-club__hero-content {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .page-vip-club__container {
        padding: 0 15px;
    }

    .page-vip-club__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-vip-club__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-vip-club__description,
    .page-vip-club__description-text,
    .page-vip-club__text-block {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-vip-club__btn-primary,
    .page-vip-club__btn-secondary,
    .page-vip-club a[class*="button"],
    .page-vip-club a[class*="btn"] {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-vip-club__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    
    .page-vip-club__cta-buttons > * {
        width: 100%;
    }

    .page-vip-club__introduction,
    .page-vip-club__levels,
    .page-vip-club__benefits-details,
    .page-vip-club__faq,
    .page-vip-club__cta-section {
        padding: 50px 0;
    }

    .page-vip-club__hero-banner {
        padding: 60px 0;
        min-height: 400px;
    }
    
    .page-vip-club__hero-content {
        padding: 40px 15px;
    }

    .page-vip-club__features-grid,
    .page-vip-club__levels-grid,
    .page-vip-club__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-vip-club__feature-card,
    .page-vip-club__level-card,
    .page-vip-club__benefit-card {
        padding: 20px;
    }

    .page-vip-club__feature-card img,
    .page-vip-club__benefit-card img {
        
    }
    .page-vip-club__level-card img {
        width: 200px;
        
    }

    .page-vip-club__feature-title,
    .page-vip-club__benefit-title {
        font-size: 20px;
    }

    .page-vip-club__level-title {
        font-size: 18px;
    }

    /* Mobile FAQ */
    .page-vip-club__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-vip-club__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-vip-club__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-vip-club__faq-answer {
        padding: 0 15px;
    }
    
    .page-vip-club__faq-item.active .page-vip-club__faq-answer {
        padding: 15px !important;
    }

    /* All images responsive */
    .page-vip-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure containers for images also adapt */
    .page-vip-club__hero-image,
    .page-vip-club__feature-card,
    .page-vip-club__level-card,
    .page-vip-club__benefit-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Specific padding for sections for mobile */
    .page-vip-club__introduction .page-vip-club__container,
    .page-vip-club__levels .page-vip-club__container,
    .page-vip-club__benefits-details .page-vip-club__container,
    .page-vip-club__faq .page-vip-club__container,
    .page-vip-club__cta-section .page-vip-club__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no image filter is applied */
.page-vip-club img {
    filter: none;
}