:root {
  --primary-color: #8B0000;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0d0d0d;
  --bg-light-card: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-promotions-daily-rebate-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body */
}

.page-promotions-daily-rebate-rules__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background-color: var(--bg-dark); /* Ensure section background is dark */
  color: var(--text-light);
  overflow: hidden;
}

.page-promotions-daily-rebate-rules__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-promotions-daily-rebate-rules__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.page-promotions-daily-rebate-rules__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions-daily-rebate-rules__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions-daily-rebate-rules__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-promotions-daily-rebate-rules__main-title .highlight {
  color: var(--secondary-color);
}

.page-promotions-daily-rebate-rules__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-rebate-rules__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rebate-rules__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-promotions-daily-rebate-rules__content-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions-daily-rebate-rules__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-promotions-daily-rebate-rules__section-title {
  font-size: 34px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions-daily-rebate-rules__text-block {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 25px;
  text-align: justify;
}

.page-promotions-daily-rebate-rules__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions-daily-rebate-rules__text-block a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-promotions-daily-rebate-rules__benefit-card {
  background: var(--bg-light-card);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rebate-rules__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rebate-rules__benefit-icon {
  width: 100px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.page-promotions-daily-rebate-rules__benefit-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-daily-rebate-rules__benefit-description {
  font-size: 16px;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__rules-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions-daily-rebate-rules__rule-card {
  background: var(--bg-light-card);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate-rules__rule-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-promotions-daily-rebate-rules__rule-card p {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__rule-card p strong {
  color: var(--primary-color);
}

.page-promotions-daily-rebate-rules__rule-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-daily-rebate-rules__rule-card a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-promotions-daily-rebate-rules__rule-card ul {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__rule-card li {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions-daily-rebate-rules__how-to-claim-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-promotions-daily-rebate-rules__step-card {
  background: var(--bg-light-card);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate-rules__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate-rules__step-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-promotions-daily-rebate-rules__step-card p {
  font-size: 15px;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__step-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-daily-rebate-rules__step-card a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-promotions-daily-rebate-rules__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions-daily-rebate-rules__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions-daily-rebate-rules__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 15px;
  opacity: 0;
}

.page-promotions-daily-rebate-rules__faq-item.active .page-promotions-daily-rebate-rules__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light-card);
  color: var(--text-dark);
  border-radius: 0 0 5px 5px;
}

.page-promotions-daily-rebate-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-light-card);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-daily-rebate-rules__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions-daily-rebate-rules__faq-question:active {
  background: #eeeeee;
}

.page-promotions-daily-rebate-rules__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 28px;
  height: 28px;
}

.page-promotions-daily-rebate-rules__faq-item.active .page-promotions-daily-rebate-rules__faq-toggle {
  color: var(--text-dark);
  transform: rotate(45deg);
}

.page-promotions-daily-rebate-rules__faq-answer p {
  font-size: 16px;
  color: var(--text-dark);
}

.page-promotions-daily-rebate-rules__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-daily-rebate-rules__faq-answer a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-promotions-daily-rebate-rules__cta-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-promotions-daily-rebate-rules__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions-daily-rebate-rules__cta-content .page-promotions-daily-rebate-rules__section-title {
  color: var(--secondary-color);
}

.page-promotions-daily-rebate-rules__cta-content .page-promotions-daily-rebate-rules__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-rebate-rules__btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  border: 2px solid transparent;
  font-size: 20px;
  padding: 18px 50px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-promotions-daily-rebate-rules__btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions-daily-rebate-rules__main-title {
    font-size: 38px;
  }

  .page-promotions-daily-rebate-rules__section-title {
    font-size: 30px;
  }

  .page-promotions-daily-rebate-rules__text-block {
    font-size: 16px;
  }

  .page-promotions-daily-rebate-rules__benefit-title {
    font-size: 22px;
  }

  .page-promotions-daily-rebate-rules__rule-title {
    font-size: 24px;
  }

  .page-promotions-daily-rebate-rules__step-title {
    font-size: 18px;
  }

  .page-promotions-daily-rebate-rules__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-promotions-daily-rebate-rules__btn-primary {
    font-size: 18px;
    padding: 15px 40px;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-rebate-rules__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }

  .page-promotions-daily-rebate-rules__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-promotions-daily-rebate-rules__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-promotions-daily-rebate-rules__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-promotions-daily-rebate-rules__content-section,
  .page-promotions-daily-rebate-rules__rules-section,
  .page-promotions-daily-rebate-rules__how-to-claim-section,
  .page-promotions-daily-rebate-rules__faq-section,
  .page-promotions-daily-rebate-rules__cta-section {
    padding: 40px 15px;
  }

  .page-promotions-daily-rebate-rules__text-block {
    font-size: 15px;
  }

  .page-promotions-daily-rebate-rules__benefits-grid,
  .page-promotions-daily-rebate-rules__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-daily-rebate-rules__benefit-icon {
    width: 80px;
    margin-bottom: 15px;
  }

  .page-promotions-daily-rebate-rules__benefit-title {
    font-size: 20px;
  }

  .page-promotions-daily-rebate-rules__rule-title {
    font-size: 20px;
  }

  .page-promotions-daily-rebate-rules__rule-card p,
  .page-promotions-daily-rebate-rules__rule-card li {
    font-size: 15px;
  }

  .page-promotions-daily-rebate-rules__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .page-promotions-daily-rebate-rules__step-title {
    font-size: 17px;
  }

  .page-promotions-daily-rebate-rules__step-card p {
    font-size: 14px;
  }

  .page-promotions-daily-rebate-rules__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions-daily-rebate-rules__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-promotions-daily-rebate-rules__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-promotions-daily-rebate-rules__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions-daily-rebate-rules__faq-item.active .page-promotions-daily-rebate-rules__faq-answer {
    padding: 15px !important;
  }

  .page-promotions-daily-rebate-rules__btn-primary {
    font-size: 16px;
    padding: 12px 30px;
  }

  /* Mobile image responsiveness */
  .page-promotions-daily-rebate-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-daily-rebate-rules__section,
  .page-promotions-daily-rebate-rules__card,
  .page-promotions-daily-rebate-rules__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}