/* ===== Tài Xỉu Page Styles ===== */
.page-tai-xiu {
  margin: 0;
  color: #FFF3E6;
}

/* HERO */
.page-tai-xiu__hero {
  padding: 10px 16px 0;
}
.page-tai-xiu__hero-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.page-tai-xiu__hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1020 / 300;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.page-tai-xiu__hero-content {
  max-width: 800px;
  margin: 20px auto 0;
  text-align: center;
  padding-bottom: 14px;
}
.page-tai-xiu__hero-content h1 {
  margin: 0 0 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFF3E6;
}
.page-tai-xiu__hero-content p {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: #E8D9C4;
  line-height: 1.5;
}
.page-tai-xiu__hero-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 176, 77, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
  margin: 6px 4px;
}
.page-tai-xiu__hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 176, 77, 0.55);
}

/* LOGO SECTION (4+2 grid) */
.page-tai-xiu__logo-section {
  padding: 40px 16px;
  background: #17191F;
}
.page-tai-xiu__logo-heading {
  text-align: center;
  margin-bottom: 30px;
}
.page-tai-xiu__logo-heading h2 {
  margin: 0;
  color: #FFF3E6;
  font-size: 1.75rem;
  font-weight: 700;
}
.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}
.page-tai-xiu__logo-card {
  background: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.page-tai-xiu__logo-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}
.page-tai-xiu__logo-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}
.page-tai-xiu__logo-btn:hover {
  box-shadow: 0 0 12px rgba(255, 176, 77, 0.5);
}
.page-tai-xiu__logo-card:nth-child(5) {
  grid-column: 2;
}
.page-tai-xiu__logo-card:nth-child(6) {
  grid-column: 3;
}

/* GUIDE */
.page-tai-xiu__guide {
  padding: 40px 16px;
  background: #0D0E12;
}
.page-tai-xiu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-tai-xiu__guide-title {
  text-align: center;
  color: #FFF3E6;
  font-size: 1.9rem;
  margin-bottom: 20px;
}
.page-tai-xiu__guide-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
  color: #E8D9C4;
  font-size: 1.05rem;
}
.page-tai-xiu__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-tai-xiu__guide-step {
  background: #17191F;
  border: 1px solid #A84F0C;
  padding: 20px;
  border-radius: 12px;
}
.page-tai-xiu__guide-step figure {
  margin: 0 0 16px;
}
.page-tai-xiu__guide-step img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.page-tai-xiu__guide-step h3 {
  margin: 0 0 8px;
  color: #FFB04D;
  font-size: 1.3rem;
}
.page-tai-xiu__guide-step p {
  margin: 0;
  color: #E8D9C4;
  line-height: 1.6;
}
.page-tai-xiu__guide-note {
  margin-top: 36px;
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 20px 24px;
}
.page-tai-xiu__guide-note h3,
.page-tai-xiu__guide-faq h3,
.page-tai-xiu__guide-overline h3 {
  margin: 0 0 14px;
  color: #FFB04D;
  font-size: 1.4rem;
}
.page-tai-xiu__guide-note ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.page-tai-xiu__guide-note li {
  color: #FFF3E6;
  line-height: 1.5;
}
.page-tai-xiu__guide-faq {
  margin-top: 36px;
}
.page-tai-xiu__guide-faq-item {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.page-tai-xiu__guide-faq-item summary {
  cursor: pointer;
  color: #FFF3E6;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.page-tai-xiu__guide-faq-item summary::-webkit-details-marker {
  display: none;
}
.page-tai-xiu__guide-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #FFB04D;
  font-weight: 700;
}
.page-tai-xiu__guide-faq-item[open] summary::after {
  content: "−";
}
.page-tai-xiu__guide-faq-item p {
  color: #E8D9C4;
  line-height: 1.6;
  margin: 12px 0 0;
}
.page-tai-xiu__guide-overline {
  margin-top: 36px;
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.page-tai-xiu__guide-overline p {
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.7;
  color: #E8D9C4;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-tai-xiu__logo-card:nth-child(5),
  .page-tai-xiu__logo-card:nth-child(6) {
    grid-column: auto;
  }
  .page-tai-xiu__hero-image img {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero {
    padding: 10px 12px 0;
  }
  .page-tai-xiu__hero-image img {
    aspect-ratio: 4 / 3;
    max-height: 40vh;
  }
  .page-tai-xiu__hero-content h1 {
    font-size: clamp(1.2rem, 5vw, 1.9rem);
  }
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .page-tai-xiu__logo-card:nth-child(5),
  .page-tai-xiu__logo-card:nth-child(6) {
    grid-column: auto;
  }
  .page-tai-xiu__guide-note ul {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-tai-xiu__hero-btn,
  .page-tai-xiu__logo-btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__guide-step,
  .page-tai-xiu__guide-note,
  .page-tai-xiu__guide-faq-item,
  .page-tai-xiu__guide-overline {
    padding: 16px;
  }
  .page-tai-xiu__guide-steps {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: 1fr;
  }
}