.page-blog-tai-nk888-game-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Body background color from shared.css */
}

/* Base styles for sections */
.page-blog-tai-nk888-game-features__section {
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-blog-tai-nk888-game-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added padding for content inside container */
  box-sizing: border-box;
}

/* Dark background sections */
.page-blog-tai-nk888-game-features__dark-bg {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Text Main for dark background */
}

/* Light background sections */
.page-blog-tai-nk888-game-features__light-bg {
  background-color: #f8f8f8; /* Matches body background for consistency */
  color: #333333; /* Dark text for light background */
}

/* Text colors for specific contexts */
.page-blog-tai-nk888-game-features__text-main {
  color: #F2FFF6;
}

.page-blog-tai-nk888-game-features__text-secondary {
  color: #A7D9B8;
}

/* Hero Section */
.page-blog-tai-nk888-game-features__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* Image takes full height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
}

.page-blog-tai-nk888-game-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-blog-tai-nk888-game-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-tai-nk888-game-features__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
  color: #F2FFF6;
  padding-top: 10px; /* Small top padding as per instruction */
}

.page-blog-tai-nk888-game-features__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-blog-tai-nk888-game-features__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-blog-tai-nk888-game-features__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Section titles and descriptions */
.page-blog-tai-nk888-game-features__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #11A84E; /* Default H2 color */
}
.page-blog-tai-nk888-game-features__dark-bg .page-blog-tai-nk888-game-features__section-title {
  color: #F2FFF6; /* H2 color on dark background */
}

.page-blog-tai-nk888-game-features__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}
.page-blog-tai-nk888-game-features__dark-bg .page-blog-tai-nk888-game-features__section-description {
  color: #A7D9B8;
}

/* General paragraph and list item styles */
.page-blog-tai-nk888-game-features p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333333;
}
.page-blog-tai-nk888-game-features__dark-bg p {
  color: #A7D9B8;
}

.page-blog-tai-nk888-game-features ol,
.page-blog-tai-nk888-game-features ul {
  text-align: left;
  margin: 20px auto;
  max-width: 800px;
  color: #333333;
}
.page-blog-tai-nk888-game-features__dark-bg ol,
.page-blog-tai-nk888-game-features__dark-bg ul {
  color: #A7D9B8;
}

.page-blog-tai-nk888-game-features li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Buttons */
.page-blog-tai-nk888-game-features__btn-primary,
.page-blog-tai-nk888-game-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-tai-nk888-game-features__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-blog-tai-nk888-game-features__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-tai-nk888-game-features__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #11A84E;
}

.page-blog-tai-nk888-game-features__btn-secondary:hover {
  background: #11A84E;
  color: #ffffff;
}

.page-blog-tai-nk888-game-features__cta-center {
  margin-top: 40px;
}

/* Grid Layout for Game Features */
.page-blog-tai-nk888-game-features__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-tai-nk888-game-features__card {
  background-color: #ffffff; /* Default card background for light sections */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #333333;
}
.page-blog-tai-nk888-game-features__card-dark-bg {
  background-color: #11271B; /* Card BG on dark sections */
  color: #A7D9B8;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-tai-nk888-game-features__card:hover {
  transform: translateY(-5px);
}

.page-blog-tai-nk888-game-features__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-blog-tai-nk888-game-features__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #11A84E; /* Default card title color */
}
.page-blog-tai-nk888-game-features__card-dark-bg .page-blog-tai-nk888-game-features__card-title {
  color: #F2FFF6;
}

.page-blog-tai-nk888-game-features__card-text {
  font-size: 0.95rem;
  flex-grow: 1; /* Allow text to grow and push button to bottom */
  color: #333333;
}
.page-blog-tai-nk888-game-features__card-dark-bg .page-blog-tai-nk888-game-features__card-text {
  color: #A7D9B8;
}

/* Feature list */
.page-blog-tai-nk888-game-features__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-blog-tai-nk888-game-features__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-blog-tai-nk888-game-features__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #11A84E;
}
.page-blog-tai-nk888-game-features__dark-bg .page-blog-tai-nk888-game-features__feature-title {
  color: #F2FFF6;
}

.page-blog-tai-nk888-game-features__feature-text {
  font-size: 0.95rem;
  color: #333333;
  flex-grow: 1;
}
.page-blog-tai-nk888-game-features__dark-bg .page-blog-tai-nk888-game-features__feature-text {
  color: #A7D9B8;
}

/* Download section */
.page-blog-tai-nk888-game-features__download-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-blog-tai-nk888-game-features__download-content {
  flex: 1;
  min-width: 300px;
}

.page-blog-tai-nk888-game-features__download-image-wrapper {
  flex-basis: 40%;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-tai-nk888-game-features__download-image {
  width: 100%;
  max-width: 400px; /* Max width for image */
  height: auto;
  border-radius: 12px;
  display: block;
}

.page-blog-tai-nk888-game-features__download-steps {
  counter-reset: download-step;
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-blog-tai-nk888-game-features__download-steps li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.page-blog-tai-nk888-game-features__download-steps li::before {
  content: counter(download-step);
  counter-increment: download-step;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #11A84E;
  color: #F2FFF6;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Promotion Cards */
.page-blog-tai-nk888-game-features__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Security/Trust section */
.page-blog-tai-nk888-game-features__security-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
  margin-top: 40px;
}

.page-blog-tai-nk888-game-features__security-content {
  flex: 1;
  min-width: 300px;
}

.page-blog-tai-nk888-game-features__security-image-wrapper {
  flex-basis: 40%;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-tai-nk888-game-features__security-image {
  width: 100%;
  max-width: 600px; /* Max width for image */
  height: auto;
  border-radius: 12px;
  display: block;
}

.page-blog-tai-nk888-game-features__inline-link {
  color: #13994A; /* A darker green for links on light bg */
  text-decoration: underline;
  transition: color 0.3s ease;
}
.page-blog-tai-nk888-game-features__dark-bg .page-blog-tai-nk888-game-features__inline-link {
  color: #2AD16F; /* A lighter green for links on dark bg */
}

.page-blog-tai-nk888-game-features__inline-link:hover {
  color: #57E38D; /* Glow color on hover */
}

/* FAQ Section */
.page-blog-tai-nk888-game-features__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-tai-nk888-game-features__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-blog-tai-nk888-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f5f5f5;
  color: #11A84E;
  border-bottom: 1px solid #e0e0e0;
}

.page-blog-tai-nk888-game-features__faq-question:hover {
  background-color: #ebebeb;
}

.page-blog-tai-nk888-game-features__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #13994A;
}

.page-blog-tai-nk888-game-features__faq-item[open] .page-blog-tai-nk888-game-features__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-tai-nk888-game-features__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #333333;
  text-align: left;
}

.page-blog-tai-nk888-game-features__faq-answer p {
  margin-bottom: 0; /* Remove bottom margin for last paragraph in answer */
}

/* Final CTA section */
.page-blog-tai-nk888-game-features__cta-final {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-blog-tai-nk888-game-features__cta-content-wrapper {
  max-width: 900px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-tai-nk888-game-features__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-blog-tai-nk888-game-features__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-blog-tai-nk888-game-features__section {
    padding: 40px 15px;
  }

  .page-blog-tai-nk888-game-features__hero-content {
    padding: 30px 15px;
  }

  .page-blog-tai-nk888-game-features__hero-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-blog-tai-nk888-game-features__hero-description {
    font-size: 1rem;
  }

  .page-blog-tai-nk888-game-features__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-tai-nk888-game-features__btn-primary,
  .page-blog-tai-nk888-game-features__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .page-blog-tai-nk888-game-features__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .page-blog-tai-nk888-game-features__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-blog-tai-nk888-game-features__grid-layout,
  .page-blog-tai-nk888-game-features__feature-list,
  .page-blog-tai-nk888-game-features__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-tai-nk888-game-features__card-image {
    height: 180px;
  }

  .page-blog-tai-nk888-game-features__download-flex,
  .page-blog-tai-nk888-game-features__security-flex {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-blog-tai-nk888-game-features__download-image-wrapper,
  .page-blog-tai-nk888-game-features__security-image-wrapper {
    order: -1; /* Image first on mobile */
  }

  /* All images responsive for mobile */
  .page-blog-tai-nk888-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image containers responsive for mobile */
  .page-blog-tai-nk888-game-features__section,
  .page-blog-tai-nk888-game-features__container,
  .page-blog-tai-nk888-game-features__card,
  .page-blog-tai-nk888-game-features__feature-item,
  .page-blog-tai-nk888-game-features__download-flex,
  .page-blog-tai-nk888-game-features__security-flex,
  .page-blog-tai-nk888-game-features__cta-buttons,
  .page-blog-tai-nk888-game-features__faq-list,
  .page-blog-tai-nk888-game-features__cta-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden; /* Ensure no horizontal scroll */
  }

  .page-blog-tai-nk888-game-features__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile hero */
    min-height: 450px;
  }

  /* Buttons in flex containers for mobile */
  .page-blog-tai-nk888-game-features__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .page-blog-tai-nk888-game-features__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  
  .page-blog-tai-nk888-game-features__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }
}