/* style/game-guides.css */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  overflow: hidden;
  min-height: 70vh;
}

.page-game-guides__hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.page-game-guides__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-game-guides__section {
  padding: 80px 20px;
  text-align: center;
}

.page-game-guides__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-guides__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-game-guides__section-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-game-guides__card {
  background-color: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have consistent height */
}

.page-game-guides__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.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 {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

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

.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-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-guides__btn-text:hover {
  color: #1a7bbd;
  text-decoration: underline;
}

.page-game-guides__content-block {
  text-align: left;
  margin-bottom: 60px;
}

.page-game-guides__content-block p {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-game-guides__content-subtitle {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  object-fit: cover;
}

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

.page-game-guides__cta-item {
  background-color: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__cta-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__cta-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__center-text {
  text-align: center;
}

.page-game-guides__faq-list {
  margin-top: 50px;
  text-align: left;
}

.page-game-guides__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__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: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: #1a7bbd;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #1a1a1a;
  color: #cccccc;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Ensure content is fully visible */
  padding: 20px 25px;
}

.page-game-guides__faq-answer p {
  margin-bottom: 0;
  color: #cccccc;
}

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

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

.page-game-guides__cta-final {
  padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.8em;
  }
  .page-game-guides__hero-description {
    font-size: 1.1em;
  }
  .page-game-guides__section-title {
    font-size: 2.2em;
  }
  .page-game-guides__content-subtitle {
    font-size: 1.8em;
  }
  .page-game-guides__grid--two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__section {
    padding: 50px 15px;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-game-guides__card {
    padding: 20px;
    min-height: auto;
  }
  .page-game-guides__card-title {
    font-size: 1.5em;
  }
  .page-game-guides__content-subtitle {
    font-size: 1.5em;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__cta-item {
    padding: 20px;
  }
  .page-game-guides__cta-title {
    font-size: 1.5em;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-game-guides__faq-answer {
    padding: 0 20px;
  }
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .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__content-block,
  .page-game-guides__hero-section,
  .page-game-guides__cta-grid,
  .page-game-guides__cta-item,
  .page-game-guides__faq-list,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.6em;
  }
  .page-game-guides__content-subtitle {
    font-size: 1.3em;
  }
  .page-game-guides__faq-question {
    font-size: 0.95em;
  }
  .page-game-guides__faq-toggle {
    font-size: 1.2em;
  }
}