.page-index {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text */
  color: #ffffff;
}

.page-index__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__btn {
  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.3s ease;
  white-space: nowrap;
}

.page-index__btn--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light background */
  border: 2px solid #FCBC45;
}

.page-index__btn--register:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-index__btn--login {
  background-color: #ffffff; /* Register button color */
  color: #000000;
  border: 2px solid #ffffff;
}

.page-index__btn--login:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.page-index__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-index__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__legitimacy-grid,
.page-index__games-grid,
.page-index__promotions-grid,
.page-index__support-channels {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

.page-index__legitimacy-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-index__legitimacy-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__legitimacy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index__card-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px; /* Minimum size requirement */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index__card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index__card-description {
  font-size: 1em;
  color: #666666;
}

.page-index__legitimacy-text {
  font-size: 1.1em;
  color: #444444;
  text-align: justify;
  margin-top: 20px;
}

.page-index__games-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index__card-image {
  width: 100%;
  height: 250px; /* Consistent height for game cards */
  object-fit: cover;
}

.page-index__game-card .page-index__card-title {
  font-size: 1.4em;
  padding: 15px 20px 5px;
  margin-bottom: 0;
  color: #000000;
}

.page-index__game-card .page-index__card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #666666;
}

.page-index__action-center {
  text-align: center;
  margin-top: 40px;
}

.page-index__action-text {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 20px;
}

.page-index__btn--primary {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.page-index__btn--primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index__promotions-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-index__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index__promo-card .page-index__card-image {
  height: 220px;
  margin-bottom: 15px;
}

.page-index__promo-card .page-index__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index__promo-card .page-index__card-description {
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__btn--small:hover {
  background-color: #e0a53a;
}

.page-index__promotions-text {
  font-size: 1.1em;
  color: #444444;
  text-align: justify;
  margin-top: 20px;
}

.page-index__app-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.page-index__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-index__app-image {
  width: 400px; /* Minimum size requirement */
  height: 300px; /* Minimum size requirement */
  object-fit: contain;
  flex-shrink: 0;
}

.page-index__app-text-content {
  max-width: 500px;
  text-align: left;
}

.page-index__app-description {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 25px;
}

.page-index__btn--download {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.page-index__btn--download:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index__app-note {
  font-size: 0.9em;
  color: #777777;
  margin-top: 15px;
}

.page-index__support-channels {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center;
}

.page-index__channel-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.page-index__channel-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px; /* Minimum size requirement */
  margin-bottom: 15px;
  object-fit: contain;
}

.page-index__channel-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index__channel-description {
  font-size: 0.95em;
  color: #666666;
}

.page-index__btn--contact {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__btn--contact:hover {
  background-color: #e0a53a;
}

.page-index__support-text {
  font-size: 1.1em;
  color: #444444;
  text-align: justify;
  margin-top: 20px;
}

.page-index__advantages-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.page-index__advantage-item {
  background-color: #ffffff;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
}

.page-index__advantage-item strong {
  color: #000000;
}

.page-index__about-text {
  font-size: 1.1em;
  color: #444444;
  text-align: justify;
  margin-top: 20px;
}

.page-index__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 40px;
}

.page-index__cta-section .page-index__section-title {
  color: #ffffff;
}

.page-index__cta-section .page-index__section-title::after {
  background-color: #FCBC45;
}

.page-index__cta-section .page-index__section-description {
  color: #e0e0e0;
}

.page-index__btn--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-index__btn--join:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }

  .page-index__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__section-description {
    font-size: 0.95em;
  }

  .page-index__legitimacy-grid,
  .page-index__games-grid,
  .page-index__promotions-grid,
  .page-index__support-channels {
    grid-template-columns: 1fr;
  }

  .page-index__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__app-text-content {
    text-align: center;
  }

  .page-index__app-image {
    max-width: 100%;
    width: 300px; /* Enforce min size for content images */
    height: auto;
  }

  .page-index__btn--download,
  .page-index__btn--contact,
  .page-index__btn--join {
    width: 100%;
    max-width: 300px;
  }

  .page-index__content-area {
    padding: 30px 15px;
  }

  /* Ensure images within content area are responsive and not too small */
  .page-index img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Global minimum for content images */
    min-height: 200px; /* Global minimum for content images */
  }

  .page-index__card-icon,
  .page-index__card-image,
  .page-index__channel-icon {
    min-width: 200px;
    min-height: 200px;
  }

  .page-index {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }

  .page-index__hero-actions {
    flex-direction: column;
  }

  .page-index__btn {
    width: 100%;
    max-width: 250px;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__btn--join {
    max-width: 250px;
  }
}