.page-game-guides {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Custom background color as per instructions */
  line-height: 1.6;
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-bottom: 40px; /* Space below content */
  background-color: #E53935; /* Brand color for hero background */
  color: #ffffff; /* White text on dark background */
  padding-top: 10px; /* Small top padding */
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-game-guides__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-game-guides__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

.page-game-guides__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: #f0f0f0;
}

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

.page-game-guides__intro-section {
  background-color: #F5F7FA;
  color: #333333;
}

.page-game-guides__why-k9cc {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__download-guide {
  background-color: #F5F7FA;
  color: #333333;
}

.page-game-guides__game-types {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__account-management {
  background-color: #F5F7FA;
  color: #333333;
}

.page-game-guides__promotions {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__safety-security {
  background-color: #F5F7FA;
  color: #333333;
}

.page-game-guides__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__conclusion-cta {
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

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

.page-game-guides__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from section for contrast */
}

.page-game-guides__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.page-game-guides__feature-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-game-guides__feature-card:hover {
  transform: translateY(-5px);
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935; /* Brand color for titles */
}

.page-game-guides__card-text {
  font-size: 0.95rem;
  color: #333333;
}

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

.page-game-guides__step {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #FF5A4F;
}

.page-game-guides__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E53935;
}

.page-game-guides__step-text {
  font-size: 0.95rem;
  color: #333333;
}

.page-game-guides__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-game-guides__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  object-fit: cover;
}

.page-game-guides__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 800px;
}

.page-game-guides__game-category {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #E0E0E0;
}

.page-game-guides__category-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #E53935;
}

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

.page-game-guides__list li {
  margin-bottom: 10px;
}

.page-game-guides__btn-text-link {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

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

.page-game-guides__subsection-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #E53935;
}

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

.page-game-guides__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  list-style: none; /* Remove default marker */
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

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

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

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: "−";
}

.page-game-guides__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #333333;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-game-guides__section-title {
    font-size: 1.8rem;
  }
  .page-game-guides__category-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-bottom: 20px;
    padding-top: 10px !important; /* Small top padding */
  }
  .page-game-guides__hero-content {
    padding: 15px;
    margin-top: 10px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-game-guides__description {
    font-size: 1rem;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding for buttons */
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 0.95rem;
  }
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__container {
    padding: 0 15px;
  }
  .page-game-guides__section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .page-game-guides__text-block,
  .page-game-guides__list li,
  .page-game-guides__card-text,
  .page-game-guides__step-text,
  .page-game-guides__faq-answer p {
    font-size: 16px; /* Mobile readability */
    line-height: 1.6;
  }
  .page-game-guides__feature-card,
  .page-game-guides__step {
    padding: 20px;
  }
  .page-game-guides__card-title,
  .page-game-guides__step-title {
    font-size: 1.2rem;
  }
  .page-game-guides__category-title {
    font-size: 1.3rem;
  }
  .page-game-guides__subsection-title {
    font-size: 1.4rem;
  }
  .page-game-guides__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  /* Image responsive adjustments */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__hero-image,
  .page-game-guides__image-full-width,
  .page-game-guides__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container,
  .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__cta-buttons {
    flex-direction: column;
  }
}