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

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

.page-game-guides__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-game-guides__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFB04D; /* Glow color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

.page-game-guides p {
  margin-bottom: 15px;
  font-size: 17px;
}

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

.page-game-guides a {
  color: #FFA53A;
  text-decoration: none;
}

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-game-guides__hero-content {
  max-width: 800px;
  padding: 0 15px;
}

.page-game-guides__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size for H1 */
  font-weight: 800;
  color: #FFB04D; /* Glow color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure button adapts */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A;
  border: 2px solid #A84F0C; /* Border color */
}

.page-game-guides__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

/* Content Two Columns Layout */
.page-game-guides__content-two-columns {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 15px;
  background: #17191F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-game-guides__content-two-columns:nth-child(even) {
  flex-direction: row-reverse;
}

.page-game-guides__text-content {
  flex: 1;
}

.page-game-guides__image-wrapper {
  flex: 1;
  min-width: 300px; /* Minimum width for image wrapper */
  max-width: 50%;
  text-align: center;
}

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

/* Step Lists */
.page-game-guides__step-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-game-guides__step-list li {
  background: rgba(255, 165, 58, 0.05); /* Slightly transparent auxiliary color */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
}

.page-game-guides__step-list li strong {
  color: #FFB04D; /* Glow color */
  flex-shrink: 0;
}

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

/* FAQ Section */
details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: rgba(255, 165, 58, 0.1); /* Lighter hover for dark background */
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: rgba(23, 25, 31, 0.8); /* Slightly lighter Card BG for answer */
  border-radius: 0 0 5px 5px;
}
.page-game-guides__faq-answer p {
    color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__section-title {
    font-size: 32px;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 400px;
  }
  .page-game-guides__hero-image {
    max-height: 400px;
  }
  .page-game-guides__main-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }
  .page-game-guides__description {
    font-size: 17px;
  }
  .page-game-guides__btn-primary, .page-game-guides__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-game-guides__content-two-columns {
    gap: 30px;
    padding: 30px 15px;
  }
  .page-game-guides__image-wrapper {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  /* HERO Main Image Area */
  .page-game-guides__hero-section {
    padding-top: 10px; /* Small top padding, consistent with desktop */
    padding-bottom: 30px;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-game-guides__hero-image {
    object-fit: contain !important; /* Prevent clipping */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-guides__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Adjust H1 for smaller screens */
  }
  .page-game-guides__description {
    font-size: 16px;
  }
  
  /* Buttons and Button Containers */
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-game-guides__cta-buttons--center {
    padding: 0;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    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;
  }
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* General Images and Containers */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__section,
  .page-game-guides__container,
  .page-game-guides__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Content Two Columns Layout */
  .page-game-guides__content-two-columns {
    flex-direction: column !important;
    gap: 20px;
    padding: 25px 15px;
  }
  .page-game-guides__content-two-columns:nth-child(even) {
    flex-direction: column !important;
  }
  .page-game-guides__image-wrapper {
    max-width: 100%;
    width: 100%;
  }

  /* Section Titles */
  .page-game-guides__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-game-guides__sub-title {
    font-size: 20px;
  }

  /* Article Body (for SEO content area if present) */
  .page-game-guides__article-body {
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* FAQ Section */
  details.page-game-guides__faq-item summary.page-game-guides__faq-question { padding: 15px; }
  .page-game-guides__faq-qtext { font-size: 15px; }
  details.page-game-guides__faq-item .page-game-guides__faq-answer { padding: 0 15px 15px; }
}