/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-index__highlight {
  color: #FFD700; /* Gold */
}

.page-index__strong {
  font-weight: bold;
  color: #0056b3; /* Darker blue for contrast on light background */
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Primary blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-index__hero-content {
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

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

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

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  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 */
  color: #0056b3; /* Darker blue for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0056b3;
  transform: translateY(-2px);
}

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.page-index__hero-image {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transform: translateX(10%);
  opacity: 0.8;
}

/* General Section Styling */
.page-index__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Primary blue */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  font-weight: 700;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* About Section */
.page-index__about-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-index__about-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Game Features Section */
.page-index__game-features-section {
  padding: 60px 0;
  background-color: #f0f4f8;
}

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

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

.page-index__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index__game-item-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__game-item-title {
  font-size: 1.8em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-index__game-item-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-index__promotions-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* App Download Section */
.page-index__app-download-section {
  padding: 60px 0;
  background-color: #007BFF;
  color: #ffffff;
}

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

.page-index__app-info {
  flex: 1;
  min-width: 300px;
}

.page-index__app-info .page-index__section-title {
  color: #ffffff;
  text-align: left;
}

.page-index__app-info .page-index__section-description {
  color: #e0e0e0;
  text-align: left;
  margin-left: 0;
}

.page-index__app-benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-index__app-benefits-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: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-index__app-qr-code {
  flex: 0 0 300px;
  text-align: center;
}

.page-index__qr-image {
  width: 250px;
  height: 250px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index__qr-caption {
  margin-top: 20px;
  font-size: 1.1em;
  color: #ffffff;
}

/* Why Choose Section */
.page-index__why-choose-section {
  padding: 60px 0;
  background-color: #f0f4f8;
  text-align: center;
}

.page-index__why-choose-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-index__why-choose-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="%23007BFF"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333;
}

.page-index__why-choose-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsible Gambling Section */
.page-index__responsible-gambling-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

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

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

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

.page-index__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__detail-item-title a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

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

.page-index__detail-item-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

/* Final CTA Section */
.page-index__final-cta-section {
  background: linear-gradient(90deg, #007BFF, #4da3ff); /* Primary blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index__final-cta-section .page-index__section-title {
  color: #ffffff;
}

.page-index__final-cta-section .page-index__section-description {
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-image-wrapper {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    left: 0;
    justify-content: center;
    transform: translateX(0);
  }
  .page-index__hero-image {
    max-width: 80%;
    max-height: 100%;
  }
  .page-index__hero-section {
    min-height: 800px;
    padding-bottom: 250px;
  }
  .page-index__app-download-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-index__app-info {
    text-align: center;
  }
  .page-index__app-info .page-index__section-title,
  .page-index__app-info .page-index__section-description,
  .page-index__app-benefits-list {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index__app-benefits-list li {
    background-position: center left;
    padding-left: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__hero-cta-group {
    flex-direction: column;
  }
  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-section {
    padding: 60px 0 200px 0;
    min-height: 600px;
  }
  .page-index__hero-image {
    max-width: 90%;
  }
  .page-index__btn {
    width: 90%;
  }
  .page-index__game-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__app-qr-code {
    flex: 0 0 100%;
  }
  .page-index__qr-image {
    width: 200px;
    height: 200px;
  }
}