.page-game-guides {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Use shared body background */
}

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

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

.page-game-guides__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: left;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #26A9E0; /* Fallback color, image should cover */
  overflow: hidden;
}

.page-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-game-guides__hero-title {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-game-guides__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* Intro Section */
.page-game-guides__intro-section {
  background-color: #000000; /* Dark background from shared */
  color: #ffffff;
}

.page-game-guides__intro-section .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
}

/* Game Types Section */
.page-game-guides__game-types-section .page-game-guides__section-title {
  color: #ffffff;
}

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

.page-game-guides__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-guides__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-guides__card-text {
  color: #f0f0f0;
}

.page-game-guides__image-centered {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
}

/* How to Play Section */
.page-game-guides__how-to-play-section {
  background-color: #000000; /* Dark background from shared */
  color: #ffffff;
}

.page-game-guides__how-to-play-section .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__step-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}

.page-game-guides__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
}

.page-game-guides__step-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-guides__step-description {
  color: #f0f0f0;
}

/* Strategy Section */
.page-game-guides__strategy-section .page-game-guides__section-title {
  color: #ffffff;
}

.page-game-guides__grid-2-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: center;
}

.page-game-guides__content-block {
  text-align: left;
}

.page-game-guides__content-block-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-game-guides__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #f0f0f0;
  text-align: left;
}

.page-game-guides__list li::before {
  content: '✔';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-game-guides__image-wrapper {
  text-align: center;
}

.page-game-guides__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Choose Link Section */
.page-game-guides__choose-link-section {
  background-color: #000000; /* Dark background from shared */
  color: #ffffff;
}

.page-game-guides__choose-link-section .page-game-guides__section-title {
  color: #26A9E0;
}

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

.page-game-guides__feature-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-guides__feature-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-game-guides__feature-description {
  color: #f0f0f0;
}

/* Promotions Section */
.page-game-guides__promotions-section .page-game-guides__section-title {
  color: #ffffff;
}

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

.page-game-guides__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-game-guides__promo-content {
  padding: 25px;
}

.page-game-guides__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-game-guides__promo-description {
  color: #f0f0f0;
}

.page-game-guides__cta-wrapper {
  margin-top: 50px;
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #000000; /* Dark background from shared */
  color: #ffffff;
}

.page-game-guides__faq-section .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-game-guides__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.5em;
  }

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

  .page-game-guides__grid-2-columns {
    grid-template-columns: 1fr;
  }

  .page-game-guides__image-wrapper {
    order: -1; /* Image first on smaller screens */
    margin-bottom: 30px;
  }
}

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

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

  .page-game-guides__hero-section {
    min-height: 500px;
  }

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

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

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

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

  .page-game-guides__grid-3-columns,
  .page-game-guides__promo-grid,
  .page-game-guides__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-game-guides__step-number {
    margin-bottom: 15px;
  }

  .page-game-guides__list li {
    text-align: center;
    padding-left: 0;
  }

  .page-game-guides__list li::before {
    position: static;
    margin-right: 10px;
  }

  .page-game-guides__card,
  .page-game-guides__feature-item,
  .page-game-guides__promo-card {
    padding: 20px;
  }

  .page-game-guides__faq-question,
  .page-game-guides__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-game-guides img {
    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__promo-card,
  .page-game-guides__feature-item,
  .page-game-guides__image-wrapper,
  .page-game-guides__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Mobile video responsiveness (if any) */
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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: var(--header-offset, 120px) !important;
  }

  /* Mobile button responsiveness */
  .page-game-guides__btn-primary,
  .page-game-guides__cta-button,
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}