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

/* General Page Styling */
.page-promotions-daily-rebate {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d0d0d; /* Slightly lighter than #000 for contrast */
}

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

.page-promotions-daily-rebate__section-title {
  font-size: 2.5em;
  color: #ffc107; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-promotions-daily-rebate__main-title {
  font-size: 3em;
  color: #ffc107;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.page-promotions-daily-rebate__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-promotions-daily-rebate__link {
  color: #007bff; /* Main brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions-daily-rebate__link:hover {
  color: #ffc107;
  text-decoration: underline;
}

.page-promotions-daily-rebate__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
}

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

.page-promotions-daily-rebate__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.page-promotions-daily-rebate__btn-secondary {
  background-color: #ffc107;
  color: #333333; /* Dark text for light background button */
  border: 2px solid #ffc107;
}

.page-promotions-daily-rebate__btn-secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-promotions-daily-rebate__btn-link {
  background: none;
  border: none;
  color: #007bff;
  padding: 0;
  margin: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-promotions-daily-rebate__btn-link:hover {
  color: #ffc107;
  text-decoration: none;
}

/* HERO Section */
.page-promotions-daily-rebate__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 80px; /* Adjust for fixed header height, assuming shared.css header height is around 80px */
}

.page-promotions-daily-rebate__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-promotions-daily-rebate__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Products Section */
.page-promotions-daily-rebate__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #1a1a1a; /* Darker background for this section */
}

.page-promotions-daily-rebate__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 20px;
}

.page-promotions-daily-rebate__products-grid {
  display: grid;
  gap: 20px;
}

.page-promotions-daily-rebate__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-promotions-daily-rebate__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-promotions-daily-rebate__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  border: 3px solid #ffd700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rebate__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-rebate__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-promotions-daily-rebate__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

/* Intro Section */
.page-promotions-daily-rebate__intro-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
}

.page-promotions-daily-rebate__intro-section .page-promotions-daily-rebate__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Quick Access Section */
.page-promotions-daily-rebate__quick-access-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
}

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

.page-promotions-daily-rebate__link-card {
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions-daily-rebate__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
  background-color: #3a3a3a;
}

.page-promotions-daily-rebate__link-card-title {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-promotions-daily-rebate__link-card-desc {
  font-size: 0.95em;
  color: #c0c0c0;
}

/* Games Section */
.page-promotions-daily-rebate__games-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
}

.page-promotions-daily-rebate__game-category {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rebate__game-category-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.page-promotions-daily-rebate__game-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-promotions-daily-rebate__game-content img {
  width: 40%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate__game-content p {
  flex: 1;
  font-size: 1.05em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: left;
}

.page-promotions-daily-rebate__game-content .page-promotions-daily-rebate__btn {
  margin-left: auto; /* Align button to the right */
  margin-right: auto;
  display: block;
}

/* Promotions Section */
.page-promotions-daily-rebate__promotions-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
}

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

.page-promotions-daily-rebate__promo-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

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

.page-promotions-daily-rebate__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions-daily-rebate__promo-title {
  font-size: 1.6em;
  color: #ffc107;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-promotions-daily-rebate__promo-desc {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions-daily-rebate__promo-card .page-promotions-daily-rebate__btn {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

/* Security Section */
.page-promotions-daily-rebate__security-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
}

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

.page-promotions-daily-rebate__security-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-daily-rebate__security-item:hover {
  transform: translateY(-5px);
  background-color: #2a2a2a;
}

.page-promotions-daily-rebate__security-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-daily-rebate__security-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-promotions-daily-rebate__security-item p {
  font-size: 0.95em;
  color: #c0c0c0;
}

/* FAQ Section */
.page-promotions-daily-rebate__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
}

.page-promotions-daily-rebate__faq-list {
  margin-top: 40px;
}

.page-promotions-daily-rebate__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-daily-rebate__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-promotions-daily-rebate__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0;
  pointer-events: none;
}

.page-promotions-daily-rebate__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  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: 32px;
  height: 32px;
}

.page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-toggle {
  color: #007bff;
  transform: rotate(45deg); /* Change to X or rotate for minus sign */
}

.page-promotions-daily-rebate__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-color: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

.page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  color: #c0c0c0;
}

.page-promotions-daily-rebate__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

/* Blog Section */
.page-promotions-daily-rebate__blog-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
}

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

.page-promotions-daily-rebate__blog-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-promotions-daily-rebate__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions-daily-rebate__blog-title {
  font-size: 1.5em;
  color: #ffc107;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-promotions-daily-rebate__blog-title a {
  color: inherit;
  text-decoration: none;
}

.page-promotions-daily-rebate__blog-title a:hover {
  text-decoration: underline;
}

.page-promotions-daily-rebate__blog-excerpt {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions-daily-rebate__blog-card .page-promotions-daily-rebate__btn {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-rebate__section-title {
    font-size: 2em;
  }
  .page-promotions-daily-rebate__main-title {
    font-size: 2.5em;
  }
  .page-promotions-daily-rebate__products-container {
    grid-template-columns: 1fr;
  }
  .page-promotions-daily-rebate__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-promotions-daily-rebate__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-promotions-daily-rebate__game-content {
    flex-direction: column;
  }
  .page-promotions-daily-rebate__game-content img {
    width: 100%;
  }
  .page-promotions-daily-rebate__game-content p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-rebate {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions-daily-rebate__hero-section {
    margin-top: 60px; /* Adjust for mobile fixed header height */
  }
  .page-promotions-daily-rebate__container,
  .page-promotions-daily-rebate__products-section,
  .page-promotions-daily-rebate__intro-section,
  .page-promotions-daily-rebate__quick-access-section,
  .page-promotions-daily-rebate__games-section,
  .page-promotions-daily-rebate__promotions-section,
  .page-promotions-daily-rebate__security-section,
  .page-promotions-daily-rebate__faq-section,
  .page-promotions-daily-rebate__blog-section {
    padding: 30px 15px;
  }
  .page-promotions-daily-rebate__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-daily-rebate__main-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-promotions-daily-rebate__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions-daily-rebate__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Mobile Product Showcase */
  .page-promotions-daily-rebate__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-promotions-daily-rebate__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-promotions-daily-rebate__products-grid--small .page-promotions-daily-rebate__product-card {
    aspect-ratio: 1 / 1;
  }
  .page-promotions-daily-rebate__products-grid--small .page-promotions-daily-rebate__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  .page-promotions-daily-rebate__products-grid--large {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-promotions-daily-rebate__products-grid--large .page-promotions-daily-rebate__product-card {
    aspect-ratio: 1 / 1;
  }
  .page-promotions-daily-rebate__products-grid--large .page-promotions-daily-rebate__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  .page-promotions-daily-rebate__link-grid,
  .page-promotions-daily-rebate__promo-grid,
  .page-promotions-daily-rebate__security-grid,
  .page-promotions-daily-rebate__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-daily-rebate__game-content img {
    width: 100%;
  }

  /* FAQ Mobile */
  .page-promotions-daily-rebate__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions-daily-rebate__faq-question h3 {
    font-size: 1.1em;
    width: calc(100% - 40px);
  }
  .page-promotions-daily-rebate__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-promotions-daily-rebate__faq-answer {
    padding: 0 15px;
  }
  .page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive and prevent overflow */
  .page-promotions-daily-rebate img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .page-promotions-daily-rebate__section,
  .page-promotions-daily-rebate__card,
  .page-promotions-daily-rebate__container,
  .page-promotions-daily-rebate__promo-card,
  .page-promotions-daily-rebate__security-item,
  .page-promotions-daily-rebate__blog-card,
  .page-promotions-daily-rebate__game-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-daily-rebate__hero-section,
  .page-promotions-daily-rebate__products-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}