/* Trang Thành viên – tinh chỉnh theo mockup layout/…82cd37fc….jpg (đo ở khổ 1024px). */

/* ---------- Hero ---------- */
.tv-hero__label { font-size: 0.92rem; padding: 7px 26px; border: 1px solid #f3d27c; color: #4a2a00; letter-spacing: 0.01em; }
.tv-hero__cta { margin-top: 16px; min-height: 52px; padding: 12px 30px; font-size: 1.02rem; letter-spacing: 0.01em; }
.tv-hero__cta .ico { width: 1.3em; height: 1.3em; }
.tv-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 4px; margin: 14px auto 0; max-width: 420px; }
.tv-features li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.8rem; line-height: 1.3; color: var(--navy-ink); }
.tv-features b { color: var(--pink); font-size: 1.05rem; }
.tv-features__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--pink); box-shadow: 0 6px 16px rgba(230, 0, 126, 0.18), inset 0 0 0 2px #ffe1ef; }
.tv-features__icon .ico { width: 34px; height: 34px; }
.tv-features li > span:last-child { white-space: nowrap; }

/* ---------- Panels (pink painted cards like the mockup) ---------- */
.tv-panel { position: relative; border-radius: 22px; padding: 18px 14px; border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #fce4f1 0%, #fff8fd 30%, #fffbff 55%, #fff4fa 75%, #fde7f2 100%);
  box-shadow: 0 10px 28px rgba(230, 0, 126, 0.1); }
.tv-ribbon { display: table; margin: -38px auto 16px; padding: 10px 64px; border-radius: 999px; color: var(--white); font-size: 1.15rem; font-weight: 800; letter-spacing: 0.01em;
  background: linear-gradient(100deg, #ff3a9a, #e6007e 55%, #ff4fa6); box-shadow: 0 8px 18px rgba(230, 0, 126, 0.32); }
.tv-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
.tv-perks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tv-perks li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #3b2f86; font-size: 0.86rem; font-weight: 500; line-height: 1.3; }
.tv-perks__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--white); box-shadow: 0 8px 18px rgba(124, 77, 220, 0.14), inset 0 0 0 2px #fbe6f2; }
.tv-perks__icon .ico { width: 44px; height: 44px; }
.tv-perks__icon--blue { color: #2259ff; }
.tv-perks__icon--pink { color: #f0287a; }
.tv-perks__icon--violet { color: #7a3be6; }
.tv-perks__icon--red { color: #f0245e; }

/* ---------- Tiers ---------- */
.tv-panel--tiers { padding-top: 16px; }
.tv-panel__head { display: grid; gap: 10px; margin-bottom: 12px; }
.tv-tab-title { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin: 0 0 0 -16px; padding: 9px 26px 9px 16px; border-radius: 0 999px 999px 0; color: var(--white); font-size: 1.05rem; font-weight: 800;
  background: linear-gradient(100deg, #e6007e, #ff3d9a); box-shadow: 0 6px 14px rgba(230, 0, 126, 0.28); }
.tv-tab-title .ico { width: 26px; height: 26px; }
.tv-note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px; border-radius: 12px; font-size: 0.8rem; line-height: 1.35; color: var(--navy-ink);
  background: linear-gradient(100deg, #fff1c9, #f9dc8c 60%, #f6cf6e); box-shadow: 0 4px 12px rgba(234, 184, 74, 0.28); }
.tv-note .ico { width: 30px; height: 30px; color: #2a2a55; flex: none; }
.tv-tabs { max-width: 740px; box-shadow: none; border: 1px solid #f2d7ea; border-radius: 10px; }
.tv-tabs .tab { background: #f2eafc; }
.tv-tabs .tab strong { font-size: 0.92rem; font-weight: 600; }
.tv-tabs .tab.is-active { background: linear-gradient(100deg, #e6007e, #ff3d9a); }
.page-thanh-vien .tier { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 10px; padding: 14px 14px 0; border-radius: 16px; overflow: hidden; text-align: center; box-shadow: 0 6px 18px rgba(124, 77, 220, 0.1); border: 1px solid rgba(255, 255, 255, 0.9); }
.page-thanh-vien img.medal { grid-row: 1; width: 96px; align-self: center; }
.page-thanh-vien .tier__info { align-self: start; padding-top: 2px; min-width: 0; }
.page-thanh-vien .tier__name { margin: 0 0 8px; font-size: 0.92rem; font-weight: 900; text-transform: uppercase; white-space: nowrap; letter-spacing: -0.01em; }
.page-thanh-vien .tier__rule { margin: 0; font-size: 0.86rem; color: var(--navy-ink); line-height: 1.5; }
.page-thanh-vien .tier__rule b { color: var(--pink); font-size: 1.05rem; font-weight: 800; }
.tier__band { grid-column: 1 / -1; margin: 2px -6px 8px; padding: 4px 12px 6px; border-radius: 12px; display: flex; align-items: baseline; justify-content: center; gap: 10px; background: rgba(255, 255, 255, 0.55); }
.tier__band small { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.tier__band strong { font-size: 2.3rem; font-weight: 900; line-height: 1; color: var(--pink); }
.page-thanh-vien .tier--silver { background: linear-gradient(160deg, #f7f8fc, #eceff7); }
.page-thanh-vien .tier--gold { background: linear-gradient(160deg, #fffaf0, #fdecc8); }
.page-thanh-vien .tier--diamond { background: linear-gradient(160deg, #faf5ff, #e9dcff); }
.page-thanh-vien .tier--silver .tier__name { color: var(--navy); }
.page-thanh-vien .tier--gold .tier__name { color: #6b3f00; }
.page-thanh-vien .tier--diamond .tier__name { color: #7a3be6; font-size: 0.84rem; }
.tv-callout { margin: 12px 0 0; padding: 8px 12px; border-left: 3px solid var(--pink); border-radius: 8px; background: rgba(255, 255, 255, 0.6); font-size: 0.8rem; color: var(--navy-ink); }

/* ---------- Cách thức tham gia ---------- */
.tv-join { display: grid; gap: 8px; border-radius: 22px; padding: 16px 14px; overflow: hidden;
  background: linear-gradient(100deg, #fff6fb 0%, #fdecf5 55%, #fbe0ef 100%); box-shadow: 0 10px 28px rgba(230, 0, 126, 0.1); }
.tv-join .tv-tab-title { margin-left: -14px; }
.tv-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 6px; margin-top: 14px; }
.tv-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 0.78rem; color: var(--navy-ink); line-height: 1.3; }
.tv-steps li > span:last-child { white-space: nowrap; }
.tv-steps__icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--white); color: var(--pink); box-shadow: 0 6px 16px rgba(230, 0, 126, 0.16), inset 0 0 0 3px #ffe0ee; }
.tv-steps__icon .ico { width: 34px; height: 34px; }
.tv-steps__icon--zalo span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(160deg, #3a8bff, #0068ff); color: var(--white); font-weight: 800; font-size: 0.82rem; }
.tv-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: var(--white); font-size: 0.75rem; box-shadow: 0 0 0 2px var(--white); }
.tv-join__art { width: 100%; max-width: 370px; justify-self: center; aspect-ratio: 370 / 220; background: url('/assets/img/design/plate-join.webp') no-repeat center / contain; }

/* ---------- Banner ---------- */
.zalo-cta--lg { padding: 12px 26px 12px 12px; font-size: 1.15rem; gap: 14px; }
.zalo-cta--lg .zalo-cta__logo { flex: none; width: 62px; height: 62px; font-size: 1rem; }
.zalo-cta--lg > .ico { width: 28px; height: 28px; }
.tv-banner h2 { font-size: 1.9rem; }

@media (min-width: 640px) {
  .tv-features { grid-template-columns: repeat(4, 1fr); max-width: 520px; }
  .tv-perks { grid-template-columns: repeat(3, 1fr); }
  .tv-perks li:last-child:nth-child(odd) { grid-column: auto; }
  .tv-steps { grid-template-columns: repeat(5, 1fr); }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .tv-hero__label { font-size: 1.12rem; padding: 8px 44px; }
  .hero--plate .tv-features { margin-left: auto; margin-right: auto; }
  .tv-features li + li { border-left: 1px solid rgba(230, 0, 126, 0.18); }
  .tv-hero__cta { font-size: 1.12rem; min-height: 56px; padding: 12px 36px; }
  .tv-panel { padding: 22px 22px 20px; }
  .tv-perks { grid-template-columns: repeat(5, 1fr); }
  .tv-perks li + li { border-left: 1px solid rgba(230, 0, 126, 0.16); }
  .tv-perks li { font-size: 0.95rem; }
  .tv-panel__head { grid-template-columns: 1fr auto; align-items: center; }
  .tv-tab-title { margin-left: -24px; font-size: 1.3rem; padding: 10px 34px 10px 22px; }
  .tv-join .tv-tab-title { margin-left: -24px; }
  .page-thanh-vien .tier { grid-template-columns: 100px minmax(0, 1fr); }
  .page-thanh-vien img.medal { width: 100px; }
  .tier__band strong { font-size: 2.6rem; }
  .tv-join { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; padding: 18px 10px 14px 24px; }
  .tv-steps { gap: 14px 0; }
  .tv-steps li { font-size: 0.74rem; }
  .tv-steps li + li::before { content: ''; position: absolute; left: -6%; top: 28px; border: 6px solid transparent; border-left: 8px solid var(--pink); }
  .tv-banner h2 { font-size: 1.85rem; }
  .tv-banner .zalo-cta { white-space: nowrap; font-size: 1.05rem; padding-right: 20px; }
  .tv-banner { grid-template-columns: 300px minmax(0, 1fr) auto; }
}
