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

.page-index-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-index-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  border-radius: 2px;
}

.page-index-section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.page-index-text-white {
  color: #ffffff;
}

.page-index-text-center {
  text-align: center;
}

.page-index-mt-4 {
  margin-top: 40px;
}

.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-index-btn-primary {
  background-color: #007bff;
  color: #ffffff;
  margin-right: 15px;
}

.page-index-btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-index-btn-secondary {
  background-color: #ffc107;
  color: #333;
}

.page-index-btn-secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-btn-cta {
  background-color: #ffc107;
  color: #333;
  font-size: 1.2em;
  padding: 15px 30px;
  margin: 0 10px;
}

.page-index-btn-cta:hover {
  background-color: #e0a800;
}

.page-index-btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #007bff;
  color: #ffffff;
}

.page-index-btn-small:hover {
  background-color: #0056b3;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index-hero-content {
  flex: 1;
  padding-right: 30px;
  z-index: 1;
}

.page-index-hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-index-hero-actions .page-index-btn {
  margin-top: 20px;
}

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

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

/* About Section */
.page-index-about {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

.page-index-feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-index-feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.page-index-feature-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index-feature-text {
  font-size: 1em;
  color: #666;
}

/* Promo Section */
.page-index-promo-section {
  background-color: #007bff;
  padding: 80px 0;
  background-image: url('[IMAGE:promo_bg]');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-index-promo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 123, 255, 0.85); /* Overlay for readability */
}

.page-index-promo-section .page-index-container {
  position: relative;
  z-index: 1;
}

.page-index-promo-section .page-index-section-title, .page-index-promo-section .page-index-section-description {
  color: #ffffff;
}

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

.page-index-promo-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-promo-item:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.page-index-promo-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffc107;
}

.page-index-promo-text {
  font-size: 0.95em;
  margin-bottom: 15px;
}

.page-index-promo-code {
  display: inline-block;
  background-color: #ffc107;
  color: #333;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9em;
}

/* Game Reviews Section */
.page-index-game-reviews {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index-game-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.page-index-game-item h3, .page-index-game-item p, .page-index-game-item a {
  padding: 0 20px;
}

.page-index-game-title {
  font-size: 1.4em;
  color: #007bff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-index-game-text {
  font-size: 0.95em;
  color: #666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-game-item .page-index-btn-small {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Latest News Section */
.page-index-latest-news {
  padding: 80px 0;
  background-color: #e9ecef;
}

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

.page-index-news-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.page-index-news-title {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index-news-date {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 15px;
}

.page-index-news-excerpt {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

.page-index-news-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-news-link:hover {
  color: #e0a800;
  text-decoration: underline;
}

/* Contact CTA Section */
.page-index-contact-cta {
  background: linear-gradient(135deg, #0056b3, #007bff);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-index-contact-cta .page-index-section-title {
  color: #ffffff;
}

.page-index-contact-cta .page-index-section-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-contact-info {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-index-contact-info p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-content {
    padding-right: 0;
    text-align: center;
  }

  .page-index-hero-image-wrapper {
    margin-top: 40px;
  }

  .page-index-hero-title {
    font-size: 3em;
  }

  .page-index-hero-description {
    font-size: 1.1em;
  }

  .page-index-hero .page-index-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 80px 0;
  }

  .page-index-hero-title {
    font-size: 2.5em;
  }

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

  .page-index-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index-btn-primary {
    margin-right: 10px;
  }

  .page-index-btn-cta {
    font-size: 1.1em;
    padding: 12px 25px;
  }

  .page-index-promo-grid, .page-index-game-grid, .page-index-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .page-index-hero-title {
    font-size: 2em;
  }

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

  .page-index-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-index-hero-actions .page-index-btn {
    width: 80%;
    margin: 10px 0;
  }

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