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

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

.page-index .section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.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; /* Slightly lighter gray for descriptions */
}

.page-index .highlight-text {
  color: #FFD700;
  font-weight: bold;
}

.page-index .highlight-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-index .highlight-link:hover {
  color: #FFF;
}

/* Buttons */
.page-index .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-index .btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2239; /* Dark blue text */
}

.page-index .btn-primary:hover {
  background-color: #FFEB3B; /* Lighter gold on hover */
  color: #000;
}

.page-index .btn-secondary {
  background-color: #007BFF; /* A vibrant blue for secondary action */
  color: #FFFFFF;
}

.page-index .btn-secondary:hover {
  background-color: #0056b3;
}

.page-index .btn-tertiary {
  background-color: #28A745; /* Green for download */
  color: #FFFFFF;
}

.page-index .btn-tertiary:hover {
  background-color: #218838;
}

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

.page-index .btn-outline:hover {
  background-color: #FFD700;
  color: #0A2239;
}

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

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

/* Hero Section */
.page-index .hero-section {
  background: linear-gradient(135deg, #0A2239 0%, #2A4A6A 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-index .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.page-index .hero-image-wrapper {
  display: none; /* Hidden by default, shown on larger screens */
}

/* Introduction Section */
.page-index .introduction-section {
  padding: 80px 0;
  background-color: #1A3A5A; /* Slightly lighter dark blue */
}

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

.page-index .feature-item {
  background-color: #0A2239;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-top: 5px solid #FFD700;
}

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

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

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

/* Core Services Section */
.page-index .core-services-section {
  padding: 80px 0;
  background-color: #0A2239;
}

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

.page-index .service-card {
  background-color: #1A3A5A;
  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 .service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-index .service-card h3 {
  font-size: 1.7em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-index .service-card p {
  font-size: 1em;
  color: #C0C0C0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-index .service-card .btn {
  margin: 0 15px 20px;
}

/* Promotions Section */
.page-index .promotions-section {
  padding: 80px 0;
  background-color: #1A3A5A;
}

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

.page-index .promo-card {
  background-color: #0A2239;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #FFD700;
}

.page-index .promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.8);
}

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

.page-index .promo-text {
  font-size: 1em;
  color: #C0C0C0;
  padding: 0 15px 20px;
}

/* App Download Section */
.page-index .app-download-section {
  padding: 80px 0;
  background-color: #0A2239;
}

.page-index .app-download-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.page-index .app-content {
  text-align: center;
  max-width: 600px;
}

.page-index .app-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  display: inline-block; /* Center the list itself */
}

.page-index .app-features li {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-index .list-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.page-index .app-image-wrapper {
  max-width: 400px;
}

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

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

/* Detail Pages Section */
.page-index .detail-pages-section {
  padding: 80px 0;
  background-color: #0A2239;
}

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

.page-index .detail-card {
  background-color: #1A3A5A;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
  display: flex;
  flex-direction: column;
}

.page-index .detail-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-index .detail-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index .detail-title a:hover {
  text-decoration: underline;
  color: #FFF;
}

.page-index .detail-text {
  font-size: 0.95em;
  color: #C0C0C0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Call to Action Footer Section */
.page-index .call-to-action-footer {
  padding: 80px 0;
  background: linear-gradient(45deg, #0A2239, #2A4A6A); /* Dark blue gradient */
  text-align: center;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-index .hero-section .container {
    display: flex;
    text-align: left;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-index .hero-content {
    text-align: left;
    margin: 0;
    flex: 1;
    padding-right: 40px;
  }

  .page-index .hero-title {
    font-size: 4.5em;
  }

  .page-index .hero-description {
    font-size: 1.5em;
  }

  .page-index .hero-buttons {
    justify-content: flex-start;
  }

  .page-index .hero-image-wrapper {
    display: block;
    flex: 0 0 45%;
    max-width: 500px;
  }

  .page-index .app-download-section .container {
    flex-direction: row;
    text-align: left;
  }

  .page-index .app-content {
    text-align: left;
    flex: 1;
  }

  .page-index .app-image-wrapper {
    flex: 0 0 40%;
    order: 2;
  }

  .page-index .app-features {
    text-align: left;
    display: block;
  }
}

@media (max-width: 767px) {
  .page-index .hero-title {
    font-size: 2.5em;
  }

  .page-index .hero-description {
    font-size: 1.1em;
  }

  .page-index .section-title {
    font-size: 1.8em;
  }

  .page-index .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index .btn {
    width: 100%;
  }

  .page-index .promo-card, .page-index .service-card, .page-index .detail-card {
    margin-bottom: 20px;
  }
}

@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.5em;
  }
}