.page-promotions {
  color: #ffffff; /* Default light text on dark background from shared.css */
  background-color: var(--dark-bg); /* Ensure consistency with body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__dark-section {
  background-color: var(--dark-bg, #0d0d0d);
  padding: 60px 0;
}

.page-promotions__light-bg {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%; /* Ensure cards in grid have equal height */
  box-sizing: border-box;
}

.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-image: url('[GALLERY:hero_main:1920x1080:789bet,promotions,banner,exciting_offers]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Accent color for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent color for section titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  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: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #333333;
}

.page-promotions__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-promotions__card-text {
  font-size: 1em;
  color: #cccccc;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #CC3333;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__list-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__list-text {
  font-size: 1em;
  color: #cccccc;
}

.page-promotions__video-wrapper {
  text-align: center;
}

.page-promotions__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  cursor: pointer;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-promotions__faq-answer p {
  margin: 0;
}

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

  .page-promotions__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-promotions__section-description {
    font-size: 0.9em;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-promotions__card-image,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-wrapper,
  .page-promotions__cta-buttons,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__card-image,
  .page-promotions__video {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-promotions__list-item {
    padding: 15px;
  }
  
  .page-promotions__faq-question {
    padding: 15px;
  }
  
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure content area images are not too small */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images cover their area without distortion */
}

/* Global image reset for content area, overriding potential smaller defaults */
.page-promotions__hero-section img,
.page-promotions__highlight-section img,
.page-promotions__vip-section img,
.page-promotions__product-promo-section img,
.page-promotions__terms-section img,
.page-promotions__stay-updated-section img,
.page-promotions__faq-section img,
.page-promotions__cta-bottom-section img {
  width: 100%; /* Ensure images fill their container */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%;
  display: block;
}

/* Ensure no filter on images */
.page-promotions img {
  filter: none !important;
}