/* style/resources-mu88-latest-guide.css */
.page-resources-mu88-latest-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: #000; /* Inherited from shared.css, explicitly set for safety */
}

.page-resources-mu88-latest-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-mu88-latest-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-mu88-latest-guide__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-mu88-latest-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-mu88-latest-guide__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-resources-mu88-latest-guide__btn-primary,
.page-resources-mu88-latest-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, transform 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-resources-mu88-latest-guide__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

.page-resources-mu88-latest-guide__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-mu88-latest-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-mu88-latest-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000; /* Dark text for gold background */
  transform: translateY(-2px);
}

.page-resources-mu88-latest-guide__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-resources-mu88-latest-guide__cta-buttons--center {
  text-align: center;
}

/* Hero Section */
.page-resources-mu88-latest-guide__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  min-height: 70vh;
  text-align: left;
}

.page-resources-mu88-latest-guide__hero-content {
  flex: 1;
  padding-right: 40px;
  max-width: 600px;
  margin-left: auto;
}

.page-resources-mu88-latest-guide__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-resources-mu88-latest-guide__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-mu88-latest-guide__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-mu88-latest-guide__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

/* Why Choose Section */
.page-resources-mu88-latest-guide__why-choose {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  padding: 80px 0;
}

.page-resources-mu88-latest-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-mu88-latest-guide__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-mu88-latest-guide__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-resources-mu88-latest-guide__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for feature icons */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-resources-mu88-latest-guide__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-mu88-latest-guide__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Access Links Section */
.page-resources-mu88-latest-guide__access-links {
  background-color: #000;
}

.page-resources-mu88-latest-guide__ordered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources-mu88-latest-guide__ordered-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #FFD700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-mu88-latest-guide__list-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

/* Product Overview Section */
.page-resources-mu88-latest-guide__product-overview {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-resources-mu88-latest-guide__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-mu88-latest-guide__product-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-mu88-latest-guide__product-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-resources-mu88-latest-guide__product-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-resources-mu88-latest-guide__product-title {
  font-size: 1.7em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-mu88-latest-guide__product-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-mu88-latest-guide__product-title a:hover {
  text-decoration: underline;
}

.page-resources-mu88-latest-guide__product-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Promotions Section */
.page-resources-mu88-latest-guide__promotions {
  background-color: #000;
}

.page-resources-mu88-latest-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-mu88-latest-guide__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-mu88-latest-guide__promotion-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-resources-mu88-latest-guide__promotion-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-resources-mu88-latest-guide__promotion-title {
  font-size: 1.7em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-mu88-latest-guide__promotion-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Safe Gaming Section */
.page-resources-mu88-latest-guide__safe-gaming {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-resources-mu88-latest-guide__unordered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources-mu88-latest-guide__unordered-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #8B0000; /* Dark red accent */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-resources-mu88-latest-guide__faq {
  background-color: #000;
}

.page-resources-mu88-latest-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-mu88-latest-guide__faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-mu88-latest-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold tint for question */
  transition: background-color 0.3s ease;
}

.page-resources-mu88-latest-guide__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.page-resources-mu88-latest-guide__faq-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}

.page-resources-mu88-latest-guide__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-mu88-latest-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

.page-resources-mu88-latest-guide__faq-item.active .page-resources-mu88-latest-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

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

/* Final CTA Section */
.page-resources-mu88-latest-guide__final-cta {
  background: linear-gradient(45deg, #8B0000, #FFD700); /* Red to Gold gradient */
  padding: 80px 0;
}

.page-resources-mu88-latest-guide__cta-content {
  max-width: 800px;
}

.page-resources-mu88-latest-guide__final-cta .page-resources-mu88-latest-guide__section-title {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-mu88-latest-guide__final-cta .page-resources-mu88-latest-guide__paragraph {
  color: #ffffff;
}

.page-resources-mu88-latest-guide__final-cta .page-resources-mu88-latest-guide__btn-primary {
  background-color: #000000; /* Black button on gradient */
  color: #FFD700;
  border-color: #000000;
}

.page-resources-mu88-latest-guide__final-cta .page-resources-mu88-latest-guide__btn-primary:hover {
  background-color: #333333;
  color: #FFD700;
}

.page-resources-mu88-latest-guide__final-cta .page-resources-mu88-latest-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-resources-mu88-latest-guide__final-cta .page-resources-mu88-latest-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #8B0000;
}

/* Image & Video Responsive */
.page-resources-mu88-latest-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources-mu88-latest-guide video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-resources-mu88-latest-guide__hero-section {
    flex-direction: column;
    padding: 40px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
    text-align: center;
  }

  .page-resources-mu88-latest-guide__hero-content {
    padding-right: 0;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .page-resources-mu88-latest-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-mu88-latest-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-mu88-latest-guide__hero-image-wrapper {
    width: 100%;
  }

  .page-resources-mu88-latest-guide__section-title {
    font-size: 2em;
  }

  .page-resources-mu88-latest-guide__paragraph {
    font-size: 0.95em;
  }

  .page-resources-mu88-latest-guide__features-grid,
  .page-resources-mu88-latest-guide__product-grid,
  .page-resources-mu88-latest-guide__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-mu88-latest-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-mu88-latest-guide__btn-primary,
  .page-resources-mu88-latest-guide__btn-secondary {
    width: 100%;
    margin: 0;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-mu88-latest-guide__container {
    padding: 0 15px;
  }

  .page-resources-mu88-latest-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-mu88-latest-guide video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all content containers are constrained */
  .page-resources-mu88-latest-guide__section,
  .page-resources-mu88-latest-guide__card,
  .page-resources-mu88-latest-guide__container,
  .page-resources-mu88-latest-guide__video-section,
  .page-resources-mu88-latest-guide__video-container,
  .page-resources-mu88-latest-guide__video-wrapper,
  .page-resources-mu88-latest-guide__cta-buttons,
  .page-resources-mu88-latest-guide__button-group,
  .page-resources-mu88-latest-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-resources-mu88-latest-guide__faq-question,
  .page-resources-mu88-latest-guide__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-mu88-latest-guide__faq-item.active .page-resources-mu88-latest-guide__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
}

/* Color Contrast Fixes (if needed, based on body background #000) */
.page-resources-mu88-latest-guide__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Deep dark background, light text */
}

.page-resources-mu88-latest-guide__light-bg {
  background-color: #f8f8f8;
  color: #333333; /* Light background, dark text */
}

.page-resources-mu88-latest-guide__medium-bg {
  background-color: #8B0000; /* Dark red background */
  color: #ffffff; /* Light text for dark red background */
}

.page-resources-mu88-latest-guide a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-mu88-latest-guide a:hover {
  color: #e6c200;
}