:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg-color: #17191F;
  --main-bg-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --dark-text-color: #333333; /* For light backgrounds */
  --light-text-color: #FFF3E6; /* For dark backgrounds */
}

/* Base styles for the page-promotions scope */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default text color for the overall page, assuming dark body background */
  background-color: var(--main-bg-color); /* Explicitly setting main background */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top margin, body handles header offset */
  background-color: var(--main-bg-color); /* Consistent with body */
  overflow: hidden; /* Ensure no image overflow */
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure flex container takes full width */
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%; /* Ensure it respects container width */
  box-sizing: border-box;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-sizing: border-box;
  filter: none !important;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width */
}

.page-promotions__hero-title {
  font-size: clamp(2em, 5vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5); /* Subtle glow */
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  opacity: 0.9;
}

.page-promotions__cta-button--secondary {
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: none;
}

.page-promotions__cta-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.3);
}

.page-promotions__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* General Section Styling */
.page-promotions__intro-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--main-bg-color); /* Default to main bg */
  color: var(--light-text-color);
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  background-color: var(--card-bg-color); /* Alternate background */
  color: var(--light-text-color);
}

.page-promotions__light-bg {
  background-color: var(--light-text-color); /* Use light text color as background */
  color: var(--dark-text-color); /* Dark text for light background */
}

.page-promotions__dark-bg {
  background-color: var(--card-bg-color); /* Use card bg as dark background */
  color: var(--light-text-color); /* Light text for dark background */
}

.page-promotions__intro-title,
.page-promotions__types-title,
.page-promotions__how-to-claim-title,
.page-promotions__terms-title,
.page-promotions__faq-title,
.page-promotions__conclusion-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.3);
}

.page-promotions__intro-text,
.page-promotions__types-description,
.page-promotions__how-to-claim-description,
.page-promotions__terms-description,
.page-promotions__conclusion-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--light-text-color);
}

.page-promotions__light-bg .page-promotions__intro-text,
.page-promotions__light-bg .page-promotions__types-description,
.page-promotions__light-bg .page-promotions__how-to-claim-description,
.page-promotions__light-bg .page-promotions__terms-description,
.page-promotions__light-bg .page-promotions__conclusion-text {
  color: var(--dark-text-color);
}

.page-promotions__keyword {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.4);
}

.page-promotions__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  filter: none !important;
}

.page-promotions__promo-card-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  padding: 0 20px;
}

.page-promotions__promo-card-text {
  font-size: 1em;
  color: var(--light-text-color);
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1; /* Make text take available space */
}

.page-promotions__promo-card .page-promotions__cta-button {
  margin-top: auto; /* Push button to bottom */
  padding: 12px 30px;
  font-size: 16px;
}

/* How to Claim Steps */
.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 800px;
}

.page-promotions__claim-step-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

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

.page-promotions__light-bg .page-promotions__claim-step-item {
  background-color: #ffffff;
  color: var(--dark-text-color);
  border-color: #e0e0e0;
}

.page-promotions__claim-step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions__light-bg .page-promotions__claim-step-title {
  color: var(--primary-color);
}

.page-promotions__claim-step-item p {
  color: var(--light-text-color);
}
.page-promotions__light-bg .page-promotions__claim-step-item p {
  color: var(--dark-text-color);
}
.page-promotions__claim-step-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}
.page-promotions__claim-step-item a:hover {
  text-decoration: underline;
}

/* Terms & Conditions */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 900px;
}

.page-promotions__terms-list-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--light-text-color);
}

.page-promotions__terms-list-item strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__light-bg details.page-promotions__faq-item {
  background: #ffffff;
  border-color: #e0e0e0;
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--primary-color);
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Light hover effect */
}
.page-promotions__light-bg details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.03); /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--light-text-color);
}
.page-promotions__light-bg details.page-promotions__faq-item .page-promotions__faq-answer {
  background: #f9f9f9;
  color: var(--dark-text-color);
}
.page-promotions__faq-answer p {
  margin: 0;
  padding-top: 10px;
}
.page-promotions__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}
.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-orange-color); /* Use deep orange for strong CTA */
  color: #ffffff;
}

.page-promotions__conclusion-title {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__conclusion-text {
  color: #ffffff;
}

.page-promotions__conclusion-text a {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
}
.page-promotions__conclusion-text a:hover {
  text-decoration: underline;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 15px;
  }

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-promotions__intro-section,
  .page-promotions__types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 40px 0;
  }

  .page-promotions__intro-title,
  .page-promotions__types-title,
  .page-promotions__how-to-claim-title,
  .page-promotions__terms-title,
  .page-promotions__faq-title,
  .page-promotions__conclusion-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-promotions__intro-text,
  .page-promotions__types-description,
  .page-promotions__how-to-claim-description,
  .page-promotions__terms-description,
  .page-promotions__conclusion-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-promotions__promo-card {
    padding-bottom: 20px;
  }

  .page-promotions__promo-card img {
    
    margin-bottom: 20px;
  }

  .page-promotions__promo-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .page-promotions__promo-card-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-promotions__claim-step-item {
    padding: 20px;
  }

  .page-promotions__claim-step-title {
    font-size: 1.2em;
  }

  .page-promotions__terms-list-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 1.1em;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all images and containers are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-promotions__promo-card .page-promotions__cta-button {
    width: calc(100% - 40px) !important; /* Adjust for padding in card */
    margin-left: 20px;
    margin-right: 20px;
  }
  
  .page-promotions__promo-card .page-promotions__cta-button:nth-of-type(2) {
    margin-top: 10px; /* Space between two buttons in card */
  }

  .page-promotions__cta-wrapper {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__cta-wrapper .page-promotions__cta-button {
    width: 100% !important;
  }
  .page-promotions__cta-wrapper a {
    display: block;
    margin-bottom: 15px;
  }
  .page-promotions__cta-wrapper a:last-child {
    margin-bottom: 0;
  }
}