/* style/game-guides.css */

/* --- Base Styles --- */
.page-game-guides {
  /* Body background is #0A0A0A, so text should be light */
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0A0A0A; /* Background */
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-game-guides__section-description,
.page-game-guides__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__dark-section,
.page-game-guides__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

/* --- Buttons --- */
.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* For mobile responsiveness */
}

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

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-game-guides__btn-secondary:hover {
  background-color: #FFD36B; /* Glow */
  color: #0A0A0A; /* Background */
}

.page-game-guides__card-link,
.page-game-guides__step-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  font-size: 0.95em;
  padding: 10px 20px;
  margin-top: 15px;
}

.page-game-guides__card-link:hover,
.page-game-guides__step-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.page-game-guides__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding as per instruction */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-game-guides__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 font size */
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Introduction Section --- */
.page-game-guides__introduction-section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Background */
}

/* --- Categories Section --- */
.page-game-guides__categories-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG */
}

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

.page-game-guides__card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-game-guides__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-game-guides__card-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__card-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 15px;
  flex-grow: 1;
  text-align: left;
}


/* --- Advanced Strategies Section --- */
.page-game-guides__advanced-strategies-section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Background */
}

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

.page-game-guides__strategy-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__strategy-title {
  font-size: 1.3em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__strategy-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

/* --- Get Started Section --- */
.page-game-guides__get-started-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG */
}

.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 {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__step-icon {
  width: 50px; /* Container for 30x30 icon */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F2C14E; /* Primary color for icon background */
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-game-guides__step-icon img {
   /* Actual icon size */
  
  object-fit: contain;
  filter: brightness(0) invert(1); /* Make icon white on golden background for contrast */
  min-width: unset; /* Override general min-width for exceptions */
  min-height: unset; /* Override general min-height for exceptions */
}

.page-game-guides__step-title {
  font-size: 1.3em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__step-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-game-guides__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Light hover effect */
}

.page-game-guides__faq-title {
  font-size: 1.2em;
  color: #FFD36B; /* Glow */
  margin: 0;
  font-weight: bold;
}

.page-game-guides__faq-toggle {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  font-weight: lighter;
  line-height: 1;
  width: 30px;
  text-align: center;
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-question {
  background-color: rgba(242, 193, 78, 0.15); /* Slightly darker when active */
}

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

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

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

  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* Maintain small top padding */
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__card-link,
  .page-game-guides__step-button {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-game-guides__section-description,
  .page-game-guides__text-block {
    font-size: 0.95em;
    text-align: left; /* Adjust for better mobile readability */
  }

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

  .page-game-guides__game-cards,
  .page-game-guides__strategy-grid,
  .page-game-guides__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-game-guides__card,
  .page-game-guides__strategy-item,
  .page-game-guides__step-card {
    padding: 20px;
  }

  .page-game-guides__card-title,
  .page-game-guides__strategy-title,
  .page-game-guides__step-title {
    font-size: 1.1em;
  }

  .page-game-guides__card-text,
  .page-game-guides__strategy-text,
  .page-game-guides__step-text {
    font-size: 0.9em;
  }

  .page-game-guides__card-content {
    align-items: center;
    text-align: center;
  }

  /* Mobile image responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Ensure containers with images are also responsive */
  .page-game-guides__hero-section,
  .page-game-guides__categories-section,
  .page-game-guides__card,
  .page-game-guides__step-card,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom,
  .page-game-guides__introduction-section,
  .page-game-guides__advanced-strategies-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__card-image {
    height: 180px; /* Adjust card image height for mobile */
  }

  .page-game-guides__faq-question {
    padding: 15px 20px;
  }

  .page-game-guides__faq-title {
    font-size: 1.1em;
  }

  .page-game-guides__faq-answer {
    padding: 15px 20px;
  }
}

/* Ensure H1 in hero section doesn't have fixed font-size */
.page-game-guides__hero-section h1 {
  /* clamp is used, no fixed large font-size. No additional fixed font-size here */
}

/* Ensure content area images are not tiny */
.page-game-guides__card-image,
.page-game-guides__hero-image {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast enforcement */
.page-game-guides p,
.page-game-guides li {
  color: #FFF6D6; /* Text Main */
}

.page-game-guides__card,
.page-game-guides__strategy-item,
.page-game-guides__faq-item {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-game-guides__faq-answer {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}