/* General Styles for page-game-guides */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
}

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

/* Hero Section */
.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: #0A0A0A; /* Background */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

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

.page-game-guides__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #F2C14E; /* Primary color for main title */
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-game-guides__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-2px);
}

/* Content Area */
.page-game-guides__content-area {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-game-guides__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 25px;
  text-align: center;
  padding-top: 30px;
}

.page-game-guides__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-game-guides__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-game-guides__list li,
.page-game-guides__ordered-list li {
  margin-bottom: 10px;
}

.page-game-guides__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-game-guides__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  padding: 30px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-game-guides__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-game-guides__image-text-block .page-game-guides__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__image-text-block .page-game-guides__text-content {
  flex: 1;
  max-width: 50%;
}

.page-game-guides__game-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-game-guides__game-category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__game-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-game-guides__game-category-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-game-guides__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-guides__game-category-card p {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-game-guides__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-game-guides__btn-link:hover {
  opacity: 0.9;
}

.page-game-guides__promotion-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-game-guides__promotion-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-game-guides__promotion-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

/* FAQ Section */
details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
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;
  color: #F2C14E; /* Primary color for question */
  font-weight: bold;
}
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: rgba(242, 193, 78, 0.1); /* Light hover effect with brand color */
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary 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: rgba(17, 17, 17, 0.8); /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main */
}

/* Bottom CTA */
.page-game-guides__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

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

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

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

  .page-game-guides__game-category-grid,
  .page-game-guides__promotion-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-game-guides__image-text-block {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .page-game-guides__image-text-block .page-game-guides__content-image,
  .page-game-guides__image-text-block .page-game-guides__text-content {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
  }

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

  /* Hero Section */
  .page-game-guides__hero-section {
    padding-bottom: 20px;
  }

  .page-game-guides__hero-image-wrapper {
    max-height: 300px; /* Adjust for mobile */
  }

  .page-game-guides__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure image fits without cropping */
  }

  .page-game-guides__main-title {
    font-size: 2em;
    margin-top: 15px;
    margin-bottom: 10px;
  }

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

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    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-left: 15px;
    padding-right: 15px;
  }

  /* Content Area */
  .page-game-guides__content-area {
    padding: 30px 0;
  }

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

  .page-game-guides__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides__text-block,
  .page-game-guides__list,
  .page-game-guides__ordered-list {
    font-size: 1em;
    margin-bottom: 15px;
  }

  .page-game-guides__list li,
  .page-game-guides__ordered-list li {
    margin-bottom: 8px;
  }

  .page-game-guides__image-text-block {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    margin-bottom: 30px;
  }

  .page-game-guides__image-text-block .page-game-guides__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__image-text-block .page-game-guides__text-content {
    max-width: 100%;
  }

  /* Game Category Grid */
  .page-game-guides__game-category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-game-guides__game-category-card {
    padding-bottom: 15px;
  }

  .page-game-guides__game-category-card img {
    
  }

  .page-game-guides__card-title {
    font-size: 1.2em;
  }

  .page-game-guides__game-category-card p {
    font-size: 0.95em;
  }

  /* Promotion Cards */
  .page-game-guides__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-game-guides__promotion-card img {
    height: 200px;
  }

  /* FAQ Section */
  details.page-game-guides__faq-item summary.page-game-guides__faq-question {
    padding: 15px;
  }
  .page-game-guides__faq-qtext {
    font-size: 1em;
  }
  .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__cta-buttons--bottom {
    margin-top: 30px;
  }

  /* Universal image and button rules for mobile */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
}