/* style/game-guides.css */

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

.page-game-guides {
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--page-bg);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
}

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-game-guides__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-game-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25em;
  margin-top: 30px;
}

.page-game-guides__section {
  padding: 60px 20px;
  text-align: left;
}

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

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-guides__section-title.page-game-guides__text-dark {
  color: var(--deep-green);
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-guides__sub-title.page-game-guides__text-dark {
  color: var(--deep-green);
}

.page-game-guides__text-block {
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-game-guides__text-block p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-game-guides__text-block.page-game-guides__text-dark p {
  color: #333333;
}

.page-game-guides__text-dark {
  color: #333333;
}

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

.page-game-guides__list.page-game-guides__text-dark {
  color: #333333;
}

.page-game-guides__list li {
  margin-bottom: 10px;
}

.page-game-guides__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-game-guides__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px; /* Adjust as needed */
  width: 100%;
  height: auto;
}

.page-game-guides__image-bottom {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 15px;
}

.page-game-guides__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-game-guides__btn-secondary--small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-game-guides__faq-item[open] > .page-game-guides__faq-question {
  background-color: var(--deep-green);
}

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

.page-game-guides__faq-qtext.page-game-guides__text-dark {
  color: #333333;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow-color);
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-game-guides__faq-answer.page-game-guides__text-dark {
  color: #555555;
}

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

.page-game-guides__text-center {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: 2.5em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__sub-title {
    font-size: 1.5em;
  }
  .page-game-guides__image-right {
    float: none;
    margin: 0 auto 30px auto;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-content {
    padding: 15px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
    margin-bottom: 10px;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-game-guides__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-game-guides__section {
    padding: 40px 15px;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-guides__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-game-guides__list {
    margin-left: 20px;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-game-guides__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile specific image adaptation */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Button group mobile adaptation */
  .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;
  }
  .page-game-guides__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-content {
    padding: 10px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.5em, 7vw, 1.8em);
  }
  .page-game-guides__hero-description {
    font-size: 0.9em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-game-guides__sub-title {
    font-size: 1.2em;
  }
  .page-game-guides__cta-button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
}