.page-index-latest-promotions {
  color: #333333; /* Default text color for light body background */
}

.page-index-latest-promotions__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #007bff; /* Primary brand color as fallback */
}

.page-index-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability, no color change */
}

.page-index-latest-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 90%;
  z-index: 10;
}

.page-index-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Secondary color for emphasis */
  line-height: 1.2;
}

.page-index-latest-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-latest-promotions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-index-latest-promotions__button--primary {
  background-color: #ffc107;
  color: #007bff;
  border: 2px solid #ffc107;
}

.page-index-latest-promotions__button--primary:hover {
  background-color: #e0a800;
  color: #0056b3;
  transform: translateY(-2px);
}

.page-index-latest-promotions__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-index-latest-promotions__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-index-latest-promotions__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-latest-promotions__button--center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

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

.page-index-latest-promotions__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
}

.page-index-latest-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-index-latest-promotions__promo-overview,
.page-index-latest-promotions__how-to-claim,
.page-index-latest-promotions__responsible-gaming,
.page-index-latest-promotions__cta-bottom {
  padding: 60px 0;
}

.page-index-latest-promotions__promo-overview {
  background-color: #f8f9fa;
}

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

.page-index-latest-promotions__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions__feature-icon {
  width: 100%;
  height: 250px; /* Ensuring minimum height for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-index-latest-promotions__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index-latest-promotions__feature-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-index-latest-promotions__promotions-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0056b3, #007bff);
  color: #ffffff;
}

.page-index-latest-promotions__promotions-section .page-index-latest-promotions__section-title,
.page-index-latest-promotions__promotions-section .page-index-latest-promotions__section-description {
  color: #ffffff;
}

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

.page-index-latest-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
}

.page-index-latest-promotions__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index-latest-promotions__promo-content {
  padding: 25px;
  color: #333333;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-latest-promotions__promo-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index-latest-promotions__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-latest-promotions__promo-content .page-index-latest-promotions__button {
  margin-top: auto;
  align-self: flex-start;
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-index-latest-promotions__promo-content .page-index-latest-promotions__button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-index-latest-promotions__how-to-claim {
  background-color: #f0f8ff;
}

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

.page-index-latest-promotions__step-item {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-latest-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #ffc107;
  margin-bottom: 15px;
  display: block;
}

.page-index-latest-promotions__step-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index-latest-promotions__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-latest-promotions__vip-section {
  padding: 80px 0;
  background-color: #007bff;
  color: #ffffff;
}

.page-index-latest-promotions__vip-section .page-index-latest-promotions__section-title,
.page-index-latest-promotions__vip-section .page-index-latest-promotions__section-description {
  color: #ffffff;
}

.page-index-latest-promotions__vip-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
}

.page-index-latest-promotions__responsible-gaming {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-index-latest-promotions__faq-section {
  padding: 80px 0;
}

.page-index-latest-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions__faq-question {
  font-size: 1.2em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-latest-promotions__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-index-latest-promotions__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-index-latest-promotions__faq-answer.active {
  display: block;
}

.page-index-latest-promotions__cta-bottom {
  background-color: #ffc107;
  color: #007bff;
  padding: 60px 0;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__section-title,
.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__section-description {
  color: #007bff;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__button--primary {
  background-color: #007bff;
  color: #ffc107;
  border-color: #007bff;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: #ffdb80;
}

/* Floating Buttons */
.page-index-latest-promotions__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-index-latest-promotions__floating-button {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.page-index-latest-promotions__floating-button--register {
  background-color: #ffc107;
  color: #007bff;
}

.page-index-latest-promotions__floating-button--register:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-index-latest-promotions__floating-button--login {
  background-color: #007bff;
  color: #ffffff;
}

.page-index-latest-promotions__floating-button--login:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-promotions__section-title {
    font-size: 2em;
  }
  .page-index-latest-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions__hero-section {
    padding-top: var(--header-offset, 80px);
    padding: 40px 15px;
  }
  .page-index-latest-promotions__hero-title {
    font-size: 2em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 0.95em;
  }
  .page-index-latest-promotions__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-promotions__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }
  .page-index-latest-promotions__container {
    padding: 30px 15px;
  }
  .page-index-latest-promotions__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-promotions__section-description {
    font-size: 1em;
  }
  .page-index-latest-promotions__features-grid,
  .page-index-latest-promotions__promo-grid,
  .page-index-latest-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-index-latest-promotions__promo-image,
  .page-index-latest-promotions__feature-icon,
  .page-index-latest-promotions__vip-image {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and do not overflow */
  }
  .page-index-latest-promotions__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-index-latest-promotions__floating-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  /* Ensure all img within .page-index-latest-promotions are responsive */
  .page-index-latest-promotions img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }
  /* Specific overrides for card images to ensure min size */
  .page-index-latest-promotions__feature-icon,
  .page-index-latest-promotions__promo-image {
    height: 200px; /* Fixed height for small screens, maintaining minimum */
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-index-latest-promotions__section-title {
    font-size: 1.5em;
  }
}