.page-resources-vn88-link-introduction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be transparent, relying on body background */
}

/* Hero Section */
.page-resources-vn88-link-introduction__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  overflow: hidden;
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff;
}

.page-resources-vn88-link-introduction__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Slightly transparent to let text stand out */
}

.page-resources-vn88-link-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-resources-vn88-link-introduction__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-vn88-link-introduction__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-vn88-link-introduction__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-resources-vn88-link-introduction__btn-primary,
.page-resources-vn88-link-introduction__btn-secondary,
.page-resources-vn88-link-introduction__btn-text-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-resources-vn88-link-introduction__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-resources-vn88-link-introduction__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  color: #ffffff;
}

.page-resources-vn88-link-introduction__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #FFFF00;
}

.page-resources-vn88-link-introduction__btn-secondary:hover {
  background-color: #FFFF00;
  color: #017439;
}

.page-resources-vn88-link-introduction__btn-text-link {
  color: #FFFF00;
  border-bottom: 1px solid #FFFF00;
  padding: 0;
  display: inline;
  font-size: 1em;
}

.page-resources-vn88-link-introduction__btn-text-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Content Sections */
.page-resources-vn88-link-introduction__content-section {
  padding: 60px 0;
}

.page-resources-vn88-link-introduction__dark-bg {
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-resources-vn88-link-introduction__light-bg {
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-resources-vn88-link-introduction__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-vn88-link-introduction__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-vn88-link-introduction__paragraph a {
  color: #017439; /* Brand color for links */
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-vn88-link-introduction__dark-bg .page-resources-vn88-link-introduction__paragraph a {
  color: #FFFF00; /* Custom link color on dark background */
}

/* Images */
.page-resources-vn88-link-introduction__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-resources-vn88-link-introduction__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element for max-width */
  margin: 0 auto; /* Center the image */
}

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

.page-resources-vn88-link-introduction__image-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-resources-vn88-link-introduction__dark-bg .page-resources-vn88-link-introduction__image-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark bg */
  color: #ffffff;
}

.page-resources-vn88-link-introduction__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-resources-vn88-link-introduction__card-title {
  font-size: 1.5em;
  margin: 15px 10px;
  font-weight: bold;
  color: inherit;
}

/* Video Section */
.page-resources-vn88-link-introduction__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-vn88-link-introduction__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer; /* Indicate it's clickable */
}

.page-resources-vn88-link-introduction__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  font-size: 0.95em;
}

/* FAQ Section */
.page-resources-vn88-link-introduction__faq-list {
  margin-top: 40px;
}

.page-resources-vn88-link-introduction__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333; /* Dark text for light FAQ item background */
}

.page-resources-vn88-link-introduction__dark-bg .page-resources-vn88-link-introduction__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-resources-vn88-link-introduction__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: inherit;
  background-color: #e0e0e0; /* Slightly darker background for question */
}

.page-resources-vn88-link-introduction__dark-bg .page-resources-vn88-link-introduction__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.page-resources-vn88-link-introduction__faq-question:hover {
  background-color: #d0d0d0;
}

.page-resources-vn88-link-introduction__dark-bg .page-resources-vn88-link-introduction__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-vn88-link-introduction__faq-title {
  margin: 0;
  color: inherit;
}

.page-resources-vn88-link-introduction__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-vn88-link-introduction__faq-item.active .page-resources-vn88-link-introduction__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or simply change to minus */
}

.page-resources-vn88-link-introduction__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-vn88-link-introduction__faq-item.active .page-resources-vn88-link-introduction__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-resources-vn88-link-introduction__faq-answer p {
  margin: 0;
  color: inherit;
}

.page-resources-vn88-link-introduction__contact-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-resources-vn88-link-introduction__contact-cta .page-resources-vn88-link-introduction__btn-primary {
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-vn88-link-introduction__main-title {
    font-size: 2.8em;
  }
  .page-resources-vn88-link-introduction__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-vn88-link-introduction__hero-section {
    min-height: 400px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-vn88-link-introduction__main-title {
    font-size: 2.2em;
  }

  .page-resources-vn88-link-introduction__description {
    font-size: 1em;
  }

  .page-resources-vn88-link-introduction__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-vn88-link-introduction__btn-primary,
  .page-resources-vn88-link-introduction__btn-secondary,
  .page-resources-vn88-link-introduction a[class*="button"],
  .page-resources-vn88-link-introduction 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-resources-vn88-link-introduction__content-section {
    padding: 40px 0;
  }

  .page-resources-vn88-link-introduction__section-title {
    font-size: 1.8em;
  }

  .page-resources-vn88-link-introduction__paragraph {
    font-size: 0.95em;
  }

  /* Mobile image and video responsiveness */
  .page-resources-vn88-link-introduction img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-vn88-link-introduction__image-wrapper,
  .page-resources-vn88-link-introduction__video-wrapper,
  .page-resources-vn88-link-introduction__image-grid,
  .page-resources-vn88-link-introduction__container,
  .page-resources-vn88-link-introduction__faq-list,
  .page-resources-vn88-link-introduction__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-vn88-link-introduction__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-vn88-link-introduction__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }

  .page-resources-vn88-link-introduction__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-vn88-link-introduction__faq-answer {
    padding: 0 20px;
  }

  .page-resources-vn88-link-introduction__faq-item.active .page-resources-vn88-link-introduction__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure content images are not smaller than 200px (this is for their *display* size, not the source file size) */
  .page-resources-vn88-link-introduction__content-image,
  .page-resources-vn88-link-introduction__card-image {
      min-width: 200px;
      min-height: 200px;
  }
}

/* Desktop specific adjustments for content images */
@media (min-width: 769px) {
  .page-resources-vn88-link-introduction__content-image {
    min-width: 400px; /* Ensure larger size on desktop */
    min-height: 300px;
  }
  .page-resources-vn88-link-introduction__card-image {
    min-width: 280px;
    min-height: 250px;
  }
}

/* General link styles for text within sections to ensure contrast */
.page-resources-vn88-link-introduction__light-bg a {
  color: #017439; /* Brand color for links on light background */
}

.page-resources-vn88-link-introduction__light-bg a:hover {
  color: #005f2e;
}

.page-resources-vn88-link-introduction__dark-bg a {
  color: #FFFF00; /* Custom link color on dark background */
}

.page-resources-vn88-link-introduction__dark-bg a:hover {
  color: #ffffff;
}