.page-index {
  color: #333333;
  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__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 40px 20px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

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

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #007bff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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.2s ease;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-index__btn--primary {
  background-color: #dc3545;
  color: #ffffff;
  border: 2px solid #dc3545;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-index__btn--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-index__section-padding {
  padding: 80px 0;
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
}

.page-index__section-title--light {
  color: #ffffff;
}

.page-index__section-subtitle {
  font-size: 1.4em;
  color: #555555;
  text-align: center;
  margin-bottom: 60px;
}

.page-index__section-subtitle--light {
  color: #cccccc;
}

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

.page-index__text-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-index__image-wrapper {
  text-align: center;
}

.page-index__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-index__btn--read-more {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
  padding: 12px 25px;
  font-size: 1em;
}

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

.page-index__bg-dark {
  background-color: #1a1a1a;
}

.page-index__bg-light-grey {
  background-color: #f8f8f8;
}

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

.page-index__game-card, .page-index__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-index__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin: 20px 15px 10px;
}

.page-index__card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index__btn--card {
  background-color: #dc3545;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  margin: 0 20px 20px;
  align-self: center;
  width: calc(100% - 40px);
}

.page-index__btn--card:hover {
  background-color: #c82333;
}

.page-index__features-section {
  background-color: #f8f8f8;
}

.page-index__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforced minimum size */
  min-height: 200px; /* Enforced minimum size */
}

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

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

.page-index__download-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #007bff;
  border-radius: 10px;
  color: #ffffff;
}

.page-index__download-text {
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-index__btn--download {
  background-color: #dc3545;
  color: #ffffff;
  border: 2px solid #dc3545;
  padding: 15px 40px;
  font-size: 1.2em;
}

.page-index__btn--download:hover {
  background-color: #c82333;
}

.page-index__testimonials-section {
  color: #ffffff;
}

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

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

.page-index__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #007bff;
  min-width: 200px; /* Enforced minimum size */
  min-height: 200px; /* Enforced minimum size */
}

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

.page-index__testimonial-author {
  font-weight: bold;
  color: #dc3545;
}

.page-index__faq-section {
  background-color: #ffffff;
}

.page-index__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-item {
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index__faq-question {
  background-color: #007bff;
  color: #ffffff;
  padding: 20px 30px;
  font-size: 1.3em;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index__faq-item.active .page-index__faq-question::after {
  transform: rotate(45deg);
}

.page-index__faq-answer {
  padding: 20px 30px;
  background-color: #f9f9f9;
  color: #444444;
  font-size: 1.1em;
  display: none;
}

.page-index__faq-item.active .page-index__faq-answer {
  display: block;
}

.page-index__faq-answer p {
  margin-bottom: 15px;
}

.page-index__contact-cta {
  text-align: center;
  color: #ffffff;
}

.page-index__btn--large {
  padding: 18px 50px;
  font-size: 1.4em;
}

.page-index__contact-support-text {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-index__link-light {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-index__link-light:hover {
  text-decoration: underline;
}

.page-index__text-center {
  text-align: center;
}

.page-index__text-light {
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__section-subtitle {
    font-size: 1.2em;
  }
  .page-index__about-section .page-index__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-index__feature-icon, .page-index__testimonial-avatar {
    width: 150px;
    height: 150px;
    min-width: 200px; /* Enforced minimum size */
    min-height: 200px; /* Enforced minimum size */
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
    padding: 30px 15px;
  }
  .page-index__hero-content {
    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__btn {
    width: 100%;
    min-width: unset;
  }
  .page-index__section-padding {
    padding: 60px 0;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-index__game-cards-grid, .page-index__promo-grid, .page-index__features-grid, .page-index__testimonial-carousel {
    grid-template-columns: 1fr;
  }
  .page-index__card-image, .page-index__image-full, .page-index__feature-icon, .page-index__testimonial-avatar {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforced minimum size */
    min-height: 200px; /* Enforced minimum size */
  }
  .page-index__download-text {
    font-size: 1.4em;
  }
  .page-index__btn--large {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  .page-index__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-index__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }
  /* Mobile content area images must not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__container {
    padding: 0 15px;
  }
}