/* style/game-guides.css */
/* Body background color is #0D0E12 (dark), so main text color should be #FFF3E6 */

.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  text-align: center;
  background-color: #0D0E12; /* Background */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-guides__main-title {
  font-weight: bold;
  color: #FFB04D; /* Glow */
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.6);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-game-guides__description {
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  margin-right: 15px;
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow, Main color */
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.8);
}

.page-game-guides__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Auxiliary color */
}

.page-game-guides__btn-secondary:hover {
  background: #FFA53A; /* Auxiliary color */
  color: #17191F; /* Card BG */
  border-color: #FFB04D; /* Glow */
}

.page-game-guides__section {
  padding: 60px 20px;
  background-color: #0D0E12; /* Background */
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
}

.page-game-guides__intro-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
  text-align: justify;
}

.page-game-guides__intro-text strong {
  color: #FFB04D; /* Glow */
}

.page-game-guides__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-game-guides__card {
  background: #17191F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFF3E6; /* Text Main */
  border: 1px solid #A84F0C; /* Border */
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  padding: 15px 20px 10px;
  color: #FFB04D; /* Glow */
}

.page-game-guides__card-title a {
  color: #FFB04D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
  color: #FFA53A; /* Auxiliary color */
}

.page-game-guides__card p {
  font-size: 0.95rem;
  padding: 0 20px 15px;
  flex-grow: 1;
  color: #FFF3E6; /* Text Main */
}

.page-game-guides__card .page-game-guides__btn-secondary {
  margin: 10px 20px 20px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 25px;
}

.page-game-guides__tips-section {
  background-color: #17191F; /* Card BG */
}

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

.page-game-guides__tips-list li {
  background: rgba(255, 140, 26, 0.08); /* Slightly transparent main color */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid #FF8C1A; /* Main color */
  border-radius: 5px;
  color: #FFF3E6; /* Text Main */
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__tips-list li strong {
  color: #FFB04D; /* Glow */
}

.page-game-guides__faq-section {
  background-color: #0D0E12; /* Background */
}

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

.page-game-guides__faq-item {
  background: #17191F; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  color: #FFF3E6; /* Text Main */
}

.page-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.15rem;
  color: #FFB04D; /* Glow */
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
}

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

.page-game-guides__faq-item summary:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A; /* Auxiliary color */
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
}

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

.page-game-guides__faq-answer a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: underline;
}

.page-game-guides__faq-answer a:hover {
  color: #FFB04D; /* Glow */
}

.page-game-guides__cta-section {
  background: linear-gradient(90deg, #D96800 0%, #FF8C1A 100%); /* Deep Orange to Main color */
  text-align: center;
  padding: 80px 20px;
}

.page-game-guides__cta-section .page-game-guides__section-title {
  color: #ffffff;
  text-shadow: none;
}

.page-game-guides__cta-description {
  font-size: 1.2rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }

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

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 20px 15px;
    padding-top: 10px !important; /* body has padding-top */
  }

  .page-game-guides__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-game-guides__description {
    font-size: 1rem;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

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

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

  .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

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

  .page-game-guides__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__tips-list li {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

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

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

  .page-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__cta-section {
    padding: 60px 15px;
  }

  .page-game-guides__cta-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-section {
    padding: 15px 10px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-game-guides__section {
    padding: 30px 10px;
  }
  .page-game-guides__container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-game-guides__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .page-game-guides__card-title {
    font-size: 1.2rem;
  }
  .page-game-guides__faq-item summary {
    font-size: 0.95rem;
    padding: 12px 15px;
  }
}