.page-index {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #000000; /* Dark text on white background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  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__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

.page-index__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

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

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

.page-index__button--register:hover {
  background-color: #f0f0f0;
}

.page-index__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-left: 15px;
}

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

.page-index__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-index__button--small:hover {
  background-color: #e0a53b;
}

.page-index__button--full-width {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Minimum height for hero */
  overflow: hidden;
  padding-bottom: 60px;
}

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

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

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with accent color */
  line-height: 1.2;
}

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

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

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index__about-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__games-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__game-title a:hover {
  color: #FCBC45;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

/* Promotions Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index__promo-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-index__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__promo-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index__promo-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 30px;
  flex-grow: 1;
  text-align: justify;
}

/* Security Section */
.page-index__security-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-index__security-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__security-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 30px auto;
  display: block;
}

/* App Download Section */
.page-index__app-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-index__app-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 30px auto;
  display: block;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__blog-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__blog-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__blog-card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__blog-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-card-title a:hover {
  color: #FCBC45;
}

.page-index__blog-card-description {
  font-size: 0.9em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

/* Call to Action Section */
.page-index__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__button--login {
    margin-left: 0;
  }
  .page-index__game-categories,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promo-card {
    margin: 0 10px;
  }
  .page-index__hero-image,
  .page-index__game-image,
  .page-index__promo-image,
  .page-index__security-image,
  .page-index__app-image,
  .page-index__blog-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__hero-content {
    padding: 15px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__about-section,
  .page-index__games-section,
  .page-index__promo-section,
  .page-index__security-section,
  .page-index__app-section,
  .page-index__blog-section,
  .page-index__cta-section {
    padding: 50px 0;
  }
  .page-index__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__game-image,
  .page-index__promo-image,
  .page-index__blog-image {
    height: 180px;
  }
  .page-index__promo-card-title {
    font-size: 1.5em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
}