/* style/game-guides.css */
:root {
  --page-game-guides-primary-color: #11A84E;
  --page-game-guides-secondary-color: #22C768;
  --page-game-guides-card-bg: #11271B;
  --page-game-guides-background: #08160F;
  --page-game-guides-text-main: #F2FFF6;
  --page-game-guides-text-secondary: #A7D9B8;
  --page-game-guides-border-color: #2E7A4E;
  --page-game-guides-glow-color: #57E38D;
  --page-game-guides-gold-color: #F2C14E;
  --page-game-guides-divider-color: #1E3A2A;
  --page-game-guides-deep-green: #0A4B2C;
  --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-game-guides-text-main); /* Default text color for dark body bg */
  background-color: var(--page-game-guides-background);
}

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

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

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--page-game-guides-text-main);
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-game-guides-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-game-guides__description {
  font-size: 1.1rem;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-game-guides__btn-primary {
  background: var(--page-game-guides-button-gradient);
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: var(--page-game-guides-gold-color);
  border: 2px solid var(--page-game-guides-gold-color);
}

.page-game-guides__btn-secondary:hover {
  background: var(--page-game-guides-gold-color);
  color: var(--page-game-guides-background);
}

.page-game-guides__section {
  padding: 60px 0;
}

.page-game-guides__intro-text {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__intro-text p {
  color: #333333;
}

.page-game-guides__dark-bg {
  background-color: var(--page-game-guides-background);
  color: var(--page-game-guides-text-main);
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-game-guides-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-guides__intro-text .page-game-guides__section-title {
  color: var(--page-game-guides-deep-green);
}

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

.page-game-guides__card {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-game-guides-text-main);
  border: 1px solid var(--page-game-guides-border-color);
  display: flex;
  flex-direction: column;
}

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

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

.page-game-guides__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--page-game-guides-gold-color);
  font-weight: bold;
}

.page-game-guides__card-title a {
  color: var(--page-game-guides-gold-color);
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-content p {
  font-size: 0.95rem;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-link {
  display: inline-block;
  color: var(--page-game-guides-secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  align-self: flex-start;
}

.page-game-guides__card-link:hover {
  text-decoration: underline;
  color: var(--page-game-guides-glow-color);
}

.page-game-guides__game-categories .page-game-guides__section-title {
  color: var(--page-game-guides-deep-green);
}

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

.page-game-guides__category-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  padding: 30px;
  text-align: center;
}

.page-game-guides__category-card .page-game-guides__category-title {
  font-size: 1.5rem;
  color: var(--page-game-guides-deep-green);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__category-card p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-game-guides__category-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-game-guides__category-card li {
  margin-bottom: 8px;
}

.page-game-guides__category-card li a {
  color: var(--page-game-guides-secondary-color);
  text-decoration: none;
}

.page-game-guides__category-card li a:hover {
  text-decoration: underline;
  color: var(--page-game-guides-glow-color);
}

.page-game-guides__category-card .page-game-guides__btn-primary {
  background: var(--page-game-guides-button-gradient);
  color: #ffffff;
  border: none;
  width: auto;
  padding: 12px 25px;
  font-size: 0.9rem;
}

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

.page-game-guides__step-item {
  text-align: center;
  padding: 30px;
}

.page-game-guides__step-title {
  font-size: 1.5rem;
  color: var(--page-game-guides-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__step-item p {
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 20px;
}

.page-game-guides__step-item .page-game-guides__btn-secondary {
  color: var(--page-game-guides-gold-color);
  border-color: var(--page-game-guides-gold-color);
  padding: 12px 25px;
  font-size: 0.9rem;
}

.page-game-guides__advanced-strategies .page-game-guides__section-title {
  color: var(--page-game-guides-deep-green);
}

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

.page-game-guides__strategy-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  padding: 25px;
  text-align: center;
}

.page-game-guides__strategy-card .page-game-guides__card-image {
  height: 180px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-game-guides__strategy-title {
  font-size: 1.3rem;
  color: var(--page-game-guides-deep-green);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__strategy-card p {
  color: #555555;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-game-guides__strategy-card .page-game-guides__card-link {
  color: var(--page-game-guides-secondary-color);
  font-size: 0.9rem;
}

.page-game-guides__cta-bottom {
  text-align: center;
  padding: 80px 0;
}

.page-game-guides__cta-bottom .page-game-guides__section-title {
  margin-bottom: 20px;
}

.page-game-guides__cta-bottom p {
  font-size: 1.1rem;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 40px;
}

.page-game-guides__faq-section {
  background-color: #f8f8f8;
  color: #333333;
  padding-bottom: 80px;
}

.page-game-guides__faq-section .page-game-guides__section-title {
  color: var(--page-game-guides-deep-green);
}

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

.page-game-guides__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--page-game-guides-deep-green);
  cursor: pointer;
  background-color: #fefefe;
}

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

.page-game-guides__faq-item summary:hover {
  background-color: #f0f0f0;
}

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

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

.page-game-guides__faq-answer {
  padding: 15px 25px 25px;
  background-color: #ffffff;
  color: #555555;
  font-size: 1rem;
  border-top: 1px solid #eee;
}

.page-game-guides__faq-answer p {
  margin: 0;
  color: #555555;
}

/* --- Responsive Styles --- */

/* All images must be responsive */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video must be responsive */
.page-game-guides video,
.page-game-guides__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container desktop width */
.page-game-guides__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-game-guides {
    font-size: 15px;
  }

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

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

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

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

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

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

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

  .page-game-guides__guide-grid,
  .page-game-guides__category-grid,
  .page-game-guides__guide-steps,
  .page-game-guides__strategy-items {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-game-guides__card-title {
    font-size: 1.2rem;
  }

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

  .page-game-guides__category-card .page-game-guides__category-title,
  .page-game-guides__step-title,
  .page-game-guides__strategy-title {
    font-size: 1.3rem;
  }

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

  .page-game-guides__faq-toggle {
    font-size: 1.3rem;
  }

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

  /* Mobile specific image/video/button overrides */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper,
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-game-guides__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Specific overrides for elements that might have fixed width */
  .page-game-guides__card-image,
  .page-game-guides__strategy-card .page-game-guides__card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}