/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Body background is dark (#121212), so text should be light */
}

.page-promotions__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-promotions__main-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-promotions__intro-text {
  font-size: 1.2em;
  color: #f0f8ff;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

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

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

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

.page-promotions__categories {
  background: #f8f9fa;
  color: #333333;
}

.page-promotions__categories .page-promotions__section-title,
.page-promotions__categories .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__category-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

.page-promotions__category-card .page-promotions__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__category-card .page-promotions__card-text {
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__offer-details {
  background: #1a1a1a;
  color: #ffffff;
}

.page-promotions__offer-details .page-promotions__section-title,
.page-promotions__offer-details .page-promotions__section-description {
  color: #ffffff;
}

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

.page-promotions__detail-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__detail-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__item-text {
  color: #e0e0e0;
  line-height: 1.6;
}

.page-promotions__daily-offers {
  background: #f0f2f5;
  color: #333333;
}

.page-promotions__daily-offers .page-promotions__section-title,
.page-promotions__daily-offers .page-promotions__section-description {
  color: #333333;
}

.page-promotions__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-promotions__feature-item {
  background: #FFFFFF;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
}

.page-promotions__feature-item .page-promotions__item-title {
  color: #26A9E0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-promotions__feature-item .page-promotions__item-text {
  color: #555555;
}

.page-promotions__vip-offers {
  background: #0d0d0d;
  color: #ffffff;
}

.page-promotions__vip-offers .page-promotions__section-title,
.page-promotions__vip-offers .page-promotions__section-description {
  color: #ffffff;
}

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

.page-promotions__vip-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: background 0.3s ease;
}

.page-promotions__vip-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-promotions__vip-card .page-promotions__card-title {
  font-size: 1.4em;
  color: #EA7C07; /* Using Login color for VIP emphasis */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__vip-card .page-promotions__card-text {
  color: #cccccc;
  line-height: 1.6;
}

.page-promotions__how-to-claim {
  background: #FFFFFF;
  color: #333333;
}

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-promotions__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #26A9E0;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid #f0f0f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-item .page-promotions__item-title {
  color: #26A9E0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-promotions__step-item .page-promotions__item-text {
  color: #555555;
}

.page-promotions__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__terms-text {
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-promotions__terms-text a {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
}

.page-promotions__faq-section {
  background: #121212;
  color: #ffffff;
}

.page-promotions__faq-section .page-promotions__section-title {
  color: #ffffff;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}

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

.page-promotions__faq-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
  font-weight: 600;
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  font-weight: 700;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Ensure enough height for content */
  padding: 15px 25px 25px 25px;
}

.page-promotions__answer-text {
  color: #e0e0e0;
  line-height: 1.6;
  margin-top: 0;
}

.page-promotions__final-cta {
  background: linear-gradient(90deg, #26A9E0, #1a7bbd);
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-promotions__final-cta .page-promotions__section-title,
.page-promotions__final-cta .page-promotions__section-description {
  color: #ffffff;
}

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #26A9E0;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-promotions__intro-text {
    font-size: 1em;
  }

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

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

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

  .page-promotions__category-grid,
  .page-promotions__detail-grid,
  .page-promotions__feature-list,
  .page-promotions__vip-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__category-card,
  .page-promotions__detail-item,
  .page-promotions__feature-item,
  .page-promotions__vip-card {
    padding: 20px;
  }

  .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-direction: column;
    gap: 10px;
  }

  /* Images and videos responsive */
  .page-promotions img,
  .page-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-image {
    position: relative;
    height: auto;
    width: 100%;
    opacity: 0.3;
    margin-top: 20px;
  }

  .page-promotions__guide-image {
    margin: 20px auto;
  }

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

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

  .page-promotions__faq-title {
    font-size: 1.1em;
  }

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

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

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

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

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