/* style/resources-vn88-latest-link.css */
.page-resources-vn88-latest-link {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-resources-vn88-latest-link__section {
  padding: 60px 0;
}

.page-resources-vn88-latest-link__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-vn88-latest-link__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-vn88-latest-link__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-vn88-latest-link__dark-bg .page-resources-vn88-latest-link__section-title {
  color: #ffffff;
}

.page-resources-vn88-latest-link__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

/* Hero Section */
.page-resources-vn88-latest-link__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-resources-vn88-latest-link__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-vn88-latest-link__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-resources-vn88-latest-link__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-vn88-latest-link__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-vn88-latest-link__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-resources-vn88-latest-link__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-vn88-latest-link__btn-primary,
.page-resources-vn88-latest-link__btn-secondary {
  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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-resources-vn88-latest-link__btn-primary:hover {
  background-color: #e02c2c;
  border-color: #e02c2c;
}

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

.page-resources-vn88-latest-link__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

/* About VN88 Section */
.page-resources-vn88-latest-link__about-vn88 .page-resources-vn88-latest-link__text-block {
  margin-bottom: 50px;
}

.page-resources-vn88-latest-link__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources-vn88-latest-link__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-vn88-latest-link__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-vn88-latest-link__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

/* Why Latest Link Section */
.page-resources-vn88-latest-link__why-latest-link .page-resources-vn88-latest-link__text-block {
  color: #ffffff;
}

.page-resources-vn88-latest-link__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto 0 auto;
  text-align: left;
}

.page-resources-vn88-latest-link__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFFF00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

/* Access Guide Section */
.page-resources-vn88-latest-link__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.page-resources-vn88-latest-link__step-item {
  text-align: center;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-vn88-latest-link__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-resources-vn88-latest-link__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-vn88-latest-link__cta-block {
  text-align: center;
  margin-top: 50px;
}

.page-resources-vn88-latest-link__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Platform Links Section */
.page-resources-vn88-latest-link__platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-resources-vn88-latest-link__platform-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-resources-vn88-latest-link__platform-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-vn88-latest-link__platform-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-vn88-latest-link__platform-item .page-resources-vn88-latest-link__btn-primary {
  margin-top: 25px;
  display: inline-block;
}

/* Featured Games Section */
.page-resources-vn88-latest-link__featured-games .page-resources-vn88-latest-link__text-block {
  margin-bottom: 50px;
}

.page-resources-vn88-latest-link__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-vn88-latest-link__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-vn88-latest-link__game-card:hover {
  transform: translateY(-5px);
}

.page-resources-vn88-latest-link__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-resources-vn88-latest-link__game-title {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

.page-resources-vn88-latest-link__game-title a {
  color: #017439;
  text-decoration: none;
}

.page-resources-vn88-latest-link__game-title a:hover {
  text-decoration: underline;
}

.page-resources-vn88-latest-link__game-card p {
  padding: 0 15px 20px 15px;
  font-size: 0.95em;
  color: #555555;
}

/* Promotions Section */
.page-resources-vn88-latest-link__promotions .page-resources-vn88-latest-link__text-block {
  color: #ffffff;
}

.page-resources-vn88-latest-link__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto 50px auto;
  text-align: left;
}

.page-resources-vn88-latest-link__promo-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFFF00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"></path></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

/* FAQ Section */
.page-resources-vn88-latest-link__faq-section {
  background-color: #f8f8f8;
}

.page-resources-vn88-latest-link__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-vn88-latest-link__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-vn88-latest-link__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-vn88-latest-link__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-vn88-latest-link__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

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

.page-resources-vn88-latest-link__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-resources-vn88-latest-link__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-resources-vn88-latest-link__conclusion .page-resources-vn88-latest-link__text-block {
  color: #ffffff;
}

.page-resources-vn88-latest-link__conclusion .page-resources-vn88-latest-link__cta-buttons {
  margin-top: 40px;
}

/* Global image and video responsive styles */
.page-resources-vn88-latest-link img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources-vn88-latest-link video,
.page-resources-vn88-latest-link__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-vn88-latest-link__video-section,
.page-resources-vn88-latest-link__video-container,
.page-resources-vn88-latest-link__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-resources-vn88-latest-link__hero-title {
    font-size: 3em;
  }
  .page-resources-vn88-latest-link__hero-description {
    font-size: 1.1em;
  }
  .page-resources-vn88-latest-link__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-vn88-latest-link {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-vn88-latest-link__container {
    padding: 0 15px;
  }

  .page-resources-vn88-latest-link__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-vn88-latest-link__hero-content {
    padding: 15px;
  }

  .page-resources-vn88-latest-link__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-vn88-latest-link__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-resources-vn88-latest-link__btn-primary,
  .page-resources-vn88-latest-link__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-vn88-latest-link__section {
    padding: 40px 0;
  }

  .page-resources-vn88-latest-link__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-vn88-latest-link__text-block {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-resources-vn88-latest-link__features-grid,
  .page-resources-vn88-latest-link__guide-steps,
  .page-resources-vn88-latest-link__platform-grid,
  .page-resources-vn88-latest-link__games-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-resources-vn88-latest-link__feature-item,
  .page-resources-vn88-latest-link__step-item,
  .page-resources-vn88-latest-link__platform-item,
  .page-resources-vn88-latest-link__game-card {
    padding: 20px;
  }

  .page-resources-vn88-latest-link__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-resources-vn88-latest-link__feature-title {
    font-size: 1.3em;
  }

  .page-resources-vn88-latest-link__benefits-list,
  .page-resources-vn88-latest-link__promo-list {
    margin: 20px auto 30px auto;
  }

  .page-resources-vn88-latest-link__benefits-list li,
  .page-resources-vn88-latest-link__promo-list li {
    font-size: 1em;
    padding-left: 25px;
  }

  .page-resources-vn88-latest-link__platform-image {
    max-height: 200px;
  }

  .page-resources-vn88-latest-link__platform-title {
    font-size: 1.5em;
  }

  .page-resources-vn88-latest-link__game-image {
    height: 150px;
  }

  .page-resources-vn88-latest-link__game-title {
    font-size: 1.2em;
  }

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

  .page-resources-vn88-latest-link__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Responsive image and video overrides */
  .page-resources-vn88-latest-link img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-vn88-latest-link video,
  .page-resources-vn88-latest-link__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-vn88-latest-link__section,
  .page-resources-vn88-latest-link__card,
  .page-resources-vn88-latest-link__container,
  .page-resources-vn88-latest-link__video-section,
  .page-resources-vn88-latest-link__video-container,
  .page-resources-vn88-latest-link__video-wrapper,
  .page-resources-vn88-latest-link__cta-buttons,
  .page-resources-vn88-latest-link__button-group,
  .page-resources-vn88-latest-link__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-vn88-latest-link__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}