.page-game-guides {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
}

.page-game-guides__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  max-width: 600px; /* Constrain H1 width to prevent excessively long lines */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
}

.page-game-guides__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__section--intro {
  background-color: #FFFFFF;
}

.page-game-guides__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-game-guides__section--intro .page-game-guides__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1F2D3D;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides__section--game-types {
  background-color: #F4F7FB;
}

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

.page-game-guides__guide-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure card has a minimum height */
}

.page-game-guides__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Card image minimum size */
  min-height: 200px;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1F2D3D;
  margin: 20px 20px 10px;
}

.page-game-guides__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-game-guides__card-button {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  text-align: center;
  align-self: flex-start;
}

.page-game-guides__card-button:hover {
  opacity: 0.9;
}

.page-game-guides__section--cta {
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-game-guides__section--cta .page-game-guides__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-game-guides__section--cta .page-game-guides__paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #E0E0E0;
}

.page-game-guides__cta-button--large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-game-guides__section-title {
    font-size: 2rem;
  }
  .page-game-guides__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-bottom: 30px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-game-guides__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-game-guides__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-game-guides__section--intro .page-game-guides__paragraph,
  .page-game-guides__section--cta .page-game-guides__paragraph {
    font-size: 0.95rem;
  }
  .page-game-guides__guides-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__guide-card {
    min-height: auto;
  }
  /* Mobile image scaling */
  .page-game-guides__hero-image,
  .page-game-guides__card-image,
  .page-game-guides__section img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-game-guides__section-title {
    font-size: 1.6rem;
  }
  .page-game-guides__cta-button--large {
    padding: 15px 30px;
    font-size: 1rem;
  }
}