/* style/promotions-daily-rebate.css */

/* Base Styles */
.page-promotions-daily-rebate {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-promotions-daily-rebate__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-daily-rebate__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Color Schemes */
.page-promotions-daily-rebate__dark-bg {
  background-color: #1a1a2e; /* Matches body background for consistency */
  color: #ffffff;
}

.page-promotions-daily-rebate__light-bg {
  background-color: #2e2e4e; /* Slightly lighter than body for contrast */
  color: #f0f0f0;
}

/* Hero Section */
.page-promotions-daily-rebate__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background-color: #1a1a2e;
}

.page-promotions-daily-rebate__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-promotions-daily-rebate__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-promotions-daily-rebate__hero-title {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions-daily-rebate__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-promotions-daily-rebate__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-daily-rebate__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions-daily-rebate__btn-primary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

.page-promotions-daily-rebate__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-daily-rebate__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-promotions-daily-rebate__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Intro Section */
.page-promotions-daily-rebate__intro-section,
.page-promotions-daily-rebate__rules-conditions,
.page-promotions-daily-rebate__calculation-details,
.page-promotions-daily-rebate__claim-process,
.page-promotions-daily-rebate__important-notes,
.page-promotions-daily-rebate__faq-section,
.page-promotions-daily-rebate__conclusion-section {
  padding: 80px 0;
}

.page-promotions-daily-rebate__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-promotions-daily-rebate__text-block {
  flex: 1;
}

.page-promotions-daily-rebate__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-promotions-daily-rebate__image-block {
  flex: 1;
  text-align: center;
}

.page-promotions-daily-rebate__image-block--center {
  margin-top: 40px;
}

.page-promotions-daily-rebate__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Rules and Conditions */
.page-promotions-daily-rebate__rule-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions-daily-rebate__rule-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-promotions-daily-rebate__rule-item:hover {
  transform: translateY(-5px);
}

.page-promotions-daily-rebate__rule-heading {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-promotions-daily-rebate__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-promotions-daily-rebate__game-card:hover {
  transform: translateY(-5px);
}

.page-promotions-daily-rebate__game-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Claim Process */
.page-promotions-daily-rebate__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-promotions-daily-rebate__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 80px;
}

.page-promotions-daily-rebate__step-number {
  counter-increment: step-counter;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 3px solid #1a1a2e;
}

.page-promotions-daily-rebate__step-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Important Notes */
.page-promotions-daily-rebate__note-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions-daily-rebate__note-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-left: 5px solid #26A9E0;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #e0e0e0;
}

.page-promotions-daily-rebate__note-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-promotions-daily-rebate__faq-list {
  margin-top: 40px;
}

.page-promotions-daily-rebate__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions-daily-rebate__faq-question:hover {
  background-color: #1e87c0;
}

.page-promotions-daily-rebate__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-promotions-daily-rebate__faq-toggle {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-daily-rebate__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-answer {
  max-height: 1000px !important;
  padding: 20px 30px;
}

.page-promotions-daily-rebate__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Conclusion Section */
.page-promotions-daily-rebate__conclusion-section .page-promotions-daily-rebate__section-title,
.page-promotions-daily-rebate__conclusion-section .page-promotions-daily-rebate__section-intro {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-rebate__hero-title {
    font-size: 40px;
  }
  .page-promotions-daily-rebate__section-title {
    font-size: 32px;
  }
  .page-promotions-daily-rebate__content-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-rebate__hero-section {
    min-height: 500px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
  .page-promotions-daily-rebate__hero-title {
    font-size: 32px;
  }
  .page-promotions-daily-rebate__hero-description {
    font-size: 16px;
  }
  .page-promotions-daily-rebate__section-title {
    font-size: 28px;
  }
  .page-promotions-daily-rebate__section-intro {
    font-size: 16px;
  }
  .page-promotions-daily-rebate__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-daily-rebate__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions-daily-rebate__intro-section,
  .page-promotions-daily-rebate__rules-conditions,
  .page-promotions-daily-rebate__calculation-details,
  .page-promotions-daily-rebate__claim-process,
  .page-promotions-daily-rebate__important-notes,
  .page-promotions-daily-rebate__faq-section,
  .page-promotions-daily-rebate__conclusion-section {
    padding: 60px 0;
  }
  .page-promotions-daily-rebate__container {
    padding: 0 15px;
  }
  .page-promotions-daily-rebate__text-block p,
  .page-promotions-daily-rebate__rule-item p,
  .page-promotions-daily-rebate__game-card p,
  .page-promotions-daily-rebate__step-item p,
  .page-promotions-daily-rebate__note-item,
  .page-promotions-daily-rebate__faq-answer p {
    font-size: 15px;
  }
  .page-promotions-daily-rebate__rule-heading,
  .page-promotions-daily-rebate__game-title,
  .page-promotions-daily-rebate__step-title,
  .page-promotions-daily-rebate__faq-title {
    font-size: 20px;
  }

  /* Image responsiveness for mobile */
  .page-promotions-daily-rebate img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-daily-rebate__image-block,
  .page-promotions-daily-rebate__hero-image-wrapper,
  .page-promotions-daily-rebate__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}