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

.page-index__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
}

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

.page-index__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(26, 32, 44, 0.7); /* Semi-transparent dark blue overlay */
  border-radius: 12px;
  color: #ffffff;
}

.page-index__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A202C; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-index__btn--outline {
  background-color: transparent;
  color: #1A202C;
  border: 2px solid #1A202C;
}

.page-index__btn--outline:hover {
  background-color: #1A202C;
  color: #FFD700;
}

.page-index__btn--outline.page-index__btn--light {
  color: #FFD700;
  border-color: #FFD700;
}

.page-index__btn--outline.page-index__btn--light:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #1A202C; /* Dark blue */
  text-align: center;
  margin-bottom: 20px;
}

.page-index__section-title--light {
  color: #FFD700; /* Gold */
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-index__section-description--light {
  color: #f0f0f0;
}

.page-index__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  text-align: center;
}

.page-index__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index__feature-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
}

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

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

.page-index__bg--dark {
  background-color: #1A202C; /* Dark blue background */
  color: #ffffff;
}

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

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

.page-index__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index__game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

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

.page-index__game-text {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index__mobile-app-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-index__mobile-text-content {
  flex: 1;
}

.page-index__mobile-text-content .page-index__section-title {
  text-align: left;
}

.page-index__mobile-text-content .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__app-features li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-index__app-features li img {
  
  
  margin-right: 15px;
  min- /* Ensure icons are not too small */
  min-
  object-fit: contain;
}

.page-index__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__mobile-image {
  width: 400px; /* Display width */
  height: 600px; /* Display height */
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index__promo-spotlight-section {
  padding: 80px 0;
}

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

.page-index__promo-card {
  background-color: #2a3342;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index__promo-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__promo-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

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

.page-index__promo-text {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index__brand-story-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index__brand-story-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-index__brand-text-content {
  flex: 1;
}

.page-index__brand-text-content .page-index__section-title {
  text-align: left;
}

.page-index__brand-text-content .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-index__brand-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__brand-image {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index__resources-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__resource-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-index__resource-title {
  font-size: 1.3em;
  color: #1A202C;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__resource-title a {
  color: #1A202C;
  text-decoration: none;
}

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

.page-index__resource-text {
  font-size: 0.9em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-index__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-content {
  max-width: 900px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }

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

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

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

  .page-index__section-description {
    font-size: 0.95em;
  }

  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__promo-cards-grid,
  .page-index__resources-grid {
    grid-template-columns: 1fr;
  }

  .page-index__mobile-app-content,
  .page-index__brand-story-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__mobile-text-content,
  .page-index__brand-text-content {
    text-align: center;
  }

  .page-index__mobile-text-content .page-index__section-title,
  .page-index__brand-text-content .page-index__section-title {
    text-align: center;
  }

  .page-index__mobile-text-content .page-index__section-description,
  .page-index__brand-text-content .page-index__section-description {
    text-align: center;
  }

  .page-index__mobile-image,
  .page-index__brand-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Constrain image width on smaller screens */
  }

  .page-index__hero-image,
  .page-index__feature-icon,
  .page-index__game-image,
  .page-index__promo-image,
  .page-index__resource-image,
  .page-index__app-features li img {
    max-width: 100%; /* Prevent images from overflowing */
    height: auto; /* Maintain aspect ratio */
  }
  
  /* Ensure all content area images are not smaller than 200px on mobile */
  .page-index img {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Reset width for flexible sizing */
    height: auto; /* Reset height for flexible sizing */
    max-width: 100%; /* Crucial for preventing overflow */
  }

  .page-index__app-features li img {
    min-
    min-
  }
}