.page-ban-ca-bi-quyet-kiem-tien {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: var(--color-background, #08160F); /* Background from palette or default */
  line-height: 1.6;
  font-size: 16px;
}

.page-ban-ca-bi-quyet-kiem-tien__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ban-ca-bi-quyet-kiem-tien__section {
  padding: 60px 0;
  background-color: var(--section-bg-color, #08160F); /* Default to dark background */
}

.page-ban-ca-bi-quyet-kiem-tien__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-ban-ca-bi-quyet-kiem-tien__highlight {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-ban-ca-bi-quyet-kiem-tien__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

/* General Link Styling for content area */
.page-ban-ca-bi-quyet-kiem-tien a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ban-ca-bi-quyet-kiem-tien a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* Buttons */
.page-ban-ca-bi-quyet-kiem-tien__btn-primary,
.page-ban-ca-bi-quyet-kiem-tien__btn-secondary,
.page-ban-ca-bi-quyet-kiem-tien a[class*="button"],
.page-ban-ca-bi-quyet-kiem-tien a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ban-ca-bi-quyet-kiem-tien__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ban-ca-bi-quyet-kiem-tien__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-ban-ca-bi-quyet-kiem-tien__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Match primary button highlight */
  border: 2px solid #2AD16F; /* Border */
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.2);
}

.page-ban-ca-bi-quyet-kiem-tien__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  border-color: #2AD16F;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ban-ca-bi-quyet-kiem-tien__cta-buttons,
.page-ban-ca-bi-quyet-kiem-tien__button-group,
.page-ban-ca-bi-quyet-kiem-tien__btn-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-ban-ca-bi-quyet-kiem-tien__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-ban-ca-bi-quyet-kiem-tien__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles main offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Deep Green background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca-bi-quyet-kiem-tien__hero-image {
  width: 100%;
  max-height: 550px; /* Limit height for desktop hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca-bi-quyet-kiem-tien__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop, will change to contain for mobile */
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-ban-ca-bi-quyet-kiem-tien__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: 20px;
}

.page-ban-ca-bi-quyet-kiem-tien__main-title {
  font-size: 52px;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-ban-ca-bi-quyet-kiem-tien__description {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Game Section */
.page-ban-ca-bi-quyet-kiem-tien__about-game {
  background-color: #0A4B2C; /* Deep Green */
}

.page-ban-ca-bi-quyet-kiem-tien__about-game .page-ban-ca-bi-quyet-kiem-tien__content-area p {
  margin-bottom: 15px;
  text-align: justify;
}

/* Why Rio66 Section */
.page-ban-ca-bi-quyet-kiem-tien__why-rio66 {
  background-color: #08160F; /* Background */
}

.page-ban-ca-bi-quyet-kiem-tien__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca-bi-quyet-kiem-tien__feature-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca-bi-quyet-kiem-tien__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-ban-ca-bi-quyet-kiem-tien__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  object-fit: cover;
  display: block;
}

.page-ban-ca-bi-quyet-kiem-tien__feature-item h3 {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca-bi-quyet-kiem-tien__feature-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 15px;
  text-align: center;
}

/* Tips & Tricks Section */
.page-ban-ca-bi-quyet-kiem-tien__tips-tricks {
  background-color: #0A4B2C; /* Deep Green */
}

.page-ban-ca-bi-quyet-kiem-tien__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-ban-ca-bi-quyet-kiem-tien__article-body h3 {
  font-size: 28px;
  color: #F2C14E; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-ban-ca-bi-quyet-kiem-tien__article-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca-bi-quyet-kiem-tien__article-figure {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  object-fit: cover;
}

/* How to Play Section */
.page-ban-ca-bi-quyet-kiem-tien__how-to-play {
  background-color: #08160F; /* Background */
}

.page-ban-ca-bi-quyet-kiem-tien__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca-bi-quyet-kiem-tien__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-ban-ca-bi-quyet-kiem-tien__step-item h3 {
  font-size: 26px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca-bi-quyet-kiem-tien__step-item p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1; /* Make paragraphs grow to push button to bottom */
}

.page-ban-ca-bi-quyet-kiem-tien__step-button {
  margin-top: auto; /* Push button to bottom */
}


/* Promotions Section */
.page-ban-ca-bi-quyet-kiem-tien__promotions {
  background-color: #0A4B2C; /* Deep Green */
}

.page-ban-ca-bi-quyet-kiem-tien__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca-bi-quyet-kiem-tien__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca-bi-quyet-kiem-tien__promo-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  object-fit: cover;
  display: block;
}

.page-ban-ca-bi-quyet-kiem-tien__promo-card h3 {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-ban-ca-bi-quyet-kiem-tien__promo-card p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-ban-ca-bi-quyet-kiem-tien__faq {
  background-color: #08160F; /* Background */
}

details.page-ban-ca-bi-quyet-kiem-tien__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger border-radius for consistency */
  border: 1px solid #2E7A4E; /* Border color */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-ban-ca-bi-quyet-kiem-tien__faq-item summary.page-ban-ca-bi-quyet-kiem-tien__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-ban-ca-bi-quyet-kiem-tien__faq-item summary.page-ban-ca-bi-quyet-kiem-tien__faq-question::-webkit-details-marker {
  display: none;
}
details.page-ban-ca-bi-quyet-kiem-tien__faq-item summary.page-ban-ca-bi-quyet-kiem-tien__faq-question:hover {
  background: #1e3a2a; /* Slightly lighter shade for hover */
}
.page-ban-ca-bi-quyet-kiem-tien__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-ban-ca-bi-quyet-kiem-tien__faq-toggle {
  font-size: 28px; /* Larger icon */
  font-weight: bold;
  color: #F2C14E; /* Gold for visibility */
  flex-shrink: 0;
  margin-left: 20px; /* Increased margin */
  width: 30px; /* Larger hit area */
  text-align: center;
}
details.page-ban-ca-bi-quyet-kiem-tien__faq-item .page-ban-ca-bi-quyet-kiem-tien__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: #0A4B2C; /* Deep Green for answer background */
  border-radius: 0 0 8px 8px;
  color: #A7D9B8; /* Text Secondary for answer content */
}
details.page-ban-ca-bi-quyet-kiem-tien__faq-item .page-ban-ca-bi-quyet-kiem-tien__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}


/* Call to Action Section */
.page-ban-ca-bi-quyet-kiem-tien__call-to-action {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-ban-ca-bi-quyet-kiem-tien__cta-content {
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca-bi-quyet-kiem-tien__main-title {
    font-size: 44px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__description {
    font-size: 18px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__section-title {
    font-size: 32px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__feature-item h3,
  .page-ban-ca-bi-quyet-kiem-tien__step-item h3,
  .page-ban-ca-bi-quyet-kiem-tien__promo-card h3 {
    font-size: 22px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__article-body h3 {
    font-size: 24px;
  }
}

@media (max-width: 849px) { /* Specific breakpoint for hero image object-fit */
  .page-ban-ca-bi-quyet-kiem-tien__hero-image img {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
  }
}

@media (max-width: 768px) {
  .page-ban-ca-bi-quyet-kiem-tien {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-ban-ca-bi-quyet-kiem-tien__container {
    padding: 0 15px; /* Smaller padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca-bi-quyet-kiem-tien__section {
    padding: 40px 0; /* Smaller section padding */
  }

  /* HERO Section Mobile */
  .page-ban-ca-bi-quyet-kiem-tien__hero-section {
    padding-top: 10px; /* Small top padding, consistent */
    padding-bottom: 40px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__hero-image {
    max-height: 250px; /* Adjust max height for mobile */
  }
  .page-ban-ca-bi-quyet-kiem-tien__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__btn-primary,
  .page-ban-ca-bi-quyet-kiem-tien__btn-secondary,
  .page-ban-ca-bi-quyet-kiem-tien a[class*="button"],
  .page-ban-ca-bi-quyet-kiem-tien a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Section Titles Mobile */
  .page-ban-ca-bi-quyet-kiem-tien__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  /* Feature List Mobile */
  .page-ban-ca-bi-quyet-kiem-tien__feature-list {
    grid-template-columns: 1fr; /* Single column */
  }
  .page-ban-ca-bi-quyet-kiem-tien__feature-item {
    padding: 25px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__feature-item img {
     /* Smaller images */
    margin-bottom: 15px;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-ban-ca-bi-quyet-kiem-tien__feature-item h3 {
    font-size: 20px;
  }
  .page-ban-ca-bi-quyet-kiem-tien__feature-item p {
    font-size: 14px;
  }

  /* Article Body Mobile */
  .page-ban-ca-bi-quyet-kiem-tien__article-body {
    padding: 0; /* Remove horizontal padding */
  }
}