.page-index {
  color: #333333; /* Default text color for light body background */
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000; /* Dark background for contrast with hero content */
}

.page-index__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  padding: 20px;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim image to make text stand out */
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff; /* Light text for dark hero background */
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for highlight */
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-index__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #000000; /* Dark text for auxiliary background */
}

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

.page-index__btn--secondary {
  background-color: #007bff; /* Main color */
  color: #ffffff; /* Light text for main background */
  border: 2px solid #ffc107;
}

.page-index__btn--secondary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-index__btn--text {
  color: #007bff;
  text-decoration: underline;
  font-weight: normal;
  padding: 0;
  background: none;
}

.page-index__btn--text:hover {
  color: #0056b3;
}

.page-index__btn--link {
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
}

.page-index__btn--link:hover {
  background-color: #0056b3;
}

.page-index__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #007bff; /* Main color */
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-index__about-section,
.page-index__games-section,
.page-index__promotions-section,
.page-index__security-section,
.page-index__details-list-section,
.page-index__cta-download-section,
.page-index__faq-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__about-container,
.page-index__games-container,
.page-index__promotions-container,
.page-index__security-container,
.page-index__details-list-container,
.page-index__cta-download-container,
.page-index__faq-container {
  padding: 20px;
  background-color: #f9f9f9; /* Light background for content sections */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-index__about-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
  color: #555555;
}

.page-index__game-categories,
.page-index__promotion-cards,
.page-index__security-features,
.page-index__details-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__game-card,
.page-index__promotion-card,
.page-index__security-item,
.page-index__details-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__game-card:hover,
.page-index__promotion-card:hover,
.page-index__details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index__game-card-image,
.page-index__promotion-card-image,
.page-index__details-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__security-icon {
  width: 200px; /* Enforce minimum 200px */
  height: 200px; /* Enforce minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__game-card-title,
.page-index__promotion-card-title,
.page-index__security-item-title,
.page-index__details-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #007bff;
  line-height: 1.4;
}

.page-index__game-card-title a,
.page-index__details-card-title a {
  color: #007bff;
  text-decoration: none;
}

.page-index__game-card-title a:hover,
.page-index__details-card-title a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-index__game-card-description,
.page-index__promotion-card-description,
.page-index__security-item-description,
.page-index__details-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__cta-download-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: #007bff; /* Main color background */
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 10px;
  text-align: center;
}

.page-index__cta-download-image {
  width: 400px; /* Enforce minimum 200px */
  height: 300px; /* Enforce minimum 200px */
  object-fit: contain;
}

.page-index__cta-download-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #ffc107; /* Auxiliary color */
}

.page-index__cta-download-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-index__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-index__floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.page-index__floating-btn--register {
  background-color: #ffc107; /* Auxiliary color */
  color: #000000;
}

.page-index__floating-btn--register:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-index__floating-btn--login {
  background-color: #007bff; /* Main color */
  border: 2px solid #ffc107;
}

.page-index__floating-btn--login:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

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

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

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

  .page-index__btn {
    width: 100%;
  }

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

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

  .page-index__about-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-section,
  .page-index__details-list-section,
  .page-index__cta-download-section,
  .page-index__faq-section {
    padding: 60px 15px;
  }

  .page-index__game-categories,
  .page-index__promotion-cards,
  .page-index__security-features,
  .page-index__details-cards {
    grid-template-columns: 1fr;
  }

  .page-index__cta-download-container {
    flex-direction: column;
  }

  .page-index__cta-download-image {
    max-width: 100%;
    height: auto;
  }

  .page-index__floating-buttons {
    bottom: 20px;
    right: 20px;
    flex-direction: row; /* Arrange horizontally on small screens */
    gap: 10px;
  }

  .page-index__floating-btn {
    width: 100px;
    height: 45px;
    font-size: 1em;
  }

  /* Mobile content area image overflow prevention */
  .page-index img {
    max-width: 100%;
    height: auto;
  }

  .page-index__hero-section {
    padding-top: var(--header-offset, 120px);
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__floating-buttons {
    flex-direction: column;
    bottom: 15px;
    right: 15px;
  }
  .page-index__floating-btn {
    width: 90px;
    height: 40px;
    font-size: 0.9em;
  }
}