/* style/index-game-highlights.css */

/* Base styles for the page content, considering dark body background from shared.css */
.page-index-game-highlights {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-index-game-highlights a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index-game-highlights a:hover {
  text-decoration: underline;
}

.page-index-game-highlights__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index-game-highlights__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-game-highlights__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Hero Section */
.page-index-game-highlights__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding: 60px 20px;
  background-color: #1a1a2e; /* Fallback, but should be dark from shared */
}

.page-index-game-highlights__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-index-game-highlights__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
}

.page-index-game-highlights__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.page-index-game-highlights__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-game-highlights__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index-game-highlights__btn-primary:hover {
  background-color: #1a8cc7;
  transform: translateY(-2px);
}

.page-index-game-highlights__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-index-game-highlights__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
  transform: translateY(-2px);
}

/* Game Categories Section */
.page-index-game-highlights__game-categories-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-index-game-highlights__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-index-game-highlights__category-card {
  background-color: #26A9E0; /* Brand primary color for card background */
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.page-index-game-highlights__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-game-highlights__category-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-game-highlights__category-title a {
  color: #ffffff;
}

.page-index-game-highlights__category-title a:hover {
  text-decoration: none;
  color: #f0f0f0;
}

.page-index-game-highlights__category-text {
  padding: 0 20px;
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Featured Games Section */
.page-index-game-highlights__featured-games-section {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-index-game-highlights__featured-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-index-game-highlights__featured-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-highlights__featured-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-game-highlights__featured-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-game-highlights__featured-title a {
  color: #26A9E0;
}

.page-index-game-highlights__featured-title a:hover {
  text-decoration: none;
  color: #1a8cc7;
}

.page-index-game-highlights__featured-text {
  padding: 0 25px;
  font-size: 1em;
  margin-bottom: 25px;
}

/* Live Casino Section */
.page-index-game-highlights__live-casino-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
  text-align: center;
}

.page-index-game-highlights__video-container {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-game-highlights__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-index-game-highlights__video-caption {
  font-style: italic;
  margin-top: 10px;
  color: #555;
}

/* Sports Betting Section */
.page-index-game-highlights__sports-betting-section {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index-game-highlights__sports-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Slot & Fishing Section */
.page-index-game-highlights__slot-fishing-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

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

.page-index-game-highlights__game-showcase-card {
  background-color: #26A9E0; /* Brand primary color for card background */
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.page-index-game-highlights__game-showcase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-game-highlights__game-showcase-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-game-highlights__game-showcase-title a {
  color: #ffffff;
}

.page-index-game-highlights__game-showcase-title a:hover {
  text-decoration: none;
  color: #f0f0f0;
}

.page-index-game-highlights__game-showcase-text {
  padding: 0 20px;
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Promotions Section */
.page-index-game-highlights__promotions-section {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index-game-highlights__promotions-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-game-highlights__promotion-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-index-game-highlights__promotion-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-index-game-highlights__promotion-item a {
  color: #26A9E0;
  font-weight: bold;
}

.page-index-game-highlights__promotion-item a:hover {
  text-decoration: underline;
}

/* Why Choose Us Section */
.page-index-game-highlights__why-choose-us-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
  text-align: center;
}

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

.page-index-game-highlights__why-choose-us-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-index-game-highlights__why-choose-us-item:hover {
  transform: translateY(-5px);
}

.page-index-game-highlights__why-choose-us-heading {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index-game-highlights__why-choose-us-text {
  font-size: 1em;
  color: #555;
}

.page-index-game-highlights__why-choose-us-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-index-game-highlights__faq-section {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index-game-highlights__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-index-game-highlights__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-game-highlights__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-index-game-highlights__faq-question:hover {
  background-color: #1a8cc7;
}

.page-index-game-highlights__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-index-game-highlights__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-index-game-highlights__faq-item.active .page-index-game-highlights__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-index-game-highlights__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-index-game-highlights__cta-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-game-highlights__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.1;
}

.page-index-game-highlights__cta-section .page-index-game-highlights__content-area {
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-highlights__hero-title {
    font-size: 3em;
  }

  .page-index-game-highlights__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-game-highlights {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-index-game-highlights__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-index-game-highlights__hero-title {
    font-size: 2.2em;
  }

  .page-index-game-highlights__hero-description {
    font-size: 1em;
  }

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

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

  .page-index-game-highlights__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-game-highlights__section-title {
    font-size: 1.8em;
  }

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

  /* Image and Video responsiveness */
  .page-index-game-highlights img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-highlights video,
  .page-index-game-highlights__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-highlights__video-container,
  .page-index-game-highlights__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-game-highlights__game-categories-section,
  .page-index-game-highlights__featured-games-section,
  .page-index-game-highlights__live-casino-section,
  .page-index-game-highlights__sports-betting-section,
  .page-index-game-highlights__slot-fishing-section,
  .page-index-game-highlights__promotions-section,
  .page-index-game-highlights__why-choose-us-section,
  .page-index-game-highlights__faq-section,
  .page-index-game-highlights__cta-section {
    padding: 40px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-game-highlights__category-card,
  .page-index-game-highlights__featured-card,
  .page-index-game-highlights__game-showcase-card,
  .page-index-game-highlights__why-choose-us-item {
    margin-bottom: 20px;
    padding: 20px 15px;
  }

  .page-index-game-highlights__faq-list,
  .page-index-game-highlights__promotion-list {
    padding: 0 15px;
  }

  .page-index-game-highlights__faq-question,
  .page-index-game-highlights__faq-answer {
    padding: 15px;
  }

  .page-index-game-highlights__faq-item.active .page-index-game-highlights__faq-answer {
    padding: 15px;
  }
}