/* style/game-guides.css */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark gray for general text for good contrast */
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-game-guides__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Dark blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure sufficient height */
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-content {
  z-index: 1;
  max-width: 900px;
}

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

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-game-guides__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Deep blue text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-game-guides__hero-button:hover {
  background-color: #e6c200;
  color: #001a33;
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-game-guides__introduction, 
.page-game-guides__game-types, 
.page-game-guides__importance, 
.page-game-guides__detail-pages, 
.page-game-guides__responsibility, 
.page-game-guides__cta {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__game-types, .page-game-guides__detail-pages {
  background-color: #f0f4f8; /* Lighter background for content sections */
}

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #003366; /* Deep blue for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.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__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-game-guides__game-category {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-game-guides__category-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
}

.page-game-guides__category-image {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-game-guides__category-description {
  font-size: 1em;
  margin-bottom: 25px;
  text-align: justify;
  color: #555555;
}

.page-game-guides__category-button {
  display: inline-block;
  background-color: #003366;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #003366;
}

.page-game-guides__category-button:hover {
  background-color: #001a33;
  color: #ffffff;
}

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

.page-game-guides__sub-category-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__sub-category-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-game-guides__sub-category-image {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.page-game-guides__sub-category-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  text-align: justify;
  color: #666666;
  flex-grow: 1;
}

.page-game-guides__sub-category-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
  margin-top: auto; /* Push button to bottom */
}

.page-game-guides__sub-category-button:hover {
  background-color: #e6c200;
  color: #001a33;
}

.page-game-guides__importance-image, .page-game-guides__responsibility-image {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-game-guides__detail-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__detail-item-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-game-guides__detail-item-title a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__detail-item-title a:hover {
  color: #FFD700;
}

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

.page-game-guides__detail-item-button {
  display: inline-block;
  background-color: #003366;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #003366;
  margin-top: auto; /* Push button to bottom */
}

.page-game-guides__detail-item-button:hover {
  background-color: #001a33;
  color: #ffffff;
}

.page-game-guides__cta {
  background-color: #003366; /* Deep blue background for CTA */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  border-radius: 0; /* Remove border-radius for full width */
  box-shadow: none;
}

.page-game-guides__cta .page-game-guides__section-title {
  color: #FFD700; /* Gold for CTA title */
}

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

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

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

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-game-guides__cta-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #003366;
  border: 2px solid #FFD700;
}

.page-game-guides__cta-button--primary:hover {
  background-color: #e6c200;
  color: #001a33;
  border-color: #e6c200;
}

.page-game-guides__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-game-guides__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__hero-title {
    font-size: 2.5em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__game-category {
    padding: 25px;
  }
  .page-game-guides__sub-categories {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero {
    padding: 60px 0;
  }
  .page-game-guides__hero-title {
    font-size: 2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__introduction, 
  .page-game-guides__game-types, 
  .page-game-guides__importance, 
  .page-game-guides__detail-pages, 
  .page-game-guides__responsibility, 
  .page-game-guides__cta {
    padding: 40px 0;
  }
  .page-game-guides__game-category {
    padding: 20px;
  }
  .page-game-guides__category-title {
    font-size: 1.8em;
  }
  .page-game-guides__sub-categories {
    grid-template-columns: 1fr;
  }
  .page-game-guides__detail-list {
    grid-template-columns: 1fr;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__cta-button {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.6em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-game-guides__category-title {
    font-size: 1.5em;
  }
  .page-game-guides__sub-category-title {
    font-size: 1.2em;
  }
  .page-game-guides__detail-item-title {
    font-size: 1.2em;
  }
  .page-game-guides__cta-button {
    width: 90%;
  }
}