/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E5E7EB; /* Light gray for general text on dark background */
  background-color: #1A202C; /* Main dark background */
  line-height: 1.6;
}

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

.page-index__highlight {
  color: #E53E3E;
}

.page-index__section-title {
  font-size: 2.5rem;
  color: #E5E7EB;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: 700;
}

.page-index__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #303A4A 100%); /* Dark gradient */
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-index__hero-content {
  z-index: 10;
  max-width: 800px;
}

.page-index__hero-title {
  font-size: 3.5rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 1.25rem;
  color: #CBD5E0;
  margin-bottom: 40px;
}

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

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

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

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

.page-index__btn--secondary:hover {
  background-color: #E53E3E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-index__btn--large {
  padding: 18px 35px;
  font-size: 1.1rem;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background-color: #E53E3E;
  color: #FFFFFF;
  border: 1px solid #E53E3E;
}

.page-index__btn--small:hover {
  background-color: #C53030;
  border-color: #C53030;
}

.page-index__btn--link {
  color: #E53E3E;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  border: none;
  background: none;
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  max-width: 700px;
  opacity: 0.2;
  z-index: 5;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-index__about {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-index__about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index__about-text {
  flex: 1;
}

.page-index__about-text p {
  margin-bottom: 20px;
  color: #CBD5E0;
}

.page-index__about-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index__features {
  padding: 80px 0;
  background-color: #2D3748; /* Slightly lighter dark background */
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(100%) sepia(0%) saturate(7489%) hue-rotate(240deg) brightness(118%) contrast(110%); /* Make icons white/light */
}

.page-index__feature-title {
  font-size: 1.5rem;
  color: #E53E3E;
  margin-bottom: 15px;
}

.page-index__feature-item p {
  color: #CBD5E0;
  font-size: 0.95rem;
}

.page-index__games {
  padding: 80px 0;
  background-color: #1A202C;
}

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

.page-index__game-item {
  background-color: #2D3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-index__game-title {
  font-size: 1.6rem;
  color: #E53E3E;
  margin: 20px 0 10px;
}

.page-index__game-item p {
  color: #CBD5E0;
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

.page-index__game-item .page-index__btn--small {
  margin-bottom: 20px;
}

.page-index__promo-cta {
  padding: 100px 0;
  background: linear-gradient(90deg, #E53E3E 0%, #C53030 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.page-index__promo-image {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index__promo-text {
  max-width: 700px;
  color: #FFFFFF;
}

.page-index__promo-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index__promo-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #F7FAFC;
}

.page-index__app-download {
  padding: 80px 0;
  background-color: #2D3748;
}

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

.page-index__app-text {
  flex: 1;
}

.page-index__app-text p {
  margin-bottom: 30px;
  color: #CBD5E0;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.page-index__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index__in-depth-content {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-index__in-depth-content h3 {
  font-size: 2rem;
  color: #E53E3E;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-index__in-depth-content p {
  margin-bottom: 15px;
  color: #CBD5E0;
  font-size: 1.05rem;
}

.page-index__in-depth-content ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #CBD5E0;
}

.page-index__in-depth-content li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-index__bold-text {
  font-weight: bold;
  color: #E53E3E;
}

.page-index__text-link {
  color: #E53E3E;
  text-decoration: underline;
}

.page-index__text-link:hover {
  color: #C53030;
}

.page-index__detail-pages {
  padding: 80px 0 100px;
  background-color: #2D3748;
}

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

.page-index__detail-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-5px);
}

.page-index__detail-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: #E53E3E;
  text-decoration: none;
}

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

.page-index__detail-description {
  color: #CBD5E0;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8rem;
  }
  .page-index__hero-description {
    font-size: 1.1rem;
  }
  .page-index__about-grid, .page-index__app-content {
    flex-direction: column;
  }
  .page-index__about-image-wrapper, .page-index__app-image-wrapper {
    order: -1; /* Image first on mobile for app section */
  }
  .page-index__promo-title {
    font-size: 2.5rem;
  }
  .page-index__promo-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-index__section-title {
    font-size: 2rem;
  }
  .page-index__hero {
    padding: 60px 15px;
  }
  .page-index__hero-title {
    font-size: 2.2rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--large {
    width: 100%;
    max-width: 300px;
  }
  .page-index__promo-title {
    font-size: 2rem;
  }
  .page-index__app-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-index__hero-image-wrapper {
    display: none; /* Hide hero image on smaller screens */
  }
}

@media (max-width: 480px) {
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__hero-title {
    font-size: 1.8rem;
  }
  .page-index__promo-title {
    font-size: 1.8rem;
  }
  .page-index__promo-image {
    max-width: 200px;
  }
}