/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #0D0E12;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-game-guides__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,176,77,0.5);
}

.page-game-guides__intro-description {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 132, 0, 0.4);
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.6);
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-game-guides__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #0D0E12;
  transform: translateY(-2px);
}

/* Content Area */
.page-game-guides__section-title {
  font-size: 2.2rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 25px;
  margin-top: 40px;
  font-weight: 700;
  border-bottom: 2px solid #A84F0C; /* Border */
  padding-bottom: 10px;
}

.page-game-guides__subsection-title {
  font-size: 1.6rem;
  color: #FFA53A; /* Auxiliary */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #FFF3E6;
}

.page-game-guides strong {
  color: #FFB04D;
}

.page-game-guides__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-game-guides__list li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-game-guides__image-block {
  margin: 30px auto;
  text-align: center;
  max-width: 1000px;
  box-sizing: border-box;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__image-caption {
  font-style: italic;
  font-size: 0.95rem;
  color: #A84F0C; /* Border */
  margin-top: 10px;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-game-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #FFB04D; /* Glow */
  outline: none;
  list-style: none;
}

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

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

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

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF3E6;
}

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

/* Bottom CTA */
.page-game-guides__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }

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

  .page-game-guides__intro-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

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

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

  .page-game-guides__subsection-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides p,
  .page-game-guides__list li,
  .page-game-guides__faq-answer {
    font-size: 0.95rem;
  }

  .page-game-guides__list {
    margin-left: 20px;
  }

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

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

  /* 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__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-game-guides__hero-section {
    padding-top: 10px !important; 
  }

  /* Button group for mobile */
  .page-game-guides__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-game-guides__cta-buttons > a {
    width: 100%;
  }
}