.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css */
}

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

.page-game-guides__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 80px;
  text-align: center;
  background-image: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero_bg:1920x1080:99win,game_guides,abstract_pattern,green_theme]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-game-guides__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login Font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.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;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login Font color */
  border: 2px solid #C30808;
}

.page-game-guides__btn-primary:hover {
  background-color: #E00A0A;
  border-color: #E00A0A;
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-game-guides__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-game-guides__btn-full-width {
  width: 100%;
  max-width: 300px;
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
  font-weight: bold;
}

.page-game-guides__dark-section .page-game-guides__section-title {
  color: #FFFF00;
}

.page-game-guides__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-game-guides__light-bg .page-game-guides__section-description {
  color: #333333;
}

.page-game-guides__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.page-game-guides__text-block {
  flex: 1;
}

.page-game-guides__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-game-guides__text-block h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-game-guides__dark-section .page-game-guides__text-block h3 {
  color: #FFFF00;
}

.page-game-guides__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #333333;
}

.page-game-guides__dark-section .page-game-guides__list {
  color: #ffffff;
}

.page-game-guides__list li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.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: #2a2a3e; /* Slightly lighter dark background */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-game-guides__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00;
  padding: 0 15px;
}

.page-game-guides__card-text {
  font-size: 0.95em;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-game-guides__card-link {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-game-guides__card-link:hover {
  background-color: #005a2e;
}

.page-game-guides__faq-section {
  padding-bottom: 80px;
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: #005a2e;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-game-guides__faq-answer {
  padding: 20px;
  background-color: #3a3a4e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1em;
  color: #f0f0f0;
}

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

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

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

.page-game-guides__cta-support {
  text-align: center;
  margin-top: 50px;
  color: #ffffff;
  font-size: 1.1em;
}

.page-game-guides__cta-support p {
  margin-bottom: 20px;
}

.page-game-guides__final-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-game-guides__main-title {
    font-size: 2.8em;
  }

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

  .page-game-guides__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-game-guides__image-block {
    order: -1; /* Image appears before text on smaller screens */
    width: 100%;
  }

  .page-game-guides__reverse-order-mobile .page-game-guides__image-block {
    order: 0;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-game-guides__final-cta {
    flex-direction: column;
    gap: 15px;
  }
}

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

  .page-game-guides__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }

  .page-game-guides__main-title {
    font-size: 2.2em;
  }

  .page-game-guides__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

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

  .page-game-guides__section-description {
    font-size: 1em;
  }

  .page-game-guides__text-block h3 {
    font-size: 1.5em;
  }

  /* Mobile image responsive adaptation */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Mobile button responsive adaptation */
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container,
  .page-game-guides__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .page-game-guides__final-cta {
    flex-direction: column !important;
  }

  .page-game-guides__card {
    padding-bottom: 15px;
  }
  
  .page-game-guides__container,
  .page-game-guides__section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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