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

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

.page-index__section-title {
  color: #0047AB; /* Primary color */
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__sub-title {
  color: #0047AB; /* Primary color */
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

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

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Secondary color */
  color: #0047AB; /* Primary color for text */
  border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #0047AB; /* Primary color for text */
  border: 2px solid #0047AB; /* Primary color for border */
}

.page-index__btn--secondary:hover {
  background-color: #003a8a;
  color: #fff;
  border-color: #003a8a;
  transform: translateY(-2px);
}

.page-index__btn--cta {
  background-color: #FFD700;
  color: #0047AB;
  border: 2px solid #FFD700;
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-index__btn--cta:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px) scale(1.02);
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #0047AB;
  color: #fff;
  border: 1px solid #0047AB;
}

.page-index__btn--small:hover {
  background-color: #003a8a;
  border-color: #003a8a;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0047AB, #0028ff); /* Darker blue to lighter blue for depth */
  padding: 80px 0;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_gaming_pattern,blue_gold_gradient,subtle_texture]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 1;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-right: 40px;
  text-align: left;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
  color: #FFD700; /* Secondary color for emphasis */
}

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

.page-index__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-index__hero-image-wrapper {
  position: relative;
  z-index: 2;
  width: 500px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* About PG88 Section */
.page-index__about-pg88-section {
  padding: 80px 0;
  background-color: #fff;
}

.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: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

.page-index__feature-title {
  font-size: 1.5em;
  color: #0047AB;
  margin-bottom: 10px;
}

.page-index__feature-text {
  color: #666;
}

/* CTA Banner */
.page-index__cta-banner {
  background: linear-gradient(90deg, #FFD700, #ffb854); /* Gold to orange gradient */
  padding: 60px 0;
  text-align: center;
  color: #0047AB; /* Primary color for text */
}

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

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 15px;
  font-weight: 900;
  color: #0047AB;
}

.page-index__cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #003a8a;
}

/* Game Showcase Section */
.page-index__game-showcase-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-index__game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__game-title {
  font-size: 1.6em;
  color: #0047AB;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-text {
  color: #666;
  margin-bottom: 25px;
  padding: 0 15px;
}

/* Deep Content Section */
.page-index__deep-content-section {
  padding: 80px 0;
  background-color: #fff;
}

.page-index__deep-content-section p {
  margin-bottom: 1em;
  color: #444;
  font-size: 1.05em;
}

.page-index__deep-content-section ul,
.page-index__deep-content-section ol {
  margin-bottom: 1em;
  padding-left: 25px;
  color: #444;
}

.page-index__deep-content-section li {
  margin-bottom: 0.5em;
}

.page-index__deep-content-section a {
  color: #0047AB;
  text-decoration: underline;
}

.page-index__deep-content-section a:hover {
  color: #003a8a;
}

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

.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: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index__detail-card-title a {
  color: #0047AB;
  text-decoration: none;
  font-weight: bold;
}

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

.page-index__detail-card-description {
  color: #666;
  margin-bottom: 25px;
}

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

  .page-index__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

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

  .page-index__hero-subtitle {
    font-size: 1.2em;
  }

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

  .page-index__hero-image-wrapper {
    width: 80%;
    height: auto;
  }

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

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

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 400px;
    padding: 40px 0;
  }

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

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

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

  .page-index__btn {
    width: 100%;
  }

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

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

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

  .page-index__game-grid, .page-index__features-grid, .page-index__detail-cards-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

  .page-index__btn--cta {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}