/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #121212; /* Very dark background */
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #FFB300; /* Amber Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #BDBDBD; /* Lighter gray for subtitles */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__mt-large {
  margin-top: 40px;
}

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

.page-index__btn--primary {
  background-color: #FFB300; /* Amber Gold */
  color: #1A237E; /* Deep Blue */
}

.page-index__btn--primary:hover {
  background-color: #FFC107; /* Lighter Amber Gold */
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: #1A237E; /* Deep Blue */
  color: #FFB300; /* Amber Gold */
  border: 2px solid #FFB300;
}

.page-index__btn--secondary:hover {
  background-color: #2C387E; /* Slightly lighter Deep Blue */
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-index__btn--tertiary {
  background-color: transparent;
  color: #FFB300;
  border: 2px solid #FFB300;
}

.page-index__btn--tertiary:hover {
  background-color: #FFB300;
  color: #1A237E;
  transform: translateY(-2px);
}

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

.page-index__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #1A237E, #0D103F);
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  opacity: 0.1;
  z-index: 1;
}

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

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

.page-index__hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.page-index__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

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

.page-index__about-text {
  flex: 2;
  min-width: 300px;
  max-width: 700px;
  line-height: 1.8;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-index__about-text strong {
  color: #FFB300;
}

.page-index__about-text p {
  margin-bottom: 15px;
}

.page-index__about-image {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-index__game-card {
  background-color: #1F254B; /* Darker blue for cards */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

.page-index__game-title {
  font-size: 1.8em;
  color: #FFB300;
  margin-bottom: 10px;
}

.page-index__game-description {
  font-size: 1em;
  color: #BDBDBD;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

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

.page-index__promotion-card {
  background-color: #1F254B;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

.page-index__promotion-title {
  font-size: 1.8em;
  color: #FFB300;
  margin-bottom: 10px;
}

.page-index__promotion-description {
  font-size: 1em;
  color: #BDBDBD;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* App Section */
.page-index__app-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-index__app-image {
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  line-height: 1.8;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__app-note {
  margin-top: 20px;
  font-style: italic;
  color: #BDBDBD;
}

/* Testimonials Section */
.page-index__testimonials-section {
  padding: 80px 0;
  background-color: #1A237E;
}

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

.page-index__testimonial-card {
  background-color: #1F254B;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  min-height: 180px;
}

.page-index__testimonial-card::before {
  content: '“';
  font-size: 4em;
  color: #FFB300;
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.7;
}

.page-index__testimonial-text {
  font-size: 1.1em;
  color: #E0E0E0;
  line-height: 1.7;
  margin-bottom: 15px;
  padding-top: 30px; /* Space for quote */
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #FFB300;
  font-style: italic;
}

/* Responsible Gaming Section */
.page-index__responsible-gaming-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-index__responsible-gaming-content {
  max-width: 900px;
  margin: 40px auto 0;
  line-height: 1.8;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-index__responsible-gaming-content ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-index__responsible-gaming-content li {
  margin-bottom: 10px;
  color: #BDBDBD;
}

.page-index__responsible-gaming-content strong {
  color: #FFB300;
}

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

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

.page-index__detail-page-card {
  background-color: #1F254B;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

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

.page-index__detail-page-title a {
  color: #FFB300;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__detail-page-description {
  font-size: 1em;
  color: #BDBDBD;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #FFB300, #FFD54F);
  color: #1A237E;
  text-align: center;
}

.page-index__cta-title {
  font-size: 3em;
  color: #1A237E;
  margin-bottom: 20px;
  font-weight: 900;
}

.page-index__cta-description {
  font-size: 1.3em;
  color: #37474F; /* Darker text for readability on light background */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-section .page-index__btn--primary {
  background-color: #1A237E;
  color: #FFB300;
}

.page-index__cta-section .page-index__btn--primary:hover {
  background-color: #2C387E;
  color: #FFFFFF;
}

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

  .page-index__hero-content {
    max-width: 100%;
    text-align: center;
  }

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

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

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

  .page-index__about-content, .page-index__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__about-text, .page-index__app-text {
    max-width: 100%;
  }

  .page-index__about-image {
    max-width: 80%;
  }

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

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

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

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

  .page-index__hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-index__btn {
    width: 80%;
    max-width: 300px;
  }

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

  .page-index__section-subtitle {
    font-size: 1em;
  }

  .page-index__game-categories, .page-index__promotion-grid, .page-index__testimonial-grid, .page-index__detail-page-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-index__app-buttons {
    flex-direction: column;
    align-items: center;
  }
}