/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Dark body background #1a1a2e, so light text */
  background-color: transparent;
  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__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero_bg:1920x1080:online gambling,promotions,bonuses,sports betting,green theme,abstract pattern]') center/cover no-repeat;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  color: #ffffff;
  overflow: hidden;
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2;
}

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

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

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFFF00;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-promotions__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__overview-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-final {
  padding: 60px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-promotions__featured-promotions {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-promotions__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-promotions__card-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-right: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.page-promotions__step-content {
  text-align: left;
}

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

.page-promotions__step-description {
  color: #f0f0f0;
}

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

.page-promotions__step-description a:hover {
  color: #C30808;
}

.page-promotions__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  width: 100%;
  box-sizing: border-box;
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-promotions__video-description {
  margin-top: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question::marker {
  display: none;
}

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

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-promotions__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    min-height: 400px;
  }

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

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

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

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

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

  .page-promotions__promotion-card {
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
  }

  .page-promotions__card-image {
    height: 200px;
  }

  .page-promotions__card-title {
    font-size: 1.5em;
  }

  .page-promotions__card-description {
    font-size: 0.95em;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  /* Image responsive styles */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive styles */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    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__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
  }

  .page-promotions__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-promotions__step-title {
    font-size: 1.3em;
  }

  .page-promotions__faq-item {
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
  }

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

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