/* style/game-guides.css */

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

.page-game-guides {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main-color); /* Light text for dark body background */
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-game-guides strong,
.page-game-guides__highlight {
  color: var(--gold-color);
}

.page-game-guides__section-title {
  font-size: 2.5rem;
  color: var(--text-main-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-game-guides__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-game-guides__subsection-title {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-game-guides__paragraph {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-secondary-color);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  overflow: hidden;
  text-align: center;
  background-color: var(--deep-green-color);
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main-color);
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-game-guides__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__btn-primary {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-game-guides__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-game-guides__dark-bg {
  background-color: var(--card-background);
  color: var(--text-main-color);
}

.page-game-guides__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

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

.page-game-guides__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-game-guides__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none;
}

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

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1.05rem;
  color: var(--text-secondary-color);
  border-top: 1px solid transparent; /* Prevents double border when open */
}

.page-game-guides__conclusion-section {
  text-align: center;
}

/* --- Responsive Styles --- */

/* Mobile first approach, desktop overrides */

/* All images base responsive styles */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video base responsive styles */
.page-game-guides video,
.page-game-guides__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container base responsive styles */
.page-game-guides__video-section,
.page-game-guides__video-container,
.page-game-guides__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* All button base responsive styles */
.page-game-guides__btn-primary,
.page-game-guides a[class*="button"],
.page-game-guides a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button container base responsive styles */
.page-game-guides__cta-wrapper,
.page-game-guides__button-group,
.page-game-guides__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 15px;
  }

  .page-game-guides__section-title {
    font-size: 2rem;
  }

  .page-game-guides__subsection-title {
    font-size: 1.5rem;
  }

  .page-game-guides__main-title {
    font-size: 2.2rem;
  }

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

  .page-game-guides__content-area,
  .page-game-guides__hero-content {
    padding: 30px 15px;
  }

  .page-game-guides__btn-primary,
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-game-guides__image-content {
    margin: 20px auto;
  }

  /* Video responsive adjustments */
  .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;
  }

  /* Small padding-top for video section on mobile, not --header-offset */
  .page-game-guides__video-section {
    padding-top: 10px !important;
  }

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

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

@media (min-width: 769px) {
  .page-game-guides__hero-section {
    padding-top: 10px;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 600px; /* Adjust as needed for desktop */
  }
  .page-game-guides__hero-content {
    padding: 60px 40px;
  }
  .page-game-guides__content-area {
    padding: 80px 40px;
  }
}