.page-promotions {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color, #08160F); /* Dark background */
  line-height: 1.6;
  scroll-behavior: smooth;
}

.page-promotions a {
  color: var(--glow, #57E38D); /* Link color */
  text-decoration: none;
}

.page-promotions a:hover {
  text-decoration: underline;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  color: var(--glow, #57E38D);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

/* Color contrast adaptations */
.page-promotions__dark-bg {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-promotions__light-bg {
  background-color: var(--card-bg, #11271B); /* Using Card BG for light sections for contrast */
  color: var(--text-main, #F2FFF6);
}

/* Hero Section */
.page-promotions__hero-section {
  width: 100%;
  display: flex;
  flex-direction: column; /* Image block then content block */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--background-color, #08160F); /* Ensure dark background for the whole section */
}

.page-promotions__hero-image-block {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and text */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Max height for hero image */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-promotions__hero-content-block {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main, #F2FFF6);
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold, #F2C14E);
}

.page-promotions__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

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

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
}

.page-promotions__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: var(--card-bg, #11271B); /* Dark text for light background */
  transform: translateY(-3px);
}

/* General Content Sections */
.page-promotions__introduction-section,
.page-promotions__how-to-claim-section,
.page-promotions__maximize-winnings-section,
.page-promotions__conclusion-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-promotions__types-section,
.page-promotions__featured-section,
.page-promotions__faq-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-promotions__grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promotions__grid--reverse {
  flex-direction: row-reverse;
}

.page-promotions__text-block {
  flex: 1;
}

.page-promotions__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
}

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

.page-promotions__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
}

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

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--gold, #F2C14E);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-promotions__card-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 20px 20px;
  flex-grow: 1; /* Pushes button to bottom */
}

.page-promotions__card-btn {
  margin: 0 20px 20px;
  padding: 12px 25px;
  font-size: 0.9em;
  border-radius: 6px;
}

/* Featured Promotions */
.page-promotions__promo-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__highlight-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
}

.page-promotions__highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__highlight-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.page-promotions__highlight-content {
  padding: 30px;
}

.page-promotions__highlight-title {
  font-size: 1.8em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-promotions__highlight-text {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 25px;
}

/* Lists */
.page-promotions__ordered-list,
.page-promotions__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-promotions__ordered-list li,
.page-promotions__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.5;
}

.page-promotions__ordered-list li strong {
  color: var(--glow, #57E38D);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
  background-color: var(--deep-green, #0A4B2C);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  border-radius: 8px;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--deep-green, #0A4B2C);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-promotions__faq-question:hover {
  background-color: rgba(var(--card-bg, #11271B), 0.8);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-promotions__grid {
    flex-direction: column;
  }
  .page-promotions__grid--reverse {
    flex-direction: column;
  }
  .page-promotions__hero-content-block {
    padding: 0 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 7vw, 3em);
  }
  .page-promotions__promo-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__highlight-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-promotions__sub-title {
    font-size: 1.5em;
  }
  .page-promotions__description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-image-block,
  .page-promotions__hero-content-block,
  .page-promotions__promo-cards-grid,
  .page-promotions__promo-highlight-grid,
  .page-promotions__highlight-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  /* Hero section specific mobile padding adjustment */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px !important;
  }

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

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__sub-title {
    font-size: 1.3em;
  }
  .page-promotions__hero-content-block {
    padding: 0 10px;
  }
}