.page-promotions {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-promotions__hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(0, 0, 0, 0.9)), url('[GALLERY:promotion:jun88,hero_background,abstract_gold_pattern]') no-repeat center center/cover;
  padding: 120px 20px 80px; /* Adjusted padding-top for fixed header */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-promotions__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  color: var(--primary-color, #FFD700);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-promotions__cta-button--primary {
  background: var(--primary-color, #FFD700);
  color: #1A1A1A;
}

.page-promotions__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background: var(--secondary-color, #1A1A1A);
  color: var(--primary-color, #FFD700);
  border: 2px solid var(--primary-color, #FFD700);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--primary-color, #FFD700);
  color: #1A1A1A;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--primary-color, #FFD700);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__featured-promos {
  background: var(--secondary-color, #1A1A1A);
  padding: 60px 0;
}

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

.page-promotions__promo-card {
  background: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--primary-color, #FFD700);
}

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

.page-promotions__promo-card-title {
  font-size: 1.5em;
  color: var(--primary-color, #FFD700);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__promo-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__promo-card-title a:hover {
  color: #e6c200;
}

.page-promotions__promo-card-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color, #FFD700);
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-promotions__promo-card-button:hover {
  background: #e6c200;
}

.page-promotions__how-to-claim {
  padding: 60px 0;
  background: #121212;
}

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

.page-promotions__steps-list li {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-number {
  background: var(--primary-color, #FFD700);
  color: #1A1A1A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-promotions__step-title {
  font-size: 1.6em;
  color: var(--primary-color, #FFD700);
  margin-bottom: 15px;
}

.page-promotions__step-description {
  color: #cccccc;
  font-size: 1em;
}

.page-promotions__how-to-claim-cta {
  text-align: center;
  margin-top: 50px;
}

.page-promotions__terms-conditions {
  padding: 60px 0;
  background: var(--secondary-color, #1A1A1A);
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__terms-list li {
  background: #2a2a2a;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__terms-list-title {
  font-size: 1.3em;
  color: var(--primary-color, #FFD700);
  margin-bottom: 10px;
}

.page-promotions__terms-list li p {
  color: #cccccc;
  font-size: 1em;
}

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

.page-promotions__why-choose {
  padding: 60px 0;
  background: #121212;
}

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

.page-promotions__advantage-item {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__advantage-title {
  font-size: 1.4em;
  color: var(--primary-color, #FFD700);
  margin-bottom: 10px;
}

.page-promotions__advantage-description {
  color: #cccccc;
  font-size: 0.95em;
}

.page-promotions__faq-section {
  padding: 60px 0;
  background: var(--secondary-color, #1A1A1A);
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, value large enough */
  padding: 20px 25px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 5px 5px;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #3a3a3a;
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #4a4a4a;
  border-color: var(--primary-color, #FFD700);
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-promotions__faq-item.active .page-promotions__faq-question h3 {
  color: var(--primary-color, #FFD700);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color, #FFD700);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: #ffffff;
}

.page-promotions__faq-answer p {
  color: #cccccc;
  font-size: 1em;
}

.page-promotions__conclusion-cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(90deg, #121212, var(--secondary-color, #1A1A1A));
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 100px; /* Adjust padding-top for mobile fixed header */
    padding-bottom: 60px;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description,
  .page-promotions__section-subtitle,
  .page-promotions__promo-card-description,
  .page-promotions__step-description,
  .page-promotions__terms-list li p,
  .page-promotions__advantage-description,
  .page-promotions__faq-answer p {
    font-size: 0.9em;
  }

  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Ensure full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

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

  .page-promotions__promo-card-image {
    height: 180px;
  }

  .page-promotions__promo-card-title {
    font-size: 1.3em;
  }

  .page-promotions__promo-card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-promotions__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }

  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-section,
  .page-promotions__featured-promos,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__why-choose,
  .page-promotions__faq-section,
  .page-promotions__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__promo-card-title {
    font-size: 1.2em;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
  .page-promotions__terms-list-title {
    font-size: 1.1em;
  }
}