/* style/game-guides.css */

/* Base styles for the page content */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background is dark */
}

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

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

.page-game-guides__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-game-guides__dark-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-game-guides__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, not --header-offset */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  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: #1a7bb0;
  border-color: #1a7bb0;
}

.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;
}

.page-game-guides__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
  font-size: 0.9em;
  padding: 8px 15px;
}

.page-game-guides__btn-tertiary:hover {
  background-color: #c76a06;
  border-color: #c76a06;
}

/* Introduction Section */
.page-game-guides__introduction-section .page-game-guides__section-title,
.page-game-guides__access-section .page-game-guides__section-title,
.page-game-guides__faq-section .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__introduction-section .page-game-guides__text-block p {
  color: #333333;
}

/* Game Types Section */
.page-game-guides__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 15px 10px 15px;
  line-height: 1.3;
}

.page-game-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-text {
  color: #f0f0f0;
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Access Section */
.page-game-guides__access-section .page-game-guides__list {
  list-style: decimal;
  padding-left: 25px;
  color: #333333;
}

.page-game-guides__access-section .page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-game-guides__access-section .page-game-guides__list strong {
  color: #26A9E0;
}

.page-game-guides__access-section .page-game-guides__list a {
  color: #EA7C07;
  text-decoration: none;
}

.page-game-guides__access-section .page-game-guides__list a:hover {
  text-decoration: underline;
}

/* Benefits Section */
.page-game-guides__benefits-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-game-guides__benefits-content {
  flex: 1;
}

.page-game-guides__benefits-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-game-guides__benefits-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__benefits-section .page-game-guides__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-game-guides__benefits-section .page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  padding: 15px 25px 20px 25px;
  color: #555555;
  font-size: 1em;
}

.page-game-guides__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-guides__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-game-guides__cta-bottom-section {
  text-align: center;
}

.page-game-guides__cta-bottom-section .page-game-guides__section-title {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.page-game-guides__cta-bottom-section p {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    padding: 30px 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-game-guides__section-title {
    font-size: 2em;
  }

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

  .page-game-guides__benefits-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-game-guides__benefits-content,
  .page-game-guides__benefits-image-wrapper {
    width: 100%;
  }

  .page-game-guides__benefits-section .page-game-guides__list {
    text-align: left;
  }
}

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

  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__dark-section,
  .page-game-guides__light-bg {
    padding: 40px 0;
  }

  .page-game-guides__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-game-guides__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-tertiary {
    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;
  }

  /* Image and video responsive 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,
  .page-game-guides__benefits-image-wrapper,
  .page-game-guides__cta-buttons,
  .page-game-guides__game-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-game-guides__section-title {
    font-size: 1.8em;
  }

  .page-game-guides__game-card {
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-guides__access-section .page-game-guides__list {
    padding-left: 20px;
  }

  .page-game-guides__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-game-guides__section-title {
    font-size: 1.5em;
  }

  .page-game-guides__cta-buttons {
    gap: 10px;
  }
}