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

.page-index__section-title {
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__section-subtitle {
  color: #CBD5E0; /* Lighter gray for subtitles */
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text-block {
  color: #E2E8F0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold for primary actions */
  color: #1A202C; /* Dark text on gold */
}

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

.page-index__btn--secondary {
  background-color: #2D3748; /* Darker gray for secondary actions */
  color: #FFD700; /* Gold text on dark gray */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #4A5568;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

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

.page-index__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 2;
}

.page-index__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.4em;
  color: #E2E8F0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: -50px;
  right: -50px;
  opacity: 0.1;
  z-index: 1;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Feature Section */
.page-index__feature-section {
  padding: 60px 20px;
  background-color: #1A202C;
}

.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__feature-item {
  background-color: #2D3748;
  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: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__feature-heading {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-index__feature-text {
  color: #CBD5E0;
  font-size: 1em;
}

/* About Section */
.page-index__about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 80px 20px;
  background-color: #2D3748;
}

.page-index__about-content {
  max-width: 800px;
  text-align: left;
}

.page-index__about-content .page-index__section-title {
  text-align: left;
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 30px;
}

.page-index__about-content .page-index__text-block {
  font-size: 1.1em;
  color: #E2E8F0;
}

.page-index__about-image-wrapper {
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* Games Section */
.page-index__games-section {
  padding: 80px 20px;
  background-color: #1A202C;
}

.page-index__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.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;
  display: block;
}

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

.page-index__game-description {
  color: #CBD5E0;
  padding: 0 20px;
  margin-bottom: 20px;
  font-size: 0.95em;
}

/* Promotion Section */
.page-index__promotion-section {
  padding: 80px 20px;
  background-color: #2D3748;
}

.page-index__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__promotion-item {
  background-color: #1A202C;
  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__promotion-item:hover {
  transform: translateY(-5px);
}

.page-index__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index__promotion-title {
  color: #FFD700;
  font-size: 1.7em;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-index__promotion-description {
  color: #CBD5E0;
  padding: 0 20px;
  margin-bottom: 25px;
  font-size: 1em;
}

/* App Download Section */
.page-index__app-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 80px 20px;
  background-color: #1A202C;
}

.page-index__app-content {
  max-width: 800px;
  text-align: center;
}

.page-index__app-content .page-index__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 30px;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-index__app-image-wrapper {
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* Detail Pages Section */
.page-index__detail-pages-section {
  padding: 80px 20px;
  background-color: #2D3748;
}

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

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

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

.page-index__detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__detail-description {
  color: #CBD5E0;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-index__cta-section {
  padding: 100px 20px;
  background: linear-gradient(45deg, #1A202C 0%, #FFD700 100%);
  text-align: center;
}

.page-index__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__cta-content .page-index__section-title {
  color: #1A202C; /* Dark text on brighter background */
  font-size: 3em;
  text-shadow: none;
}

.page-index__cta-description {
  color: #1A202C;
  font-size: 1.5em;
  margin-bottom: 50px;
  font-weight: 500;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-index__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 50px;
  }

  .page-index__hero-content {
    max-width: 50%;
    margin-bottom: 0;
  }

  .page-index__hero-buttons {
    justify-content: flex-start;
  }

  .page-index__hero-image-wrapper {
    position: relative;
    bottom: auto;
    right: auto;
    opacity: 1;
    width: 45%;
    height: auto;
    margin-left: 50px;
  }

  .page-index__about-section,
  .page-index__app-download-section {
    flex-direction: row;
    text-align: left;
    justify-content: center;
  }

  .page-index__about-content,
  .page-index__app-content {
    max-width: 50%;
    text-align: left;
  }

  .page-index__about-content .page-index__section-title,
  .page-index__app-content .page-index__section-title {
    text-align: left;
  }

  .page-index__app-buttons {
    justify-content: flex-start;
  }

  .page-index__about-image-wrapper,
  .page-index__app-image-wrapper {
    margin-left: 50px;
    max-width: 40%;
  }

  .page-index__games-grid,
  .page-index__promotion-grid,
  .page-index__detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__section-title {
    font-size: 3.5em;
  }

  .page-index__cta-content .page-index__section-title {
    font-size: 3.5em;
  }
}

@media (min-width: 1024px) {
  .page-index__games-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-index__promotion-grid,
  .page-index__detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-index__section-title {
    font-size: 4em;
  }

  .page-index__cta-content .page-index__section-title {
    font-size: 4em;
  }
}

@media (max-width: 767px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-index__hero-buttons,
  .page-index__app-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__hero-image-wrapper {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 40px;
    opacity: 1;
  }

  .page-index__about-image-wrapper,
  .page-index__app-image-wrapper {
    margin-top: 40px;
    margin-left: 0;
  }

  .page-index__cta-content .page-index__section-title {
    font-size: 2.5em;
  }

  .page-index__cta-description {
    font-size: 1.2em;
  }
}