/* style/blog-for88-nha-cai-popular-games.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-blog-for88-nha-cai-popular-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Light text for dark background */
  background-color: var(--background, #08160F);
  line-height: 1.6;
  font-size: 16px;
}

.page-blog-for88-nha-cai-popular-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-for88-nha-cai-popular-games__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-blog-for88-nha-cai-popular-games__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-blog-for88-nha-cai-popular-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-blog-for88-nha-cai-popular-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-for88-nha-cai-popular-games__text-block {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-blog-for88-nha-cai-popular-games__inline-link {
  color: var(--main-color, #11A84E);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-for88-nha-cai-popular-games__inline-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-blog-for88-nha-cai-popular-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
  position: relative;
  overflow: hidden;
}

.page-blog-for88-nha-cai-popular-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-for88-nha-cai-popular-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-for88-nha-cai-popular-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: var(--text-main, #F2FFF6);
}

.page-blog-for88-nha-cai-popular-games__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-for88-nha-cai-popular-games__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-blog-for88-nha-cai-popular-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-for88-nha-cai-popular-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-blog-for88-nha-cai-popular-games__cta-button--small {
  font-size: 16px;
  padding: 12px 25px;
}

.page-blog-for88-nha-cai-popular-games__cta-button--large {
  font-size: 22px;
  padding: 18px 35px;
}

/* Games Overview Section */
.page-blog-for88-nha-cai-popular-games__games-overview {
  background-color: var(--card-bg, #11271B);
}

.page-blog-for88-nha-cai-popular-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-for88-nha-cai-popular-games__game-card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-for88-nha-cai-popular-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-for88-nha-cai-popular-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-blog-for88-nha-cai-popular-games__card-title {
  font-size: 24px;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-blog-for88-nha-cai-popular-games__card-description {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Benefits Section */
.page-blog-for88-nha-cai-popular-games__benefits-section {
  background-color: var(--background, #08160F);
}

.page-blog-for88-nha-cai-popular-games__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-for88-nha-cai-popular-games__benefit-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-for88-nha-cai-popular-games__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-for88-nha-cai-popular-games__benefit-title {
  font-size: 22px;
  color: var(--main-color, #11A84E);
  margin-bottom: 15px;
}

.page-blog-for88-nha-cai-popular-games__benefit-item p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

/* How-To-Join Section */
.page-blog-for88-nha-cai-popular-games__how-to-join {
  background-color: var(--card-bg, #11271B);
}

.page-blog-for88-nha-cai-popular-games__step-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-blog-for88-nha-cai-popular-games__step-item {
  background-color: var(--background, #08160F);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  position: relative;
  padding-left: 70px;
}

.page-blog-for88-nha-cai-popular-games__step-item::before {
  content: counters(step-counter, ".") ". ";
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 28px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--deep-green, #0A4B2C);
}

.page-blog-for88-nha-cai-popular-games__step-title {
  font-size: 22px;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-blog-for88-nha-cai-popular-games__step-item p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

/* Promotions Section */
.page-blog-for88-nha-cai-popular-games__promotions-section {
  background-color: var(--background, #08160F);
}

.page-blog-for88-nha-cai-popular-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-for88-nha-cai-popular-games__promo-card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-for88-nha-cai-popular-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-for88-nha-cai-popular-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-blog-for88-nha-cai-popular-games__faq-section {
  background-color: var(--card-bg, #11271B);
}

.page-blog-for88-nha-cai-popular-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-blog-for88-nha-cai-popular-games__faq-item {
  background-color: var(--background, #08160F);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog-for88-nha-cai-popular-games__faq-item[open] {
  border-color: var(--main-color, #11A84E);
}

.page-blog-for88-nha-cai-popular-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-for88-nha-cai-popular-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-for88-nha-cai-popular-games__faq-item[open] .page-blog-for88-nha-cai-popular-games__faq-question {
  background-color: var(--deep-green, #0A4B2C);
  border-bottom-color: var(--divider, #1E3A2A);
}

.page-blog-for88-nha-cai-popular-games__faq-qtext {
  flex-grow: 1;
}

.page-blog-for88-nha-cai-popular-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--main-color, #11A84E);
}

.page-blog-for88-nha-cai-popular-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
  background-color: var(--background, #08160F);
}

/* Conclusion Section */
.page-blog-for88-nha-cai-popular-games__conclusion-section {
  background-color: var(--background, #08160F);
}

/* Image & Video Responsiveness */
.page-blog-for88-nha-cai-popular-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-for88-nha-cai-popular-games video,
.page-blog-for88-nha-cai-popular-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-blog-for88-nha-cai-popular-games__video-section,
.page-blog-for88-nha-cai-popular-games__video-container,
.page-blog-for88-nha-cai-popular-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-for88-nha-cai-popular-games {
    font-size: 15px;
  }

  .page-blog-for88-nha-cai-popular-games__container {
    padding: 0 15px;
  }

  .page-blog-for88-nha-cai-popular-games__section {
    padding: 40px 0;
  }

  .page-blog-for88-nha-cai-popular-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__main-title {
    font-size: clamp(30px, 8vw, 48px);
  }

  .page-blog-for88-nha-cai-popular-games__hero-description {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
  }

  .page-blog-for88-nha-cai-popular-games__cta-button {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-for88-nha-cai-popular-games__game-grid,
  .page-blog-for88-nha-cai-popular-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__game-image,
  .page-blog-for88-nha-cai-popular-games__promo-image {
    height: 180px;
  }

  .page-blog-for88-nha-cai-popular-games__card-title {
    font-size: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__card-description {
    font-size: 15px;
  }

  .page-blog-for88-nha-cai-popular-games__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__benefit-title {
    font-size: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__step-item {
    padding-left: 60px;
    padding-right: 15px;
  }

  .page-blog-for88-nha-cai-popular-games__step-item::before {
    left: 15px;
    top: 20px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }

  .page-blog-for88-nha-cai-popular-games__step-title {
    font-size: 18px;
  }

  .page-blog-for88-nha-cai-popular-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-blog-for88-nha-cai-popular-games__faq-toggle {
    font-size: 20px;
  }

  .page-blog-for88-nha-cai-popular-games__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 15px;
  }

  /* Image and video responsiveness for mobile */
  .page-blog-for88-nha-cai-popular-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-for88-nha-cai-popular-games video,
  .page-blog-for88-nha-cai-popular-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-for88-nha-cai-popular-games__video-section,
  .page-blog-for88-nha-cai-popular-games__video-container,
  .page-blog-for88-nha-cai-popular-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-for88-nha-cai-popular-games__hero-section {
    padding-top: 10px !important;
  }
}