.page-index-game-collection {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

.page-index-game-collection__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-game-collection__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #26A9E0, #1a7bb7);
  min-height: 600px;
  overflow: hidden;
}

.page-index-game-collection__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-index-game-collection__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-game-collection__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-index-game-collection__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-index-game-collection__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-index-game-collection__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-game-collection__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: justify;
}

.page-index-game-collection__intro-section {
  padding: 60px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-index-game-collection__games-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-index-game-collection__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-game-collection__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-index-game-collection__game-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-game-collection__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-game-collection__game-card-title a:hover {
  color: #1a7bb7;
}

.page-index-game-collection__game-card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-game-collection__promo-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-index-game-collection__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-game-collection__promo-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-index-game-collection__promo-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-game-collection__promo-card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-game-collection__promo-card-title a:hover {
  color: #1a7bb7;
}

.page-index-game-collection__promo-card-description {
  font-size: 0.9em;
  color: #f0f0f0;
}

.page-index-game-collection__safety-section {
  padding: 60px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-index-game-collection__safety-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-game-collection__feature-item {
  text-align: center;
  max-width: 250px;
}

.page-index-game-collection__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-index-game-collection__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-index-game-collection__feature-description {
  font-size: 0.9em;
  color: #f0f0f0;
}

.page-index-game-collection__cta-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  text-align: center;
  color: #ffffff;
}

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

.page-index-game-collection__mobile-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
  color: #ffffff;
}

.page-index-game-collection__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-collection__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-index-game-collection__faq-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-index-game-collection__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-game-collection__faq-question:hover {
  background-color: #1a7bb7;
}

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

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

.page-index-game-collection__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  font-size: 1em;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-index-game-collection__faq-item.active .page-index-game-collection__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px;
}

.page-index-game-collection__contact-cta {
  padding: 60px 0;
  background-color: #000000;
  text-align: center;
  color: #ffffff;
}

/* Buttons */
.page-index-game-collection__btn-primary,
.page-index-game-collection__btn-secondary,
.page-index-game-collection__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

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

.page-index-game-collection__btn-primary:hover {
  background-color: #1a7bb7;
  border-color: #1a7bb7;
}

.page-index-game-collection__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-game-collection__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-game-collection__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-index-game-collection__btn-tertiary:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

.page-index-game-collection__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Image styles - ensuring no filters */
.page-index-game-collection img {
  border-radius: 8px;
  /* filter: none !important; */ /* Explicitly no filter */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-collection__hero-title {
    font-size: 2.8em;
  }
  .page-index-game-collection__section-title {
    font-size: 2em;
  }
  .page-index-game-collection__game-grid,
  .page-index-game-collection__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-game-collection__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-index-game-collection__hero-title {
    font-size: 2.2em;
  }
  .page-index-game-collection__hero-description {
    font-size: 1em;
  }
  .page-index-game-collection__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-game-collection__section-title {
    font-size: 1.8em;
  }
  .page-index-game-collection__text-block {
    font-size: 0.95em;
  }

  .page-index-game-collection__game-grid,
  .page-index-game-collection__promo-cards {
    grid-template-columns: 1fr;
  }
  
  .page-index-game-collection__safety-features {
    flex-direction: column;
    align-items: center;
  }

  .page-index-game-collection__mobile-content {
    flex-direction: column;
  }

  /* Mobile image responsiveness */
  .page-index-game-collection img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-game-collection__game-card-image,
  .page-index-game-collection__promo-card-image,
  .page-index-game-collection__feature-icon,
  .page-index-game-collection__mobile-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Mobile button responsiveness */
  .page-index-game-collection__btn-primary,
  .page-index-game-collection__btn-secondary,
  .page-index-game-collection__btn-tertiary,
  .page-index-game-collection a[class*="button"],
  .page-index-game-collection a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-game-collection__hero-buttons,
  .page-index-game-collection__cta-buttons,
  .page-index-game-collection__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px !important;
    overflow: hidden !important;
  }

  /* Ensure content containers don't overflow */
  .page-index-game-collection__section,
  .page-index-game-collection__card,
  .page-index-game-collection__container,
  .page-index-game-collection__game-card,
  .page-index-game-collection__promo-card,
  .page-index-game-collection__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-index-game-collection__hero-title {
    font-size: 1.8em;
  }
  .page-index-game-collection__section-title {
    font-size: 1.5em;
  }
  .page-index-game-collection__hero-description {
    font-size: 0.9em;
  }
}