/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--primary-color); /* Inherits from shared.css body */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(var(--header-offset, 120px) + 40px); /* Adjust for header offset */
  overflow: hidden;
  background-color: #1A202C;
  color: #ffffff;
}

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

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

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

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

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__why-choose-section,
.page-promotions__how-to-claim-section,
.page-promotions__tips-section,
.page-promotions__responsible-gaming-section,
.page-promotions__final-cta-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

.page-promotions__promotion-types-section,
.page-promotions__terms-summary-section,
.page-promotions__video-section,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-promotions__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.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: 0.95em;
  color: #e0e0e0;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-promotions__btn-text {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px 20px;
  background-color: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-promotions__btn-text:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-promotions__additional-info {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__step-number {
  font-size: 2.5em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
}

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

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

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

.page-promotions__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__cta-block p {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-promotions__terms-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 40px auto 0 auto;
  font-size: 1.1em;
  color: #e0e0e0;
  padding-left: 20px;
}

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

.page-promotions__terms-list a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__tips-list {
  list-style: none;
  max-width: 900px;
  margin: 40px auto 0 auto;
  font-size: 1.1em;
  color: #e0e0e0;
  padding-left: 0;
}

.page-promotions__tips-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
}

.page-promotions__tips-list strong {
  color: #FFD700;
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-promotions__video-cta {
  text-align: center;
  margin-top: 40px;
}

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

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

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

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  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: #e0e0e0;
}

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

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #FFD700;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  border: 2px solid #FFD700;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 60vh;
    padding-top: calc(var(--header-offset, 120px) + 20px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-promotions__features-grid,
  .page-promotions__promo-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-image {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-text {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-promotions__hero-content .page-promotions__btn-primary,
  .page-promotions__cta-block .page-promotions__btn-primary,
  .page-promotions__video-cta .page-promotions__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .page-promotions__btn-text {
    margin-left: 0;
    margin-right: 0;
  }
  .page-promotions__promo-card {
    margin: 0 15px;
  }
  .page-promotions__container {
    padding: 0 15px !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-promotions__video-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__hero-section {
    padding-top: calc(var(--header-offset, 120px) + 10px) !important;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px !important;
  }
}