/* style/game-guides.css */

/* Base styles for the page-game-guides scope */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Overall background */
}

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

.page-game-guides__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #F2FFF6;
  font-weight: bold;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  color: #F2FFF6;
}

/* Color Contrast Specifics */
.page-game-guides__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-game-guides__light-bg {
  background-color: #11271B; /* Card BG as light for contrast */
  color: #F2FFF6;
}

.page-game-guides__light-bg .page-game-guides__section-title {
  color: #F2FFF6;
}

.page-game-guides__light-bg .page-game-guides__text-block {
  color: #A7D9B8;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, use small decorative padding-top */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #F2FFF6;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-game-guides__btn-secondary:hover {
  background: #57E38D;
  color: #08160F;
  transform: translateY(-3px);
}

/* Image styles within content sections */
.page-game-guides__image-full-width {
  width: 100%;
  max-width: 800px; /* Limit max-width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__image-right {
  float: right;
  margin: 0 0 20px 40px;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Clearfix for floated images */
.page-game-guides__section::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
  clear: both; /* Clear float from image */
}

.page-game-guides__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6;
  background-color: #0A4B2C;
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details/summary */
}

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

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

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

.page-game-guides__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #A7D9B8;
  text-align: justify;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 500px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-game-guides__image-right {
    float: none;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__container {
    padding: 0 15px;
  }
  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 300px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__cta-buttons,
  .page-game-guides__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific image containers if needed */
  .page-game-guides__image-full-width,
  .page-game-guides__image-right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
  }

  /* Video specific mobile styles, if any video exists */
  .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;
  }
}

@media (max-width: 480px) {
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.4em, 7vw, 2.2em);
  }
  .page-game-guides__hero-description {
    font-size: 0.9em;
  }
  .page-game-guides__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 10px 20px;
  }
}