/* style/resources-game-selection-guide.css */

/* Base styles */
.page-resources-game-selection-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-resources-game-selection-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-resources-game-selection-guide__text-block p,
.page-resources-game-selection-guide__text-block ul li {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-resources-game-selection-guide__text-block ul {
  list-style: disc inside;
  padding-left: 20px;
}

.page-resources-game-selection-guide__text-block h3 {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-top: 2em;
  margin-bottom: 0.8em;
}

/* Hero Section */
.page-resources-game-selection-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 70vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #26A9E0 100%); /* Example gradient for hero */
}

.page-resources-game-selection-guide__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-game-selection-guide__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-resources-game-selection-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-resources-game-selection-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-resources-game-selection-guide__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-resources-game-selection-guide__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Buttons */
.page-resources-game-selection-guide__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-game-selection-guide__btn-primary:hover {
  background-color: #d16e07;
  transform: translateY(-2px);
}

.page-resources-game-selection-guide__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-game-selection-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Content Sections */
.page-resources-game-selection-guide__content-section {
  padding: 60px 0;
}

.page-resources-game-selection-guide__dark-section {
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

/* Grid Layout for Cards */
.page-resources-game-selection-guide__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-game-selection-guide__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-game-selection-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-game-selection-guide__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-game-selection-guide__card p {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-game-selection-guide__faq-section {
  padding: 60px 0;
}

.page-resources-game-selection-guide__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-game-selection-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-game-selection-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-game-selection-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-resources-game-selection-guide__faq-item.active .page-resources-game-selection-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-game-selection-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-game-selection-guide__faq-item.active .page-resources-game-selection-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-game-selection-guide__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* CTA Section */
.page-resources-game-selection-guide__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a1a2e 100%);
  color: #ffffff;
}

.page-resources-game-selection-guide__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-game-selection-guide__cta-button {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-selection-guide__hero-title {
    font-size: 2.8em;
  }

  .page-resources-game-selection-guide__hero-description {
    font-size: 1.2em;
  }

  .page-resources-game-selection-guide__section-title {
    font-size: 2em;
  }

  .page-resources-game-selection-guide__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-game-selection-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-game-selection-guide__hero-section {
    padding: 60px 0 30px 0;
  }

  .page-resources-game-selection-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-game-selection-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-game-selection-guide__hero-content {
    padding: 20px;
  }

  .page-resources-game-selection-guide__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-game-selection-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-game-selection-guide__content-section,
  .page-resources-game-selection-guide__faq-section,
  .page-resources-game-selection-guide__cta-section {
    padding: 40px 0;
  }

  .page-resources-game-selection-guide__container {
    padding: 0 15px;
  }

  .page-resources-game-selection-guide__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-resources-game-selection-guide__card {
    padding: 20px;
  }

  .page-resources-game-selection-guide__card-title {
    font-size: 1.4em;
  }

  /* Mobile image responsiveness */
  .page-resources-game-selection-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-game-selection-guide__section,
  .page-resources-game-selection-guide__card,
  .page-resources-game-selection-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness */
  .page-resources-game-selection-guide video,
  .page-resources-game-selection-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-game-selection-guide__hero-video-wrapper,
  .page-resources-game-selection-guide__video-container,
  .page-resources-game-selection-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-game-selection-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  /* Mobile button responsiveness */
  .page-resources-game-selection-guide__cta-button,
  .page-resources-game-selection-guide__btn-primary,
  .page-resources-game-selection-guide__btn-secondary,
  .page-resources-game-selection-guide a[class*="button"],
  .page-resources-game-selection-guide 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-resources-game-selection-guide__cta-buttons,
  .page-resources-game-selection-guide__button-group,
  .page-resources-game-selection-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-game-selection-guide__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}