/* style/huong-dan-choi-game-bai.css */
.page-huong-dan-choi-game-bai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Default text color from custom palette */
  background-color: #0A0A0A; /* Default background color from custom palette */
}

.page-huong-dan-choi-game-bai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-huong-dan-choi-game-bai__section {
  padding: 60px 0;
}

.page-huong-dan-choi-game-bai__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-huong-dan-choi-game-bai__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

.page-huong-dan-choi-game-bai__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-huong-dan-choi-game-bai__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFF6D6;
  max-width: 800px;
  padding: 20px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 10px;
}

.page-huong-dan-choi-game-bai__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-huong-dan-choi-game-bai__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-huong-dan-choi-game-bai__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for light button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-choi-game-bai__btn-primary:hover {
  transform: translateY(-3px);
}

.page-huong-dan-choi-game-bai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #3A2A12; /* Border color */
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-choi-game-bai__btn-secondary:hover {
  background-color: #3A2A12;
}

.page-huong-dan-choi-game-bai__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

.page-huong-dan-choi-game-bai__light-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-huong-dan-choi-game-bai__dark-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-huong-dan-choi-game-bai__steps-list,
.page-huong-dan-choi-game-bai__tips-list,
.page-huong-dan-choi-game-bai__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-huong-dan-choi-game-bai__step-item,
.page-huong-dan-choi-game-bai__tips-list li,
.page-huong-dan-choi-game-bai__promo-list li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi-game-bai__step-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-huong-dan-choi-game-bai__game-article {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-choi-game-bai__article-title {
  font-size: 2em;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-huong-dan-choi-game-bai__article-figure {
  margin: 20px 0;
  text-align: center;
}

.page-huong-dan-choi-game-bai__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

.page-huong-dan-choi-game-bai__article-figure figcaption {
  font-size: 0.9em;
  color: #FFF6D6;
  margin-top: 10px;
}

.page-huong-dan-choi-game-bai__tips-list li,
.page-huong-dan-choi-game-bai__promo-list li {
  position: relative;
  padding-left: 40px;
}

.page-huong-dan-choi-game-bai__tips-list li::before,
.page-huong-dan-choi-game-bai__promo-list li::before {
  content: '★';
  color: #FFD36B;
  position: absolute;
  left: 10px;
  font-size: 1.5em;
  line-height: 1;
}

.page-huong-dan-choi-game-bai__faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-choi-game-bai__faq-figure {
    margin: 40px 0;
    max-width: 800px;
    width: 100%;
}

.page-huong-dan-choi-game-bai__faq-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #3A2A12;
}

.page-huong-dan-choi-game-bai__faq-items {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.page-huong-dan-choi-game-bai__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi-game-bai__faq-item summary {
  list-style: none;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.2em;
}

.page-huong-dan-choi-game-bai__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-huong-dan-choi-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-huong-dan-choi-game-bai__faq-item[open] .page-huong-dan-choi-game-bai__faq-toggle {
  transform: rotate(45deg);
}

.page-huong-dan-choi-game-bai__faq-answer {
  padding: 0 20px 20px;
  color: #FFF6D6;
}

.page-huong-dan-choi-game-bai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- General Image & Button Responsiveness (Desktop) --- */
.page-huong-dan-choi-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-huong-dan-choi-game-bai__section-title {
    font-size: 2em;
  }
  .page-huong-dan-choi-game-bai__hero-title {
    font-size: clamp(1.8em, 3.5vw, 3em);
  }
  .page-huong-dan-choi-game-bai__game-article {
    padding: 20px;
  }
  .page-huong-dan-choi-game-bai__article-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-huong-dan-choi-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-huong-dan-choi-game-bai__container {
    padding: 15px;
  }
  .page-huong-dan-choi-game-bai__section {
    padding: 40px 0;
  }
  .page-huong-dan-choi-game-bai__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-huong-dan-choi-game-bai__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
  }
  .page-huong-dan-choi-game-bai__hero-content {
    padding: 15px;
  }
  .page-huong-dan-choi-game-bai__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-huong-dan-choi-game-bai__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* --- Mobile Button Adaptations --- */
  .page-huong-dan-choi-game-bai__btn-primary,
  .page-huong-dan-choi-game-bai__btn-secondary,
  .page-huong-dan-choi-game-bai a[class*="button"],
  .page-huong-dan-choi-game-bai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-huong-dan-choi-game-bai__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* --- Mobile Image Adaptations --- */
  .page-huong-dan-choi-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-huong-dan-choi-game-bai__section,
  .page-huong-dan-choi-game-bai__card,
  .page-huong-dan-choi-game-bai__container,
  .page-huong-dan-choi-game-bai__game-article {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* --- Specific Mobile Checklist Items (Even if not used in HTML for this page, must be present in CSS) --- */
  /* 1. Top Hero Carousel (Placeholder for the CSS requirement) */
  .page-huong-dan-choi-game-bai__hero-carousel-section {
    padding-top: 10px !important; /* Ensure minimal top spacing */
    /* Further carousel specific styles would go here if it were a full carousel */
  }

  /* 2. Guide Box with Five Team Cards (Placeholder for the CSS requirement) */
  .page-huong-dan-choi-game-bai__guide-box {
    padding: 15px !important;
  }
  .page-huong-dan-choi-game-bai__guide-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Default 2 columns */
    gap: 10px !important;
  }
  .page-huong-dan-choi-game-bai__guide-card {
    padding-top: 0 !important; /* Reset specific padding for mobile */
    grid-column: span 1 !important; /* Ensure single column by default, can be overridden */
    max-width: 100% !important;
    flex: none !important;
  }
  /* Specific layout for 5 cards: upper two, lower three */
  .page-huong-dan-choi-game-bai__guide-card--pos-1,
  .page-huong-dan-choi-game-bai__guide-card--pos-2 {
    grid-column: span 1 !important; /* First two take 1 column each */
  }
  .page-huong-dan-choi-game-bai__guide-card--pos-3,
  .page-huong-dan-choi-game-bai__guide-card--pos-4,
  .page-huong-dan-choi-game-bai__guide-card--pos-5 {
    grid-column: span 1 !important; /* Remaining three take 1 column each */
  }
  .page-huong-dan-choi-game-bai__guide-card img {
    aspect-ratio: 250 / 350 !important; /* Fixed aspect ratio */
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 3. Home Content Box (Placeholder for the CSS requirement) */
  .page-huong-dan-choi-game-bai__home-content-box {
    max-width: 100% !important;
    height: auto !important; /* Auto height on mobile */
    padding: 10px !important;
    border-width: 3px !important;
    box-shadow: none !important;
  }
  .page-huong-dan-choi-game-bai__home-content-inner {
    height: auto !important;
    overflow: visible !important; /* Allow content to flow naturally */
  }

  /* 4. Blog Card Section (Placeholder for the CSS requirement) */
  .page-huong-dan-choi-game-bai__blog-section {
    padding: 40px 0 !important;
  }
  .page-huong-dan-choi-game-bai__blog-grid {
    grid-template-columns: repeat(1, 1fr) !important; /* Single column on mobile */
    gap: 15px !important;
  }

  /* Common mobile card/item styling */
  .page-huong-dan-choi-game-bai__step-item,
  .page-huong-dan-choi-game-bai__tips-list li,
  .page-huong-dan-choi-game-bai__promo-list li,
  .page-huong-dan-choi-game-bai__game-article,
  .page-huong-dan-choi-game-bai__faq-item {
    padding: 15px !important;
    margin-bottom: 15px !important;
    box-shadow: none !important;
  }
  .page-huong-dan-choi-game-bai__step-title,
  .page-huong-dan-choi-game-bai__article-title {
    font-size: 1.5em !important;
  }
  .page-huong-dan-choi-game-bai__faq-item summary {
    font-size: 1em !important;
    padding: 15px !important;
  }
  .page-huong-dan-choi-game-bai__faq-answer {
    padding: 0 15px 15px !important;
  }
}