/* style/index.css */
.page-index {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-index__section-title {
  font-size: 2.5rem;
  color: #007bff;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.page-index__section-subtitle {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-section {
  position: relative;
  background: linear-gradient(135deg, #007bff, #ffc107);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-index__hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-index__btn--primary {
  background-color: #ffc107;
  color: #007bff;
  border-color: #ffc107;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.page-index__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-3px);
}

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

.page-index__about-section,
.page-index__promo-section,
.page-index__games-section,
.page-index__articles-section,
.page-index__guides-section,
.page-index__contact-section {
  padding: 80px 0;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index__about-section {
  background-color: #f0f8ff;
}

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

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

.page-index__about-text p {
  margin-bottom: 1rem;
  color: #444;
}

.page-index__subsection-title {
  font-size: 1.8rem;
  color: #007bff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-index__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1.5rem;
}

.page-index__list li {
  margin-bottom: 0.5rem;
  color: #555;
}

.page-index__about-image {
  flex: 0 0 400px;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index__promo-grid,
.page-index__game-grid,
.page-index__article-grid,
.page-index__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.page-index__promo-item,
.page-index__game-item,
.page-index__article-card,
.page-index__guide-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-item:hover,
.page-index__game-item:hover,
.page-index__article-card:hover,
.page-index__guide-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index__promo-image,
.page-index__game-image,
.page-index__article-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.page-index__promo-title,
.page-index__game-title,
.page-index__article-title {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 0.8rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index__promo-description,
.page-index__game-description,
.page-index__article-excerpt {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  min-height: 72px;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 25px;
}

.page-index__promo-note,
.page-index__app-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 1rem;
  color: #555;
}

.page-index__btn--download {
  margin-top: 2rem;
}

.page-index__article-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.page-index__read-more {
  display: inline-block;
  color: #ffc107;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
}

.page-index__read-more:hover {
  text-decoration: underline;
  color: #e0a800;
}

.page-index__guide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.page-index__guide-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.page-index__guide-title {
  font-size: 1.3rem;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.page-index__guide-description {
  font-size: 0.9rem;
  color: #666;
}

.page-index__contact-info {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #444;
}

.page-index__contact-info p {
  margin-bottom: 0.8rem;
}

.page-index__contact-link {
  color: #007bff;
  text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8rem;
  }
  .page-index__hero-description {
    font-size: 1.1rem;
  }
  .page-index__about-content {
    flex-direction: column;
  }
  .page-index__about-image {
    max-width: 100%;
    flex: none;
  }
  .page-index__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__hero-buttons {
    flex-direction: column;
  }
  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__promo-grid,
  .page-index__game-grid,
  .page-index__article-grid,
  .page-index__guides-grid {
    grid-template-columns: 1fr;
  }
  .page-index__about-section,
  .page-index__promo-section,
  .page-index__games-section,
  .page-index__articles-section,
  .page-index__guides-section,
  .page-index__contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .page-index__hero-title {
    font-size: 1.8rem;
  }
  .page-index__hero-description {
    font-size: 0.9rem;
  }
  .page-index__btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__section-subtitle {
    font-size: 0.9rem;
  }
  .page-index__promo-item,
  .page-index__game-item,
  .page-index__article-card,
  .page-index__guide-item {
    padding: 20px;
  }
  .page-index__promo-title,
  .page-index__game-title,
  .page-index__article-title {
    font-size: 1.3rem;
  }
}

/* Color Contrast Adjustments */
.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6 {
  color: #007bff; /* Primary blue for headings */
}
.page-index__hero-title, .page-index__hero-description {
  color: #fff; /* White text on gradient background */
}
.page-index p, .page-index li {
  color: #333; /* Dark text on light background */
}
.page-index__btn--primary {
  color: #007bff; /* Dark blue text on amber button */
}
.page-index__btn--secondary {
  color: #fff; /* White text on transparent/blue background */
}
.page-index__read-more {
  color: #ffc107; /* Amber link on white background */
}
.page-index__contact-link {
  color: #007bff; /* Primary blue link on white background */
}
.page-index__promo-description, .page-index__game-description, .page-index__article-excerpt, .page-index__guide-description {
  color: #666; /* Dark grey text for descriptions */
}
.page-index__article-meta {
  color: #999; /* Lighter grey for meta info */
}