/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
}

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

.page-game-guides__hero-section {
  background: linear-gradient(135deg, #26A9E0, #1a7bb7);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

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

.page-game-guides__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-game-guides__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

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

.page-game-guides__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  font-size: 1.1em;
  margin-left: 15px;
}

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

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

.page-game-guides__dark-section .page-game-guides__section-title {
  color: #ffffff;
}

.page-game-guides__content-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: justify;
}

.page-game-guides__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-game-guides__image-full {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__game-types-section {
  padding: 60px 0;
  background-color: #26A9E0;
}

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

.page-game-guides__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

.page-game-guides__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-game-guides__card-description {
  font-size: 1em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__strategy-tips-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-guides__strategy-item {
  background-color: #ffffff;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__list-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-game-guides__list-title + p {
  font-size: 1em;
}

.page-game-guides__cta-button {
  margin-top: 30px;
}

.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: #1a7bb7;
  color: #ffffff;
}

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

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

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

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

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

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

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

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid #eee;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  background-color: #e5e5e5;
}

.page-game-guides__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f0f0f0;
}

.page-game-guides__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-game-guides__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

.page-game-guides__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__link:hover {
  text-decoration: underline;
}

/* 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: 2em;
  }
  .page-game-guides__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 10px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-guides__grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-game-guides__card {
    margin-bottom: 20px;
  }
  .page-game-guides__image-full {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-game-guides__image-wrapper,
  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-guides__strategy-item {
    padding: 20px;
  }
  .page-game-guides__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 15px 20px;
  }
  .page-game-guides__cta-title {
    font-size: 1.8em;
  }
  .page-game-guides__cta-description {
    font-size: 1em;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-game-guides__hero-description {
    font-size: 0.95em;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-game-guides__cta-title {
    font-size: 1.5em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
}