/* style/promotions-vip.css */

/* Base Styles & Typography */
.page-promotions-vip {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Ensure consistent background if shared.css is overridden */
}

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

.page-promotions-vip__section {
  padding: 60px 0;
}

.page-promotions-vip__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-promotions-vip__light-bg {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-vip__medium-bg {
  background-color: #ffc107; /* Auxiliary color */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-vip__section-title,
.page-promotions-vip__hero-title {
  font-size: 2.8em;
  color: #ffc107; /* Highlight with auxiliary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions-vip__card-title,
.page-promotions-vip__faq-title {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-promotions-vip__section-text,
.page-promotions-vip__hero-description,
.page-promotions-vip__card-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions-vip__hero-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-vip__card-text {
  text-align: left;
}

/* Buttons */
.page-promotions-vip__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-promotions-vip__btn-primary,
.page-promotions-vip__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-vip__btn-primary {
  background-color: #007bff; /* Main color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-promotions-vip__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-3px);
}

.page-promotions-vip__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color */
  border: 2px solid #ffc107;
}

.page-promotions-vip__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-3px);
}

/* Hero Section */
.page-promotions-vip__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding-top for fixed header */
  padding-top: var(--header-offset, 120px);
  text-align: center;
  overflow: hidden;
}

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

.page-promotions-vip__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* Benefits Grid */
.page-promotions-vip__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-vip__benefit-card {
  text-align: center;
  padding: 30px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-promotions-vip__benefit-card:hover {
  transform: translateY(-5px);
}

.page-promotions-vip__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* VIP Tiers Grid */
.page-promotions-vip__tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-vip__tier-card {
  text-align: center;
  padding: 30px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-promotions-vip__tier-card:hover {
  transform: translateY(-5px);
}

.page-promotions-vip__tier-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* VIP Rewards List */
.page-promotions-vip__rewards-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-vip__reward-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
  gap: 20px;
}

.page-promotions-vip__reward-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.page-promotions-vip__reward-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-promotions-vip__reward-details {
  flex-grow: 1;
  text-align: left;
}

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

.page-promotions-vip__support-card {
  text-align: center;
  padding: 30px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-promotions-vip__support-card:hover {
  transform: translateY(-5px);
}

.page-promotions-vip__support-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* How to Join Steps */
.page-promotions-vip__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-vip__step-card {
  text-align: center;
  padding: 30px;
  height: 100%;
}

.page-promotions-vip__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

.page-promotions-vip__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-promotions-vip__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-vip__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions-vip__faq-item.active .page-promotions-vip__faq-toggle {
  transform: rotate(45deg);
}

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

.page-promotions-vip__faq-item.active .page-promotions-vip__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px 20px;
}

.page-promotions-vip__faq-answer p {
  text-align: left;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-vip__section-title,
  .page-promotions-vip__hero-title {
    font-size: 2.2em;
  }
}

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

  .page-promotions-vip__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-promotions-vip__section {
    padding: 40px 0;
  }

  .page-promotions-vip__section-title,
  .page-promotions-vip__hero-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-promotions-vip__hero-description {
    font-size: 1em;
  }

  .page-promotions-vip__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-vip__btn-primary,
  .page-promotions-vip__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-vip__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions-vip__section,
  .page-promotions-vip__card,
  .page-promotions-vip__container,
  .page-promotions-vip__hero-image-wrapper,
  .page-promotions-vip__rewards-list,
  .page-promotions-vip__reward-item,
  .page-promotions-vip__faq-list,
  .page-promotions-vip__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-vip__reward-item {
    flex-direction: column !important;
    text-align: center;
  }
  
  .page-promotions-vip__reward-item:nth-child(odd) {
    flex-direction: column !important;
  }

  .page-promotions-vip__reward-image {
    width: 100% !important;
    height: auto !important;
    max-width: 250px !important;
    margin-bottom: 15px;
  }
  
  .page-promotions-vip__reward-details {
    text-align: center;
  }

  .page-promotions-vip__card-title {
    font-size: 1.3em;
  }

  .page-promotions-vip__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-promotions-vip__faq-item.active .page-promotions-vip__faq-answer {
    padding: 10px 15px 15px;
  }

  .page-promotions-vip__benefit-card,
  .page-promotions-vip__tier-card,
  .page-promotions-vip__support-card,
  .page-promotions-vip__step-card {
    padding: 20px;
  }

  .page-promotions-vip__benefit-icon,
  .page-promotions-vip__tier-icon,
  .page-promotions-vip__support-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-vip__section-title,
  .page-promotions-vip__hero-title {
    font-size: 1.5em;
  }

  .page-promotions-vip__card-title {
    font-size: 1.1em;
  }
}