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

/* Root variables for colors */
:root {
  --page-index-game-highlights-primary-color: #11A84E;
  --page-index-game-highlights-secondary-color: #22C768;
  --page-index-game-highlights-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-index-game-highlights-card-bg: #11271B;
  --page-index-game-highlights-background: #08160F;
  --page-index-game-highlights-text-main: #F2FFF6;
  --page-index-game-highlights-text-secondary: #A7D9B8;
  --page-index-game-highlights-border-color: #2E7A4E;
  --page-index-game-highlights-glow-color: #57E38D;
  --page-index-game-highlights-gold-color: #F2C14E;
  --page-index-game-highlights-divider-color: #1E3A2A;
  --page-index-game-highlights-deep-green: #0A4B2C;
}

.page-index-game-highlights {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-index-game-highlights-text-main); /* Default text color for dark background */
  background-color: var(--page-index-game-highlights-background);
}

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

/* Section backgrounds */
.page-index-game-highlights__dark-bg {
  background-color: var(--page-index-game-highlights-background);
  color: var(--page-index-game-highlights-text-main);
}

.page-index-game-highlights__light-bg {
  background-color: #11271B; /* Using card BG for contrast in some sections */
  color: var(--page-index-game-highlights-text-main);
}

/* Headings */
.page-index-game-highlights h1,
.page-index-game-highlights h2,
.page-index-game-highlights h3,
.page-index-game-highlights h4,
.page-index-game-highlights h5,
.page-index-game-highlights h6 {
  color: var(--page-index-game-highlights-text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index-game-highlights__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-index-game-highlights__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-index-game-highlights-primary-color);
  border-radius: 2px;
}

.page-index-game-highlights__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--page-index-game-highlights-text-secondary);
}

/* Buttons */
.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary,
.page-index-game-highlights a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  border: 2px solid transparent;
}

.page-index-game-highlights__btn-primary {
  background: var(--page-index-game-highlights-button-gradient);
  color: var(--page-index-game-highlights-text-main);
}

.page-index-game-highlights__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index-game-highlights__btn-secondary {
  background: transparent;
  color: var(--page-index-game-highlights-primary-color);
  border-color: var(--page-index-game-highlights-primary-color);
}

.page-index-game-highlights__btn-secondary:hover {
  background: var(--page-index-game-highlights-primary-color);
  color: var(--page-index-game-highlights-text-main);
}

.page-index-game-highlights__btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--page-index-game-highlights-primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-index-game-highlights__btn-text:hover {
  color: var(--page-index-game-highlights-gold-color);
}

.page-index-game-highlights__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-index-game-highlights__btn-text:hover .page-index-game-highlights__arrow {
  transform: translateX(5px);
}

/* Hero Section */
.page-index-game-highlights__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--page-index-game-highlights-background);
}

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

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

.page-index-game-highlights__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10;
}

.page-index-game-highlights__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: var(--page-index-game-highlights-text-main);
  margin-bottom: 20px;
}

.page-index-game-highlights__hero-description {
  font-size: 1.2em;
  color: var(--page-index-game-highlights-text-secondary);
  margin-bottom: 30px;
}

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

/* Introduction Section */
.page-index-game-highlights__introduction-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-card-bg);
}

.page-index-game-highlights__text-block {
  margin-bottom: 20px;
  color: var(--page-index-game-highlights-text-secondary);
  font-size: 1.1em;
  text-align: justify;
}

/* Game Categories Section */
.page-index-game-highlights__game-categories-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-background);
}

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

.page-index-game-highlights__game-card {
  background-color: var(--page-index-game-highlights-card-bg);
  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;
  display: flex;
  flex-direction: column;
}

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

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

.page-index-game-highlights__game-card-title {
  font-size: 1.6em;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-index-game-highlights__game-card-title a {
  color: var(--page-index-game-highlights-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-game-highlights__game-card-title a:hover {
  color: var(--page-index-game-highlights-primary-color);
}

.page-index-game-highlights__game-card-description {
  font-size: 1em;
  color: var(--page-index-game-highlights-text-secondary);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-index-game-highlights__game-card .page-index-game-highlights__btn-text {
  margin: 0 20px 20px;
}

/* Benefits Section */
.page-index-game-highlights__benefits-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-card-bg);
}

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

.page-index-game-highlights__benefit-item {
  background-color: var(--page-index-game-highlights-deep-green);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-index-game-highlights__benefit-title {
  font-size: 1.5em;
  color: var(--page-index-game-highlights-text-main);
  margin-bottom: 15px;
}

.page-index-game-highlights__benefit-description {
  color: var(--page-index-game-highlights-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index-game-highlights__cta-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-background);
}

.page-index-game-highlights__cta-section .page-index-game-highlights__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index-game-highlights__cta-image {
  flex: 1 1 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-game-highlights__cta-content {
  flex: 1 1 400px;
  text-align: left;
}

.page-index-game-highlights__cta-title {
  font-size: 2.2em;
  color: var(--page-index-game-highlights-text-main);
  margin-bottom: 15px;
}

.page-index-game-highlights__cta-description {
  font-size: 1.1em;
  color: var(--page-index-game-highlights-text-secondary);
  margin-bottom: 30px;
}

.page-index-game-highlights__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Guide Section */
.page-index-game-highlights__guide-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-card-bg);
}

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

.page-index-game-highlights__step-item {
  background-color: var(--page-index-game-highlights-deep-green);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-game-highlights__step-icon {
  width: 60px;
  height: 60px;
  background: var(--page-index-game-highlights-button-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  color: var(--page-index-game-highlights-text-main);
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--page-index-game-highlights-glow-color);
}

.page-index-game-highlights__step-title {
  font-size: 1.5em;
  color: var(--page-index-game-highlights-text-main);
  margin-bottom: 10px;
}

.page-index-game-highlights__step-description {
  color: var(--page-index-game-highlights-text-secondary);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-index-game-highlights__faq-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-background);
}

.page-index-game-highlights__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-game-highlights__faq-item {
  background-color: var(--page-index-game-highlights-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--page-index-game-highlights-border-color);
}

.page-index-game-highlights__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-index-game-highlights-text-main);
  transition: background-color 0.3s ease;
}

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

.page-index-game-highlights__faq-item summary:hover {
  background-color: var(--page-index-game-highlights-deep-green);
}

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

.page-index-game-highlights__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--page-index-game-highlights-primary-color);
  line-height: 1;
}

.page-index-game-highlights__faq-item[open] .page-index-game-highlights__faq-toggle {
  color: var(--page-index-game-highlights-gold-color);
}

.page-index-game-highlights__faq-answer {
  padding: 10px 25px 20px;
  font-size: 1em;
  color: var(--page-index-game-highlights-text-secondary);
  border-top: 1px solid var(--page-index-game-highlights-divider-color);
}

/* Conclusion Section */
.page-index-game-highlights__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-index-game-highlights-card-bg);
  text-align: center;
}

.page-index-game-highlights__conclusion-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-index-game-highlights__cta-section .page-index-game-highlights__container {
    flex-direction: column;
    text-align: center;
  }

  .page-index-game-highlights__cta-content {
    text-align: center;
  }

  .page-index-game-highlights__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index-game-highlights__container {
    padding: 0 15px;
  }

  .page-index-game-highlights__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-index-game-highlights__section-description {
    margin-bottom: 30px;
  }

  .page-index-game-highlights__btn-primary,
  .page-index-game-highlights__btn-secondary,
  .page-index-game-highlights a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  /* Image, video, and their containers */
  .page-index-game-highlights img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-game-highlights__hero-image-wrapper,
  .page-index-game-highlights__game-card,
  .page-index-game-highlights__benefit-item,
  .page-index-game-highlights__cta-image,
  .page-index-game-highlights__step-item,
  .page-index-game-highlights__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-game-highlights__hero-section,
  .page-index-game-highlights__introduction-section,
  .page-index-game-highlights__game-categories-section,
  .page-index-game-highlights__benefits-section,
  .page-index-game-highlights__cta-section,
  .page-index-game-highlights__guide-section,
  .page-index-game-highlights__faq-section,
  .page-index-game-highlights__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-index-game-highlights__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-index-game-highlights__cta-content {
    padding: 0;
  }

  .page-index-game-highlights__game-card-title,
  .page-index-game-highlights__game-card-description,
  .page-index-game-highlights__game-card .page-index-game-highlights__btn-text {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-index-game-highlights__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-index-game-highlights__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Content area image minimum size constraint */
.page-index-game-highlights__game-card-image,
.page-index-game-highlights__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter properties are used for images */
.page-index-game-highlights img {
  filter: none; /* Explicitly ensure no filter is applied */
}

.page-index-game-highlights__game-card-image,
.page-index-game-highlights__cta-image {
  width: 100%; /* Ensure images fill their container width */
  height: auto; /* Maintain aspect ratio */
}

/* Ensure body background is dark and text is light for contrast */
.page-index-game-highlights {
  color: var(--page-index-game-highlights-text-main); /* #F2FFF6 */
  background-color: var(--page-index-game-highlights-background); /* #08160F */
}

.page-index-game-highlights__card,
.page-index-game-highlights__benefit-item,
.page-index-game-highlights__step-item,
.page-index-game-highlights__faq-item {
  background-color: var(--page-index-game-highlights-card-bg); /* #11271B */
  color: var(--page-index-game-highlights-text-main); /* #F2FFF6 */
}

.page-index-game-highlights__introduction-section,
.page-index-game-highlights__benefits-section,
.page-index-game-highlights__guide-section,
.page-index-game-highlights__conclusion-section {
  background-color: var(--page-index-game-highlights-card-bg);
  color: var(--page-index-game-highlights-text-main);
}

.page-index-game-highlights p,
.page-index-game-highlights li,
.page-index-game-highlights__text-block,
.page-index-game-highlights__section-description,
.page-index-game-highlights__game-card-description,
.page-index-game-highlights__benefit-description,
.page-index-game-highlights__cta-description,
.page-index-game-highlights__step-description,
.page-index-game-highlights__faq-answer {
  color: var(--page-index-game-highlights-text-secondary); /* #A7D9B8 */
}