.page-home-latest-games {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-home-latest-games__hero-section {
  background-color: #003366; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-home-latest-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-home-latest-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-home-latest-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-home-latest-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary brand color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-home-latest-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-home-latest-games__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-home-latest-games__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-home-latest-games__intro-section,
.page-home-latest-games__game-category-section,
.page-home-latest-games__sports-section,
.page-home-latest-games__how-to-start-section,
.page-home-latest-games__bonuses-section,
.page-home-latest-games__mobile-section,
.page-home-latest-games__faq-section,
.page-home-latest-games__cta-final-section {
  padding: 60px 0;
}

.page-home-latest-games__game-category-section--dark {
  background-color: #f5f5f5;
}

.page-home-latest-games__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 30px;
}

.page-home-latest-games__game-category-section--dark .page-home-latest-games__section-title,
.page-home-latest-games__cta-final-section .page-home-latest-games__section-title {
  color: #003366;
}

.page-home-latest-games__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-home-latest-games__game-category-section--dark .page-home-latest-games__section-text,
.page-home-latest-games__cta-final-section .page-home-latest-games__section-text {
  color: #555555;
}

.page-home-latest-games__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #003366;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-home-latest-games__cta-button:hover {
  background-color: #002244;
  transform: translateY(-3px);
}

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

.page-home-latest-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-home-latest-games__game-card:hover {
  transform: translateY(-10px);
}

.page-home-latest-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-home-latest-games__game-card-title {
  font-size: 1.6em;
  color: #003366;
  margin: 20px 15px 10px 15px;
}

.page-home-latest-games__game-card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-home-latest-games__game-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin: 0 15px 20px 15px;
  transition: background-color 0.3s ease;
}

.page-home-latest-games__game-card-button:hover {
  background-color: #e6c200;
}

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

.page-home-latest-games__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-home-latest-games__feature-icon {
  width: 100%; /* Ensure images are not tiny icons */
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-home-latest-games__feature-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-home-latest-games__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-home-latest-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-home-latest-games__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-home-latest-games__step-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-home-latest-games__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-home-latest-games__step-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-home-latest-games__step-button:hover {
  background-color: #e6c200;
}

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

.page-home-latest-games__bonus-card {
  background-color: #003366;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-home-latest-games__bonus-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-home-latest-games__bonus-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-home-latest-games__bonus-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-home-latest-games__bonus-button:hover {
  background-color: #e6c200;
}

.page-home-latest-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-home-latest-games__mobile-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-home-latest-games__mobile-text-content {
  max-width: 500px;
  text-align: left;
}

.page-home-latest-games__mobile-subtitle {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
}

.page-home-latest-games__mobile-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-home-latest-games__faq-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-home-latest-games__accordion-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-home-latest-games__accordion-title {
  font-size: 1.3em;
  color: #003366;
  padding: 20px 25px;
  cursor: pointer;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home-latest-games__accordion-title::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-home-latest-games__accordion-title.active::after {
  content: '-';
  transform: rotate(0deg); /* No rotation for minus sign */
}

.page-home-latest-games__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #666666;
  font-size: 1em;
}

.page-home-latest-games__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px 20px 25px;
}

.page-home-latest-games__cta-final-section {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
}

.page-home-latest-games__cta-final-section .page-home-latest-games__section-title {
  color: #FFD700;
}

.page-home-latest-games__cta-final-section .page-home-latest-games__section-text {
  color: #f0f0f0;
}

.page-home-latest-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-home-latest-games__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-home-latest-games__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-home-latest-games__hero-title {
    font-size: 3em;
  }
  .page-home-latest-games__section-title {
    font-size: 2em;
  }
  .page-home-latest-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-home-latest-games__mobile-text-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-home-latest-games__hero-title {
    font-size: 2.5em;
  }
  .page-home-latest-games__hero-description {
    font-size: 1.1em;
  }
  .page-home-latest-games__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-home-latest-games__section-title {
    font-size: 1.8em;
  }
  .page-home-latest-games__section-text {
    font-size: 0.95em;
  }
  .page-home-latest-games__game-grid,
  .page-home-latest-games__sports-features,
  .page-home-latest-games__steps-list,
  .page-home-latest-games__bonus-grid {
    grid-template-columns: 1fr;
  }
  .page-home-latest-games__mobile-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  .page-home-latest-games__mobile-text-content .page-home-latest-games__cta-button {
    max-width: 100%;
  }
  .page-home-latest-games__game-card-image,
  .page-home-latest-games__feature-icon {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content area images are responsive and do not cause horizontal scrolling */
  .page-home-latest-games img {
    max-width: 100%;
    height: auto;
  }
  .page-home-latest-games {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-home-latest-games__hero-title {
    font-size: 2em;
  }
  .page-home-latest-games__hero-description {
    font-size: 1em;
  }
  .page-home-latest-games__hero-button {
    padding: 10px 20px;
  }
  .page-home-latest-games__section-title {
    font-size: 1.5em;
  }
  .page-home-latest-games__accordion-title {
    font-size: 1.1em;
  }
  .page-home-latest-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-home-latest-games__cta-button {
    width: 90%;
  }
}