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

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

.page-index__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.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;
  text-align: center;
  white-space: nowrap;
}

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

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

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

.page-index__btn--secondary:hover {
  background-color: #003366;
  color: #fff;
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #003366, #001a33);
  padding: 100px 0;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.page-index__hero-content {
  flex: 1;
  padding-right: 40px;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  color: #e0e0e0;
}

.page-index__hero-actions .page-index__btn {
  margin-right: 15px;
}

.page-index__hero-image-wrapper {
  flex: 1;
  text-align: right;
}

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

/* About Section */
.page-index__about {
  padding: 80px 0;
  background-color: #fff;
}

.page-index__about .page-index__btn {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-index__promotions {
  padding: 80px 0;
  background-color: #f0f8ff;
}

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

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

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

.page-index__promo-image {
  max-width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__promo-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index__promo-text {
  color: #666;
  margin-bottom: 25px;
}

/* Game Categories Section */
.page-index__games {
  padding: 80px 0;
  background-color: #fff;
}

.page-index__game-category {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px dashed #eee;
}

.page-index__game-category:last-of-type {
  border-bottom: none;
}

.page-index__game-category-title {
  font-size: 2em;
  color: #003366;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-index__game-content--reverse {
  flex-direction: row-reverse;
}

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

.page-index__game-text {
  flex: 1;
  max-width: 50%;
  color: #444;
}

.page-index__game-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-index__game-text .page-index__btn {
  margin-top: 20px;
}

/* User Experience Section */
.page-index__experience {
  padding: 80px 0;
  background-color: #f0f8ff;
}

.page-index__experience .page-index__btn {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Latest Articles/News Section */
.page-index__news {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__article-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-index__article-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index__article-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-index__article-excerpt {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
  min-height: 90px; /* Ensure consistent height for excerpts */
}

.page-index__article-date {
  font-size: 0.85em;
  color: #999;
  display: block;
  text-align: right;
}

.page-index__news .page-index__btn {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Guides & Support Section */
.page-index__guides {
  padding: 80px 0;
  background-color: #e6f2ff;
}

.page-index__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 600px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-index__guide-list li {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-index__guide-list li:hover {
  transform: translateX(5px);
}

.page-index__guide-link {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-index__guide-link:hover {
  color: #FFD700;
}

.page-index__guides .page-index__btn {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.page-index__contact {
  padding: 80px 0;
  background-color: #003366;
  color: #fff;
}

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

.page-index__contact .page-index__section-title::after {
  background-color: #fff;
}

.page-index__contact .page-index__section-description {
  color: #e0e0e0;
}

.page-index__contact-info {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
}

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

.page-index__contact-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__contact-link:hover {
  color: #fff;
}

.page-index__contact .page-index__btn {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: #DC143C;
  border-color: #DC143C;
  color: #fff;
}

.page-index__contact .page-index__btn:hover {
  background-color: #b00c2c;
  border-color: #b00c2c;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__game-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__game-content--reverse {
    flex-direction: column;
  }
  .page-index__game-image,
  .page-index__game-text {
    max-width: 100%;
  }
  .page-index__game-image {
    margin-bottom: 20px;
  }
  .page-index__hero-content {
    padding-right: 0;
    text-align: center;
  }
  .page-index__hero-image-wrapper {
    display: none; /* Hide hero image on smaller screens for better content focus */
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 60px 0;
    min-height: auto;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-description {
    font-size: 1em;
  }
  .page-index__promo-grid,
  .page-index__article-grid {
    grid-template-columns: 1fr;
  }
  .page-index__hero-actions .page-index__btn {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  .page-index__hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__promo-title {
    font-size: 1.3em;
  }
  .page-index__game-category-title {
    font-size: 1.7em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}