/* Base styles for VIP Club page */
.page-vip-club {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-vip-club__section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-vip-club__section:last-of-type {
  margin-bottom: 0;
}

.page-vip-club__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-vip-club__section-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-vip-club__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444444;
  text-align: justify;
}

.page-vip-club__highlight {
  color: #017439;
  font-weight: 600;
}

/* Hero Section */
.page-vip-club__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-vip-club__hero-image {
  width: 100%;
  position: relative;
}

.page-vip-club__hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.page-vip-club__hero-content {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(1, 116, 57, 0.8), rgba(0, 0, 0, 0.8));
  color: #ffffff;
  border-radius: 0 0 8px 8px;
  margin-top: -8px;
  z-index: 1;
}

.page-vip-club__hero-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login Font color */
}

.page-vip-club__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

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

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-club__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login Font color */
  border: 2px solid #C30808;
}

.page-vip-club__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

.page-vip-club__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login Font color */
  border: 2px solid #FFFF00;
}

.page-vip-club__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-vip-club__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

.page-vip-club__btn-small {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 30px;
  background-color: #017439;
  color: #ffffff;
  border: 1px solid #017439;
  display: inline-block;
  margin-top: 15px;
}

.page-vip-club__btn-small:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-vip-club__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-vip-club__btn-link:hover {
  color: #005f2e;
  text-decoration: underline;
}

/* Benefits Section */
.page-vip-club__benefits-section {
  background: #017439; /* Brand primary color for dark section */
  color: #ffffff; /* White text for dark background */
  box-shadow: none;
}

.page-vip-club__benefits-section .page-vip-club__section-title,
.page-vip-club__benefits-section .page-vip-club__section-subtitle {
  color: #ffffff;
}

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

.page-vip-club__benefit-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.page-vip-club__benefit-card .page-vip-club__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-vip-club__benefit-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-vip-club__level-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-vip-club__level-card .page-vip-club__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #017439;
}

.page-vip-club__level-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
}

/* How-To-Join Section */
.page-vip-club__how-to-join-section {
  background-color: #f0f0f0; /* Lighter background */
}

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

.page-vip-club__step-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__step-number {
  font-size: 48px;
  font-weight: 900;
  color: #C30808; /* Login/Register color for step numbers */
  margin-bottom: 20px;
  line-height: 1;
}

.page-vip-club__step-card .page-vip-club__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-vip-club__step-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
}

.page-vip-club__note-text {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  color: #555555;
}

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

.page-vip-club__game-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-vip-club__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-vip-club__game-card img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-vip-club__game-card .page-vip-club__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #017439;
}

.page-vip-club__game-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

/* Support Section */
.page-vip-club__support-section {
  background: #017439;
  color: #ffffff;
  box-shadow: none;
}

.page-vip-club__support-section .page-vip-club__section-title {
  color: #ffffff;
}

.page-vip-club__support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-vip-club__support-text {
  flex: 1;
}

.page-vip-club__support-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #f0f0f0;
  text-align: justify;
}

.page-vip-club__support-image {
  flex: 1;
  text-align: center;
}

.page-vip-club__support-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* FAQ Section */
.page-vip-club__faq-section {
  background-color: #f8f8f8;
}

.page-vip-club__faq-list {
  margin-top: 40px;
}

details.page-vip-club__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-vip-club__faq-item summary.page-vip-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-vip-club__faq-item summary.page-vip-club__faq-question::-webkit-details-marker {
  display: none;
}

details.page-vip-club__faq-item summary.page-vip-club__faq-question:hover {
  background: #f5f5f5;
}

.page-vip-club__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-vip-club__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-vip-club__faq-item .page-vip-club__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
}

/* Conclusion Section */
.page-vip-club__conclusion-section {
  text-align: center;
  background-color: #ffffff;
}

.page-vip-club__conclusion-section .page-vip-club__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-vip-club__cta-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-vip-club__hero-image img {
    height: 500px;
  }

  .page-vip-club__hero-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }

  .page-vip-club__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }

  .page-vip-club__support-content {
    flex-direction: column;
    text-align: center;
  }

  .page-vip-club__support-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-vip-club__benefit-card img,
  .page-vip-club__level-card img,
  .page-vip-club__game-card img {
    
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-vip-club__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }
  .page-vip-club__hero-image img {
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .page-vip-club__hero-content {
    padding: 30px 15px;
    margin-top: 0;
    border-radius: 0 0 8px 8px;
  }
  .page-vip-club__hero-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 10px;
  }
  .page-vip-club__hero-description {
    font-size: clamp(15px, 3.5vw, 18px);
    margin-bottom: 20px;
  }
  .page-vip-club__hero-cta-buttons,
  .page-vip-club__cta-container {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* 通用容器和图片 */
  .page-vip-club__container,
  .page-vip-club__section,
  .page-vip-club__benefit-card,
  .page-vip-club__level-card,
  .page-vip-club__step-card,
  .page-vip-club__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-vip-club__section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-vip-club__section-title {
    font-size: clamp(24px, 6vw, 30px);
    margin-bottom: 15px;
  }

  .page-vip-club__section-subtitle {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 30px;
  }

  .page-vip-club__text-block p,
  .page-vip-club p,
  .page-vip-club li {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .page-vip-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 按钮与按钮容器 */
  .page-vip-club__btn-primary,
  .page-vip-club__btn-secondary,
  .page-vip-club a[class*="button"],
  .page-vip-club 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 !important;
    padding-right: 15px !important;
  }
  .page-vip-club__cta-buttons,
  .page-vip-club__button-group,
  .page-vip-club__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  /* 产品展示图区域 (benefits, levels, gaming) - 这里是通用卡片布局 */
  .page-vip-club__benefits-grid,
  .page-vip-club__levels-grid,
  .page-vip-club__steps-grid,
  .page-vip-club__gaming-grid {
    grid-template-columns: 1fr !important; /* Single column for all grids */
    gap: 20px !important;
  }
  
  .page-vip-club__benefit-card,
  .page-vip-club__level-card,
  .page-vip-club__step-card,
  .page-vip-club__game-card {
    padding: 20px;
  }

  .page-vip-club__benefit-card img,
  .page-vip-club__level-card img,
  .page-vip-club__game-card img {
    
    margin-bottom: 15px;
  }

  .page-vip-club__benefit-card .page-vip-club__card-title,
  .page-vip-club__level-card .page-vip-club__card-title,
  .page-vip-club__step-card .page-vip-club__card-title,
  .page-vip-club__game-card .page-vip-club__card-title {
    font-size: 20px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-vip-club__introduction-section .page-vip-club__text-block,
  .page-vip-club__how-to-join-section .page-vip-club__text-block,
  .page-vip-club__gaming-experience-section .page-vip-club__text-block,
  .page-vip-club__support-section .page-vip-club__text-block,
  .page-vip-club__conclusion-section .page-vip-club__text-block {
    text-align: left;
  }

  /* FAQ */
  details.page-vip-club__faq-item summary.page-vip-club__faq-question { padding: 15px; }
  .page-vip-club__faq-qtext { font-size: 15px; }
  details.page-vip-club__faq-item .page-vip-club__faq-answer { padding: 0 15px 15px; }

  /* Support Section */
  .page-vip-club__support-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-vip-club__support-image {
    order: -1;
  }
  .page-vip-club__support-image img {
    max-width: 100%;
  }
  .page-vip-club__support-text p {
    font-size: 15px;
  }
}