.page-index {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

.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: 2;
  text-align: center;
  color: #ffffff; /* White text over dark hero image */
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  max-width: 800px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-index__hero-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, transform 0.3s ease;
}

.page-index__hero-button--primary {
  background-color: #FFD700; /* Gold */
  color: #0F1A2B; /* Dark blue */
}

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

.page-index__hero-button--secondary {
  background-color: #0F1A2B; /* Dark blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-index__hero-button--secondary:hover {
  background-color: #1a2b42;
  transform: translateY(-2px);
}

.page-index__section-title {
  font-size: 2.5em;
  color: #0F1A2B; /* Dark blue */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

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

.page-index__about-section,
.page-index__security-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-index__about-text p,
.page-index__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-index__about-image,
.page-index__security-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0F1A2B; /* Dark blue */
  color: #FFD700; /* Gold */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

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

.page-index__games-section {
  padding: 60px 0;
}

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

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

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

.page-index__game-title {
  font-size: 1.5em;
  color: #0F1A2B;
  margin-bottom: 10px;
}

.page-index__game-description {
  padding: 0 20px;
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-index__game-button {
  margin-top: 0;
}

.page-index__promotions-section,
.page-index__app-section {
  background-color: #0F1A2B; /* Dark blue background */
  padding: 60px 0;
  color: #ffffff; /* White text */
}

.page-index__promotions-section .page-index__section-title,
.page-index__app-section .page-index__section-title {
  color: #FFD700; /* Gold title */
}

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

.page-index__promotions-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__promotions-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-index__promotions-button {
  background-color: #FFD700;
  color: #0F1A2B;
}

.page-index__promotions-button:hover {
  background-color: #e6c200;
}

.page-index__app-container {
  text-align: center;
}

.page-index__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-index__app-image {
  width: 100%;
  max-width: 350px; /* Constrain app image width */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index__app-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-index__app-button {
  background-color: #FFD700;
  color: #0F1A2B;
}

.page-index__app-button:hover {
  background-color: #e6c200;
}

.page-index__support-section {
  padding: 60px 0;
  text-align: center;
}

.page-index__support-content p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

.page-index__seo-content {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-index__section-title--seo {
  color: #0F1A2B;
  margin-bottom: 50px;
}

.page-index__seo-content h3 {
  font-size: 2em;
  color: #0F1A2B;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-index__seo-content h4 {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__seo-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-index__seo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index__seo-cta {
  margin-top: 25px;
  margin-bottom: 30px;
}

.page-index__seo-final-cta {
  text-align: center;
  margin-top: 60px;
}

.page-index__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #0F1A2B;
}

.page-index__button--large:hover {
  background-color: #e6c200;
}

/* 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 {
    font-size: 2em;
  }

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

  .page-index__promotions-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-index__about-grid,
  .page-index__security-grid {
    grid-template-columns: 1fr;
  }

  .page-index__about-image,
  .page-index__security-image,
  .page-index__promotions-image {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__hero-actions {
    flex-direction: column;
  }

  .page-index__hero-button {
    width: 100%;
    max-width: 300px;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__game-image,
  .page-index__about-image,
  .page-index__security-image,
  .page-index__promotions-image,
  .page-index__app-image,
  .page-index__seo-image {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly */
  }

  .page-index__seo-content h3 {
    font-size: 1.7em;
  }

  .page-index__seo-content h4 {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__hero-description {
    font-size: 0.9em;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__seo-content h3 {
    font-size: 1.5em;
  }

  .page-index__seo-content h4 {
    font-size: 1.2em;
  }
}

/* Ensure all content images are not smaller than 200px in content area */
.page-index img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-index img {
    max-width: 100%;
    height: auto;
    min-width: unset; /* Allow images to shrink below 200px if needed for mobile responsive, but max-width: 100% ensures they don't overflow */
    min-height: unset;
  }
}