.page-index {
  color: #ffffff; /* Text color 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__section-title,
.page-index__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-index__section-description,
.page-index__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for better text readability */
}

.page-index__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-index__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  text-align: center;
}

.page-index__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-actions {
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-index__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

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

.page-index__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-2px);
}

.page-index__button--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index__button--link:hover {
  text-decoration: underline;
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  margin-bottom: 60px;
}

.page-index__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-index__about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  margin-bottom: 60px;
}

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

.page-index__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
}

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index__game-title {
  font-size: 1.8em;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-index__game-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__game-title a:hover {
  text-decoration: underline;
}

.page-index__game-card p {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px 15px;
}

.page-index__game-card .page-index__button--link {
  display: block;
  text-align: center;
  padding: 10px 20px 20px;
}

/* Promotions Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  margin-bottom: 60px;
}

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
}

.page-index__promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-index__promo-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__promo-title a:hover {
  text-decoration: underline;
}

.page-index__promo-card p {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px 15px;
}

.page-index__promo-card .page-index__button--primary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  text-align: center;
}

/* Why Choose Us Section */
.page-index__why-choose-us-section {
  padding: 80px 0;
  margin-bottom: 60px;
}

.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-index__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-index__feature-card p {
  color: #f0f0f0;
  font-size: 1em;
}

.page-index__download-app {
  background-color: #1A1A1A;
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__download-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index__download-app p {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Testimonials Section */
.page-index__testimonials-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  margin-bottom: 60px;
}

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

.page-index__testimonial-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__testimonial-quote {
  font-style: italic;
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #FFD700;
  text-align: right;
}

/* Blog Preview Section */
.page-index__blog-preview-section {
  padding: 80px 0;
  margin-bottom: 60px;
}

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

.page-index__blog-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-10px);
}

.page-index__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index__blog-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-index__blog-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__blog-title a:hover {
  text-decoration: underline;
}

.page-index__blog-card p {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 20px 15px;
}

.page-index__view-all-button {
  text-align: center;
  margin-top: 40px;
}

/* CTA Section */
.page-index__cta-section {
  background-color: #FFD700;
  padding: 80px 0;
  text-align: center;
  color: #1A1A1A;
}

.page-index__cta-title {
  color: #1A1A1A;
  font-size: 3em;
  margin-bottom: 20px;
}

.page-index__cta-description {
  color: #333333;
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-index__cta-section .page-index__button--primary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #1A1A1A;
}

.page-index__cta-section .page-index__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title,
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__about-grid {
    grid-template-columns: 1fr;
  }
  .page-index__about-image {
    order: -1; /* Image above text on smaller screens */
  }
  .page-index__download-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-index__hero-section {
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
  }
  .page-index__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-index__games-grid,
  .page-index__promo-grid,
  .page-index__features-grid,
  .page-index__testimonials-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-card img,
  .page-index__promo-card img,
  .page-index__blog-card img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-card img {
    max-width: 200px;
    height: auto;
  }
  .page-index__section-title,
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__section-description,
  .page-index__cta-description {
    font-size: 0.9em;
  }
  .page-index__download-app {
    padding: 30px;
  }
  .page-index__download-title {
    font-size: 1.8em;
  }
  /* Enforce image responsiveness for content area */
  .page-index img {
    max-width: 100% !important;
    height: auto !important;
  }
}