.page-index {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main color */
  padding: 0;
  text-align: center;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-index__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-index__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.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;
  cursor: pointer;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-index__text-content {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-index__text-content--small {
  font-size: 0.9em;
  color: #aaaaaa;
}

.page-index__about-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__security-section,
.page-index__app-download-section,
.page-index__support-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__about-section .page-index__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index__about-section .page-index__text-content {
  max-width: 900px;
  margin-bottom: 30px;
}

.page-index__game-grid,
.page-index__promo-grid,
.page-index__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-index__game-card,
.page-index__promo-card,
.page-index__support-item {
  background-color: #000000; /* Main color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-card:hover,
.page-index__promo-card:hover,
.page-index__support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.page-index__game-card-image,
.page-index__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__game-card-title,
.page-index__promo-card-title,
.page-index__support-item-title {
  font-size: 1.5em;
  color: #FFD700; /* Auxiliary color */
  margin: 15px 15px 10px;
}

.page-index__game-card-title a,
.page-index__promo-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__game-card-title a:hover,
.page-index__promo-card-title a:hover {
  color: #e6c200;
}

.page-index__game-card-description,
.page-index__promo-card-description,
.page-index__support-item-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__game-card .page-index__btn,
.page-index__promo-card .page-index__btn,
.page-index__support-item .page-index__btn {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

.page-index__all-games-action,
.page-index__all-promos-action {
  text-align: center;
  margin-top: 20px;
}

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

.page-index__security-text {
  flex: 1;
  min-width: 300px;
}

.page-index__security-text .page-index__btn {
  margin-right: 15px;
  margin-top: 10px;
}

.page-index__security-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-index__app-image {
  width: 300px;
  height: 400px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.page-index__app-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-index__app-info .page-index__btn {
  margin-top: 20px;
  margin-bottom: 15px;
  max-width: 250px; /* Constrain button width */
}

.page-index__support-item {
  padding: 30px 20px;
}

.page-index__support-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

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

.page-index__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.page-index__floating-btn--register {
  background-color: #DC143C; /* Emphasis color */
  color: #ffffff;
}

.page-index__floating-btn--register:hover {
  transform: scale(1.05);
  background-color: #c01030;
}

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

.page-index__floating-btn--login:hover {
  transform: scale(1.05);
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__security-image {
    width: 300px;
    height: 225px;
  }
  .page-index__app-image {
    width: 250px;
    height: 333px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__game-grid,
  .page-index__promo-grid,
  .page-index__support-grid {
    grid-template-columns: 1fr;
  }
  .page-index__security-content,
  .page-index__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__security-text,
  .page-index__app-info {
    min-width: auto;
    width: 100%;
  }
  .page-index__security-text .page-index__btn {
    margin-right: 10px;
    margin-left: 10px;
  }
  .page-index__security-image,
  .page-index__app-image {
    width: 100%;
    max-width: 300px; /* Constrain image width */
    height: auto;
  }
  .page-index__floating-buttons {
    bottom: 15px;
    right: 15px;
  }
  .page-index__floating-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__container img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-index__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
  .page-index__game-card-image, .page-index__promo-card-image {
    height: 180px;
  }
  .page-index__support-icon {
    width: 80px;
    height: 80px;
  }
  .page-index__about-section, .page-index__games-section, .page-index__promo-section, .page-index__security-section, .page-index__app-download-section, .page-index__support-section {
    padding: 60px 0;
  }
  .page-index__section-title {
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.6em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__btn {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__text-content {
    font-size: 0.9em;
  }
  .page-index__hero-content {
    padding: 15px;
  }
}