/* style/game-guides.css */

.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f0f0f0;
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-game-guides__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-tertiary,
.page-game-guides__btn-faq {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.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: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-game-guides__btn-tertiary {
    background-color: #EA7C07;
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

.page-game-guides__btn-faq {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-game-guides__btn-faq:hover {
    background-color: #333333;
    border-color: #333333;
}

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

.page-game-guides__introduction-section,
.page-game-guides__strategy-section,
.page-game-guides__cta-bottom-section {
  padding: 60px 0;
}

.page-game-guides__game-types-section,
.page-game-guides__faq-section {
  padding: 60px 0;
}

.page-game-guides__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-guides__dark-bg .page-game-guides__section-title,
.page-game-guides__dark-bg p,
.page-game-guides__dark-bg li {
  color: #FFFFFF;
}

.page-game-guides__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__game-guide-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__game-guide-card .page-game-guides__card-title {
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-game-guides__game-guide-card p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-game-guides__game-guide-card .page-game-guides__card-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-game-guides__strategy-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  padding-left: 0;
}

.page-game-guides__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-game-guides__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

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

.page-game-guides__faq-question {
  color: #FFFFFF;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFFFFF;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: '−';
}

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

.page-game-guides__faq-answer p {
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-game-guides__cta-bottom-content {
    text-align: center;
}

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

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

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

  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

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

  .page-game-guides__introduction-section,
  .page-game-guides__game-types-section,
  .page-game-guides__strategy-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom-section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-game-guides img,
  .page-game-guides video {
    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__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper,
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    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__game-guide-card {
    padding: 20px;
  }

  .page-game-guides__game-guide-card .page-game-guides__card-title {
    font-size: 1.5rem;
  }

  .page-game-guides__game-guide-card p {
    font-size: 0.95rem;
  }

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

  .page-game-guides__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }
}