/* style/index.css */
.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); /* Ensures content is not hidden by fixed header */
}

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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #1A202C; /* Dark background for hero section */
  color: #ffffff;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image to make text pop */
}

.page-index__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

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

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

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

.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.3s ease;
  white-space: nowrap;
}

.page-index__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  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: #1A202C;
  transform: translateY(-2px);
}

.page-index__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #1A202C;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-index__button--small:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-index__about-section, .page-index__features-section, .page-index__games-section,
.page-index__promotions-section, .page-index__mobile-app-section, .page-index__info-section,
.page-index__cta-section, .page-index__responsible-gaming-section, .page-index__customer-support-section,
.page-index__payments-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index__features-grid, .page-index__games-grid, .page-index__info-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-index__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__feature-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

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

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

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

.page-index__game-card {
  display: block;
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__game-title {
  font-size: 1.8em;
  color: #FFD700;
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 15px;
}

.page-index__game-link {
  display: block;
  padding: 15px 20px;
  background-color: #FFD700;
  color: #1A202C;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
}

.page-index__promotions-section {
  background-color: #f0f0f0;
  text-align: center;
}

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

.page-index__mobile-app-section .page-index__section-title {
  color: #FFD700;
}

.page-index__mobile-app-section .page-index__paragraph {
  color: #f0f0f0;
}

.page-index__mobile-content {
  max-width: 600px;
}

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

.page-index__mobile-app-section .page-index__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

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

.page-index__info-card {
  background-color: #1A202C;
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-index__info-title a:hover {
  color: #e6c200;
}

.page-index__info-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-index__cta-section {
  background: linear-gradient(135deg, #1A202C, #3a475a);
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-index__cta-section .page-index__section-title {
  color: #FFD700;
}

.page-index__cta-section .page-index__paragraph {
  color: #f0f0f0;
}

.page-index__responsible-gaming-section, .page-index__customer-support-section, .page-index__payments-section {
  text-align: center;
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-index__customer-support-section {
  background-color: #e6e6e6;
}

.page-index__payments-section {
  background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__mobile-app-section .page-index__container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__mobile-content {
    max-width: 100%;
  }
  .page-index__mobile-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 40px 15px;
  }
  .page-index__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-index__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
  }
  .page-index__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-index__about-section, .page-index__features-section, .page-index__games-section,
  .page-index__promotions-section, .page-index__mobile-app-section, .page-index__info-section,
  .page-index__cta-section, .page-index__responsible-gaming-section, .page-index__customer-support-section,
  .page-index__payments-section {
    padding: 40px 0;
  }
  .page-index__feature-card, .page-index__game-card, .page-index__info-card {
    padding: 25px;
  }
  .page-index__feature-title, .page-index__game-title, .page-index__info-title {
    font-size: 1.3em;
  }
  .page-index__paragraph {
    font-size: 0.95em;
  }
  
  /* Mobile content area images must not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-icon, .page-index__game-image, .page-index__mobile-image {
    width: 100%; /* Ensure images scale down */
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-index__mobile-image {
    width: 250px; /* A fixed width for the app image for better presentation */
    height: auto;
  }
  .page-index__hero-image {
    min-width: 100%;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-actions {
    gap: 10px;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__game-image {
    height: 200px;
  }
  .page-index__mobile-image {
    width: 200px;
  }
}