.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A2239; /* Primary dark blue background */
}

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

.page-index__section-title {
  color: #FFD700; /* Gold for titles */
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__section-title--light {
  color: #FFFFFF; /* White for titles on darker background sections */
}

.page-index__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 60px;
  color: #B0B0B0;
}

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2239; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #E0B500; /* Darker gold */
  border-color: #E0B500;
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
}

.page-index__btn--alt {
  background-color: #FFD700;
  color: #0A2239;
  border: none;
  padding: 16px 35px;
  font-size: 1.2em;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-index__btn--alt:hover {
  background-color: #E0B500;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFD700;
  color: #0A2239;
  border: none;
}

.page-index__btn--small:hover {
  background-color: #E0B500;
}

/* 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, #0A2239 0%, #2a4a6b 100%); /* Gradient from dark blue */
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

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

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

.page-index__hero-subtitle {
  font-size: 1.4em;
  color: #B0B0B0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.page-index__about-section {
  padding: 100px 0;
  background-color: #0A2239;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-index__about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-index__about-image-wrapper {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
}

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

/* Features Section */
.page-index__features-section {
  padding: 100px 0;
  background-color: #12304d;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-index__feature-item {
  background-color: #0A2239;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  filter: drop-shadow(0 5px 10px rgba(255, 215, 0, 0.3));
}

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

.page-index__feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #B0B0B0;
}

/* Promo CTA Section */
.page-index__promo-cta-section {
  background-color: #0A2239;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__promo-text {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Games Section */
.page-index__games-section {
  padding: 100px 0;
  background-color: #12304d;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-index__game-item {
  background-color: #0A2239;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  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 15px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-index__game-item p {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.5;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-index__game-item .page-index__btn {
  margin: 0 20px 20px 20px;
}

/* App Download Section */
.page-index__app-download-section {
  background-color: #0A2239;
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__app-download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
}

.page-index__app-text-wrapper {
  max-width: 700px;
}

.page-index__app-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-index__app-image-wrapper {
  flex-shrink: 0;
  width: 100%;
  max-width: 400px;
}

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

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

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

.page-index__detail-item {
  background-color: #0A2239;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__detail-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index__detail-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

.page-index__detail-description {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Contact CTA Section */
.page-index__contact-cta-section {
  background-color: #0A2239;
  padding: 80px 20px;
  text-align: center;
  margin-top: -1px; /* Overlap with previous section border */
}

.page-index__contact-text {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-index__hero-section {
    flex-direction: row;
    text-align: left;
    padding: 120px 40px;
  }

  .page-index__hero-content {
    max-width: 50%;
    margin-right: 50px;
  }

  .page-index__hero-title {
    font-size: 4.5em;
  }

  .page-index__hero-subtitle {
    font-size: 1.6em;
  }

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

  .page-index__about-content {
    flex-direction: row;
    text-align: left;
  }

  .page-index__about-text {
    flex: 1;
    padding-right: 50px;
  }

  .page-index__about-image-wrapper {
    max-width: 45%;
  }

  .page-index__app-download-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-index__app-text-wrapper {
    flex: 1;
    padding-right: 50px;
  }

  .page-index__app-image-wrapper {
    max-width: 350px;
  }
}

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

  .page-index__hero-subtitle {
    font-size: 1.2em;
  }

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

  .page-index__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-index__about-text, .page-index__promo-text, .page-index__app-description, .page-index__contact-text {
    font-size: 1em;
  }

  .page-index__feature-item, .page-index__game-item, .page-index__detail-item {
    padding: 25px;
  }

  .page-index__feature-title, .page-index__game-title, .page-index__detail-title {
    font-size: 1.4em;
  }

  .page-index__features-section, .page-index__games-section, .page-index__app-download-section, .page-index__detail-pages-section, .page-index__about-section, .page-index__promo-cta-section, .page-index__contact-cta-section {
    padding: 60px 0;
  }
}