/* style/blog-nhatvip-platform-game-guide.css */

/* Căn chỉnh màu sắc tổng thể dựa trên body background #0a0a0a (dark) */
.page-blog-nhatvip-platform-game-guide {
  color: #ffffff; /* Văn bản chính màu trắng cho nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background được xử lý bởi shared.css */
}

.page-blog-nhatvip-platform-game-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-nhatvip-platform-game-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Padding top nhỏ, padding bottom để tách khỏi phần tiếp theo */
  overflow: hidden;
}

.page-blog-nhatvip-platform-game-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Giới hạn chiều cao của ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-nhatvip-platform-game-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-nhatvip-platform-game-guide__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Kéo nội dung lên trên ảnh một chút */
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 10, 0.7); /* Nền tối nhẹ để chữ nổi bật */
  border-radius: 10px;
}

.page-blog-nhatvip-platform-game-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-nhatvip-platform-game-guide__intro-text {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-blog-nhatvip-platform-game-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-nhatvip-platform-game-guide__btn-primary,
.page-blog-nhatvip-platform-game-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-nhatvip-platform-game-guide__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-nhatvip-platform-game-guide__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
}

.page-blog-nhatvip-platform-game-guide__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-nhatvip-platform-game-guide__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-blog-nhatvip-platform-game-guide__video-cta {
  margin-top: 30px;
}

.page-blog-nhatvip-platform-game-guide__content-section {
  padding: 60px 0;
}

.page-blog-nhatvip-platform-game-guide__dark-bg {
  background-color: #1a1a1a; /* Nền tối hơn một chút cho các section xen kẽ */
  color: #ffffff;
}

.page-blog-nhatvip-platform-game-guide__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog-nhatvip-platform-game-guide__sub-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-nhatvip-platform-game-guide__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-nhatvip-platform-game-guide__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-nhatvip-platform-game-guide__ordered-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog-nhatvip-platform-game-guide__list-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-blog-nhatvip-platform-game-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  max-width: 800px; /* Giới hạn chiều rộng cho ảnh nội dung */
}

.page-blog-nhatvip-platform-game-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-nhatvip-platform-game-guide__game-card {
  background: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt cho card */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-nhatvip-platform-game-guide__game-card:hover {
  transform: translateY(-5px);
}

.page-blog-nhatvip-platform-game-guide__game-image {
  width: 100%;
  height: 200px; /* Chiều cao cố định cho ảnh game */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-nhatvip-platform-game-guide__game-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-nhatvip-platform-game-guide__game-description {
  font-size: 1rem;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-blog-nhatvip-platform-game-guide__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.page-blog-nhatvip-platform-game-guide__btn-text:hover {
  color: #ffffff;
}

.page-blog-nhatvip-platform-game-guide__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0a0a0a;
  padding-top: 10px; /* Nhỏ gọn để không bị đúp padding với body */
}

.page-blog-nhatvip-platform-game-guide__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 30px auto;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-blog-nhatvip-platform-game-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
}

.page-blog-nhatvip-platform-game-guide__video-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-nhatvip-platform-game-guide__faq-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-blog-nhatvip-platform-game-guide__faq-list {
  margin-top: 40px;
}

.page-blog-nhatvip-platform-game-guide__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-nhatvip-platform-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  color: #ffffff;
  list-style: none;
}

.page-blog-nhatvip-platform-game-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-nhatvip-platform-game-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-blog-nhatvip-platform-game-guide__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-blog-nhatvip-platform-game-guide__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #26A9E0;
}

.page-blog-nhatvip-platform-game-guide__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-blog-nhatvip-platform-game-guide__faq-item[open] .page-blog-nhatvip-platform-game-guide__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-blog-nhatvip-platform-game-guide__faq-item[open] .page-blog-nhatvip-platform-game-guide__faq-toggle {
  content: '−';
}

/* Link colors in content */
.page-blog-nhatvip-platform-game-guide__text-block a,
.page-blog-nhatvip-platform-game-guide__list-item a,
.page-blog-nhatvip-platform-game-guide__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-blog-nhatvip-platform-game-guide__text-block a:hover,
.page-blog-nhatvip-platform-game-guide__list-item a:hover,
.page-blog-nhatvip-platform-game-guide__faq-answer a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-nhatvip-platform-game-guide__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-blog-nhatvip-platform-game-guide__section-title {
    font-size: 2rem;
  }
  .page-blog-nhatvip-platform-game-guide__sub-title {
    font-size: 1.6rem;
  }
  .page-blog-nhatvip-platform-game-guide__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-nhatvip-platform-game-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-nhatvip-platform-game-guide__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-nhatvip-platform-game-guide__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-blog-nhatvip-platform-game-guide__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-nhatvip-platform-game-guide__intro-text {
    font-size: 1rem;
  }

  .page-blog-nhatvip-platform-game-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-nhatvip-platform-game-guide__btn-primary,
  .page-blog-nhatvip-platform-game-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-nhatvip-platform-game-guide__container,
  .page-blog-nhatvip-platform-game-guide__section,
  .page-blog-nhatvip-platform-game-guide__card,
  .page-blog-nhatvip-platform-game-guide__game-card,
  .page-blog-nhatvip-platform-game-guide__video-wrapper,
  .page-blog-nhatvip-platform-game-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-nhatvip-platform-game-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-nhatvip-platform-game-guide video,
  .page-blog-nhatvip-platform-game-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-nhatvip-platform-game-guide__video-section {
    padding-top: 10px !important;
  }

  .page-blog-nhatvip-platform-game-guide__section-title {
    font-size: 1.8rem;
  }

  .page-blog-nhatvip-platform-game-guide__sub-title {
    font-size: 1.4rem;
  }

  .page-blog-nhatvip-platform-game-guide__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog-nhatvip-platform-game-guide__faq-toggle {
    font-size: 1.2rem;
  }

  .page-blog-nhatvip-platform-game-guide__faq-answer {
    font-size: 0.95rem;
  }
}