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

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

.page-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-game-guides__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-game-guides__hero-content {
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for readability */
  padding: 30px;
  border-radius: 10px;
  color: #FFFFFF;
  max-width: 800px;
}

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

.page-game-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-game-guides__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for light button */
}

.page-game-guides__button--primary:hover {
  background-color: #e0a53b;
}

.page-game-guides__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Dark text for light button */
}

.page-game-guides__button--secondary:hover {
  background-color: #f0f0f0;
}

.page-game-guides__button--tertiary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
}

.page-game-guides__button--tertiary:hover {
  background-color: #333333;
}

.page-game-guides__button--link {
  color: #FCBC45;
  text-decoration: underline;
  background: none;
  padding: 0;
}

.page-game-guides__button--link:hover {
  color: #e0a53b;
}

.page-game-guides__introduction-section,
.page-game-guides__deep-dive,
.page-game-guides__strategy-tips,
.page-game-guides__cta-section,
.page-game-guides__responsible-gaming {
  padding: 60px 20px;
}

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

.page-game-guides__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
}

.page-game-guides__section-description {
  font-size: 1.2em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__section-text,
.page-game-guides__text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-game-guides__subsection-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-guides__guides-overview .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: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  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;
  align-items: center;
}

.page-game-guides__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;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-game-guides__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-game-guides__grid--two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-game-guides__image-block .page-game-guides__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-game-guides__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-game-guides__cta-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  text-align: center;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.8em;
  }

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

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }

  .page-game-guides__hero-title {
    font-size: 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%;
    max-width: 300px;
  }

  .page-game-guides__introduction-section,
  .page-game-guides__deep-dive,
  .page-game-guides__strategy-tips,
  .page-game-guides__cta-section,
  .page-game-guides__responsible-gaming {
    padding: 40px 15px;
  }

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

  .page-game-guides__section-description {
    font-size: 0.95em;
  }

  .page-game-guides__grid--two-columns {
    grid-template-columns: 1fr;
  }

  .page-game-guides__image-block {
    order: -1; /* Image appears above text on mobile */
  }

  /* Mobile content area image resizing */
  .page-game-guides img {
    max-width: 100%;
    height: auto;
  }
  
  .page-game-guides__card-image {
    height: auto; /* Allow height to adjust naturally */
  }

  .page-game-guides__hero-image img,
  .page-game-guides__image-block .page-game-guides__image {
    min-width: 200px;
    min-height: 200px;
  }

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

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

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

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

  .page-game-guides__hero-content {
    padding: 20px;
  }
}