.page-resources-vn88-slot-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* From shared.css */
}

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

/* Hero Section */
.page-resources-vn88-slot-guide__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0; /* Brand color as background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-resources-vn88-slot-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-resources-vn88-slot-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-vn88-slot-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

/* Section Titles */
.page-resources-vn88-slot-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

/* Text Blocks */
.page-resources-vn88-slot-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

/* Buttons */
.page-resources-vn88-slot-guide__btn-primary,
.page-resources-vn88-slot-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-vn88-slot-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin: 10px;
}

.page-resources-vn88-slot-guide__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

.page-resources-vn88-slot-guide__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 10px;
}

.page-resources-vn88-slot-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-resources-vn88-slot-guide__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* General Section Styling */
.page-resources-vn88-slot-guide__introduction-section,
.page-resources-vn88-slot-guide__guide-section,
.page-resources-vn88-slot-guide__game-types-section,
.page-resources-vn88-slot-guide__strategy-section,
.page-resources-vn88-slot-guide__faq-section,
.page-resources-vn88-slot-guide__conclusion-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-resources-vn88-slot-guide__deposit-section,
.page-resources-vn88-slot-guide__rules-section,
.page-resources-vn88-slot-guide__withdrawal-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources-vn88-slot-guide__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-vn88-slot-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Grid for Steps */
.page-resources-vn88-slot-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-vn88-slot-guide__step-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-resources-vn88-slot-guide__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-resources-vn88-slot-guide__step-list,
.page-resources-vn88-slot-guide__note-list {
  list-style: none;
  padding: 0;
}

.page-resources-vn88-slot-guide__step-list li,
.page-resources-vn88-slot-guide__note-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-resources-vn88-slot-guide__step-list li::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-resources-vn88-slot-guide__note-list li::before {
  content: '•';
  color: #EA7C07; /* Login color for emphasis */
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Flex Container for Content Blocks with Image */
.page-resources-vn88-slot-guide__flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-resources-vn88-slot-guide__content-block {
  flex: 1;
  min-width: 300px;
}

.page-resources-vn88-slot-guide__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-resources-vn88-slot-guide__image-full {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-resources-vn88-slot-guide__block-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-vn88-slot-guide__list-styled,
.page-resources-vn88-slot-guide__list-ordered,
.page-resources-vn88-slot-guide__list-bullet {
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-resources-vn88-slot-guide__list-styled li,
.page-resources-vn88-slot-guide__list-ordered li,
.page-resources-vn88-slot-guide__list-bullet li {
  margin-bottom: 8px;
}

.page-resources-vn88-slot-guide__list-ordered {
  list-style-type: decimal;
}

.page-resources-vn88-slot-guide__list-bullet {
  list-style-type: disc;
}

/* Game Types Grid Cards */
.page-resources-vn88-slot-guide__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-vn88-slot-guide__card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-resources-vn88-slot-guide__card:hover {
  transform: translateY(-5px);
}

.page-resources-vn88-slot-guide__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources-vn88-slot-guide__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin: 20px 15px 10px;
}

.page-resources-vn88-slot-guide__card-text {
  font-size: 1em;
  padding: 0 15px 20px;
  color: #cccccc;
}

/* Strategy Section */
.page-resources-vn88-slot-guide__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-vn88-slot-guide__strategy-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  text-align: justify;
}

.page-resources-vn88-slot-guide__strategy-card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-resources-vn88-slot-guide__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-vn88-slot-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-resources-vn88-slot-guide__faq-question:hover {
  background-color: #1e87c0;
}

.page-resources-vn88-slot-guide__faq-title {
  margin: 0;
  color: #ffffff;
}

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

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

.page-resources-vn88-slot-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  background-color: #0a0a0a;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.page-resources-vn88-slot-guide__faq-item.active .page-resources-vn88-slot-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 30px;
}

.page-resources-vn88-slot-guide__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-resources-vn88-slot-guide__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-resources-vn88-slot-guide__conclusion-section .page-resources-vn88-slot-guide__section-title {
  color: #ffffff;
}

.page-resources-vn88-slot-guide__conclusion-section .page-resources-vn88-slot-guide__section-title::after {
  background-color: #ffffff;
}

.page-resources-vn88-slot-guide__conclusion-section .page-resources-vn88-slot-guide__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-vn88-slot-guide__hero-title {
    font-size: 2.8em;
  }

  .page-resources-vn88-slot-guide__section-title {
    font-size: 2em;
  }
}

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

  .page-resources-vn88-slot-guide__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-vn88-slot-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-vn88-slot-guide__hero-description {
    font-size: 1em;
  }

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

  .page-resources-vn88-slot-guide__text-block {
    font-size: 1em;
  }

  .page-resources-vn88-slot-guide__steps-grid,
  .page-resources-vn88-slot-guide__grid-cards,
  .page-resources-vn88-slot-guide__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-vn88-slot-guide__flex-container {
    flex-direction: column;
  }

  .page-resources-vn88-slot-guide__image-full {
    margin-top: 30px;
  }

  .page-resources-vn88-slot-guide__card-image {
    height: 200px;
  }

  .page-resources-vn88-slot-guide__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-resources-vn88-slot-guide__faq-answer {
    padding: 15px 20px;
  }

  /* Image responsive rules for mobile */
  .page-resources-vn88-slot-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-vn88-slot-guide__section,
  .page-resources-vn88-slot-guide__card,
  .page-resources-vn88-slot-guide__container,
  .page-resources-vn88-slot-guide__hero-section,
  .page-resources-vn88-slot-guide__introduction-section,
  .page-resources-vn88-slot-guide__guide-section,
  .page-resources-vn88-slot-guide__deposit-section,
  .page-resources-vn88-slot-guide__game-types-section,
  .page-resources-vn88-slot-guide__rules-section,
  .page-resources-vn88-slot-guide__strategy-section,
  .page-resources-vn88-slot-guide__withdrawal-section,
  .page-resources-vn88-slot-guide__faq-section,
  .page-resources-vn88-slot-guide__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-resources-vn88-slot-guide__hero-image-wrapper,
  .page-resources-vn88-slot-guide__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-vn88-slot-guide__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure correct header offset on mobile */
  }

  /* Video specific mobile styles - if video is added */
  .page-resources-vn88-slot-guide video,
  .page-resources-vn88-slot-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-vn88-slot-guide__video-section,
  .page-resources-vn88-slot-guide__video-container,
  .page-resources-vn88-slot-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-vn88-slot-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-vn88-slot-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Color Contrast Fixes */
.page-resources-vn88-slot-guide__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-vn88-slot-guide__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

.page-resources-vn88-slot-guide__dark-bg {
  background: #1a1a1a;
  color: #ffffff;
}

.page-resources-vn88-slot-guide__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-resources-vn88-slot-guide__medium-bg {
  color: #000000;
  background: #FFFFFF;
}

.page-resources-vn88-slot-guide p,
.page-resources-vn88-slot-guide li {
  color: #f0f0f0;
}

.page-resources-vn88-slot-guide__card {
  background: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-vn88-slot-guide__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-resources-vn88-slot-guide__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-vn88-slot-guide__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

/* Ensure no filter on images */
.page-resources-vn88-slot-guide img {
  filter: none;
}