/* style/game-guides.css */
.page-game-guides {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #F8F8F8; /* Light background from shared.css body */
  color: #333333; /* Dark text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-game-guides__hero-section {
  background-color: #0A192F; /* Dark blue background for hero */
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

.page-game-guides__hero-image {
  margin-bottom: 40px;
}

.page-game-guides__hero-image img {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for visual balance */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold accent */
  color: #0A192F; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-game-guides__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: #0A192F;
  margin-top: 40px;
  margin-bottom: 15px;
}

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

.page-game-guides__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

.page-game-guides__strategy-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  border-left: 5px solid #FFD700;
  transition: transform 0.3s ease;
}

.page-game-guides__strategy-item:hover {
  transform: translateY(-5px);
}

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

.page-game-guides__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-guides__card-title {
  font-size: 1.7em;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-game-guides__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  min-height: 100px; /* Ensure consistent card height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-game-guides__card-button {
  display: inline-block;
  background-color: #0A192F;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-game-guides__card-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-game-guides__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-game-guides__image-centered {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-game-guides__button-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

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

.page-game-guides__guide-list {
  margin-top: 30px;
}

.page-game-guides__guide-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-guides__guide-item-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-game-guides__guide-item-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-game-guides__guide-item-button {
  display: inline-block;
  background-color: #0A192F;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-game-guides__guide-item-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-game-guides__cta-section {
  background-color: #0A192F;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  margin-top: 60px;
}

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

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

.page-game-guides__cta-section .page-game-guides__text-content {
  color: #F0F0F0;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-game-guides__button-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

.page-game-guides__responsible-gaming-section a {
  color: #0A192F;
  font-weight: bold;
  text-decoration: underline;
}

.page-game-guides__responsible-gaming-section a:hover {
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-game-guides {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

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

  .page-game-guides__hero-description {
    font-size: 1em;
  }

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

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

  .page-game-guides__text-content {
    font-size: 0.95em;
  }

  .page-game-guides__hero-image img,
  .page-game-guides__image-full-width,
  .page-game-guides__image-centered {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size for mobile */
    min-height: 200px; /* Ensure min size for mobile */
  }

  .page-game-guides__game-card-grid {
    grid-template-columns: 1fr;
  }

  .page-game-guides__game-card {
    padding: 20px;
  }

  .page-game-guides__card-description {
    min-height: auto; /* Allow height to adjust on mobile */
  }

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

  .page-game-guides__hero-button,
  .page-game-guides__button-primary,
  .page-game-guides__button-secondary {
    width: 100%;
    max-width: 300px; /* Constrain button width */
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-game-guides img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

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

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