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

.page-promotions {
  background-color: var(--fb9-background);
  color: var(--fb9-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--fb9-deep-green);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-promotions__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  position: relative;
  z-index: 1;
  background-color: var(--fb9-card-bg);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--fb9-border-color);
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--fb9-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions__description {
  font-size: 1.1em;
  color: var(--fb9-text-secondary);
  margin-bottom: 30px;
}

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

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

.page-promotions__btn-primary {
  background: var(--fb9-button-gradient);
  color: var(--fb9-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--fb9-secondary-color);
  border: 2px solid var(--fb9-secondary-color);
}

.page-promotions__btn-secondary:hover {
  background: var(--fb9-secondary-color);
  color: var(--fb9-background);
  transform: translateY(-3px);
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--fb9-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.05em;
  color: var(--fb9-text-secondary);
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__dark-section {
  background-color: var(--fb9-deep-green);
  padding: 80px 0;
}

.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: var(--fb9-deep-green);
}

.page-promotions__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-promotions__feature-item {
  background-color: var(--fb9-card-bg);
  border: 1px solid var(--fb9-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-promotions__feature-title {
  color: var(--fb9-primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-promotions__feature-description {
  color: var(--fb9-text-secondary);
  font-size: 0.95em;
}

.page-promotions__current-promotions-section {
  padding: 80px 0;
}

.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__promotion-card {
  background-color: var(--fb9-card-bg);
  border: 1px solid var(--fb9-border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  min-height: 200px; /* Ensure min size */
}

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

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure min size */
}

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promotions__card-title {
  color: var(--fb9-primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-description {
  color: var(--fb9-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: var(--fb9-deep-green);
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__step-card {
  background-color: var(--fb9-card-bg);
  border: 1px solid var(--fb9-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-promotions__step-title {
  color: var(--fb9-primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-promotions__step-description {
  color: var(--fb9-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-promotions__vip-club-section {
  padding: 80px 0;
  background-color: var(--fb9-background);
}

.page-promotions__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-promotions__vip-text-block {
  flex: 1;
  min-width: 300px;
}

.page-promotions__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--fb9-text-main);
}

.page-promotions__vip-benefits-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.page-promotions__vip-benefits-list li::before {
  content: '★';
  color: var(--fb9-gold-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-promotions__vip-image {
  flex: 1;
  min-width: 400px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
  min-height: 200px; /* Ensure min size */
}

.page-promotions__terms-conditions-section {
  padding: 80px 0;
  background-color: var(--fb9-deep-green);
}

.page-promotions__terms-list {
  list-style: decimal;
  color: var(--fb9-text-secondary);
  max-width: 800px;
  margin: 50px auto 30px auto;
  padding-left: 20px;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1.0em;
}

.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-promotions__faq-item {
  background-color: var(--fb9-card-bg);
  border: 1px solid var(--fb9-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--fb9-text-main);
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
  list-style: none;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: var(--fb9-secondary-color);
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--fb9-text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

.page-promotions__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--fb9-deep-green);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
  .page-promotions__vip-content {
    flex-direction: column;
  }
  .page-promotions__vip-image {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-promotions__hero-content {
    margin-top: -60px;
    padding: 20px;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 7vw, 2.5em);
  }
  .page-promotions__description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-promotions__text-block {
    font-size: 0.95em;
  }
  .page-promotions__dark-section,
  .page-promotions__why-choose-section,
  .page-promotions__current-promotions-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__vip-club-section,
  .page-promotions__terms-conditions-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__card-image {
    height: auto; /* Allow auto height for card images on mobile */
  }

  .page-promotions__feature-list,
  .page-promotions__promotions-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
}