.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: var(--primary-color, #1A202C); /* Ensure body background is respected */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  box-sizing: border-box;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  color: #ffffff;
}

.page-promotions__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-promotions__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 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;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Section General */
.page-promotions__section {
  padding: 80px 0;
}

.page-promotions__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #FFD700; /* For dark background sections */
}

.page-promotions__light-bg .page-promotions__section-title {
  color: #1A202C;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__light-bg .page-promotions__card {
  background-color: #f9f9f9;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #FFD700;
}

.page-promotions__light-bg .page-promotions__card-title {
  color: #1A202C;
}

.page-promotions__card-text {
  font-size: 1em;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* VIP Section */
.page-promotions__vip-program .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__vip-program .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 600px;
  text-align: left;
  font-size: 1.1em;
}

.page-promotions__vip-benefits li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-promotions__vip-icon {
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
}

/* How to Claim Section */
.page-promotions__how-to-claim .page-promotions__section-title {
  color: #1A202C;
}

.page-promotions__how-to-claim .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__step-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-promotions__step-icon {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
  display: block;
  font-weight: bold;
}

.page-promotions__step-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #1A202C;
}

.page-promotions__step-text {
  font-size: 1em;
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-promotions__faq-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-title {
  margin: 0;
  color: #FFD700;
  font-size: 1em;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-promotions__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-promotions__cta-final .page-promotions__section-title {
  color: #1A202C;
}

.page-promotions__cta-final .page-promotions__section-description {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .page-promotions__main-title {
    font-size: 2em;
  }

  .page-promotions__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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;
  }

  .page-promotions__section {
    padding: 60px 0;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__section-description {
    margin-bottom: 30px;
  }

  .page-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__vip-benefits {
    margin: 30px auto;
  }

  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__faq-list {
    margin: 30px auto 0 auto;
  }

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

  .page-promotions__faq-answer {
    padding: 15px;
  }

  /* Force image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-section, 
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cta-buttons,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensures hero is not hidden by fixed header */
  }

  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__cta-buttons > * {
    flex: 1 1 100%; /* Make buttons stack vertically */
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__intro-text {
    font-size: 0.9em;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}