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

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background); /* #08160F */
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header-offset, small top padding for visual */
  overflow: hidden; /* Ensure no image overflow */
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  margin-top: 150px; /* Push content down to avoid overlapping the very top of the image */
}

.page-promotions__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: var(--text-main); /* #F2FFF6 */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
}

.page-promotions__btn {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
  display: inline-block; /* Ensure padding and width work */
}

.page-promotions__btn--primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-promotions__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn--secondary {
  background-color: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-promotions__btn--secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* #2E7A4E with transparency */
  transform: translateY(-3px);
}

.page-promotions__btn--large {
  min-width: 250px;
}

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions__section--introduction,
.page-promotions__section--highlighted-promos,
.page-promotions__section--game-specific,
.page-promotions__section--terms-conditions,
.page-promotions__section--call-to-action {
  background-color: var(--background); /* #08160F */
}

.page-promotions__section--how-to-claim,
.page-promotions__section--faq {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}

.page-promotions__section--call-to-action {
  padding-bottom: 80px;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--glow); /* #57E38D */
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left; /* Default text alignment for blocks */
}

.page-promotions__text-center .page-promotions__text-block {
    text-align: center;
}

/* Promo Grid */
.page-promotions__promo-grid,
.page-promotions__game-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card,
.page-promotions__game-promo-card {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover,
.page-promotions__game-promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-image,
.page-promotions__game-promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-promotions__card-title {
  font-size: 1.5rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Claim section */
.page-promotions__numbered-list {
  list-style: none;
  counter-reset: promotion-step;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions__list-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  text-align: left;
}

.page-promotions__list-item::before {
  counter-increment: promotion-step;
  content: counter(promotion-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--glow); /* #57E38D */
  color: #000000; /* Black text for glow color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
}

.page-promotions__list-title {
  font-size: 1.4rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__list-description {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-promotions__inline-link {
  color: var(--glow); /* #57E38D */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__inline-link:hover {
  color: var(--text-main); /* #F2FFF6 */
}

/* Terms & Conditions section */
.page-promotions__unordered-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions__unordered-list .page-promotions__list-item {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}

.page-promotions__unordered-list .page-promotions__list-item::before {
  content: '•'; /* Custom bullet point */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--glow); /* #57E38D */
  font-size: 1.5rem;
  line-height: 1;
}

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

.page-promotions__faq-item {
  background-color: var(--background); /* #08160F */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--card-bg); /* #11271B */
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details summary */
}

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

.page-promotions__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2); /* Lighter version of main color */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--glow); /* #57E38D */
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--glow); /* #57E38D */
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  color: var(--text-main); /* #F2FFF6 */
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  background-color: var(--background); /* #08160F */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: 100px;
  }
}

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

  .page-promotions__hero-content {
    padding: 30px 15px;
    margin-top: 80px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

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

  .page-promotions__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-promotions__section {
    padding: 40px 0; /* Container handles horizontal padding */
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 0.95rem;
  }

  .page-promotions__promo-grid,
  .page-promotions__game-promo-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 25px;
  }

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

  .page-promotions__promo-image,
.page-promotions__game-promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Ensure images are responsive */
  }

  .page-promotions__card-title {
    font-size: 1.3rem;
  }

  .page-promotions__card-description {
    font-size: 0.9rem;
  }

  .page-promotions__numbered-list,
  .page-promotions__unordered-list {
    margin-top: 30px;
  }

  .page-promotions__list-item {
    padding-left: 50px;
    margin-bottom: 25px;
  }

  .page-promotions__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .page-promotions__list-title {
    font-size: 1.2rem;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-promotions__faq-toggle {
    font-size: 1.5rem;
  }

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Global image responsiveness for all img tags */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers holding images/buttons are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__game-promo-card,
  .page-promotions__cta-buttons,
  .page-promotions__promo-grid,
  .page-promotions__game-promo-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific padding for sections if needed to prevent content touching edges */
  .page-promotions__section:not(.page-promotions__hero-section) {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure buttons with flex-wrap work correctly */
  .page-promotions__cta-buttons {
    flex-direction: column;
  }
}