.page-game-guides {
  color: #333333; /* Dark text for default light body background */
}

.page-game-guides__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  padding-bottom: 60px;
}

.page-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-game-guides__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-game-guides__button--primary {
  background-color: #FFD700; /* Primary gold color */
  color: #1a1a1a; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

.page-game-guides__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-game-guides__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Primary gold color */
  border: 2px solid #FFD700;
}

.page-game-guides__button--secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-3px);
}

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

.page-game-guides__introduction-section, .page-game-guides__game-categories-section, .page-game-guides__advanced-strategy-section, .page-game-guides__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Auxiliary blue color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-game-guides__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-game-guides__section-subtitle {
  font-size: 1.3em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-game-guides__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-game-guides__game-categories-section {
  background-color: #f0f8ff; /* Light blue tint */
}

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

.page-game-guides__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-game-guides__card-title {
  font-size: 1.6em;
  color: #1E90FF;
  margin: 20px 15px 10px;
  min-height: 50px;
}

.page-game-guides__card-link {
  text-decoration: none;
  color: #1E90FF;
  transition: color 0.3s ease;
}

.page-game-guides__card-link:hover {
  color: #0056b3;
}

.page-game-guides__card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-game-guides__advanced-strategy-section {
  background-color: #ffffff;
}

.page-game-guides__flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-game-guides__content-block {
  flex: 2;
}

.page-game-guides__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__content-image {
  max-width: 100%;
  height: auto; /* Ensure image is not too small */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__content-block-title {
  font-size: 1.8em;
  color: #1E90FF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__content-block-title:first-of-type {
  margin-top: 0;
}

.page-game-guides__cta-section {
  background: linear-gradient(135deg, #1E90FF 0%, #FFD700 100%); /* Blue to Gold gradient */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-game-guides__cta-section .page-game-guides__section-title {
  color: #ffffff;
}

.page-game-guides__cta-section .page-game-guides__section-title::after {
  background-color: #ffffff;
}

.page-game-guides__cta-section .page-game-guides__section-subtitle {
  color: #f0f0f0;
}

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

.page-game-guides__cta-actions .page-game-guides__button--primary {
  background-color: #ffffff;
  color: #1E90FF;
  border-color: #ffffff;
}

.page-game-guides__cta-actions .page-game-guides__button--primary:hover {
  background-color: #e0e0e0;
  color: #1E90FF;
}

.page-game-guides__cta-actions .page-game-guides__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-game-guides__cta-actions .page-game-guides__button--secondary:hover {
  background-color: #ffffff;
  color: #1E90FF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.8em;
  }
  .page-game-guides__hero-description {
    font-size: 1.2em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__card-title {
    font-size: 1.4em;
  }
  .page-game-guides__content-block-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-left: 15px;
    padding-right: 15px;
    min-height: 400px;
  }
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-subtitle {
    font-size: 1.1em;
  }
  .page-game-guides__grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__flex-wrapper {
    flex-direction: column;
  }
  .page-game-guides__image-block {
    order: -1; /* Image appears before text on mobile */
    margin-bottom: 30px;
  }
  .page-game-guides__content-image {
    max-width: 100%;
    height: auto; /* Ensure images do not overflow */
  }
  .page-game-guides__container {
    padding: 0 15px;
  }
  /* Mobile content area image constraint */
  .page-game-guides img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-game-guides__hero-description {
    font-size: 0.9em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-game-guides__text-content {
    font-size: 0.95em;
  }
}