/* style/promotions-vip.css */

/* Custom Colors */
:root {
  --fbc8-primary-color: #11A84E;
  --fbc8-secondary-color: #22C768;
  --fbc8-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --fbc8-card-bg: #11271B;
  --fbc8-background: #08160F;
  --fbc8-text-main: #F2FFF6;
  --fbc8-text-secondary: #A7D9B8;
  --fbc8-border: #2E7A4E;
  --fbc8-glow: #57E38D;
  --fbc8-gold: #F2C14E;
  --fbc8-divider: #1E3A2A;
  --fbc8-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-promotions-vip {
  font-family: 'Arial', sans-serif;
  color: var(--fbc8-text-main); /* Light text on dark background */
  background-color: var(--fbc8-background); /* Ensure consistency if body background is not fully dark */
}

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

/* Sections */
.page-promotions-vip__hero-section,
.page-promotions-vip__intro-section,
.page-promotions-vip__levels-section,
.page-promotions-vip__benefits-section,
.page-promotions-vip__how-to-join-section,
.page-promotions-vip__faq-section,
.page-promotions-vip__cta-bottom-section {
  padding: 60px 0;
}

.page-promotions-vip__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-promotions-vip__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-promotions-vip__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-vip__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not covering the image content */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions-vip__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--fbc8-text-main);
  margin-bottom: 20px;
}

.page-promotions-vip__subtitle {
  font-size: 1.15rem;
  color: var(--fbc8-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions-vip__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-promotions-vip__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--fbc8-text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-promotions-vip__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--fbc8-gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promotions-vip__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fbc8-text-main);
  margin-bottom: 20px;
}

.page-promotions-vip__text-secondary {
  color: var(--fbc8-text-secondary);
}

/* Buttons */
.page-promotions-vip__btn-primary,
.page-promotions-vip__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-promotions-vip__btn-primary {
  background: var(--fbc8-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions-vip__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions-vip__btn-secondary {
  background: transparent;
  color: var(--fbc8-gold);
  border: 2px solid var(--fbc8-gold);
}

.page-promotions-vip__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--fbc8-gold);
  transform: translateY(-2px);
}

.page-promotions-vip__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.page-promotions-vip__btn-large {
  padding: 18px 40px;
  font-size: 1.25rem;
}

/* Dark/Light Backgrounds */
.page-promotions-vip__dark-bg {
  background-color: var(--fbc8-background);
  color: var(--fbc8-text-main);
}

.page-promotions-vip__light-bg {
  background-color: #1a3026; /* Slightly lighter dark for contrast */
  color: var(--fbc8-text-main);
}

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

.page-promotions-vip__level-card {
  background-color: var(--fbc8-card-bg);
  border: 1px solid var(--fbc8-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions-vip__level-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions-vip__level-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions-vip__card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fbc8-gold);
  margin-bottom: 15px;
}

.page-promotions-vip__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
  flex-grow: 1;
}

.page-promotions-vip__card-list li {
  color: var(--fbc8-text-secondary);
  font-size: 1rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-promotions-vip__card-list li::before {
  content: '✔';
  color: var(--fbc8-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-promotions-vip__benefit-item {
  background-color: var(--fbc8-card-bg);
  border: 1px solid var(--fbc8-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-promotions-vip__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure images are not small icons */
  min-height: 200px;
}

.page-promotions-vip__benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fbc8-gold);
  margin-bottom: 15px;
}

.page-promotions-vip__benefit-description {
  font-size: 0.95rem;
  color: var(--fbc8-text-secondary);
  line-height: 1.6;
}

/* How to Join Section */
.page-promotions-vip__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions-vip__steps-list li {
  background-color: var(--fbc8-card-bg);
  border: 1px solid var(--fbc8-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 70px;
}

.page-promotions-vip__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--fbc8-gold);
  color: var(--fbc8-background);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-promotions-vip__step-title {
  font-size: 1.3rem;
  color: var(--fbc8-text-main);
  margin-bottom: 10px;
}

.page-promotions-vip__steps-list p {
  font-size: 0.95rem;
  color: var(--fbc8-text-secondary);
  line-height: 1.6;
}

.page-promotions-vip__steps-list a {
  color: var(--fbc8-gold);
  text-decoration: underline;
}

.page-promotions-vip__steps-list a:hover {
  color: var(--fbc8-secondary-color);
}

/* FAQ Section */
.page-promotions-vip__faq-list {
  margin-top: 40px;
}

.page-promotions-vip__faq-item {
  background-color: var(--fbc8-card-bg);
  border: 1px solid var(--fbc8-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-vip__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fbc8-text-main);
  cursor: pointer;
  background-color: var(--fbc8-card-bg);
  border-bottom: 1px solid var(--fbc8-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions-vip__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-promotions-vip__faq-item[open] > .page-promotions-vip__faq-question {
  background-color: var(--fbc8-deep-green);
}

.page-promotions-vip__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--fbc8-gold);
}

.page-promotions-vip__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fbc8-text-secondary);
  border-top: 1px solid var(--fbc8-divider);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-vip__hero-content {
    margin-top: -50px;
    padding: 30px;
  }
  .page-promotions-vip__levels-grid,
  .page-promotions-vip__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions-vip__hero-section,
  .page-promotions-vip__intro-section,
  .page-promotions-vip__levels-section,
  .page-promotions-vip__benefits-section,
  .page-promotions-vip__how-to-join-section,
  .page-promotions-vip__faq-section,
  .page-promotions-vip__cta-bottom-section {
    padding: 40px 0;
  }

  .page-promotions-vip__hero-content {
    margin-top: -30px;
    padding: 20px;
  }

  .page-promotions-vip__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-promotions-vip__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions-vip__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

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

  .page-promotions-vip__levels-grid,
  .page-promotions-vip__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-vip__level-card,
  .page-promotions-vip__benefit-item,
  .page-promotions-vip__faq-item {
    padding: 20px;
  }

  .page-promotions-vip__level-image,
  .page-promotions-vip__benefit-icon {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    min-width: 200px; /* Ensure images are not small icons */
    min-height: 200px;
  }

  .page-promotions-vip__steps-list li {
    padding-left: 60px;
  }

  .page-promotions-vip__steps-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
    left: 15px;
  }

  .page-promotions-vip__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions-vip__faq-answer {
    padding: 15px 20px;
  }

  /* Container padding for mobile */
  .page-promotions-vip__container,
  .page-promotions-vip__hero-content,
  .page-promotions-vip__cta-group,
  .page-promotions-vip__cta-center,
  .page-promotions-vip__levels-grid,
  .page-promotions-vip__benefits-grid,
  .page-promotions-vip__steps-list,
  .page-promotions-vip__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific overrides for button containers to prevent overflow */
  .page-promotions-vip__cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/* Global image responsiveness */
.page-promotions-vip img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure minimum dimensions for content images */
  min-width: 200px;
  min-height: 200px;
}

/* Ensure all content images within .page-promotions-vip adhere to minimum size */
.page-promotions-vip__hero-image,
.page-promotions-vip__level-image,
.page-promotions-vip__benefit-icon {
  min-width: 200px;
  min-height: 200px;
}