/* style/game-guides.css */
:root {
  --page-game-guides-main-color: #11A84E;
  --page-game-guides-accent-color: #22C768;
  --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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: #2E7A4E;
  --page-game-guides-glow: #57E38D;
  --page-game-guides-gold: #F2C14E;
  --page-game-guides-divider: #1E3A2A;
  --page-game-guides-deep-green: #0A4B2C;
}

.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: var(--page-game-guides-text-main);
  background-color: var(--page-game-guides-background);
}

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

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

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

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-game-guides-text-main);
  margin-bottom: 20px;
  max-width: 100%;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-game-guides__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 30px;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  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: var(--page-game-guides-button-gradient);
  color: var(--page-game-guides-text-main);
  border: 2px solid transparent;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(var(--page-game-guides-main-color), 0.4);
}

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

.page-game-guides__btn-secondary:hover {
  background: var(--page-game-guides-main-color);
  color: var(--page-game-guides-text-main);
  transform: translateY(-3px);
}

.page-game-guides__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
}

.page-game-guides__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-game-guides-text-main);
  margin-bottom: 30px;
  text-align: center;
}

.page-game-guides__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--page-game-guides-main-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

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

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

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

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

.page-game-guides__card {
  background-color: var(--page-game-guides-card-bg);
  border: 1px solid var(--page-game-guides-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(var(--page-game-guides-main-color), 0.2);
}

.page-game-guides__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-game-guides__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.page-game-guides__card-title a:hover {
  color: var(--page-game-guides-main-color);
}

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

.page-game-guides__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 30px;
}

.page-game-guides__game-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-game-guides__game-image {
  flex: 0 0 600px; /* Base width */
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-game-guides__game-text {
  flex: 1;
  min-width: 300px; /* Allow text to wrap below image on smaller screens */
}

.page-game-guides__faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-game-guides__faq-item {
  background-color: var(--page-game-guides-card-bg);
  border: 1px solid var(--page-game-guides-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-game-guides-text-main);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--page-game-guides-deep-green);
  color: var(--page-game-guides-text-main);
  border-bottom: 1px solid var(--page-game-guides-border);
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-game-guides-glow);
}

.page-game-guides__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-game-guides-text-secondary);
}

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

.page-game-guides__faq-answer a {
  color: var(--page-game-guides-main-color);
  text-decoration: underline;
}

.page-game-guides__conclusion-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--page-game-guides-background);
}

/* Color contrast classes */
.page-game-guides__dark-section {
  background-color: var(--page-game-guides-background);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__light-bg {
  background-color: #f2fff6; /* A lighter shade for contrast */
  color: #333333; /* Dark text for light background */
}

.page-game-guides__light-bg .page-game-guides__section-title,
.page-game-guides__light-bg .page-game-guides__sub-title {
  color: var(--page-game-guides-deep-green);
}

.page-game-guides__light-bg .page-game-guides__text-block,
.page-game-guides__light-bg .page-game-guides__list-item {
  color: #333333;
}

/* Ensure light text on dark card backgrounds */
.page-game-guides__card-dark-bg {
  background-color: var(--page-game-guides-card-bg);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__card-dark-bg .page-game-guides__card-text {
  color: var(--page-game-guides-text-secondary);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-game-guides__section-title {
    font-size: 2rem;
  }
  .page-game-guides__sub-title {
    font-size: 1.5rem;
  }
  .page-game-guides__game-guide-item {
    flex-direction: column;
    align-items: center;
  }
  .page-game-guides__game-image {
    flex: none;
    width: 100%;
    max-width: 600px; /* Constrain max width for images */
  }
  .page-game-guides__game-text {
    min-width: unset;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding for section */
  }
  .page-game-guides__hero-image {
    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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__content-area,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__section-title {
    font-size: 1.8rem;
  }
  .page-game-guides__sub-title {
    font-size: 1.3rem;
  }
  .page-game-guides__text-block,
  .page-game-guides__list-item,
  .page-game-guides__card-text {
    font-size: 0.95rem;
  }
  .page-game-guides__card-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__card-image,
  .page-game-guides__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Ensure min size */
  }
  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 10px 20px;
  }
  /* Ensure all image containers are responsive */
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__game-guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-game-guides__section-title {
    font-size: 1.6rem;
  }
  .page-game-guides__sub-title {
    font-size: 1.2rem;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 0.9rem;
    padding: 12px 25px;
  }
}