/* style/game-guides.css */

/* General styles for the page */
.page-game-guides {
  color: #F2FFF6; /* Text Main for dark background */
  background-color: #08160F; /* Background color */
  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;
}

.page-game-guides__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-game-guides__section:last-of-type {
  border-bottom: none;
}

.page-game-guides__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-game-guides__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #08160F; /* Match body background */
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit height for visual balance */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
}

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

.page-game-guides__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.page-game-guides__description {
  font-size: 19px;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%; /* For responsive */
}

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

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(34, 199, 104, 0.6);
}

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

.page-game-guides__btn-secondary:hover {
  background-color: rgba(34, 199, 104, 0.1);
  color: #F2FFF6;
  box-shadow: 0 0 15px rgba(34, 199, 104, 0.6);
}

.page-game-guides__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}

.page-game-guides__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Game Cards Section */
.page-game-guides__game-card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__game-title {
  font-size: clamp(24px, 3.5vw, 32px);
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__game-title a {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-game-guides__game-description {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-game-guides__game-features {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 25px;
  color: #A7D9B8;
}

.page-game-guides__game-features li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-game-guides__game-features strong {
  color: #F2FFF6;
}

/* Tips Section */
.page-game-guides__tip-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-game-guides__tip-list li {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #A7D9B8;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__tip-list li strong {
  color: #2AD16F;
  font-size: 18px;
}

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

.page-game-guides__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-game-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  outline: none;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Chrome's default marker */
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-game-guides__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8;
  line-height: 1.6;
}

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

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

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

/* Call to Action Section */
.page-game-guides__call-to-action-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #2E7A4E;
}

.page-game-guides__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-guides__hero-image {
    max-height: 400px;
  }
  .page-game-guides__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-game-guides__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-game-guides__description {
    font-size: 17px;
  }
  .page-game-guides__game-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__hero-image {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-game-guides__game-image {
    height: auto !important; /* Allow auto height for game cards */
    max-height: 200px;
  }

  /* Buttons responsive */
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-game-guides__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-game-guides__main-title {
    font-size: clamp(24px, 7vw, 40px);
  }
  .page-game-guides__description {
    font-size: 16px;
  }
  .page-game-guides__section-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .page-game-guides__sub-title {
    font-size: clamp(20px, 5vw, 26px);
  }
  .page-game-guides__text-block,
  .page-game-guides__game-description,
  .page-game-guides__game-features li,
  .page-game-guides__tip-list li,
  .page-game-guides__faq-item summary,
  .page-game-guides__faq-answer {
    font-size: 15px;
  }
  .page-game-guides__game-card,
  .page-game-guides__faq-item {
    padding: 20px;
  }
  .page-game-guides__faq-item summary {
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 0 20px 15px 20px;
  }
}