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

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

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

.page-index__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

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

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

.page-index__btn--secondary {
  background-color: #1E90FF;
  color: #fff;
  border: 2px solid #1E90FF;
  margin-left: 15px;
}

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

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

.page-index__btn--lg {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #1E90FF, #0056b3);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,pattern,geometric,blue,gold]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

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

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index__hero-buttons .page-index__btn {
  margin: 0 10px;
}

.page-index__hero-image {
  z-index: 1;
  max-width: 600px;
  margin-top: 30px;
}

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

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

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

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

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

.page-index__about-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index__about-item h3 {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__about-item p {
  color: #555;
}

.page-index__read-more-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #666;
}

/* Games Section */
.page-index__games-section {
  padding: 60px 0;
  background-color: #f0f8ff;
}

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

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

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

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-index__game-card h3 {
  font-size: 1.4em;
  color: #1E90FF;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-index__game-card p {
  color: #666;
  padding: 0 15px 20px;
}

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

/* Download Section */
.page-index__download-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #1E90FF, #007bff);
  color: #fff;
}

.page-index__download-section .page-index__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-index__download-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-index__download-content .page-index__section-title {
  color: #FFD700;
  text-align: left;
}

.page-index__download-content .page-index__section-title::after {
  margin-left: 0;
}

.page-index__download-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index__download-buttons .page-index__btn {
  margin-right: 15px;
}

.page-index__download-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 0;
  background-color: #fff;
}

.page-index__promotions-intro {
  text-align: center;
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

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

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

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

.page-index__promo-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.page-index__promo-card h3 {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__promo-card p {
  color: #555;
  margin-bottom: 20px;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  padding: 60px 0;
  background-color: #f0f8ff;
}

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

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

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

.page-index__detail-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index__detail-item h3 a {
  color: #1E90FF;
  text-decoration: none;
}

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

.page-index__detail-item p {
  color: #666;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index__cta-section {
  background: linear-gradient(135deg, #FFD700, #ffa500);
  padding: 80px 0;
  text-align: center;
  color: #333;
}

.page-index__cta-title {
  font-size: 3em;
  color: #1E90FF;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-index__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.page-index__cta-section .page-index__btn--lg {
  background-color: #1E90FF;
  color: #fff;
  border: 2px solid #1E90FF;
}

.page-index__cta-section .page-index__btn--lg:hover {
  background-color: #1a7fd9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__download-section .page-index__container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__download-content .page-index__section-title {
    text-align: center;
  }
  .page-index__download-content .page-index__section-title::after {
    margin-left: auto;
  }
  .page-index__download-buttons .page-index__btn {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-index__hero-buttons .page-index__btn {
    margin: 0;
  }
  .page-index__about-grid, .page-index__game-grid, .page-index__promo-grid, .page-index__detail-list {
    grid-template-columns: 1fr;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-section, .page-index__download-section, .page-index__cta-section {
    padding: 60px 0;
  }
  .page-index__btn {
    padding: 10px 20px;
  }
  .page-index__btn--lg {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}