/* style/game-guides.css */

/* Body background is #121212 (dark), so use light text colors */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default light text for dark body background */
  line-height: 1.6;
}

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

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

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

.page-game-guides__hero-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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;
  text-align: center;
}

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

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

.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__section {
  padding: 60px 20px;
}

.page-game-guides__light-bg {
  background-color: #1a1a1a; /* Adjusted for dark body background */
  color: #ffffff;
}

.page-game-guides__dark-bg {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
}

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

.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-game-guides__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: inherit;
}

.page-game-guides__highlight {
  color: #26A9E0; /* Brand color for highlights */
  font-weight: 700;
}

.page-game-guides__introduction .page-game-guides__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-game-guides__why-choose {
  text-align: center;
}

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

.page-game-guides__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-game-guides__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-game-guides__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-game-guides__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-game-guides__game-category {
  margin-bottom: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
}

.page-game-guides__game-category-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
}

.page-game-guides__game-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-game-guides__game-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__game-cta {
  margin-top: 20px;
}

.page-game-guides__registration ol {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
  color: #ffffff;
}

.page-game-guides__registration ol li {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-game-guides__registration ol li strong {
  color: #26A9E0;
}

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

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0; /* Main brand color for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Ensure images are responsive and not smaller than 200px */
.page-game-guides img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
  }

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

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

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

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

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

  .page-game-guides__section {
    padding: 30px 15px;
  }

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

  .page-game-guides__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__feature-item {
    padding: 25px;
  }

  .page-game-guides__game-category {
    padding: 20px;
    margin-bottom: 40px;
  }

  .page-game-guides__game-category-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }

  .page-game-guides__game-content {
    flex-direction: column;
  }

  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__game-content,
  .page-game-guides__game-category,
  .page-game-guides__features-grid,
  .page-game-guides__faq-list,
  .page-game-guides__app-download .page-game-guides__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

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

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