.page-index-why-choose-y7 {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicit background for page content */
}

.page-index-why-choose-y7__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-why-choose-y7__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero for contrast */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index-why-choose-y7__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-index-why-choose-y7__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-why-choose-y7__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-index-why-choose-y7__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for highlight */
}

.page-index-why-choose-y7__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index-why-choose-y7__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-why-choose-y7__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-index-why-choose-y7__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-why-choose-y7__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-index-why-choose-y7__button--login,
.page-index-why-choose-y7__button--promo,
.page-index-why-choose-y7__button--download,
.page-index-why-choose-y7__button--final-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-why-choose-y7__button--login:hover,
.page-index-why-choose-y7__button--promo:hover,
.page-index-why-choose-y7__button--download:hover,
.page-index-why-choose-y7__button--final-register:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-index-why-choose-y7__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-index-why-choose-y7__button--learn-more:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index-why-choose-y7__button--view-promos {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-why-choose-y7__button--view-promos:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-index-why-choose-y7__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
}

.page-index-why-choose-y7__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #555555;
}

.page-index-why-choose-y7__features-section,
.page-index-why-choose-y7__gaming-section,
.page-index-why-choose-y7__service-section,
.page-index-why-choose-y7__transactions-section,
.page-index-why-choose-y7__promo-section,
.page-index-why-choose-y7__mobile-section,
.page-index-why-choose-y7__responsible-gaming-section,
.page-index-why-choose-y7__join-us-section {
  padding: 80px 0;
}

.page-index-why-choose-y7__features-section,
.page-index-why-choose-y7__service-section,
.page-index-why-choose-y7__transactions-section,
.page-index-why-choose-y7__promo-section {
  background-color: #F8F8F8;
}

.page-index-why-choose-y7__features-section:nth-of-type(odd),
.page-index-why-choose-y7__gaming-section:nth-of-type(odd),
.page-index-why-choose-y7__service-section:nth-of-type(odd),
.page-index-why-choose-y7__transactions-section:nth-of-type(odd),
.page-index-why-choose-y7__promo-section:nth-of-type(odd),
.page-index-why-choose-y7__mobile-section:nth-of-type(odd),
.page-index-why-choose-y7__responsible-gaming-section:nth-of-type(odd),
.page-index-why-choose-y7__join-us-section:nth-of-type(odd) {
  background-color: #FFFFFF;
}

.page-index-why-choose-y7__feature-grid,
.page-index-why-choose-y7__game-grid,
.page-index-why-choose-y7__service-grid,
.page-index-why-choose-y7__transaction-grid,
.page-index-why-choose-y7__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-why-choose-y7__feature-card,
.page-index-why-choose-y7__game-card,
.page-index-why-choose-y7__service-card,
.page-index-why-choose-y7__transaction-card,
.page-index-why-choose-y7__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-why-choose-y7__feature-card:hover,
.page-index-why-choose-y7__game-card:hover,
.page-index-why-choose-y7__service-card:hover,
.page-index-why-choose-y7__transaction-card:hover,
.page-index-why-choose-y7__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-why-choose-y7__feature-icon,
.page-index-why-choose-y7__service-icon,
.page-index-why-choose-y7__transaction-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 50%;
  background-color: #F0F0F0;
  padding: 15px;
}

.page-index-why-choose-y7__game-image,
.page-index-why-choose-y7__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-index-why-choose-y7__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-index-why-choose-y7__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
}

.page-index-why-choose-y7__call-to-action {
  text-align: center;
  margin-top: 60px;
}

.page-index-why-choose-y7__mobile-section,
.page-index-why-choose-y7__responsible-gaming-section {
  background-color: #000000;
  color: #ffffff;
}

.page-index-why-choose-y7__mobile-section .page-index-why-choose-y7__section-title,
.page-index-why-choose-y7__responsible-gaming-section .page-index-why-choose-y7__section-title {
  color: #FCBC45;
}

.page-index-why-choose-y7__mobile-section .page-index-why-choose-y7__section-description,
.page-index-why-choose-y7__responsible-gaming-section .page-index-why-choose-y7__section-description {
  color: #CCCCCC;
}

.page-index-why-choose-y7__mobile-content,
.page-index-why-choose-y7__responsible-gaming-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-index-why-choose-y7__mobile-text,
.page-index-why-choose-y7__responsible-gaming-text {
  flex: 1;
}

.page-index-why-choose-y7__mobile-image-wrapper,
.page-index-why-choose-y7__responsible-gaming-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index-why-choose-y7__mobile-image,
.page-index-why-choose-y7__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-why-choose-y7__mobile-text .page-index-why-choose-y7__card-title,
.page-index-why-choose-y7__responsible-gaming-text .page-index-why-choose-y7__card-title {
  color: #FFFFFF;
  font-size: 2em;
  margin-bottom: 20px;
}

.page-index-why-choose-y7__mobile-text .page-index-why-choose-y7__card-description,
.page-index-why-choose-y7__responsible-gaming-text .page-index-why-choose-y7__card-description {
  color: #E0E0E0;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-why-choose-y7__hero-title {
    font-size: 3em;
  }
  .page-index-why-choose-y7__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-why-choose-y7__hero-section {
    padding: 60px 15px;
  }
  .page-index-why-choose-y7__hero-title {
    font-size: 2.5em;
  }
  .page-index-why-choose-y7__hero-description {
    font-size: 1.1em;
  }
  .page-index-why-choose-y7__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-why-choose-y7__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-index-why-choose-y7__section-title {
    font-size: 1.8em;
  }
  .page-index-why-choose-y7__section-description {
    font-size: 1em;
  }
  .page-index-why-choose-y7__feature-grid,
  .page-index-why-choose-y7__game-grid,
  .page-index-why-choose-y7__service-grid,
  .page-index-why-choose-y7__transaction-grid,
  .page-index-why-choose-y7__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index-why-choose-y7__mobile-content,
  .page-index-why-choose-y7__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-why-choose-y7__mobile-image-wrapper,
  .page-index-why-choose-y7__responsible-gaming-image-wrapper {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 30px;
  }
  .page-index-why-choose-y7__mobile-image,
  .page-index-why-choose-y7__responsible-gaming-image {
    max-width: 100%; /* Ensures images don't overflow */
    height: auto; /* Maintains aspect ratio */
  }
  .page-index-why-choose-y7__features-section,
  .page-index-why-choose-y7__gaming-section,
  .page-index-why-choose-y7__service-section,
  .page-index-why-choose-y7__transactions-section,
  .page-index-why-choose-y7__promo-section,
  .page-index-why-choose-y7__mobile-section,
  .page-index-why-choose-y7__responsible-gaming-section,
  .page-index-why-choose-y7__join-us-section {
    padding: 50px 0;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-index-why-choose-y7 img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index-why-choose-y7__feature-icon,
  .page-index-why-choose-y7__service-icon,
  .page-index-why-choose-y7__transaction-icon {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .page-index-why-choose-y7__hero-title {
    font-size: 2em;
  }
  .page-index-why-choose-y7__hero-description {
    font-size: 0.9em;
  }
  .page-index-why-choose-y7__section-title {
    font-size: 1.5em;
  }
  .page-index-why-choose-y7__card-title {
    font-size: 1.4em;
  }
}