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

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

.page-game-guides__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-game-guides__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
  padding: 0 20px;
}

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

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

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

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-game-guides__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  border: 1px solid #26A9E0;
}

.page-game-guides__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #26A9E0;
}

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

.page-game-guides__introduction-section,
.page-game-guides__basic-guide-section,
.page-game-guides__popular-games-section,
.page-game-guides__advanced-strategy-section,
.page-game-guides__faq-section,
.page-game-guides__conclusion-section {
  padding: 80px 0;
}

.page-game-guides__guide-cards {
  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.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-game-guides__card:hover {
  transform: translateY(-10px);
}

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

.page-game-guides__card p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-game-guides__card-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

.page-game-guides__game-category {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-game-guides__game-image-wrapper {
  flex: 1;
  min-width: 300px;
}

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

.page-game-guides__game-content {
  flex: 2;
}

.page-game-guides__game-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-game-guides__game-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-game-guides__game-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-game-guides__game-list li strong {
  color: #ffffff;
}

.page-game-guides__cta-banner {
  background-color: #26A9E0;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

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

.page-game-guides__cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-game-guides__cta-banner-title {
  font-size: 2.2em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-game-guides__cta-banner-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
}

.page-game-guides__strategy-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 5px solid #26A9E0;
  color: #f0f0f0;
}

.page-game-guides__strategy-list li h4 {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(38, 169, 224, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  background-color: rgba(38, 169, 224, 0.15);
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.25);
}

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

.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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.8em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__game-category {
    flex-direction: column;
    gap: 30px;
  }
  .page-game-guides__game-category--reverse {
    flex-direction: column;
  }
  .page-game-guides__game-content, .page-game-guides__game-image-wrapper {
    flex: none;
    width: 100%;
  }
}

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

  .page-game-guides__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-guides__hero-content {
    padding: 0 15px;
  }
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary, .page-game-guides__btn-secondary, .page-game-guides__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-guides__text-block {
    font-size: 0.95em;
  }
  .page-game-guides__introduction-section,
  .page-game-guides__basic-guide-section,
  .page-game-guides__popular-games-section,
  .page-game-guides__advanced-strategy-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 50px 0;
  }
  .page-game-guides__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-guides__card {
    padding: 20px;
  }
  .page-game-guides__card-title {
    font-size: 1.4em;
  }
  .page-game-guides__game-category {
    padding: 20px;
    margin-bottom: 40px;
  }
  .page-game-guides__game-title {
    font-size: 1.6em;
  }
  .page-game-guides__cta-banner {
    padding: 30px 15px;
  }
  .page-game-guides__cta-banner-title {
    font-size: 1.8em;
  }
  .page-game-guides__cta-banner-description {
    font-size: 1em;
  }
  .page-game-guides__strategy-list li {
    padding: 20px;
  }
  .page-game-guides__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 0 20px;
  }
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px 20px;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__video-section {
    padding-top: var(--header-offset, 120px) !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;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-game-guides__cta-banner-title {
    font-size: 1.5em;
  }
}