.page-promotions-daily-rebate-weekly-bonus {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-promotions-daily-rebate-weekly-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-promotions-daily-rebate-weekly-bonus__dark-section {
  background-color: #0A2239;
  color: #ffffff;
}

.page-promotions-daily-rebate-weekly-bonus__hero-section {
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Adjust if shared.css doesn't set body padding-top */
}

.page-promotions-daily-rebate-weekly-bonus__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #E0B143;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-daily-rebate-weekly-bonus__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-promotions-daily-rebate-weekly-bonus__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions-daily-rebate-weekly-bonus__btn-primary,
.page-promotions-daily-rebate-weekly-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions-daily-rebate-weekly-bonus__btn-primary {
  background-color: #E0B143;
  color: #0A2239;
  border: 2px solid #E0B143;
}

.page-promotions-daily-rebate-weekly-bonus__btn-primary:hover {
  background-color: #d4a53d;
  border-color: #d4a53d;
}

.page-promotions-daily-rebate-weekly-bonus__btn-secondary {
  background-color: transparent;
  color: #E0B143;
  border: 2px solid #E0B143;
}

.page-promotions-daily-rebate-weekly-bonus__btn-secondary:hover {
  background-color: #E0B143;
  color: #0A2239;
}

.page-promotions-daily-rebate-weekly-bonus__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E0B143;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-promotions-daily-rebate-weekly-bonus__intro-section,
.page-promotions-daily-rebate-weekly-bonus__daily-rebate-section,
.page-promotions-daily-rebate-weekly-bonus__weekly-bonus-section,
.page-promotions-daily-rebate-weekly-bonus__benefits-section,
.page-promotions-daily-rebate-weekly-bonus__terms-section,
.page-promotions-daily-rebate-weekly-bonus__faq-section {
  padding: 60px 0;
}

.page-promotions-daily-rebate-weekly-bonus__intro-section,
.page-promotions-daily-rebate-weekly-bonus__weekly-bonus-section,
.page-promotions-daily-rebate-weekly-bonus__terms-section {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-promotions-daily-rebate-weekly-bonus__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-promotions-daily-rebate-weekly-bonus__content-grid.--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-promotions-daily-rebate-weekly-bonus__content-grid.--reverse .page-promotions-daily-rebate-weekly-bonus__text-block {
  order: 2;
}

.page-promotions-daily-rebate-weekly-bonus__content-grid.--reverse .page-promotions-daily-rebate-weekly-bonus__image-block {
  order: 1;
}

.page-promotions-daily-rebate-weekly-bonus__text-block h3 {
  color: #E0B143;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-promotions-daily-rebate-weekly-bonus__text-block p,
.page-promotions-daily-rebate-weekly-bonus__text-block li {
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-promotions-daily-rebate-weekly-bonus__text-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-promotions-daily-rebate-weekly-bonus__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions-daily-rebate-weekly-bonus__benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(224, 177, 67, 0.3);
  color: #ffffff;
}

.page-promotions-daily-rebate-weekly-bonus__benefit-card h3 {
  color: #E0B143;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-promotions-daily-rebate-weekly-bonus__cta-center {
  text-align: center;
  margin-top: 60px;
}

.page-promotions-daily-rebate-weekly-bonus__cta-center img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-daily-rebate-weekly-bonus__terms-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions-daily-rebate-weekly-bonus__terms-list li {
  margin-bottom: 10px;
}

.page-promotions-daily-rebate-weekly-bonus a {
  color: #E0B143;
  text-decoration: underline;
}

.page-promotions-daily-rebate-weekly-bonus a:hover {
  color: #d4a53d;
}

/* FAQ styles */
.page-promotions-daily-rebate-weekly-bonus__faq-list {
  margin-top: 40px;
}

.page-promotions-daily-rebate-weekly-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(224, 177, 67, 0.2);
}

.page-promotions-daily-rebate-weekly-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #0A2239; /* Dark background for question */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-promotions-daily-rebate-weekly-bonus__faq-question:hover {
  background-color: #1a3a5a;
}

.page-promotions-daily-rebate-weekly-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #E0B143;
  pointer-events: none;
}

.page-promotions-daily-rebate-weekly-bonus__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E0B143;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-promotions-daily-rebate-weekly-bonus__faq-item.active .page-promotions-daily-rebate-weekly-bonus__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate */
}

.page-promotions-daily-rebate-weekly-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
}

.page-promotions-daily-rebate-weekly-bonus__faq-item.active .page-promotions-daily-rebate-weekly-bonus__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-rebate-weekly-bonus__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-daily-rebate-weekly-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-daily-rebate-weekly-bonus__content-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-daily-rebate-weekly-bonus__content-grid.--reverse .page-promotions-daily-rebate-weekly-bonus__text-block {
    order: unset;
  }
  .page-promotions-daily-rebate-weekly-bonus__content-grid.--reverse .page-promotions-daily-rebate-weekly-bonus__image-block {
    order: unset;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-rebate-weekly-bonus__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure correct offset on mobile */
  }
  .page-promotions-daily-rebate-weekly-bonus__hero-title {
    font-size: 2em;
  }
  .page-promotions-daily-rebate-weekly-bonus__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions-daily-rebate-weekly-bonus__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-promotions-daily-rebate-weekly-bonus__btn-primary,
  .page-promotions-daily-rebate-weekly-bonus__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions-daily-rebate-weekly-bonus__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-promotions-daily-rebate-weekly-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-promotions-daily-rebate-weekly-bonus__intro-section,
  .page-promotions-daily-rebate-weekly-bonus__daily-rebate-section,
  .page-promotions-daily-rebate-weekly-bonus__weekly-bonus-section,
  .page-promotions-daily-rebate-weekly-bonus__benefits-section,
  .page-promotions-daily-rebate-weekly-bonus__terms-section,
  .page-promotions-daily-rebate-weekly-bonus__faq-section {
    padding: 40px 0;
  }

  .page-promotions-daily-rebate-weekly-bonus__image-block img {
    min-width: unset;
    min-height: unset;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-daily-rebate-weekly-bonus__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  .page-promotions-daily-rebate-weekly-bonus__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  .page-promotions-daily-rebate-weekly-bonus__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-promotions-daily-rebate-weekly-bonus__faq-answer {
    padding: 0 20px;
  }
  .page-promotions-daily-rebate-weekly-bonus__faq-item.active .page-promotions-daily-rebate-weekly-bonus__faq-answer {
    padding: 15px 20px !important;
  }
  .page-promotions-daily-rebate-weekly-bonus__cta-center img {
    min-width: unset;
    min-height: unset;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions-daily-rebate-weekly-bonus__cta-center .page-promotions-daily-rebate-weekly-bonus__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }
}