/* style/game-guides.css */

/* Base styles for the page, assuming a dark body background from shared.css */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-game-guides__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__card {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more at bottom */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-game-guides__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  z-index: 1;
}

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

.page-game-guides__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F;
}

.page-game-guides__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-game-guides__btn-text {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-game-guides__btn-text:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* General Section Styles */
.page-game-guides__section {
  padding: 60px 20px;
  text-align: center;
}

.page-game-guides__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-game-guides__section-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Benefits Section */
.page-game-guides__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__benefit-card .page-game-guides__card-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-game-guides__benefit-card .page-game-guides__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Game Types Section */
.page-game-guides__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__game-type-card {
  text-align: left;
}

.page-game-guides__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

.page-game-guides__game-type-card .page-game-guides__card-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-game-guides__game-type-card .page-game-guides__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Access Guide Section */
.page-game-guides__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__step-card .page-game-guides__card-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-game-guides__step-card .page-game-guides__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-game-guides__step-card .page-game-guides__card-text a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-game-guides__step-card .page-game-guides__card-text a:hover {
  color: #57E38D;
}

/* Advanced Tips Section */
.page-game-guides__advanced-tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-game-guides__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
  line-height: 1.7;
}

.page-game-guides__list-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__list-item a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-game-guides__list-item a:hover {
  color: #57E38D;
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  overflow: hidden; /* For details tag */
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-game-guides__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-game-guides__faq-answer {
  padding: 15px 20px;
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E; /* Border */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-game-guides__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-game-guides__faq-answer a:hover {
  color: #57E38D;
}

/* Conclusion Section */
.page-game-guides__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    margin-top: 30px;
  }

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

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-game-guides__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 15px 40px;
  }

  .page-game-guides__hero-content {
    margin-top: 20px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

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

  .page-game-guides__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
  }

  .page-game-guides__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-game-guides__benefits-grid,
  .page-game-guides__game-types-grid,
  .page-game-guides__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card-image {
    height: 200px;
  }

  .page-game-guides__list-item {
    padding: 15px;
    font-size: 0.95em;
  }

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

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

  /* Mobile image responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__section,
  .page-game-guides__container,
  .page-game-guides__card,
  .page-game-guides__cta-buttons,
  .page-game-guides__benefits-grid,
  .page-game-guides__game-types-grid,
  .page-game-guides__steps-grid,
  .page-game-guides__advanced-tips-list,
  .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;
  }

  .page-game-guides__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-guides__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-game-guides__video-section {
    padding-top: 10px !important;
  }
}

@media (min-width: 769px) {
  .page-game-guides__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
  }
  .page-game-guides__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .page-game-guides__video-container {
    width: 100%;
    max-width: 1200px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: row;
  }
}