.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default to Text Main */
  background-color: var(--background, #08160F); /* Default to Background */
}

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

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

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

.page-game-guides__hero-content {
  position: relative; /* Ensure content is below image in normal flow */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull up to overlap image slightly for visual effect, but not cover text */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-game-guides__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  /* No fixed font-size, rely on clamp if needed, otherwise let browser decide based on context */
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-game-guides__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #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;
}

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

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

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

.page-game-guides__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-game-guides__btn-secondary:hover {
  background: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.2);
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-game-guides__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: bold;
  color: var(--glow, #57E38D);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-game-guides__intro-section,
.page-game-guides__advanced-strategy,
.page-game-guides__conclusion-cta {
  padding: 80px 0;
}

.page-game-guides__game-types-section,
.page-game-guides__faq-section {
  padding: 80px 0;
}

.page-game-guides__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__light-bg .page-game-guides__section-title,
.page-game-guides__light-bg .page-game-guides__sub-title {
  color: #333333;
}

.page-game-guides__light-bg .page-game-guides__text-block {
  color: #555555;
}

.page-game-guides__game-category {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--card-bg, #11271B);
}

.page-game-guides__game-category:nth-child(even) {
  flex-direction: row-reverse;
}

.page-game-guides__category-image {
  flex: 1;
  width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-game-guides__category-content {
  flex: 1;
  padding: 30px;
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__game-types-section .page-game-guides__card {
  background-color: var(--card-bg, #11271B);
}

.page-game-guides__game-types-section .page-game-guides__card .page-game-guides__category-title {
  color: var(--glow, #57E38D);
}

.page-game-guides__game-types-section .page-game-guides__card .page-game-guides__category-description {
  color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__category-title {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-game-guides__faq-item {
  margin-bottom: 15px;
  background-color: var(--card-bg, #11271B);
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--divider, #1E3A2A);
  color: var(--text-main, #F2FFF6);
}

.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: var(--gold, #F2C14E);
}

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

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

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

/* Ensure image size for content areas */
.page-game-guides img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-game-guides__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

  .page-game-guides__game-category {
    flex-direction: column;
  }

  .page-game-guides__game-category:nth-child(even) {
    flex-direction: column;
  }

  .page-game-guides__category-content {
    padding: 20px;
    text-align: center;
  }
}

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

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

  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }

  .page-game-guides__hero-content {
    margin-top: -30px;
    padding: 25px 10px;
  }

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

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

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-game-guides__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides__intro-section,
  .page-game-guides__advanced-strategy,
  .page-game-guides__conclusion-cta,
  .page-game-guides__game-types-section,
  .page-game-guides__faq-section {
    padding: 40px 0;
  }

  .page-game-guides__game-category {
    margin-bottom: 30px;
  }

  .page-game-guides__category-content {
    padding: 15px;
  }

  .page-game-guides__category-title {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
  }

  .page-game-guides__category-description {
    font-size: 0.95rem;
  }

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

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

  /* Mobile image, video, container overrides */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow smaller images on mobile if needed, but still >= 200px */
    min-height: unset !important;
  }

  .page-game-guides video {
    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__video-section,
  .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; /* body already handles --header-offset */
  }

  /* Ensure no image filters */
  .page-game-guides img {
    filter: none !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-content {
    margin-top: -20px;
    padding: 20px 10px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

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

  .page-game-guides__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .page-game-guides__sub-title {
    font-size: clamp(1rem, 6vw, 1.5rem);
  }
}

/* Custom colors (ensure contrast) */
.page-game-guides__dark-bg h2,
.page-game-guides__dark-bg h3 {
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__light-bg h2,
.page-game-guides__light-bg h3 {
  color: #333333;
}

.page-game-guides__dark-bg p,
.page-game-guides__dark-bg li {
  color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__light-bg p,
.page-game-guides__light-bg li {
  color: #555555;
}

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

.page-game-guides__faq-item:not([open]) .page-game-guides__faq-toggle {
  content: '+';
}