/* style/game-guides.css */

/* Body background from shared.css is #08160F (dark), so text color should be light */
.page-game-guides {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
  background-color: #08160F; /* Background */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  max-width: 900px;
  padding: 40px 20px 60px;
  box-sizing: border-box;
}

.page-game-guides__hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

/* Section Titles */
.page-game-guides__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

/* Text Blocks */
.page-game-guides__text-block {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

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

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

/* Dark Section */
.page-game-guides__dark-section {
  background-color: #08160F; /* Background */
  padding: 60px 0;
}

/* Game Cards */
.page-game-guides__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.page-game-guides__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
}

.page-game-guides__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin: 20px 20px 10px;
}

.page-game-guides__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  color: #2AD16F;
}

.page-game-guides__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px;
  flex-grow: 1;
}

.page-game-guides__card-link {
  margin: 20px;
}

/* Strategy Section */
.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__list-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #2AD16F;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__list-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__list-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

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

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

/* Safety Section */
.page-game-guides__safety-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-guides__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__safety-list .page-game-guides__list-item {
  background-color: transparent;
  border-left: 5px solid #F2C14E; /* Gold */
  padding: 15px 25px;
  margin-bottom: 15px;
  box-shadow: none;
}

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

.page-game-guides__safety-list .page-game-guides__list-item p {
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-game-guides__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

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

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

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: "−";
}

.page-game-guides__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

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

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

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

/* CTA Bottom Section */
.page-game-guides__cta-bottom-section {
  padding: 60px 0 80px;
  text-align: center;
  background-color: #08160F; /* Background */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.5rem;
  }

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

  .page-game-guides__game-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__hero-content {
    padding: 30px 15px 40px;
  }

  .page-game-guides__hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-game-guides__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-game-guides__section-title {
    font-size: 1.8rem;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .page-game-guides__text-block {
    font-size: 0.95rem;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin: 5px 0;
  }

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

  .page-game-guides__introduction-section,
  .page-game-guides__game-types-section,
  .page-game-guides__strategy-section,
  .page-game-guides__safety-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom-section {
    padding: 40px 0;
  }

  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__game-card {
    padding-bottom: 15px;
  }

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

  .page-game-guides__card-title {
    font-size: 1.3rem;
    margin: 15px 15px 8px;
  }

  .page-game-guides__card-description {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .page-game-guides__card-link {
    margin: 15px;
  }

  .page-game-guides__list-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-game-guides__list-title {
    font-size: 1.1rem;
  }

  .page-game-guides__list-item p {
    font-size: 0.95rem;
  }

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

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

  /* Image and video responsive rules */
  .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,
  .page-game-guides__hero-image-wrapper,
  .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;
  }
}