/* style/game-guides.css */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

.page-game-guides__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-game-guides__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b3;
  border-color: #1e87b3;
}

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

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

.page-game-guides__section {
  padding: 60px 0;
}

.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-game-guides__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Light gray for body text */
}

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

.page-game-guides__content-area {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f0f0f0; /* Light gray for body text */
}

.page-game-guides__content-area p {
  margin-bottom: 15px;
}

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

.page-game-guides__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__guide-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
}

.page-game-guides__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding: 0 15px;
}

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

.page-game-guides__card-title a:hover {
  text-decoration: underline;
  color: #1e87b3;
}

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

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

.page-game-guides__tip-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-game-guides__tip-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-game-guides__tip-item p {
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

.page-game-guides__tip-item a:hover {
  text-decoration: underline;
}

.page-game-guides__faq-section {
  background: #0a0a0a;
  color: #ffffff;
}

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

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

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

.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-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #ffffff;
}

.page-game-guides__faq-answer {
  padding: 10px 25px 20px 25px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.page-game-guides__faq-answer p {
  margin-bottom: 10px;
}

.page-game-guides__faq-more {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

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

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

.page-game-guides__cta-bottom {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #26A9E0, #1e87b3);
  color: #ffffff;
  text-align: center;
}

.page-game-guides__cta-buttons--bottom {
  margin-top: 40px;
}

/* Color contrast classes */
.page-game-guides__dark-bg {
  background: #0a0a0a;
  color: #ffffff;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-game-guides__hero-description {
    font-size: 1.1rem;
  }
}

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

  .page-game-guides__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small padding */
  }

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

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

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

  .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;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-game-guides__section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    padding: 0 15px;
  }

  .page-game-guides__section-description {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .page-game-guides__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-game-guides__content-area,
  .page-game-guides__tip-item p,
  .page-game-guides__card-text,
  .page-game-guides__faq-answer p {
    font-size: 0.95rem;
  }

  .page-game-guides__content-image,
  .page-game-guides__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__guide-card,
  .page-game-guides__tip-item,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }

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

  .page-game-guides__faq-toggle {
    font-size: 1.2rem;
  }

  .page-game-guides__cta-buttons--bottom {
    flex-direction: column;
  }
}

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

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-tertiary {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-game-guides__faq-item summary {
    font-size: 1rem;
  }
}