.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  min-height: 600px; /* Adjust as needed */
  background-color: #017439; /* Brand color as hero background */
  color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

/* General Section Styling */
.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-promotions__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body background for contrast */
  padding: 80px 0;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  padding: 80px 0;
  color: #333333;
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__section-description,
.page-promotions__light-bg .page-promotions__card-title,
.page-promotions__light-bg .page-promotions__card-text,
.page-promotions__light-bg .page-promotions__category-title,
.page-promotions__light-bg .page-promotions__category-text,
.page-promotions__light-bg .page-promotions__step-title,
.page-promotions__light-bg .page-promotions__step-text,
.page-promotions__light-bg .page-promotions__terms-list li,
.page-promotions__light-bg .page-promotions__terms-note,
.page-promotions__light-bg .page-promotions__faq-qtext,
.page-promotions__light-bg .page-promotions__faq-answer p {
  color: #333333;
}

.page-promotions__light-bg a {
  color: #017439;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-2px);
}

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

.page-promotions__light-bg .page-promotions__btn-secondary {
  color: #017439;
  border-color: #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-2px);
}

.page-promotions__light-bg .page-promotions__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

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

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Latest Promotions Section */
.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-promotions__card-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-link:hover {
  color: #FFFF00; /* Custom font color for Register/Login */
}

.page-promotions__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  margin-top: auto; /* Push button to bottom */
}

/* Promotion Categories Section */
.page-promotions__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__category-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.page-promotions__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-promotions__category-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-promotions__category-link {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__category-link:hover {
  color: #C30808;
}

.page-promotions__category-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 50%;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-promotions__step-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__step-text a:hover {
  color: #e0e000;
}

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

/* Terms and Conditions Section */
.page-promotions__terms-list {
  list-style-type: disc;
  padding-left: 40px;
  margin-top: 30px;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

.page-promotions__terms-list li strong {
  color: #017439;
}

.page-promotions__terms-note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
}

.page-promotions__terms-note a {
  color: #017439;
  text-decoration: underline;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-item details > summary {
  list-style: none;
}

.page-promotions__faq-item details > summary::-webkit-details-marker {
  display: none;
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 20px;
  color: #FFFF00;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  transition: max-height 0.4s ease-in;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #e0e000;
}

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 80px 0;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }
  .page-promotions__hero-content {
    padding: 15px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__dark-section,
  .page-promotions__light-bg {
    padding: 60px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  
  /* Image and Video Responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__promo-card,
  .page-promotions__category-item,
  .page-promotions__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__promo-grid,
  .page-promotions__category-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__promo-card .page-promotions__btn-primary {
    width: calc(100% - 40px);
    margin: 0 20px auto;
  }
  .page-promotions__category-item,
  .page-promotions__step-card {
    padding: 20px;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    font-size: 0.95em;
    padding: 10px 20px 15px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* Ensure no horizontal overflow */
.page-promotions__promo-grid,
.page-promotions__category-grid,
.page-promotions__steps-grid,
.page-promotions__faq-list,
.page-promotions__cta-buttons {
  overflow-x: hidden;
}

.page-promotions__promo-card,
.page-promotions__category-item,
.page-promotions__step-card,
.page-promotions__faq-item {
  box-sizing: border-box;
}

/* Global image style to prevent filters */
.page-promotions img {
  filter: none !important; /* Ensure no CSS filter changes image color */
}