.page-index-why-choose-plus777 {
  color: #333333; /* Dark text for default white body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-index-why-choose-plus777__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463;
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-why-choose-plus777__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Constrain max width for large screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-why-choose-plus777__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-index-why-choose-plus777__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

.page-index-why-choose-plus777__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-index-why-choose-plus777__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-why-choose-plus777__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-index-why-choose-plus777__button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-index-why-choose-plus777__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-why-choose-plus777__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-why-choose-plus777__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-index-why-choose-plus777__section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-index-why-choose-plus777__section:nth-of-type(odd) {
  background-color: #ffffff;
}

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

.page-index-why-choose-plus777__section-title {
  font-size: 2.2em;
  color: #0A2463;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-why-choose-plus777__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index-why-choose-plus777__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-index-why-choose-plus777__features-grid,
.page-index-why-choose-plus777__game-categories,
.page-index-why-choose-plus777__promo-grid,
.page-index-why-choose-plus777__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-why-choose-plus777__feature-card,
.page-index-why-choose-plus777__category-card,
.page-index-why-choose-plus777__promo-card,
.page-index-why-choose-plus777__support-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-why-choose-plus777__feature-card:hover,
.page-index-why-choose-plus777__category-card:hover,
.page-index-why-choose-plus777__promo-card:hover,
.page-index-why-choose-plus777__support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-index-why-choose-plus777__feature-icon,
.page-index-why-choose-plus777__category-image,
.page-index-why-choose-plus777__promo-image,
.page-index-why-choose-plus777__support-icon {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-index-why-choose-plus777__feature-title,
.page-index-why-choose-plus777__category-title,
.page-index-why-choose-plus777__promo-title,
.page-index-why-choose-plus777__support-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-index-why-choose-plus777__feature-text,
.page-index-why-choose-plus777__category-text,
.page-index-why-choose-plus777__promo-text,
.page-index-why-choose-plus777__support-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-why-choose-plus777__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #0A2463;
  color: #FFD700;
  border: 1px solid #0A2463;
}

.page-index-why-choose-plus777__button--small:hover {
  background-color: #FFD700;
  color: #0A2463;
  border: 1px solid #FFD700;
}

.page-index-why-choose-plus777__benefits-list,
.page-index-why-choose-plus777__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-index-why-choose-plus777__benefit-item,
.page-index-why-choose-plus777__responsible-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FFD700;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-why-choose-plus777__benefit-title,
.page-index-why-choose-plus777__responsible-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-index-why-choose-plus777__benefit-text,
.page-index-why-choose-plus777__responsible-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-index-why-choose-plus777__cta-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eeeeee;
}

.page-index-why-choose-plus777__section--conclusion .page-index-why-choose-plus777__section-description {
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .page-index-why-choose-plus777__main-title {
    font-size: 2.2em;
  }
  .page-index-why-choose-plus777__intro-text {
    font-size: 1.1em;
  }
  .page-index-why-choose-plus777__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-index-why-choose-plus777__main-title {
    font-size: 1.8em;
  }
  .page-index-why-choose-plus777__intro-text {
    font-size: 1em;
  }
  .page-index-why-choose-plus777__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-why-choose-plus777__button {
    width: 100%;
    max-width: 300px;
  }
  .page-index-why-choose-plus777__section {
    padding: 40px 15px;
  }
  .page-index-why-choose-plus777__section-title {
    font-size: 1.6em;
  }
  .page-index-why-choose-plus777__section-description {
    font-size: 0.95em;
  }
  .page-index-why-choose-plus777__features-grid,
  .page-index-why-choose-plus777__game-categories,
  .page-index-why-choose-plus777__promo-grid,
  .page-index-why-choose-plus777__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-why-choose-plus777__feature-card,
  .page-index-why-choose-plus777__category-card,
  .page-index-why-choose-plus777__promo-card,
  .page-index-why-choose-plus777__support-card {
    padding: 20px;
  }
  .page-index-why-choose-plus777__feature-icon,
  .page-index-why-choose-plus777__category-image,
  .page-index-why-choose-plus777__promo-image,
  .page-index-why-choose-plus777__support-icon {
    max-height: 200px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
  }
  .page-index-why-choose-plus777__feature-text,
  .page-index-why-choose-plus777__category-text,
  .page-index-why-choose-plus777__promo-text,
  .page-index-why-choose-plus777__support-text {
    font-size: 0.9em;
  }
  .page-index-why-choose-plus777__benefits-list,
  .page-index-why-choose-plus777__responsible-list {
    margin-top: 20px;
  }
  .page-index-why-choose-plus777__benefit-item,
  .page-index-why-choose-plus777__responsible-item {
    padding: 20px;
  }
  .page-index-why-choose-plus777__benefit-title,
  .page-index-why-choose-plus777__responsible-title {
    font-size: 1.4em;
  }
  .page-index-why-choose-plus777__cta-section {
    margin-top: 40px;
    padding-top: 30px;
  }

  /* Mobile specific image sizing to prevent overflow */
  .page-index-why-choose-plus777 img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-why-choose-plus777__main-title {
    font-size: 1.5em;
  }
  .page-index-why-choose-plus777__intro-text {
    font-size: 0.9em;
  }
  .page-index-why-choose-plus777__section-title {
    font-size: 1.4em;
  }
  .page-index-why-choose-plus777__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

/* Ensure content images meet minimum size requirements */
.page-index-why-choose-plus777__section img {
  min-width: 200px;
  min-height: 200px;
}

/* CSS filter for hero image for better text contrast */
.page-index-why-choose-plus777__hero-image {
  filter: brightness(0.6);
}