/* style/index.css */
.page-index {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A202C;
}

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

.page-index-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-bg-dark {
  background-color: #1A202C;
}

.page-index-section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index-section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-text-gold {
  color: #FFD700;
}

.page-index-text-white {
  color: white;
}

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

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

.page-index-hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.page-index-hero-description {
  font-size: 1.3em;
  color: white;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-index-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

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

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

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

.page-index-btn-tertiary {
  background-color: #333d4e;
  color: white;
  border: 2px solid #333d4e;
}

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

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

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

/* About Section */
.page-index-about {
  background-color: #2a3340;
}

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

.page-index-about-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-index-about-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

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

.page-index-read-more a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-index-read-more a:hover {
  text-decoration: underline;
}

/* Games Section */
.page-index-games {
  background-color: #1A202C;
}

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

.page-index-game-card {
  background-color: #2a3340;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

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

.page-index-game-text {
  font-size: 1em;
  color: #E0E0E0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-btn-outline-gold {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-bottom: 20px;
  align-self: center;
}

.page-index-btn-outline-gold:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-index-all-games a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-index-all-games a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-index-promotions {
  background-color: #2a3340;
}

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

.page-index-promo-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-index-promo-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

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

.page-index-promo-text {
  font-size: 1em;
  color: #E0E0E0;
  margin-bottom: 30px;
}

.page-index-view-all-promos a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-index-view-all-promos a:hover {
  text-decoration: underline;
}

/* App Download Section */
.page-index-app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  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);
}

.page-index-app-buttons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.page-index-qr-code {
  width: 150px;
  height: 150px;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-index-why-choose {
  background-color: #2a3340;
}

.page-index-why-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-why-list li {
  background-color: #1A202C;
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-index-list-icon {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
}

.page-index-cta-final {
  margin-top: 50px;
  font-size: 1.2em;
}

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

.page-index-link-gold:hover {
  text-decoration: underline;
}

/* Detailed Pages Section */
.page-index-detailed-pages {
  background-color: #1A202C;
}

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

.page-index-detail-card {
  background-color: #2a3340;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.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: #E0E0E0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-detail-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-index-detail-description a:hover {
  text-decoration: underline;
}

/* Floating Ad */
.page-index-floating-ad {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #FFD700;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.page-index-floating-ad:hover {
  transform: translateY(-5px);
}

.page-index-floating-ad a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1A202C;
}

.page-index-floating-ad-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

.page-index-floating-ad-text {
  font-weight: 700;
  font-size: 1.1em;
}

/* 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%;
  }
  .page-index-app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-index-app-content {
    order: 2;
  }
  .page-index-app-image-wrapper {
    order: 1;
  }
  .page-index-app-buttons {
    justify-content: center;
  }
  .page-index-why-list {
    text-align: center;
  }
  .page-index-why-list li {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .page-index-list-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 80px 15px;
  }
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-hero-image-wrapper {
    width: 80%;
    opacity: 0.1;
  }
  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-floating-ad {
    right: 10px;
    bottom: 10px;
    padding: 8px 15px;
  }
  .page-index-floating-ad-text {
    font-size: 0.9em;
  }
  .page-index-floating-ad-icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-btn {
    font-size: 1em;
    padding: 12px 25px;
  }
}