.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF);
}

.page-promotions__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-promotions__hero-section {
  padding-top: 0; /* Ensures no double padding with body's header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFFFF; /* Adjusted for contrast, originally #FFFF00 */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-promotions__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #017439;
}

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

.page-promotions__advantage-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__advantage-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

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

/* Hot Promotions Section */
.page-promotions__hot-promos-section {
  padding: 60px 20px;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.page-promotions__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-promotions__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Fishing Promos Section */
.page-promotions__fishing-promos-section {
  padding: 60px 20px;
}

.page-promotions__fishing-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-promotions__fishing-promo-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__fishing-promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__fishing-promo-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__fishing-promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* New Member Section */
.page-promotions__new-member-section {
  padding: 60px 20px;
}

.page-promotions__new-member-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__new-member-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #C30808;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

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

.page-promotions__new-member-cta {
  margin-top: 20px;
}

/* VIP Section */
.page-promotions__vip-section {
  padding: 60px 20px;
}

.page-promotions__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-promotions__vip-image {
  flex: 1;
  min-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__vip-benefits {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__vip-benefit-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-promotions__vip-benefit-item::before {
  content: '✔';
  color: #017439;
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 20px;
}

.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-promotions__claim-step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  line-height: 1.6;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__claim-step-item strong {
  color: #FFFFFF;
  font-size: 1.1em;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 20px;
}

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

.page-promotions__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevents text selection from interfering with click */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #017439;
  margin-left: 15px;
  pointer-events: none; /* Prevents toggle from interfering with click */
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
  padding: 60px 20px;
}

/* Button Group (for multiple buttons) */
.page-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* General Image Styles (excluding logo items) */
.page-promotions img:not(.page-promotions__logo-item) {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__container {
    padding: 30px 15px;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-promotions__description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-promotions__fishing-promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__vip-content {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions__vip-image {
    min-width: unset;
    width: 100%;
  }

  .page-promotions__button-group {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 0 !important; /* Ensure no padding-top on mobile hero */
    min-height: 450px;
  }

  .page-promotions__hero-content {
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Adjust H1 size for smaller screens */
    margin-bottom: 10px;
  }

  .page-promotions__description {
    font-size: clamp(0.9em, 3.5vw, 1em) !important;
    margin-bottom: 20px;
  }

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

  /* Buttons mobile responsive */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important; /* Add padding to button content */
    padding-right: 15px !important;
  }

  /* Button containers mobile responsive */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important; /* Ensure vertical stacking for button groups */
  }

  .page-promotions__container {
    padding: 20px 15px;
  }

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

  .page-promotions__section-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* General Image & Container Responsive (excluding logo-item) */
  .page-promotions img:not(.page-promotions__logo-item) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__advantages-section,
  .page-promotions__hot-promos-section,
  .page-promotions__fishing-promos-section,
  .page-promotions__new-member-section,
  .page-promotions__vip-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* LOGO Carousel Specific Styles (MUST maintain 80x80) */
  .page-promotions__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
    /* No padding-left/right here to preserve original spacing */
  }

  .page-promotions__advantages-grid,
  .page-promotions__promo-grid,
  .page-promotions__fishing-promo-grid,
  .page-promotions__new-member-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__advantage-item,
  .page-promotions__promo-card,
  .page-promotions__fishing-promo-item,
  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__vip-image {
    min-width: unset;
    width: 100% !important;
  }

  .page-promotions__vip-benefit-item {
    font-size: 1em;
  }

  .page-promotions__claim-step-item {
    padding: 20px;
    font-size: 0.95em;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
  }
}