.page-index-game-highlights {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-color);
}

.page-index-game-highlights__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-index-game-highlights__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-index-game-highlights__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  text-align: justify;
}

.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-game-highlights__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-index-game-highlights__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-index-game-highlights__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-index-game-highlights__btn-secondary:hover {
  background: var(--border-color);
  color: #111111;
  transform: translateY(-2px);
}

.page-index-game-highlights__btn-text {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-game-highlights__btn-text:hover {
  text-decoration: underline;
  color: #ffffff;
}

.page-index-game-highlights__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-index-game-highlights__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-index-game-highlights__hero-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.page-index-game-highlights__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for design, but text is below image */
  background: rgba(17, 17, 17, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-index-game-highlights__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 15px var(--glow-color);
  color: var(--text-main);
}

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

.page-index-game-highlights__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index-game-highlights__introduction-section,
.page-index-game-highlights__promotions-section,
.page-index-game-highlights__faq-section {
  padding: 80px 0;
  background: var(--bg-color);
  color: var(--text-main);
}

.page-index-game-highlights__dark-section {
  background: var(--bg-color);
  color: var(--text-main);
}

.page-index-game-highlights__light-bg {
  background: #1a1a1a; /* Slightly lighter dark for contrast */
  color: var(--text-main);
  padding: 80px 0;
}

.page-index-game-highlights__game-category-section {
  padding: 80px 0;
  background: var(--card-bg);
}

.page-index-game-highlights__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-index-game-highlights__category-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-game-highlights__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-index-game-highlights__card-title {
  font-size: 1.5em;
  color: var(--glow-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-game-highlights__card-description {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 15px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-index-game-highlights__casino-section,
.page-index-game-highlights__sports-section,
.page-index-game-highlights__fishing-section,
.page-index-game-highlights__slot-section,
.page-index-game-highlights__cockfighting-section {
  padding: 80px 0;
}

.page-index-game-highlights__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-index-game-highlights__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-index-game-highlights__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-index-game-highlights__text-content {
  flex: 1;
  max-width: 50%;
  text-align: justify;
}

.page-index-game-highlights__text-content p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-index-game-highlights__text-content .page-index-game-highlights__btn-primary {
  margin-top: 20px;
}

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

.page-index-game-highlights__promo-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-index-game-highlights__promo-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-highlights__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-game-highlights__why-choose-us {
  padding: 80px 0;
  background: #1a1a1a;
}

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

.page-index-game-highlights__feature-item {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-index-game-highlights__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-highlights__feature-title {
  font-size: 1.4em;
  color: var(--glow-color);
  margin-bottom: 10px;
}

.page-index-game-highlights__feature-description {
  font-size: 1em;
  color: #ccc;
}

.page-index-game-highlights__faq-section {
  padding: 80px 0;
}

.page-index-game-highlights__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-highlights__faq-item {
  background: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-index-game-highlights__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  list-style: none;
  user-select: none;
}

.page-index-game-highlights__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-game-highlights__faq-question::marker {
  display: none;
}

.page-index-game-highlights__faq-qtext {
  flex-grow: 1;
}

.page-index-game-highlights__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

.page-index-game-highlights__faq-item[open] .page-index-game-highlights__faq-toggle {
  transform: rotate(45deg);
}

.page-index-game-highlights__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #ccc;
}

.page-index-game-highlights img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-index-game-highlights__container {
    padding: 15px;
  }

  .page-index-game-highlights__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-index-game-highlights__hero-section {
    padding-top: 10px !important;
  }

  .page-index-game-highlights__hero-image-wrapper {
    max-height: 300px;
  }

  .page-index-game-highlights__hero-image {
    height: 300px;
    object-fit: contain; /* Ensure image is fully visible */
    aspect-ratio: unset;
    max-height: none;
  }

  .page-index-game-highlights__hero-content {
    margin-top: -80px;
    padding: 20px;
    border-radius: 10px;
  }

  .page-index-game-highlights__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-index-game-highlights__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-index-game-highlights__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index-game-highlights__btn-primary,
  .page-index-game-highlights__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* General content sections */
  .page-index-game-highlights__introduction-section,
  .page-index-game-highlights__game-category-section,
  .page-index-game-highlights__casino-section,
  .page-index-game-highlights__sports-section,
  .page-index-game-highlights__fishing-section,
  .page-index-game-highlights__slot-section,
  .page-index-game-highlights__cockfighting-section,
  .page-index-game-highlights__promotions-section,
  .page-index-game-highlights__why-choose-us,
  .page-index-game-highlights__faq-section {
    padding: 40px 0;
  }

  /* Game Category Grid */
  .page-index-game-highlights__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-game-highlights__category-card {
    padding-bottom: 15px;
  }

  .page-index-game-highlights__card-image {
    height: 180px;
  }

  .page-index-game-highlights__card-title {
    font-size: 1.3em;
  }

  .page-index-game-highlights__card-description {
    font-size: 0.95em;
  }

  /* Content with image and text */
  .page-index-game-highlights__content-wrapper,
  .page-index-game-highlights__content-wrapper--reverse {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-game-highlights__content-image,
  .page-index-game-highlights__text-content {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Promotions Grid */
  .page-index-game-highlights__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-game-highlights__promo-card {
    padding: 25px 15px;
  }

  .page-index-game-highlights__promo-icon {
    width: 80px;
    height: 80px;
  }

  .page-index-game-highlights__cta-buttons--center {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Why Choose Us Grid */
  .page-index-game-highlights__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-game-highlights__feature-item {
    padding: 25px 15px;
  }

  .page-index-game-highlights__feature-icon {
    width: 70px;
    height: 70px;
  }

  /* FAQ Section */
  .page-index-game-highlights__faq-list {
    margin-top: 30px;
  }

  .page-index-game-highlights__faq-question {
    padding: 18px 20px;
    font-size: 1.1em;
  }

  .page-index-game-highlights__faq-answer {
    padding: 0 20px 18px;
    font-size: 1em;
  }

  /* Generic image and container responsive rules */
  .page-index-game-highlights img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-game-highlights__section,
  .page-index-game-highlights__card,
  .page-index-game-highlights__container,
  .page-index-game-highlights__hero-section,
  .page-index-game-highlights__hero-content,
  .page-index-game-highlights__hero-cta-buttons,
  .page-index-game-highlights__category-grid,
  .page-index-game-highlights__category-card,
  .page-index-game-highlights__content-wrapper,
  .page-index-game-highlights__text-content,
  .page-index-game-highlights__promo-grid,
  .page-index-game-highlights__promo-card,
  .page-index-game-highlights__features-grid,
  .page-index-game-highlights__feature-item,
  .page-index-game-highlights__faq-list,
  .page-index-game-highlights__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-game-highlights__hero-content,
  .page-index-game-highlights__promo-card,
  .page-index-game-highlights__feature-item,
  .page-index-game-highlights__faq-item {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .page-index-game-highlights__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-game-highlights__cta-buttons--center {
    flex-direction: column;
  }
}