/* style/game-guides.css */
:root {
  --pk14-primary-color: #11A84E;
  --pk14-secondary-color: #22C768;
  --pk14-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --pk14-card-bg: #11271B;
  --pk14-background: #08160F;
  --pk14-text-main: #F2FFF6;
  --pk14-text-secondary: #A7D9B8;
  --pk14-border-color: #2E7A4E;
  --pk14-glow-color: #57E38D;
  --pk14-gold-color: #F2C14E;
  --pk14-divider-color: #1E3A2A;
  --pk14-deep-green-color: #0A4B2C;
}

.page-game-guides {
  background-color: var(--pk14-background);
  color: var(--pk14-text-main);
  font-family: Arial, sans-serif;
  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 */
  box-sizing: border-box;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-game-guides__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: var(--pk14-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.1em;
  color: var(--pk14-text-secondary);
  margin-bottom: 30px;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: var(--pk14-button-gradient);
  color: var(--pk14-text-main);
  border: 2px solid transparent;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.4);
}

.page-game-guides__btn-secondary {
  background: var(--pk14-card-bg);
  color: var(--pk14-primary-color);
  border: 2px solid var(--pk14-primary-color);
  margin-left: 15px;
}

.page-game-guides__btn-secondary:hover {
  background: var(--pk14-primary-color);
  color: var(--pk14-text-main);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-game-guides__btn-tertiary {
  background: none;
  color: var(--pk14-gold-color);
  border: 2px solid var(--pk14-gold-color);
  margin-top: 20px;
}

.page-game-guides__btn-tertiary:hover {
  background: var(--pk14-gold-color);
  color: var(--pk14-background);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-game-guides__section {
  padding: 60px 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--pk14-divider-color);
}

.page-game-guides__section:last-of-type {
  border-bottom: none;
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: var(--pk14-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-guides__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--pk14-gold-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-game-guides__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  color: var(--pk14-gold-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__text-block {
  font-size: 1em;
  color: var(--pk14-text-secondary);
  margin-bottom: 20px;
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-game-guides__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--pk14-text-secondary);
}

.page-game-guides__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pk14-primary-color);
  font-weight: bold;
}

.page-game-guides__image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 20px auto 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

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

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: var(--pk14-card-bg);
}

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

.page-game-guides__faq-item {
  background-color: var(--pk14-background);
  border: 1px solid var(--pk14-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--pk14-text-main);
  background-color: var(--pk14-deep-green-color);
  border-bottom: 1px solid var(--pk14-border-color);
  list-style: none; /* For details/summary */
}

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
  color: var(--pk14-text-main);
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--pk14-gold-color);
  margin-left: 15px;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid var(--pk14-border-color);
}

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

.page-game-guides__faq-answer {
  padding: 15px 20px;
  color: var(--pk14-text-secondary);
  font-size: 0.95em;
}

/* Conclusion Section */
.page-game-guides__conclusion-section {
  text-align: center;
}

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

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

  .page-game-guides__main-title {
    font-size: 2em;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }

  .page-game-guides__hero-content .page-game-guides__btn-secondary {
    margin-top: 15px;
  }

  .page-game-guides__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .page-game-guides__container {
    padding: 0;
  }

  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-game-guides__sub-title {
    font-size: 1.4em;
  }

  /* Image responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__image-wrapper,
  .page-game-guides__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Video responsive (if any, though none explicitly in HTML) */
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-guides__video-section {
    padding-top: 10px !important;
  }

  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific for mobile */
  .page-game-guides__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-game-guides__faq-answer {
    padding: 12px 15px;
    font-size: 0.9em;
  }
}