/* style/promotions-daily-rewards.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light-card: #ffffff;
  --background-section: #f1f3f5;
  --border-color: #e0e0e0;
}

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

/* Fixed Nav Bar Spacing */
.page-promotions-daily-rewards__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

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

.page-promotions-daily-rewards__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section Specific */
.page-promotions-daily-rewards__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7c 100%); /* Darker gradient for hero */
}

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

.page-promotions-daily-rewards__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

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

.page-promotions-daily-rewards__hero-description {
  font-size: 18px;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-promotions-daily-rewards__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.page-promotions-daily-rewards__cta-button:hover {
  background: #f0c94b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__cta-button--bottom {
  margin-top: 40px;
}

.page-promotions-daily-rewards__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-promotions-daily-rewards__section-description {
  font-size: 17px;
  color: #e0e0e0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-promotions-daily-rewards__section-description strong.highlight-text {
  color: var(--secondary-color);
}

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

/* Program Overview Grid */
.page-promotions-daily-rewards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.page-promotions-daily-rewards__card {
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rewards__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-promotions-daily-rewards__card-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-promotions-daily-rewards__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 25px auto;
  border-radius: 8px;
}

.page-promotions-daily-rewards__card-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions-daily-rewards__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
}

.page-promotions-daily-rewards__btn-primary:hover {
  background: #f0c94b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Reward Types List */
.page-promotions-daily-rewards__reward-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions-daily-rewards__list-item {
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rewards__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__list-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions-daily-rewards__list-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* How To Claim Section */
.page-promotions-daily-rewards__process-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rewards__process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions-daily-rewards__process-item {
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-daily-rewards__process-step {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: block;
}

.page-promotions-daily-rewards__process-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-promotions-daily-rewards__process-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-promotions-daily-rewards__process-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-daily-rewards__process-item p a:hover {
  text-decoration: underline;
}

/* Why Choose Us Section */
.page-promotions-daily-rewards__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-promotions-daily-rewards__feature-item {
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rewards__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions-daily-rewards__feature-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Tips Section */
.page-promotions-daily-rewards__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-promotions-daily-rewards__tips-item {
  background-color: var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rewards__tips-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rewards__tips-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions-daily-rewards__tips-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-promotions-daily-rewards__tips-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-daily-rewards__tips-item p a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-promotions-daily-rewards__faq-section {
  background-color: var(--background-dark);
}

.page-promotions-daily-rewards__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rewards__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-promotions-daily-rewards__faq-question:hover {
  background: #1a3a7c;
}

.page-promotions-daily-rewards__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
}

.page-promotions-daily-rewards__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-promotions-daily-rewards__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;
  background: #0A2463;
  color: #e0e0e0;
}

.page-promotions-daily-rewards__faq-item.active .page-promotions-daily-rewards__faq-answer {
  max-height: 2000px !important; /* Ensure content is fully visible */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #1a3a7c;
}

.page-promotions-daily-rewards__faq-item.active .page-promotions-daily-rewards__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change + to X or - */
}

.page-promotions-daily-rewards__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #e0e0e0;
}

/* Latest News Section */
.page-promotions-daily-rewards__latest-news {
  background-color: var(--background-dark);
}

.page-promotions-daily-rewards__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions-daily-rewards__news-card {
  background-color: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions-daily-rewards__news-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

.page-promotions-daily-rewards__news-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions-daily-rewards__news-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions-daily-rewards__news-title a:hover {
  color: #f0c94b;
  text-decoration: underline;
}

.page-promotions-daily-rewards__news-excerpt {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions-daily-rewards__news-date {
  font-size: 14px;
  color: #a0a0a0;
  text-align: right;
  display: block;
}

.page-promotions-daily-rewards__view-all-news {
  text-align: center;
  margin-top: 50px;
}

.page-promotions-daily-rewards__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.page-promotions-daily-rewards__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Highlight text for better visibility */
.page-promotions-daily-rewards strong.highlight-text {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-rewards__main-title {
    font-size: 42px;
  }
  .page-promotions-daily-rewards__section-title {
    font-size: 32px;
  }
  .page-promotions-daily-rewards__hero-description,
  .page-promotions-daily-rewards__section-description,
  .page-promotions-daily-rewards__card-text,
  .page-promotions-daily-rewards__list-item p,
  .page-promotions-daily-rewards__process-item p,
  .page-promotions-daily-rewards__feature-item p,
  .page-promotions-daily-rewards__tips-item p,
  .page-promotions-daily-rewards__faq-answer p,
  .page-promotions-daily-rewards__news-excerpt {
    font-size: 15px;
  }
  .page-promotions-daily-rewards__cta-button {
    font-size: 18px;
    padding: 15px 40px;
  }
  .page-promotions-daily-rewards__btn-primary {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-promotions-daily-rewards__btn-secondary {
    font-size: 16px;
    padding: 12px 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-rewards__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
  }
  .page-promotions-daily-rewards__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-promotions-daily-rewards__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-promotions-daily-rewards__cta-button {
    font-size: 16px;
    padding: 14px 30px;
  }
  .page-promotions-daily-rewards__section {
    padding: 40px 15px;
  }
  .page-promotions-daily-rewards__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-promotions-daily-rewards__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions-daily-rewards__card,
  .page-promotions-daily-rewards__list-item,
  .page-promotions-daily-rewards__process-item,
  .page-promotions-daily-rewards__feature-item,
  .page-promotions-daily-rewards__tips-item,
  .page-promotions-daily-rewards__news-card {
    padding: 25px;
    border-radius: 8px;
  }
  .page-promotions-daily-rewards__card-title,
  .page-promotions-daily-rewards__list-title,
  .page-promotions-daily-rewards__process-title,
  .page-promotions-daily-rewards__feature-title,
  .page-promotions-daily-rewards__tips-title,
  .page-promotions-daily-rewards__news-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .page-promotions-daily-rewards__process-step {
    font-size: 30px;
  }
  .page-promotions-daily-rewards__card-image,
  .page-promotions-daily-rewards__process-image,
  .page-promotions-daily-rewards__news-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions-daily-rewards__hero-image {
    border-radius: 8px;
  }
  .page-promotions-daily-rewards__faq-question {
    padding: 15px 20px;
  }
  .page-promotions-daily-rewards__faq-question h3 {
    font-size: 16px;
  }
  .page-promotions-daily-rewards__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }
  .page-promotions-daily-rewards__faq-answer {
    padding: 0 20px;
  }
  .page-promotions-daily-rewards__faq-item.active .page-promotions-daily-rewards__faq-answer {
    padding: 15px 20px !important;
  }
  .page-promotions-daily-rewards__btn-secondary {
    font-size: 15px;
    padding: 10px 25px;
  }
  /* Ensure all containers and images adapt */
  .page-promotions-daily-rewards__section,
  .page-promotions-daily-rewards__card,
  .page-promotions-daily-rewards__container,
  .page-promotions-daily-rewards__hero-container,
  .page-promotions-daily-rewards__grid,
  .page-promotions-daily-rewards__list-container,
  .page-promotions-daily-rewards__reward-list,
  .page-promotions-daily-rewards__process-list,
  .page-promotions-daily-rewards__feature-list,
  .page-promotions-daily-rewards__tips-list,
  .page-promotions-daily-rewards__faq-list,
  .page-promotions-daily-rewards__news-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-promotions-daily-rewards__hero-section .page-promotions-daily-rewards__hero-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}