/* Base styles for game guides page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-game-guides__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
  margin-bottom: 40px;
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  margin-top: -200px; /* Pull content up over the bottom of the image for visual effect */
  color: #FFF1E8;
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-game-guides__hero-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-game-guides__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  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: #C61F1F; /* Main Color */
  border-radius: 2px;
}

.page-game-guides__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF1E8;
}

.page-game-guides__introduction {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-game-guides__dark-section {
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
  padding: 60px 0;
}

.page-game-guides__game-categories {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
}

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

.page-game-guides__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #FFF1E8;
}

.page-game-guides__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-game-guides__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin: 0 15px 10px 15px;
}

.page-game-guides__card-title a {
  color: #F3C54D;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-description {
  font-size: 0.95rem;
  color: #FFF1E8;
  padding: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-game-guides__btn-text {
  display: inline-block;
  color: #FFB04A;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px 20px;
  transition: color 0.3s ease;
}

.page-game-guides__btn-text:hover {
  color: #FFF1E8;
}

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

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

.page-game-guides__tip-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding-bottom: 20px;
  text-align: center;
  color: #FFF1E8;
}

.page-game-guides__tip-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-game-guides__tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin: 0 15px 10px 15px;
}

.page-game-guides__tip-description {
  font-size: 0.9rem;
  color: #FFF1E8;
  padding: 0 15px;
}

.page-game-guides__responsible-gaming {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
}

.page-game-guides__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-game-guides__responsible-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-game-guides__responsible-list {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #FFF1E8;
}

.page-game-guides__responsible-list li {
  background: #140C0C; /* Background */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-game-guides__responsible-list li::before {
  content: '✓';
  color: #FFB04A;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* FAQ Section */
details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: #3a1a1a;
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A; /* Button color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-game-guides__faq-list {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-game-guides__faq-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-game-guides__cta-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  text-align: center;
}

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

/* Button styles */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom gradient */
  color: #FFF1E8;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #E53030 0%, #C61F1F 100%); /* Main Color / Aux Color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C; /* Background */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__container {
    padding: 20px 30px;
  }

  .page-game-guides__hero-image {
    height: 500px;
  }

  .page-game-guides__hero-content {
    margin-top: -150px;
    padding: 30px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

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

  .page-game-guides__section-title {
    font-size: 2rem;
  }

  .page-game-guides__text-block {
    font-size: 1rem;
  }

  .page-game-guides__responsible-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-guides__responsible-image,
  .page-game-guides__responsible-list {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-game-guides__container {
    padding: 15px;
  }

  /* Banner __hero-section */
  .page-game-guides__hero-section {
    margin-bottom: 30px;
  }

  .page-game-guides__hero-image {
    height: 300px !important;
    object-fit: contain !important; /* object-fit:contain for 849px rule */
  }

  .page-game-guides__hero-content {
    margin-top: -80px;
    padding: 20px 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-game-guides__hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-game-guides__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-game-guides__section-title::after {
    width: 60px;
  }

  .page-game-guides__text-block {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* General image and button responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    flex-direction: column;
    gap: 15px;
  }

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

  /* Category Grid (similar to 5-entry layout) */
  .page-game-guides__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card-image {
    height: 180px;
    object-fit: cover;
    aspect-ratio: 16/9; /* Default aspect ratio for content images */
  }

  /* Tips Grid */
  .page-game-guides__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__tip-image {
    height: 150px;
  }

  /* Responsible Gaming */
  .page-game-guides__responsible-image {
    height: auto;
    max-width: 100%;
  }

  .page-game-guides__responsible-list li {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  /* FAQ Section */
  details.page-game-guides__faq-item summary.page-game-guides__faq-question {
    padding: 15px;
  }
  .page-game-guides__faq-qtext {
    font-size: 15px;
  }
  .page-game-guides__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-game-guides__faq-item .page-game-guides__faq-answer {
    padding: 0 15px 15px;
  }

  .page-game-guides__faq-image {
    height: auto;
    max-width: 100%;
  }

  .page-game-guides__btn-center {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-image {
    height: 250px !important;
  }
  .page-game-guides__hero-content {
    margin-top: -60px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-game-guides__section-title {
    font-size: 1.5rem;
  }
  .page-game-guides__card-image {
    height: 150px;
  }
  .page-game-guides__tip-image {
    height: 120px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}