.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default body background is white */
}

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

.page-game-guides__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7aab); /* Brand color gradient */
  color: #ffffff; /* White text for dark background */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

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

.page-game-guides__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-game-guides__dark-section .page-game-guides__section-title,
.page-game-guides__dark-section .page-game-guides__section-description {
  color: #ffffff;
}

.page-game-guides__dark-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 60px 0;
}

.page-game-guides__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333;
  padding: 60px 0;
}

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

.page-game-guides__dark-section .page-game-guides__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-game-guides__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

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

.page-game-guides__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-game-guides__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-game-guides__game-category {
  margin-bottom: 40px;
  padding: 30px;
  text-align: left;
}

.page-game-guides__game-category:last-child {
  margin-bottom: 0;
}

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

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

.page-game-guides__category-text {
  margin-bottom: 20px;
  color: #555555;
}

.page-game-guides__dark-section .page-game-guides__category-text {
  color: #f0f0f0;
}

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

.page-game-guides__category-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #555555;
}

.page-game-guides__dark-section .page-game-guides__category-list li {
  color: #f0f0f0;
}

.page-game-guides__category-list li::before {
  content: '✓';
  color: #EA7C07; /* Login color for checkmark */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-game-guides__category-list li a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__dark-section .page-game-guides__category-list li a {
  color: #f0f8ff;
}

.page-game-guides__category-list li a:hover {
  text-decoration: underline;
}

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

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

.page-game-guides__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-game-guides__step-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-game-guides__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  box-sizing: border-box;
}

.page-game-guides__tip-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-game-guides__tip-text {
  font-size: 1em;
  color: #f0f8ff;
  margin-bottom: 20px;
}

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

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

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  background-color: #ffffff;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for question */
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
  list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07; /* Login color for toggle */
}

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

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

.page-game-guides__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__faq-answer a:hover {
  text-decoration: underline;
}

.page-game-guides__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-game-guides__conclusion {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(45deg, #1a7aab, #26A9E0); /* Brand color gradient */
  color: #ffffff;
}

.page-game-guides__conclusion .page-game-guides__section-title,
.page-game-guides__conclusion .page-game-guides__section-description {
  color: #ffffff;
}

/* 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__features-grid,
  .page-game-guides__process-steps,
  .page-game-guides__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-game-guides__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

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

  .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;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

  .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,
  .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__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-game-guides__faq-toggle {
    font-size: 1.2em;
  }
}

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

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

  .page-game-guides__feature-title {
    font-size: 1.5em;
  }

  .page-game-guides__category-title {
    font-size: 1.6em;
  }

  .page-game-guides__step-title {
    font-size: 1.4em;
  }

  .page-game-guides__tip-title {
    font-size: 1.5em;
  }
}