/* style/index-our-games.css */

/* Base styles for the page */
.page-index-our-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Rely on body background from shared.css */
}

.page-index-our-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-our-games__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background for sections */
  color: #ffffff;
}

.page-index-our-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-index-our-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
}

.page-index-our-games__section-description,
.page-index-our-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-our-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

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

.page-index-our-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

.page-index-our-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 15px;
  color: #26A9E0;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-index-our-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  font-weight: 300;
}

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

.page-index-our-games__btn-primary,
.page-index-our-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index-our-games__btn-primary:hover {
  background-color: #1e87b5;
  border-color: #1e87b5;
}

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

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

.page-index-our-games__btn-text {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-index-our-games__btn-text:hover {
  color: #1e87b5;
}

/* Intro Section */
.page-index-our-games__intro-section {
  padding: 60px 0;
  text-align: center;
}

/* Categories Section */
.page-index-our-games__categories-section {
  padding: 60px 0;
}

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

.page-index-our-games__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-our-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-index-our-games__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 15px 15px 10px;
  color: #26A9E0;
}

.page-index-our-games__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index-our-games__card-title a:hover {
  color: #1e87b5;
}

.page-index-our-games__card-text {
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Experience Section */
.page-index-our-games__experience-section {
  padding: 60px 0;
  text-align: center;
}

.page-index-our-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-index-our-games__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  text-align: center;
}

.page-index-our-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-our-games__feature-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-our-games__feature-description {
  font-size: 0.95em;
}

.page-index-our-games__cta-center {
  margin-top: 40px;
}

/* Start Guide Section */
.page-index-our-games__start-guide-section {
  padding: 60px 0;
  text-align: center;
}

.page-index-our-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-our-games__step-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-index-our-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-index-our-games__step-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-our-games__step-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-index-our-games__faq-section {
  padding: 60px 0;
}

.page-index-our-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-our-games__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
  overflow: hidden;
}

.page-index-our-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

.page-index-our-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-index-our-games__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-index-our-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
  color: #26A9E0;
}

.page-index-our-games__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  text-align: left;
  background-color: #ffffff;
}

.page-index-our-games__faq-answer p {
  margin-bottom: 10px;
}

.page-index-our-games__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-index-our-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-index-our-games__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

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

  .page-index-our-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-index-our-games__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important;
  }

  .page-index-our-games__hero-content {
    padding: 20px;
  }

  .page-index-our-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-index-our-games__hero-description {
    font-size: 1em;
  }

  .page-index-our-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-index-our-games__btn-primary,
  .page-index-our-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 0.95em;
  }

  .page-index-our-games__container,
  .page-index-our-games__game-grid,
  .page-index-our-games__feature-list,
  .page-index-our-games__guide-steps,
  .page-index-our-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-our-games__section-title {
    font-size: 1.8em;
  }

  .page-index-our-games__text-block,
  .page-index-our-games__section-description {
    font-size: 1em;
  }

  .page-index-our-games__game-card,
  .page-index-our-games__feature-item,
  .page-index-our-games__step-card,
  .page-index-our-games__faq-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Ensure all images are responsive */
  .page-index-our-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-our-games__card-image {
    height: 180px; /* Adjust height for mobile cards */
  }

  .page-index-our-games__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-index-our-games__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-index-our-games__faq-answer {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}

/* Color Contrast Fixes for specific elements if needed */
/* Example: If a card background becomes too dark unexpectedly */
.page-index-our-games__card-title a {
  color: #26A9E0; /* Maintain brand color on dark card background */
}

.page-index-our-games__card-text {
  color: #ffffff; /* Ensure white text on dark card background */
}