/* style/game-guides.css */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body via shared.css */
}

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 30px;
  color: #ffffff;
  padding: 0 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-game-guides__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

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

/* Intro Section */
.page-game-guides__intro-section {
  padding: 60px 0;
  background-color: #1e1e1e;
  color: #ffffff;
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-game-guides__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Guide Section */
.page-game-guides__guide-section {
  padding: 60px 0;
  background-color: #121212;
  color: #ffffff;
}

.page-game-guides__guide-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  object-fit: cover;
}

.page-game-guides__card-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-game-guides__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-game-guides__unordered-list,
.page-game-guides__ordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-game-guides__unordered-list li,
.page-game-guides__ordered-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.page-game-guides__unordered-list li strong,
.page-game-guides__ordered-list li strong {
  color: #ffffff;
}

/* CTA Section */
.page-game-guides__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: #1e1e1e;
  color: #ffffff;
}

.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Ensure click on summary itself triggers toggle */
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-game-guides__faq-answer p {
  margin-top: 15px;
}

/* Remove default details marker */
.page-game-guides__faq-item > summary {
  list-style: none;
}
.page-game-guides__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }

  .page-game-guides__hero-content {
    margin-top: 20px;
  }

  .page-game-guides__main-title {
    font-size: 2.2rem;
  }

  .page-game-guides__description {
    font-size: 1rem;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-game-guides__intro-section,
  .page-game-guides__guide-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-game-guides__text-block {
    font-size: 0.95rem;
  }

  .page-game-guides__guide-card {
    padding: 20px;
  }

  .page-game-guides__card-title {
    font-size: 1.3rem;
  }

  .page-game-guides__card-text,
  .page-game-guides__unordered-list li,
  .page-game-guides__ordered-list li {
    font-size: 0.9rem;
  }

  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-game-guides__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile specific image, video, button and container rules */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important;
  }

  .page-game-guides__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
    padding-left: 15px;
    padding-right: 15px;
  }
}