.page-resources-j88vip1-game-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--secondary-color); /* Assuming --secondary-color is #000000 */
}

.page-resources-j88vip1-game-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-resources-j88vip1-game-guide__hero-content {
  z-index: 10;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-resources-j88vip1-game-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-resources-j88vip1-game-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-j88vip1-game-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-j88vip1-game-guide__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-resources-j88vip1-game-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-resources-j88vip1-game-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-resources-j88vip1-game-guide__card {
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-resources-j88vip1-game-guide__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-resources-j88vip1-game-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-resources-j88vip1-game-guide__card-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-resources-j88vip1-game-guide__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-j88vip1-game-guide__card-title a:hover {
  color: #ffffff;
}

.page-resources-j88vip1-game-guide__card-description {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-resources-j88vip1-game-guide__btn-text {
  display: inline-block;
  padding: 10px 20px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  align-self: flex-start;
  margin: 0 20px 20px;
  border: 1px solid #FFD700;
  border-radius: 5px;
}

.page-resources-j88vip1-game-guide__btn-text:hover {
  color: #ffffff;
  background-color: #FFD700;
}

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

.page-resources-j88vip1-game-guide__step-item {
  background-color: #000000;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-j88vip1-game-guide__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  border: 3px solid #FFD700;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources-j88vip1-game-guide__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-j88vip1-game-guide__step-description {
  font-size: 1em;
  color: #c0c0c0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-resources-j88vip1-game-guide__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-resources-j88vip1-game-guide__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-j88vip1-game-guide__list-item {
  background-color: #000000;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  font-size: 1.05em;
  color: #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-j88vip1-game-guide__list-item strong {
  color: #FFD700;
}

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

.page-resources-j88vip1-game-guide__tip-card {
  background-color: #000000;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border-top: 5px solid #FFD700;
}

.page-resources-j88vip1-game-guide__tip-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-j88vip1-game-guide__tip-description {
  font-size: 1em;
  color: #c0c0c0;
}

.page-resources-j88vip1-game-guide__faq-list {
  margin-top: 40px;
}

.page-resources-j88vip1-game-guide__faq-item {
  background-color: #000000;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-j88vip1-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #000000;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #333333;
}

.page-resources-j88vip1-game-guide__faq-question:hover {
  background-color: #333333;
}

.page-resources-j88vip1-game-guide__faq-title {
  margin: 0;
  color: #FFD700;
  font-size: 1.2em;
}

.page-resources-j88vip1-game-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-resources-j88vip1-game-guide__faq-item.active .page-resources-j88vip1-game-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-j88vip1-game-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  font-size: 1em;
}

.page-resources-j88vip1-game-guide__faq-item.active .page-resources-j88vip1-game-guide__faq-answer {
  max-height: 1000px !important; /* Use !important to override potential conflicts */
  padding: 15px 25px 25px;
}

.page-resources-j88vip1-game-guide__faq-answer p {
  margin: 0;
}

.page-resources-j88vip1-game-guide__btn-primary,
.page-resources-j88vip1-game-guide__btn-secondary {
  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, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-j88vip1-game-guide__btn-primary {
  background-color: #FFD700;
  color: #000000;
  border: 2px solid #FFD700;
}

.page-resources-j88vip1-game-guide__btn-primary:hover {
  background-color: #e0b300;
  color: #ffffff;
  border-color: #e0b300;
}

.page-resources-j88vip1-game-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-j88vip1-game-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-resources-j88vip1-game-guide__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Ensure content area images are not too small */
.page-resources-j88vip1-game-guide img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-j88vip1-game-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-j88vip1-game-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-j88vip1-game-guide__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-j88vip1-game-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-j88vip1-game-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-j88vip1-game-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-j88vip1-game-guide__btn-primary,
  .page-resources-j88vip1-game-guide__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-j88vip1-game-guide__section {
    padding: 40px 15px;
  }
  .page-resources-j88vip1-game-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-j88vip1-game-guide__game-categories,
  .page-resources-j88vip1-game-guide__steps,
  .page-resources-j88vip1-game-guide__tips-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources-j88vip1-game-guide__card-title {
    font-size: 1.3em;
  }
  .page-resources-j88vip1-game-guide__step-title {
    font-size: 1.5em;
  }
  .page-resources-j88vip1-game-guide__tip-title {
    font-size: 1.4em;
  }
  .page-resources-j88vip1-game-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-j88vip1-game-guide__faq-title {
    font-size: 1.1em;
  }
  .page-resources-j88vip1-game-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-j88vip1-game-guide__faq-item.active .page-resources-j88vip1-game-guide__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-resources-j88vip1-game-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-j88vip1-game-guide__section,
  .page-resources-j88vip1-game-guide__card,
  .page-resources-j88vip1-game-guide__container,
  .page-resources-j88vip1-game-guide__hero-section,
  .page-resources-j88vip1-game-guide__steps,
  .page-resources-j88vip1-game-guide__game-categories,
  .page-resources-j88vip1-game-guide__tips-grid,
  .page-resources-j88vip1-game-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-resources-j88vip1-game-guide__button-group {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-j88vip1-game-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-j88vip1-game-guide__section-title {
    font-size: 1.6em;
  }
  .page-resources-j88vip1-game-guide__step-number {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }
}