.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

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

.page-promotions__hero-section {
  padding: 100px 0;
  text-align: center;
  background-image: linear-gradient(rgba(1, 116, 57, 0.7), rgba(1, 116, 57, 0.7)), url('[GALLERY:hero:1920x1080:sv88,promotions,cockfighting_stadium,crowd,excitement,green_theme]');
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-promotions__hero-title {
  font-size: 3.2em;
  color: #FFFF00; /* Custom color for title */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__intro-section .page-promotions__section-title,
.page-promotions__cockfighting-promos .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__sports-casino-promos .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-title {
  color: #ffffff;
}

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

.page-promotions__intro-section,
.page-promotions__cockfighting-promos,
.page-promotions__terms-conditions,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.page-promotions__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}

.page-promotions__text-block p {
  margin-bottom: 15px;
}

.page-promotions__text-block a {
  margin-top: 20px;
  display: inline-block;
}

.page-promotions__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__image--left {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 400px;
}

.page-promotions__image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  max-width: 400px;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__card-title a {
  color: #FFFF00; /* Custom color for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #ff3333;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-promotions__list strong {
  color: #017439;
}

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

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00; /* Custom color for step titles */
}

.page-promotions__step-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: 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: 15px 20px;
  cursor: pointer;
  background-color: #ffffff;
  color: #017439;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #e0e0e0;
}

.page-promotions__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #017439;
}

.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);
  content: '−'; /* Changed in JS */
}

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

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

.page-promotions__faq-answer p {
  margin-bottom: 10px;
  font-size: 0.95em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__image--left,
  .page-promotions__image--right {
    float: none;
    margin: 0 auto 20px auto;
    max-width: 100%;
  }
  .page-promotions__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header spacing */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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;
    padding-right: 15px;
  }
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-subtitle {
    font-size: 0.9em;
  }
  .page-promotions__intro-section,
  .page-promotions__cockfighting-promos,
  .page-promotions__terms-conditions,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__content-wrapper,
  .page-promotions__grid,
  .page-promotions__steps-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-promotions__text-block {
    min-width: unset;
    width: 100%;
  }
  .page-promotions__image--left,
  .page-promotions__image--right {
    margin: 0 auto 15px auto;
  }
  .page-promotions__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-promotions__faq-title {
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 10px 15px;
  }
  .page-promotions__faq-answer p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
}