/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Default text color for dark backgrounds */
  line-height: 1.6;
}

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

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A237E; /* Dark Blue */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e5c100;
  color: #0d124b;
}

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
}

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

.page-index__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  font-weight: normal;
}

.page-index__btn--text:hover {
  color: #e5c100;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 50px;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  background-image: url('[GALLERY:hero:77bet,game,casino,lights,dynamic]');
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure sufficient height */
}

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 35, 126, 0.7); /* Dark Blue with transparency */
  z-index: 1;
}

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

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  font-weight: bold;
}

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

.page-index__hero-actions {
  margin-top: 30px;
}

/* About Section */
.page-index__about-section {
  background-color: #1A237E; /* Dark Blue */
  padding: 80px 0;
}

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

.page-index__about-text {
  flex: 1;
  min-width: 300px;
  color: #E0E0E0;
}

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

.page-index__img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Games Section */
.page-index__games-section {
  background-color: #0d124b; /* Slightly darker blue */
  padding: 80px 0;
}

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

.page-index__game-card {
  background-color: #1A237E; /* Dark Blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__game-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #E0E0E0;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

/* Promotions Section */
.page-index__promo-section {
  background-color: #1A237E; /* Dark Blue */
  padding: 80px 0;
}

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

.page-index__promo-card {
  background-color: #0d124b; /* Slightly darker blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__promo-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promo-description {
  font-size: 1em;
  color: #E0E0E0;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Why Choose Section */
.page-index__why-choose-section {
  background-color: #0d124b; /* Slightly darker blue */
  padding: 80px 0;
}

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

.page-index__feature-item {
  background-color: #1A237E; /* Dark Blue */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.page-index__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 0.95em;
  color: #E0E0E0;
}

/* CTA Download Section */
.page-index__cta-download {
  background-color: #FFD700; /* Gold */
  padding: 60px 0;
  text-align: center;
  color: #1A237E; /* Dark Blue */
  position: relative;
  overflow: hidden;
}

.page-index__cta-download-content {
  position: relative;
  z-index: 2;
}

.page-index__cta-title {
  font-size: 2.8em;
  color: #1A237E; /* Dark Blue */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #4A518B; /* Slightly lighter dark blue for contrast */
}

.page-index__app-image {
  max-width: 350px;
  height: auto;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  background-color: #1A237E; /* Dark Blue */
  padding: 80px 0;
}

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

.page-index__detail-card {
  background-color: #0d124b; /* Slightly darker blue */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

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

/* Final CTA Section */
.page-index__final-cta {
  background-color: #0d124b; /* Slightly darker blue */
  padding: 80px 0;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__about-content {
    flex-direction: column;
  }
  .page-index__about-text, .page-index__about-image {
    min-width: unset;
    width: 100%;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 100px 0;
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions .page-index__btn {
    margin: 0 5px 15px 5px; /* Adjust spacing for stacked buttons */
    width: calc(100% - 10px); /* Make buttons full width */
    max-width: 280px;
  }
  .page-index__hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__features-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    padding: 80px 0;
    min-height: 400px;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__btn--large {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index__app-image {
    max-width: 250px;
  }
}