.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* White text for dark backgrounds */
  line-height: 1.6;
  background-color: #2a004a; /* A slightly lighter dark purple for overall background */
}

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

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

.page-index__hero-section {
  background: linear-gradient(135deg, #4B0082 0%, #7c00c7 100%); /* Deep purple to a slightly lighter purple */
  padding: 100px 0;
  text-align: center;
  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,geometric,luxury,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index__hero-section .page-index__container {
  position: relative;
  z-index: 1;
}

.page-index__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold for hero title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 1.4em;
  color: #e0e0e0; /* Light grey for description */
  max-width: 900px;
  margin: 0 auto 40px;
}

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

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #4B0082; /* Deep purple text */
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index__btn--secondary {
  background-color: #4B0082; /* Deep purple button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  box-shadow: 0 5px 15px rgba(75, 0, 130, 0.4);
}

.page-index__btn--secondary:hover {
  background-color: #3a0066; /* Darker purple on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(75, 0, 130, 0.6);
}

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

.page-index__features-section,
.page-index__games-section,
.page-index__promotion-section,
.page-index__lottery-section,
.page-index__app-download-section,
.page-index__detail-pages-section,
.page-index__contact-section {
  padding: 80px 0;
}

.page-index__features-section {
  background-color: #1a0033; /* Darker purple for features */
}

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

.page-index__feature-item {
  background-color: #4B0082; /* Deep purple background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index__feature-text {
  font-size: 1.1em;
  color: #cccccc; /* Light grey text */
}

.page-index__games-section {
  background-color: #2a004a;
}

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

.page-index__game-item {
  background-color: #4B0082;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

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

.page-index__game-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px;
}

.page-index__btn--small {
  padding: 10px 25px;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-index__promotion-section {
  background-color: #1a0033;
}

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

.page-index__promotion-image {
  flex: 1 1 45%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-index__promotion-details {
  flex: 1 1 45%;
}

.page-index__promotion-text {
  font-size: 1.15em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-index__promotion-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-index__promotion-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.1em;
}

.page-index__lottery-section {
  background-color: #2a004a;
}

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

.page-index__lottery-image {
  flex: 1 1 45%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-index__lottery-details {
  flex: 1 1 45%;
}

.page-index__lottery-text {
  font-size: 1.15em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-index__lottery-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-index__lottery-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.1em;
}

.page-index__app-download-section {
  background: linear-gradient(135deg, #1a0033 0%, #4B0082 100%);
  padding: 80px 0;
  text-align: center;
}

.page-index__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-index__app-text-content {
  flex: 1 1 45%;
  max-width: 550px;
  text-align: left;
}

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

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.page-index__btn--app {
  background-color: #FFD700;
  color: #4B0082;
  padding: 12px 25px;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-index__btn--app:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

.page-index__app-qr-info {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index__qr-code {
  width: 150px;
  height: 150px;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__app-image {
  flex: 1 1 45%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.page-index__detail-pages-section {
  background-color: #1a0033;
}

.page-index__detail-intro {
  font-size: 1.2em;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index__detail-item {
  background-color: #4B0082;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-index__detail-title a {
  color: #FFD700; /* Gold link for titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__detail-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-index__btn--link {
  background-color: #FFD700;
  color: #4B0082;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
}

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

.page-index__contact-section {
  background-color: #2a004a;
  text-align: center;
}

.page-index__contact-text {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-index__footer {
  background-color: #1a0033;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #4B0082;
}

.page-index__copyright {
  font-size: 0.95em;
  color: #888888;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__promotion-content,
  .page-index__lottery-content,
  .page-index__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__promotion-image,
  .page-index__lottery-image,
  .page-index__app-image {
    max-width: 80%;
  }
  .page-index__app-text-content {
    text-align: center;
  }
  .page-index__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__feature-grid,
  .page-index__game-grid,
  .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promotion-image,
  .page-index__lottery-image,
  .page-index__app-image {
    max-width: 90%;
  }
  .page-index__promotion-list li,
  .page-index__lottery-list li {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__btn {
    width: 90%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .page-index__hero-section,
  .page-index__features-section,
  .page-index__games-section,
  .page-index__promotion-section,
  .page-index__lottery-section,
  .page-index__app-download-section,
  .page-index__detail-pages-section,
  .page-index__contact-section {
    padding: 50px 0;
  }
  .page-index__feature-heading {
    font-size: 1.5em;
  }
  .page-index__game-item h3 {
    font-size: 1.4em;
  }
  .page-index__app-buttons {
    flex-direction: column;
  }
}