.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text */
  background-color: #1A1A1A; /* Dark background */
  line-height: 1.6;
}

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

.page-index-section-title {
  color: #FFD700; /* Gold for titles */
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.page-index-section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #C0C0C0;
}

.page-index-text-center {
  text-align: center;
}

.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;
  font-size: 1.05em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 10px;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text on gold */
  border: 2px solid #FFD700;
}

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

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

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-2px);
}

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

.page-index-btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-index-btn-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-btn-link:hover {
  text-decoration: underline;
  color: #e6c200;
}

/* Hero Section */
.page-index-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%); /* Dark gradient */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-index-hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

.page-index-hero-cta {
  margin-top: 30px;
}

.page-index-hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  max-width: 800px;
  opacity: 0.2;
  z-index: 0;
}

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

/* About Section */
.page-index-about {
  padding: 60px 0;
  background-color: #121212;
}

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

.page-index-feature-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px 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 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-index-feature-text {
  color: #B0B0B0;
  font-size: 1em;
}

/* Games Section */
.page-index-games {
  padding: 60px 0;
  background-color: #1A1A1A;
}

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

.page-index-game-item {
  background-color: #222222;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-index-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-index-game-title {
  color: #FFD700;
  font-size: 1.5em;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-index-game-text {
  color: #B0B0B0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-game-item .page-index-btn {
  margin-top: auto;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promotions {
  padding: 60px 0;
  background-color: #121212;
}

.page-index-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-index-promo-item {
  background-color: #222222;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-index-promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-index-promo-title {
  color: #FFD700;
  font-size: 1.4em;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-index-promo-text {
  color: #B0B0B0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-promo-item .page-index-btn {
  margin-top: auto;
  margin-bottom: 20px;
}

/* App Download Section */
.page-index-app-download {
  padding: 60px 0;
  background-color: #1A1A1A;
}

.page-index-app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-index-app-content {
  flex: 1;
  min-width: 300px;
}

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

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

.page-index-app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-index-app-features 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="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
}

/* Trust Section (Responsible Gambling) */
.page-index-trust {
  padding: 60px 0;
  background-color: #121212;
}

.page-index-responsible-gambling-list {
  list-style: disc;
  margin: 30px auto;
  max-width: 800px;
  padding-left: 40px;
  font-size: 1.1em;
  color: #C0C0C0;
}

.page-index-responsible-gambling-list li {
  margin-bottom: 10px;
}

.page-index-responsible-gambling-note {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  font-size: 1.1em;
  color: #FFD700;
}

/* More Info / Detail Pages Section */
.page-index-more-info {
  padding: 60px 0;
  background-color: #1A1A1A;
}

.page-index-detail-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-index-detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index-detail-title {
  font-size: 1.6em;
  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 {
  color: #B0B0B0;
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-detail-item .page-index-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Final CTA Section */
.page-index-cta-final {
  padding: 60px 0 80px;
  background-color: #121212;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 60px 15px;
  }
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-cta .page-index-btn {
    margin: 8px;
  }
  .page-index-section-title {
    font-size: 2em;
    padding-top: 30px;
  }
  .page-index-section-description {
    font-size: 0.95em;
  }
  .page-index-app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-index-app-content,
  .page-index-app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-index-app-features {
    padding-left: 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 0.9em;
  }
  .page-index-hero-cta {
    display: flex;
    flex-direction: column;
  }
  .page-index-hero-cta .page-index-btn {
    width: 80%;
    margin: 8px auto;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-btn-large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-responsible-gambling-list {
    padding-left: 20px;
  }
}

/* Ensure color contrast for all text */
.page-index h1, .page-index h2, .page-index h3, .page-index a.page-index-btn, .page-index-hero-title, .page-index-feature-title, .page-index-game-title, .page-index-promo-title, .page-index-detail-title a, .page-index-responsible-gambling-note {
  color: #FFD700;
}

.page-index p, .page-index li, .page-index-hero-description, .page-index-section-description, .page-index-feature-text, .page-index-game-text, .page-index-promo-text, .page-index-app-features li, .page-index-responsible-gambling-list li, .page-index-detail-description {
  color: #E0E0E0;
}

.page-index .page-index-btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-index .page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-index .page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}