.page-index-new-games {
  color: #ffffff; /* Text color for dark body background */
  background-color: #000000; /* Ensure main content background matches body */
}

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

.page-index-new-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
}

.page-index-new-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-index-new-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-index-new-games__hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-index-new-games__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #FFFFFF;
  max-width: 700px;
}

.page-index-new-games__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-index-new-games__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-new-games__button--register {
  background-color: #FCBC45; /* Login color for Register button background */
  color: #000000; /* Black text for contrast */
}

.page-index-new-games__button--register:hover {
  background-color: #e0a53b;
}

.page-index-new-games__button--explore {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-index-new-games__button--explore:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-index-new-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FCBC45;
}

.page-index-new-games__section-title--spacing {
  margin-top: 60px;
}

.page-index-new-games__section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-new-games__game-showcase {
  padding: 60px 0;
}

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

.page-index-new-games__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-new-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index-new-games__game-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
  padding: 0 15px;
}

.page-index-new-games__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-index-new-games__button--play, .page-index-new-games__button--bet {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1rem;
}

.page-index-new-games__button--play:hover, .page-index-new-games__button--bet:hover {
  background-color: #e0a53b;
}

.page-index-new-games__promotions-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-index-new-games__promo-banner {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-new-games__button--claim {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-index-new-games__button--claim:hover {
  background-color: #e0a53b;
}

.page-index-new-games__why-choose {
  padding: 80px 0;
  background-color: #000000;
}

.page-index-new-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-new-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-index-new-games__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-index-new-games__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
}

.page-index-new-games__why-choose-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 60px auto 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-new-games__guide-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-index-new-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-new-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-new-games__guide-step-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-index-new-games__guide-step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-index-new-games__button--register-play {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 40px;
}

.page-index-new-games__button--register-play:hover {
  background-color: #e0a53b;
}

.page-index-new-games__faq-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-index-new-games__faq-items {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-new-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-new-games__faq-question {
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-index-new-games__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-index-new-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
}

.page-index-new-games__cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.page-index-new-games__button--join, .page-index-new-games__button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-index-new-games__button--join:hover, .page-index-new-games__button--download:hover {
  background-color: #e0a53b;
}

.page-index-new-games__cta-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 60px auto 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-new-games__hero-title {
    font-size: 2.8rem;
  }

  .page-index-new-games__hero-description {
    font-size: 1.1rem;
  }

  .page-index-new-games__section-title {
    font-size: 2rem;
  }

  .page-index-new-games__game-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-index-new-games__hero-content {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-index-new-games__hero-title {
    font-size: 2.2rem;
  }

  .page-index-new-games__hero-description {
    font-size: 1rem;
  }

  .page-index-new-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-new-games__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-index-new-games__section-title {
    font-size: 1.8rem;
  }

  .page-index-new-games__section-text {
    font-size: 0.95rem;
  }

  .page-index-new-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-index-new-games__game-card {
    margin-bottom: 20px;
  }

  .page-index-new-games__feature-list, .page-index-new-games__guide-list {
    grid-template-columns: 1fr;
  }

  .page-index-new-games__game-image, .page-index-new-games__promo-banner, .page-index-new-games__why-choose-image, .page-index-new-games__cta-image {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly */
  }

  /* Critical for mobile: Prevent content overflow */
  .page-index-new-games * {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-index-new-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-new-games__hero-title {
    font-size: 1.8rem;
  }

  .page-index-new-games__hero-description {
    font-size: 0.9rem;
  }

  .page-index-new-games__button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-index-new-games__section-title {
    font-size: 1.5rem;
  }

  .page-index-new-games__game-title {
    font-size: 1.3rem;
  }

  .page-index-new-games__feature-title, .page-index-new-games__guide-step-title, .page-index-new-games__faq-question {
    font-size: 1.1rem;
  }
}