/* style/index-latest-promotions.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-index-latest-promotions {
  color: #ffffff; /* Light text for dark body background */
  background: #000; /* Ensuring the main content area has a dark background consistent with body */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-index-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-latest-promotions__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FF00FF; /* Neon purple for titles */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-top: 20px;
}

.page-index-latest-promotions__main-heading {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #00FFFF; /* Cyan for main heading */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-index-latest-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index-latest-promotions__btn--primary {
  background: #FF00FF; /* Neon purple */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
}

.page-index-latest-promotions__btn--primary:hover {
  background: #00FFFF; /* Cyan on hover */
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
}

.page-index-latest-promotions__btn--secondary {
  background: transparent;
  color: #00FFFF; /* Cyan */
  border: 2px solid #00FFFF;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.page-index-latest-promotions__btn--secondary:hover {
  background: #FF00FF; /* Neon purple on hover */
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 0, 255, 0.6);
  transform: translateY(-2px);
}

.page-index-latest-promotions__btn--small {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 30px;
}

.page-index-latest-promotions__btn--text {
  background: none;
  color: #00FFFF;
  padding: 0;
  border: none;
  text-decoration: underline;
  font-weight: normal;
  box-shadow: none;
}

.page-index-latest-promotions__btn--text:hover {
  color: #FF00FF;
  text-decoration: none;
  transform: none;
}

/* HERO Section */
.page-index-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Crucial for fixed header clearance */
  margin-top: 0;
}

.page-index-latest-promotions__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-index-latest-promotions__hero-image {
  width: 100%;
  margin: 0;
}

.page-index-latest-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Products Section */
.page-index-latest-promotions__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #1a1a1a; /* Slightly lighter dark background for this section */
}

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

.page-index-latest-promotions__products-grid {
  display: grid;
  gap: 20px;
}

.page-index-latest-promotions__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-index-latest-promotions__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-index-latest-promotions__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a; /* Darker background for product cards */
  border: 3px solid #ffd700; /* Gold border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-latest-promotions__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-index-latest-promotions__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Must use cover */
  display: block;
}

/* Intro Section */
.page-index-latest-promotions__intro-section {
  padding: 80px 0;
  background: #000;
}

.page-index-latest-promotions__intro-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 60px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions__intro-text a {
  color: #00FFFF;
  text-decoration: none;
}

.page-index-latest-promotions__intro-text a:hover {
  text-decoration: underline;
}

.page-index-latest-promotions__intro-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-latest-promotions__feature-item {
  background: rgba(255, 0, 255, 0.1); /* Semi-transparent neon purple */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #FF00FF;
}

.page-index-latest-promotions__feature-title {
  font-size: 24px;
  color: #00FFFF; /* Cyan */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-latest-promotions__feature-description {
  font-size: 16px;
  color: #e0e0e0;
}

.page-index-latest-promotions__feature-description a {
  color: #00FFFF;
  text-decoration: none;
}

.page-index-latest-promotions__feature-description a:hover {
  text-decoration: underline;
}

/* Quick Links Section */
.page-index-latest-promotions__quick-links-section {
  padding: 80px 0;
  background: #1a1a1a; /* Darker background */
}

.page-index-latest-promotions__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Games Section */
.page-index-latest-promotions__games-section {
  padding: 80px 0;
  background: #000;
}

.page-index-latest-promotions__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-latest-promotions__game-card {
  background: rgba(0, 255, 255, 0.1); /* Semi-transparent cyan */
  border: 1px solid #00FFFF;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-index-latest-promotions__game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-index-latest-promotions__game-card-title {
  font-size: 22px;
  color: #FF00FF; /* Neon purple */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-latest-promotions__game-card-description {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index-latest-promotions__game-card-description a {
  color: #00FFFF;
  text-decoration: none;
}

.page-index-latest-promotions__game-card-description a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-index-latest-promotions__promotions-section {
  padding: 80px 0;
  background: #1a1a1a;
}

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

.page-index-latest-promotions__promo-card {
  background: rgba(255, 0, 255, 0.1); /* Semi-transparent neon purple */
  border: 1px solid #FF00FF;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-index-latest-promotions__promo-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-index-latest-promotions__promo-card-title {
  font-size: 22px;
  color: #00FFFF; /* Cyan */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-latest-promotions__promo-card-description {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-index-latest-promotions__promo-card-description a {
  color: #FF00FF;
  text-decoration: none;
}

.page-index-latest-promotions__promo-card-description a:hover {
  text-decoration: underline;
}

/* Security & Support Section */
.page-index-latest-promotions__security-support-section {
  padding: 80px 0;
  background: #000;
}

.page-index-latest-promotions__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-latest-promotions__security-item {
  background: rgba(0, 255, 255, 0.1); /* Semi-transparent cyan */
  border: 1px solid #00FFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__security-item a {
  color: #00FFFF;
  text-decoration: none;
}

.page-index-latest-promotions__security-item a:hover {
  text-decoration: underline;
}

.page-index-latest-promotions__security-title {
  font-size: 24px;
  color: #FF00FF; /* Neon purple */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-latest-promotions__security-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* FAQ Section */
.page-index-latest-promotions__faq-section {
  padding: 80px 0;
  background: #1a1a1a;
}

.page-index-latest-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
  max-height: 2000px !important; /* Use !important and large value */
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a; /* Darker background for active answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-index-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #000; /* Dark background for question */
  border: 1px solid #FF00FF; /* Neon purple border */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-latest-promotions__faq-question:hover {
  background: #000000; /* Slightly darker on hover */
  border-color: #00FFFF; /* Cyan border on hover */
}

.page-index-latest-promotions__faq-question:active {
  background: #0d0d0d;
}

.page-index-latest-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff; /* Light text for questions */
}

.page-index-latest-promotions__faq-question h3 a {
  color: #00FFFF;
  text-decoration: none;
}

.page-index-latest-promotions__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-index-latest-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FF00FF; /* Neon purple for toggle */
  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-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-toggle {
  color: #00FFFF; /* Cyan for active toggle */
  transform: rotate(45deg); /* Plus to X */
}

/* Blog Section */
.page-index-latest-promotions__blog-section {
  padding: 80px 0;
  background: #000;
}

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

.page-index-latest-promotions__blog-card {
  background: rgba(255, 0, 255, 0.1); /* Semi-transparent neon purple */
  border: 1px solid #FF00FF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-index-latest-promotions__blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-latest-promotions__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 15px 10px;
}

.page-index-latest-promotions__blog-card-title a {
  color: #00FFFF; /* Cyan for blog titles */
  text-decoration: none;
}

.page-index-latest-promotions__blog-card-title a:hover {
  text-decoration: underline;
  color: #FF00FF;
}

.page-index-latest-promotions__blog-card-date {
  font-size: 14px;
  color: #999999;
  margin: 0 15px 10px;
}

.page-index-latest-promotions__blog-card-excerpt {
  font-size: 15px;
  color: #e0e0e0;
  margin: 0 15px 20px;
}

.page-index-latest-promotions__blog-card-excerpt a {
  color: #00FFFF;
  text-decoration: none;
}

.page-index-latest-promotions__blog-card-excerpt a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-index-latest-promotions__section-title {
    font-size: 34px;
  }
  .page-index-latest-promotions__main-heading {
    font-size: 42px;
  }
}

@media (max-width: 1024px) {
  .page-index-latest-promotions__products-container {
    grid-template-columns: 1fr; /* Stack products sections vertically */
  }
  .page-index-latest-promotions__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index-latest-promotions__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index-latest-promotions__intro-features,
  .page-index-latest-promotions__game-categories,
  .page-index-latest-promotions__promo-grid,
  .page-index-latest-promotions__security-grid,
  .page-index-latest-promotions__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-latest-promotions__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-index-latest-promotions__main-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .page-index-latest-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index-latest-promotions__hero-section {
    padding-top: 10px; /* Mobile fixed header clearance */
  }
  .page-index-latest-promotions__products-section,
  .page-index-latest-promotions__intro-section,
  .page-index-latest-promotions__quick-links-section,
  .page-index-latest-promotions__games-section,
  .page-index-latest-promotions__promotions-section,
  .page-index-latest-promotions__security-support-section,
  .page-index-latest-promotions__faq-section,
  .page-index-latest-promotions__blog-section {
    padding: 40px 0;
  }
  .page-index-latest-promotions__products-container {
    gap: 15px;
    padding: 0 15px;
  }
  /* Mobile 4-grid layout for small products */
  .page-index-latest-promotions__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-index-latest-promotions__products-grid--small .page-index-latest-promotions__product-card {
    aspect-ratio: 1 / 1; /* Square */
  }
  .page-index-latest-promotions__products-grid--small .page-index-latest-promotions__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square */
  }
  .page-index-latest-promotions__products-grid--small .page-index-latest-promotions__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Must use cover */
  }
  /* Mobile 1-column layout for large products */
  .page-index-latest-promotions__products-grid--large {
    grid-template-columns: 1fr; /* Each card takes full width */
    gap: 15px;
  }
  .page-index-latest-promotions__products-grid--large .page-index-latest-promotions__product-card {
    aspect-ratio: 1 / 1; /* Square */
  }
  .page-index-latest-promotions__products-grid--large .page-index-latest-promotions__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square */
  }
  .page-index-latest-promotions__products-grid--large .page-index-latest-promotions__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Must use cover */
  }
  .page-index-latest-promotions__container {
    padding: 0 15px;
  }
  .page-index-latest-promotions__btn {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-index-latest-promotions__quick-links-section .page-index-latest-promotions__links-grid {
    grid-template-columns: 1fr;
  }
  .page-index-latest-promotions__feature-item,
  .page-index-latest-promotions__game-card,
  .page-index-latest-promotions__promo-card,
  .page-index-latest-promotions__security-item,
  .page-index-latest-promotions__blog-card {
    padding: 20px;
  }
  .page-index-latest-promotions__feature-title,
  .page-index-latest-promotions__game-card-title,
  .page-index-latest-promotions__promo-card-title,
  .page-index-latest-promotions__security-title {
    font-size: 20px;
  }
  .page-index-latest-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-latest-promotions__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-latest-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-index-latest-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
    padding: 15px !important;
  }

  /* Force responsive images on mobile */
  .page-index-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-latest-promotions__section,
  .page-index-latest-promotions__card,
  .page-index-latest-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}