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

:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

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

/* Sections */
.page-index-game-highlights__hero-section,
.page-index-game-highlights__promotions-section,
.page-index-game-highlights__guide-section,
.page-index-game-highlights__conclusion-section {
  background-color: var(--color-background);
  color: var(--color-text-main);
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-game-highlights__games-section,
.page-index-game-highlights__why-choose-section,
.page-index-game-highlights__faq-section {
  background-color: var(--color-card-bg); /* Use card background for secondary sections for slight contrast */
  color: var(--color-text-main);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

/* Hero Section */
.page-index-game-highlights__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-index-game-highlights__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-index-game-highlights__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-gold);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-index-game-highlights__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

/* Section Titles */
.page-index-game-highlights__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-gold);
  line-height: 1.3;
}

/* Buttons */
.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-index-game-highlights__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.3);
}

.page-index-game-highlights__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 100, 0.4);
}

.page-index-game-highlights__btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  margin-left: 15px;
}

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

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

/* Game Grid */
.page-index-game-highlights__game-grid,
.page-index-game-highlights__promo-grid,
.page-index-game-highlights__reason-grid,
.page-index-game-highlights__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-highlights__game-card,
.page-index-game-highlights__promo-card,
.page-index-game-highlights__reason-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-border);
}

.page-index-game-highlights__game-card-image,
.page-index-game-highlights__promo-card-image,
.page-index-game-highlights__reason-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-game-highlights__game-card-title,
.page-index-game-highlights__promo-card-title,
.page-index-game-highlights__reason-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-index-game-highlights__game-card-title a,
.page-index-game-highlights__promo-card-title a {
  color: var(--color-gold);
  text-decoration: none;
}

.page-index-game-highlights__game-card-title a:hover,
.page-index-game-highlights__promo-card-title a:hover {
  text-decoration: underline;
}

.page-index-game-highlights__game-card-text,
.page-index-game-highlights__promo-card-text,
.page-index-game-highlights__reason-card-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-index-game-highlights__guide-step {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-border);
}

.page-index-game-highlights__guide-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-index-game-highlights__guide-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-index-game-highlights__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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