/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #1A202C; /* Dark grey for text on light backgrounds */
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for readability */
}

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

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

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #333d4f 100%); /* Dark gradient */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,dark,subtle]'); /* Subtle background pattern */
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.page-index__hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
  padding-left: 20px;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

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

.page-index__hero-actions {
  display: flex;
  gap: 15px;
}

.page-index__hero-image-wrapper {
  z-index: 1;
  max-width: 500px;
  flex-shrink: 0;
  padding-right: 20px;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.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;
  text-align: center;
  white-space: nowrap;
}

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

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

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

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

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

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

/* Sections */
.page-index__about-section,
.page-index__features-section,
.page-index__promotions-section,
.page-index__why-choose-us-section,
.page-index__quick-guide-section,
.page-index__detail-pages-section,
.page-index__responsible-gaming-section,
.page-index__contact-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__about-section {
  background-color: #f0f2f5;
  box-shadow: none;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Features Grid */
.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
}

.page-index__feature-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-index__feature-description {
  color: #444;
  font-size: 1em;
}

/* Promotions Section */
.page-index__promotion-banner-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index__promotion-banner {
  width: 100%;
  height: auto;
  display: block;
}

.page-index__promotion-note {
  font-style: italic;
  color: #555;
  text-align: center;
  margin-top: 30px;
}

/* Why Choose Us Section */
.page-index__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-index__benefits-list li {
  background-color: #f0f2f5;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-index__benefits-list li strong {
  color: #1A202C;
}

/* Quick Guide Section */
.page-index__quick-guide-section {
  background-color: #1A202C;
  color: #FFFFFF;
  box-shadow: none;
}

.page-index__quick-guide-section .page-index__section-title {
  color: #FFD700;
}

.page-index__quick-guide-section .page-index__section-title::after {
  background-color: #FFFFFF;
}

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

.page-index__step-item {
  text-align: center;
  padding: 30px;
  background-color: #333d4f; /* Darker background for steps */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.page-index__step-number {
  font-size: 3em;
  font-weight: bold;
  color: rgba(255, 215, 0, 0.3); /* Faded gold number */
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
}

.page-index__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  margin-top: 20px;
}

.page-index__step-description {
  color: #e0e0e0;
  font-size: 1em;
  margin-bottom: 20px;
}

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

.page-index__detail-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index__detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index__detail-title a {
  color: #1A202C;
  text-decoration: none;
}

.page-index__detail-title a:hover {
  color: #FFD700;
}

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

/* Responsible Gaming & Contact Sections */
.page-index__responsible-gaming-section {
  background-color: #f0f2f5;
  box-shadow: none;
  padding: 40px 0;
  text-align: center;
}

.page-index__responsible-gaming-section .page-index__section-title {
  font-size: 2em;
  margin-bottom: 20px;
}

.page-index__contact-section {
  background-color: #1A202C;
  color: #FFFFFF;
  text-align: center;
  box-shadow: none;
}

.page-index__contact-section .page-index__section-title {
  color: #FFD700;
}

.page-index__contact-section .page-index__section-title::after {
  background-color: #FFFFFF;
}

.page-index__contact-section .page-index__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Floating Promo Bar */
.page-index__floating-promo-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: page-index-pulse 2s infinite;
}

.page-index__floating-promo-bar a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1A202C;
  font-weight: bold;
}

.page-index__floating-promo-text {
  font-size: 1.1em;
}

.page-index__floating-promo-btn {
  background-color: #1A202C;
  color: #FFD700;
  padding: 8px 15px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.page-index__floating-promo-btn:hover {
  background-color: #333d4f;
}

@keyframes page-index-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-index__hero-content {
    padding-left: 0;
    margin-bottom: 30px;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-image-wrapper {
    padding-right: 0;
  }

  .page-index__hero-actions {
    justify-content: center;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__features-grid,
  .page-index__guide-steps,
  .page-index__detail-list {
    grid-template-columns: 1fr;
  }

  .page-index__floating-promo-bar {
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
  }

  .page-index__floating-promo-text {
    font-size: 0.9em;
  }

  .page-index__floating-promo-btn {
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__btn {
    width: 100%;
  }

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

  .page-index__floating-promo-bar {
    left: 10px;
    right: 10px;
    width: auto;
    justify-content: center;
  }

  .page-index__floating-promo-bar a {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-index__floating-promo-text {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
}