.page-index {
  color: #333333; /* Dark text on default light body background */
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-index__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  color: #FFFFFF;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

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

.page-index__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #FFFFFF;
}

.page-index__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #000000;
}

.page-index__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--login:hover {
  background-color: #FFFFFF;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-index__about-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__app-section,
.page-index__responsible-gaming-section,
.page-index__contact-cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}

.page-index__about-title,
.page-index__games-title,
.page-index__promo-title,
.page-index__app-title,
.page-index__responsible-gaming-title,
.page-index__contact-cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index__about-text,
.page-index__games-intro,
.page-index__promo-text,
.page-index__app-text,
.page-index__responsible-gaming-text,
.page-index__contact-cta-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333333;
}

.page-index__about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #eee;
}

.page-index__feature-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

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

.page-index__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-index__games-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

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

.page-index__game-card {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #eee;
}

.page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index__game-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-index__button--small:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-index__promo-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-index__promo-title {
  color: #FCBC45;
}

.page-index__promo-text {
  color: #f0f0f0;
}

.page-index__button--promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--promo:hover {
  background-color: #FFFFFF;
  color: #FCBC45;
  border-color: #FFFFFF;
}

.page-index__app-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
  padding: 60px 20px;
}

.page-index__app-image {
  width: 45%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Minimum size */
}

.page-index__app-content {
  width: 50%;
}

.page-index__app-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index__app-text {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-index__button--download:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #000000;
}

.page-index__responsible-gaming-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
}

.page-index__responsible-gaming-title {
  color: #000000;
}

.page-index__responsible-gaming-text {
  color: #444444;
}

.page-index__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-index__button--learn-more:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #000000;
}

.page-index__contact-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #000000, #333333);
  color: #FFFFFF;
}

.page-index__contact-cta-title {
  color: #FCBC45;
}

.page-index__contact-cta-text {
  color: #f0f0f0;
}

.page-index__button--final-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-index__button--final-register:hover {
  background-color: #FFFFFF;
  color: #FCBC45;
  border-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__app-section {
    flex-direction: column;
    text-align: center;
  }
  .page-index__app-image,
  .page-index__app-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-index__hero-overlay {
    padding: 30px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
    max-width: 250px; /* Constrain button width on mobile */
    margin: 0 auto; /* Center buttons */
  }
  .page-index__about-title,
  .page-index__games-title,
  .page-index__promo-title,
  .page-index__app-title,
  .page-index__responsible-gaming-title,
  .page-index__contact-cta-title {
    font-size: 2em;
  }
  .page-index__about-text,
  .page-index__games-intro,
  .page-index__promo-text,
  .page-index__app-text,
  .page-index__responsible-gaming-text,
  .page-index__contact-cta-text {
    font-size: 0.95em;
  }
  .page-index__feature-icon,
  .page-index__game-image,
  .page-index__app-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    min-height: 400px;
  }
  .page-index__hero-overlay {
    padding: 20px;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__button {
    padding: 12px 25px;
  }
  .page-index__about-title,
  .page-index__games-title,
  .page-index__promo-title,
  .page-index__app-title,
  .page-index__responsible-gaming-title,
  .page-index__contact-cta-title {
    font-size: 1.8em;
  }
  .page-index__about-features,
  .page-index__game-cards {
    grid-template-columns: 1fr;
  }
  .page-index__feature-card,
  .page-index__game-card {
    padding: 20px;
  }
  .page-index__feature-icon {
    width: 200px;
    height: 200px;
  }
  .page-index__game-image {
    height: 200px;
  }
  .page-index__app-image {
    width: 100%;
    height: auto;
  }
}