/* style/index.css */

.page-index {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #000000; /* Default text color on light backgrounds */
  background-color: #f8f8f8;
}

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

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

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

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

.page-index__small-text {
  font-size: 0.9em;
  color: #555;
}

.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, transform 0.2s ease;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #000000;
  border: 2px solid #FFD700;
}

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

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

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

.page-index__btn--text {
  color: #FFD700;
  border: none;
  padding: 8px 0;
  text-decoration: underline;
  background: none;
}

.page-index__btn--text:hover {
  color: #e6c200;
  text-decoration: none;
  transform: none;
}

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

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #000000, #333333);
  color: #FFFFFF;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  max-width: 800px;
  z-index: 2;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* General Intro Section */
.page-index__intro {
  padding: 60px 0;
  background-color: #fefefe;
  color: #333;
}

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

/* Features Section */
.page-index__features {
  padding: 80px 0;
  background-color: #000000;
  color: #f0f0f0;
}

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

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

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

.page-index__feature-item:hover {
  transform: translateY(-10px);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index__feature-item p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #ccc;
}

/* Promotions Section */
.page-index__promotions {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333;
}

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

.page-index__promotion-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

.page-index__promotion-card:hover {
  transform: translateY(-8px);
}

.page-index__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__promotion-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index__promotion-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 25px;
  padding: 0 20px;
}

/* CTA App Section */
.page-index__cta-app {
  background: linear-gradient(90deg, #FFD700, #e6c200);
  padding: 80px 0;
  color: #000000;
}

.page-index__cta-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-index__cta-app-text {
  flex: 1;
}

.page-index__cta-app-text .page-index__section-title {
  text-align: left;
  color: #000000;
}

.page-index__cta-app-text .page-index__section-title::after {
  left: 0;
  transform: translateX(0);
  background-color: #000000;
}

.page-index__cta-app-text p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-index__cta-app-image {
  flex: 1;
  text-align: center;
}

.page-index__app-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Security Section */
.page-index__security {
  padding: 80px 0;
  background-color: #000000;
  color: #f0f0f0;
}

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

.page-index__security p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #ccc;
}

.page-index__security-image {
  display: block;
  max-width: 300px;
  margin: 40px auto 0;
  height: auto;
  filter: drop-shadow(0 0 10px #FFD700);
}

/* Responsible Gambling Section */
.page-index__responsible-gambling {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333;
}

.page-index__responsible-gambling p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Support Section */
.page-index__support {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
  text-align: center;
}

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

.page-index__support p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ccc;
}

/* Why Choose Section */
.page-index__why-choose {
  padding: 80px 0;
  background-color: #fefefe;
  color: #333;
}

.page-index__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-index__why-list li {
  background-color: #ffffff;
  padding: 25px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  line-height: 1.8;
}

.page-index__why-list li strong {
  color: #000000;
}

/* Detail Pages Section */
.page-index__detail-pages {
  padding: 80px 0;
  background-color: #e9e9e9;
  color: #333;
}

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

.page-index__detail-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__cta-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__cta-app-text .page-index__section-title {
    text-align: center;
  }
  .page-index__cta-app-text .page-index__section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 60px 0;
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-index__hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__feature-grid, .page-index__promotion-cards, .page-index__detail-list {
    grid-template-columns: 1fr;
  }
  .page-index__cta-app-image {
    order: -1; /* Move image above text on small screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }
}