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

/* Custom properties for colors */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* For login/register/download buttons */
  --background-color-light: #FFFFFF;
  --background-color-dark: #26A9E0;
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-index-game-highlights {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--background-color-light); /* Assuming body background is light */
  overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

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

.page-index-game-highlights__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-index-game-highlights__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-index-game-highlights__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

/* Button base styles */
.page-index-game-highlights__cta-button,
.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary,
.page-index-game-highlights a[class*="button"],
.page-index-game-highlights a[class*="btn"] {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index-game-highlights__btn-primary:hover {
  background: #1e87b3;
  border-color: #1e87b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-index-game-highlights__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-index-game-highlights__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color), #87CEEB); /* Lighter blue gradient */
  color: var(--text-color-light);
}

.page-index-game-highlights__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-index-game-highlights__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-game-highlights__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-game-highlights__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-game-highlights__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-index-game-highlights__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

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

.page-index-game-highlights__hero-cta-buttons .page-index-game-highlights__cta-button {
  min-width: 200px;
  margin: 0; /* Override default margin */
}

/* Section specific styles */
.page-index-game-highlights__introduction-section,
.page-index-game-highlights__game-highlights-section,
.page-index-game-highlights__security-support-section,
.page-index-game-highlights__blog-section {
  padding: 80px 0;
  background-color: var(--background-color-light);
}

.page-index-game-highlights__dark-section {
  padding: 80px 0;
  background-color: var(--background-color-dark);
  color: var(--text-color-light);
}

.page-index-game-highlights__dark-section .page-index-game-highlights__section-title {
  color: var(--text-color-light);
}

.page-index-game-highlights__dark-section .page-index-game-highlights__text-block {
  color: var(--text-color-light);
}

/* Quick Access Section */
.page-index-game-highlights__link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-game-highlights__link-card {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--text-color-light);
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-game-highlights__link-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-game-highlights__link-card .page-index-game-highlights__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-index-game-highlights__link-card p {
  font-size: 16px;
  color: var(--text-color-light);
  opacity: 0.9;
}

/* Game Highlights Section */
.page-index-game-highlights__game-category {
  background: var(--background-color-light);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-index-game-highlights__category-title {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-index-game-highlights__game-image {
  border-radius: 8px;
  margin: 0 auto 30px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 800px; /* Example display size */
  height: 600px; /* Example display size */
  object-fit: cover;
}

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