.page-game-guides {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--bg-color);
}

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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header-offset */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -200px; /* Overlap image slightly */
  padding: 20px;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 0.95) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-game-guides__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-game-guides__text-block {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides__introduction-section,
.page-game-guides__game-types-section,
.page-game-guides__tips-section,
.page-game-guides__cta-bottom-section {
  background-color: var(--bg-color);
  padding: 60px 0;
}

.page-game-guides__why-guides-section,
.page-game-guides__detailed-guides-section,
.page-game-guides__faq-section {
  background-color: var(--card-bg);
  padding: 60px 0;
}

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

.page-game-guides__feature-card {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-game-guides__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-game-guides__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__feature-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-game-guides__feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.page-game-guides__category-card {
  background-color: var(--deep-green);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-game-guides__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-game-guides__category-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__category-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-game-guides__category-title a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__category-title a:hover {
  color: var(--glow-color);
}

.page-game-guides__category-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.page-game-guides__guide-block {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-game-guides__guide-title {
  font-size: 1.8rem;
  color: var(--gold-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

.page-game-guides__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-game-guides__inline-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-guides__inline-link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

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

.page-game-guides__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: var(--deep-green);
}

.page-game-guides__faq-item[open] > .page-game-guides__faq-question {
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  color: var(--glow-color);
  margin-left: 10px;
}

.page-game-guides__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-game-guides__faq-item summary {
  list-style: none;
}

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

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

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

.page-game-guides__btn-secondary {
  background: #0A4B2C;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-game-guides__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--deep-green);
  border-color: var(--deep-green);
}

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

@media (max-width: 768px) {
  .page-game-guides__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

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

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

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

  .page-game-guides__introduction-section,
  .page-game-guides__why-guides-section,
  .page-game-guides__game-types-section,
  .page-game-guides__detailed-guides-section,
  .page-game-guides__tips-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom-section {
    padding: 40px 0;
  }

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

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

  .page-game-guides__guide-title {
    font-size: 1.5rem;
  }

  .page-game-guides__list {
    margin-left: 20px;
  }

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

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

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

  /* Mobile container padding and overflow */
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__introduction-section,
  .page-game-guides__why-guides-section,
  .page-game-guides__game-types-section,
  .page-game-guides__detailed-guides-section,
  .page-game-guides__tips-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom-section,
  .page-game-guides__features-grid,
  .page-game-guides__game-categories,
  .page-game-guides__guide-block,
  .page-game-guides__faq-item,
  .page-game-guides__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body handles header-offset, this is decorative */
  }

  /* Mobile button responsiveness */
  .page-game-guides__cta-button,
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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