/* style/index-game-features.css */
/* Body background is #000000 (dark), so default text color for the main content area should be light. */

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

/* --- Hero Section --- */
.page-index-game-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text for contrast */
}

.page-index-game-features__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-top: 40px; /* Space between content and image */
}

.page-index-game-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-index-game-features__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-index-game-features__main-title {
  font-size: clamp(2em, 5vw, 3em);
  font-weight: 700;
  color: #26A9E0; /* Primary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.page-index-game-features__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* --- Video Section --- */
.page-index-game-features__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #000000; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-index-game-features__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
  background-color: #1a1a1a; /* Placeholder background */
  border-radius: 10px;
  overflow: hidden;
}

.page-index-game-features__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer; /* Indicate clickability */
}

.page-index-game-features__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Make it clickable over video controls */
}

/* --- Common Section Styles --- */
.page-index-game-features__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.02em;
}

.page-index-game-features__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index-game-features__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* --- Background Colors for Sections --- */
.page-index-game-features__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-index-game-features__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
}

.page-index-game-features__dark-text {
  color: #333333;
}

/* --- Game Variety Section --- */
.page-index-game-features__game-variety-section {
  padding: 80px 0;
}

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

.page-index-game-features__game-card {
  background-color: #f0f0f0; /* Light background for cards */
  color: #333333; /* Dark text for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-game-features__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index-game-features__game-card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #26A9E0; /* Primary color for card title */
}

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

.page-index-game-features__game-card-title a:hover {
  color: #1a7bb7; /* Slightly darker primary on hover */
}

.page-index-game-features__game-card-text {
  font-size: 0.95em;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-index-game-features__game-card-btn {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 20px 20px 20px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.page-index-game-features__game-card-btn:hover {
  background-color: #1a7bb7;
}

/* --- Platform Highlights Section --- */
.page-index-game-features__platform-highlights-section {
  padding: 80px 0;
}

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

.page-index-game-features__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-index-game-features__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-index-game-features__feature-card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-index-game-features__feature-card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index-game-features__feature-card-text {
  font-size: 0.95em;
}

/* --- User Experience Section --- */
.page-index-game-features__user-experience-section {
  padding: 80px 0;
}

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

.page-index-game-features__info-card {
  background-color: #f0f0f0; /* Light background for cards */
  color: #333333; /* Dark text for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-game-features__info-card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index-game-features__info-card-text {
  font-size: 0.95em;
}

/* --- CTA Section --- */
.page-index-game-features__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

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

.page-index-game-features__cta-button {
  margin-top: 30px;
  font-size: 1.2em;
  padding: 15px 40px;
  background-color: #EA7C07; /* Login/CTA color */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.page-index-game-features__cta-button:hover {
  background-color: #cc6a00; /* Darker orange on hover */
}

/* --- FAQ Section --- */
.page-index-game-features__faq-section {
  padding: 80px 0;
}

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

.page-index-game-features__faq-item {
  background-color: #f0f0f0; /* Light background for FAQ items */
  color: #333333; /* Dark text for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-index-game-features__faq-item details {
  border: none;
}

.page-index-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: #26A9E0; /* Primary color for question background */
  color: #ffffff; /* White text for question */
  border-radius: 8px;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

.page-index-game-features__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-game-features__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-index-game-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-index-game-features__faq-answer {
  padding: 15px 20px 20px;
  font-size: 0.95em;
  background-color: #f0f0f0;
  color: #333333;
  border-top: 1px solid #e0e0e0;
}

/* --- Buttons --- */
.page-index-game-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-game-features__btn-primary,
.page-index-game-features__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-index-game-features__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-index-game-features__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-game-features__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary,
  .page-index-game-features__cta-button,
  .page-index-game-features__game-card-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-features__video-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-game-features__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-game-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-features__video-overlay-link {
    /* Ensure overlay link also fills the container on mobile */
    width: 100% !important;
    height: 100% !important;
  }

  .page-index-game-features__content-area {
    padding: 30px 15px;
  }

  .page-index-game-features__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-index-game-features__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-index-game-features__game-cards,
  .page-index-game-features__feature-cards,
  .page-index-game-features__info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-game-features__game-card,
  .page-index-game-features__feature-card,
  .page-index-game-features__info-card {
    padding: 20px;
  }

  .page-index-game-features__game-card-image,
  .page-index-game-features__feature-card-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-features__game-card-title,
  .page-index-game-features__feature-card-title,
  .page-index-game-features__info-card-title {
    font-size: 1.2em;
  }

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

  .page-index-game-features__faq-toggle {
    font-size: 1.2em;
  }

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

  /* Ensure all containers for images/videos/buttons are responsive */
  .page-index-game-features__hero-image-wrapper,
  .page-index-game-features__game-card,
  .page-index-game-features__feature-card,
  .page-index-game-features__info-card,
  .page-index-game-features__game-cards,
  .page-index-game-features__feature-cards,
  .page-index-game-features__info-cards,
  .page-index-game-features__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Adding padding to sections to prevent content touching edges */
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Hero image wrapper should not have extra padding, image handles it */
  .page-index-game-features__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}