/* landing.css — trang chủ mới (landing page), phong cách "BRO Đêm Sao" lấy từ poster truyền thông:
   trời đêm xanh hoàng gia → tím, sao lấp lánh đứng yên, nội dung đặt trên thẻ sáng như "vật thật".
   Dùng chung bộ biến với mọi trang khách (đầu style.css): nền trời đêm, màu, hệ chữ 5 cấp — chỉnh ở admin "Giao diện".
   Chữ / ảnh / mục bật tắt: admin "🏠 Trang chủ"; hình thương hiệu: admin "Giao diện". */
body.landing {
  /* Bí danh màu riêng của trang chủ → trỏ về bộ biến chung (đổi trong Giao diện là trang chủ đổi theo) */
  --ld-sky1: var(--bg-1, var(--c-bg1)); --ld-night: var(--c-night);
  --ld-star: var(--c-accent); --ld-star-ink: var(--c-accent-ink); --ld-electric: var(--c-brand); --ld-electric-dk: var(--c-brand-strong);
  --ld-candy: #FD78A6; --ld-violet: #7929FE; --ld-lav: var(--t3-c2); --ld-lav2: var(--c-ph, #E9E0FD); --ld-ink: var(--c-text); --ld-ink2: var(--c-text-2);
  max-width: none; padding: 0; line-height: 1.55;
}
html:has(body.landing) { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html:has(body.landing) { scroll-behavior: auto; } }
.landing a:focus-visible, .landing button:focus-visible, .landing summary:focus-visible { outline: 3px solid var(--ld-star); outline-offset: 3px; border-radius: 8px; }

/* ---------- Thanh trên cùng: trong suốt trên ảnh, cuộn xuống thành tím mờ ---------- */
.landing .ld-head { position: fixed; top: 0; left: 0; right: 0; width: auto; margin: 0; z-index: 60; background: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } /* chưa cuộn: trong suốt hẳn, không làm mờ ảnh phía sau */
.landing .ld-head.scrolled, .landing .ld-head.menu-open { background: rgba(35, 13, 71, .86); background: color-mix(in srgb, var(--c-night) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 6px 20px rgba(10, 5, 30, .35); }
.landing .ld-head .sh-bar { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; height: 60px; padding: 0 6px 0 16px; }
.ld-logo { display: flex; align-items: center; height: 60px; }
.ld-logo-img { height: 38px; width: auto; filter: drop-shadow(0 2px 8px rgba(10, 5, 40, .35)); }
.ld-head-r { display: flex; align-items: center; gap: 6px; }
.landing .ld-head .sh-btn { color: #fff; }
.landing .ld-head .sh-btn:hover { background: rgba(255, 255, 255, .14); }
.landing .ld-head .lang-switch { background: rgba(255, 255, 255, .16); }
.landing .ld-head .sh-overlay { top: calc(60px + env(safe-area-inset-top, 0px)); }
.landing .ld-head .sh-menu { color: var(--ld-ink); }

/* Nền trời đêm + bụi sao: nền chung của mọi trang khách (style.css → body) */
.ld { position: relative; overflow: hidden; }
.ld > * { position: relative; z-index: 0; } /* mỗi mục 1 lớp riêng: ngôi sao trang trí (z-index âm) luôn nằm dưới chữ / hình / nút của mục */

/* ---------- Màn hình đầu ----------
   Gọn theo mockup của Hải (2026-10-10): ảnh to tới sát mép trên (header trong suốt, không phủ tối), ít dòng chữ, chỉ 1 nút Chat.
   Cao vừa 1 màn hình trừ --ld-peek để mục kế tiếp (Ảnh phòng) ló lên → khách biết còn cuộn được. Ảnh tự giãn lấp phần còn trống. */
.ld-hero { --ld-peek: 92px; display: flex; flex-direction: column; min-height: calc(100vh - var(--ld-peek)); min-height: calc(100svh - var(--ld-peek)); }
.ld-hero-media { position: relative; flex: 1 0 auto; min-height: clamp(200px, 38vh, 520px); min-height: clamp(200px, 38svh, 520px); overflow: hidden; }
.ld-hero-media picture { position: absolute; inset: 0; display: block; }
.ld-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ld-hero-media::after { /* ảnh sáng tới mép trên; nửa dưới tan dần vào trời đêm để chữ đọc rõ */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(41, 73, 184, 0) 0, rgba(41, 73, 184, 0) 48%, rgba(41, 73, 184, .75) 82%, var(--ld-sky1) 100%);
}
.ld-dither { /* viền răng cưa pixel như poster */
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px; z-index: 1; pointer-events: none;
  background-image: linear-gradient(45deg, var(--ld-sky1) 25%, transparent 25%, transparent 75%, var(--ld-sky1) 75%), linear-gradient(45deg, var(--ld-sky1) 25%, transparent 25%, transparent 75%, var(--ld-sky1) 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 85%); mask-image: linear-gradient(180deg, transparent 0, #000 85%);
}
.ld-hero-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; margin-top: -54px; padding: 0 16px 22px; }
/* Nhãn mở cửa: chấm xanh sáng + "Đang mở cửa" / chấm xám + "Sẽ mở cửa lúc 9h sáng" — nằm chung dòng thông tin (cạnh dòng địa chỉ) */
.ld-facts .ld-open { font-weight: 700; color: #fff; }
.ld-open i { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #A1A1C2; }
.ld-open.on i { background: var(--c-open, #34D399); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-open, #34D399) 25%, transparent), 0 0 12px var(--c-open, #34D399); }
/* Tiêu đề lớn (cấp 1) + Tiêu đề phụ (cấp 2): font / màu / hiệu ứng theo hệ chữ (style.css), ở đây chỉ cỡ chữ */
.ld-title { font-size: clamp(34px, 9.4vw, 64px); line-height: 1.08; text-wrap: balance; }
.ld-title em { font-style: normal; color: var(--ld-star); }
/* Tiêu đề phụ: nhỏ để nằm gọn 1 dòng (landing.js tự thu chữ cho vừa, tối thiểu 14px; vẫn dài quá thì xuống dòng) */
.ld-sub { margin-top: -4px; font-size: clamp(15px, 4.3vw, 22px); line-height: 1.3; text-wrap: balance; }
.ld-sub.fit1 { white-space: nowrap; }
/* Hàng logo: khung tối nhẹ bo góc, tách khỏi cụm tiêu đề */
.ld-logos { display: flex; align-items: center; justify-content: space-evenly; gap: 10px 18px; flex-wrap: wrap; margin: 4px 0 2px; padding: 13px 16px; border-radius: 18px; background: rgba(16, 8, 52, .36); border: 1px solid rgba(255, 255, 255, .07); }
.ld-logos img { width: auto; height: calc(20px * var(--ls, 1)); max-width: 40vw; opacity: .95; } /* --ls: cỡ riêng từng logo (admin) */
.ld-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 4px 0 2px; font-size: 14px; color: var(--t3-c); }
.ld-facts li { display: flex; align-items: center; gap: 6px; }
.ld-facts svg.ic { width: 17px; height: 17px; color: var(--ld-star); }
.ld-facts b { color: var(--ld-star); font-family: var(--t4-f); font-size: 19px; font-weight: 900; }
.ld-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.ld-ctas2 { display: flex; align-items: center; gap: 10px; }
.ld-ctas2:empty { display: none; }
/* Nút Chỉ đường co lại cho vừa hàng nút mạng xã hội */
.ld-ctas2 .ld-btn-map { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 14px; font-size: 15px; }
/* Nút mạng xã hội: tròn, chỉ có logo, nền màu thương hiệu (--sc) */
.ld-socs { display: flex; gap: 8px; flex: 0 0 auto; }
.ld-soc { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 2px solid rgba(255, 255, 255, .9); border-radius: 50%; background: var(--sc); color: #fff; cursor: pointer; box-shadow: 0 6px 14px rgba(10, 5, 40, .35); }
.ld-soc svg { width: 22px; height: 22px; }
/* Hộp copy: tên nút + chữ + nút Copy */
.ld-copy { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(10, 5, 30, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ld-copy[hidden] { display: none; }
.ld-copy-card { position: relative; width: min(340px, 100%); padding: 22px 20px 20px; border-radius: 22px; background: var(--c-surface, #fff); color: var(--c-text); text-align: center; box-shadow: 0 24px 60px rgba(10, 5, 30, .5); animation: ld-pop .16s ease-out; }
.ld-copy-card b { display: block; font-family: var(--t4-f); font-size: 15px; font-weight: 800; color: var(--c-text-2); }
.ld-copy-tx { margin: 8px 0 16px; font-family: var(--t4-f); font-size: 22px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.ld-copy-btn { width: 100%; }
.ld-copy-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F3F0FC; color: var(--c-text); cursor: pointer; }
.ld-copy-x svg.ic { width: 18px; height: 18px; }
@keyframes ld-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ld-copy-card { animation: none; } }

/* Nút */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 18px; border-radius: 16px; white-space: nowrap; font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; }
.ld-btn svg.ic { width: 19px; height: 19px; }
.ld-btn-main { min-height: 56px; font-size: 17px; background: var(--btn-bg, var(--ld-star)); color: var(--btn-fg, var(--ld-star-ink)); border-radius: var(--btn-r, 16px); box-shadow: var(--btn-sh, var(--sh-cta)), 0 12px 30px rgba(254, 227, 98, .22); }
.ld-btn-ghost { background: var(--btn2-bg, rgba(255, 255, 255, .1)); color: var(--btn2-fg, #fff); border: 1.5px solid var(--btn2-border, rgba(255, 255, 255, .45)); border-radius: var(--btn2-r, 16px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ld-btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.ld-btn-blue { --ux-ledge: var(--ld-electric-dk); min-height: 46px; font-size: 15px; background: var(--ld-electric); color: var(--c-brand-ink, #fff); box-shadow: 0 4px 0 var(--ld-electric-dk); }
.ld-btn-line { min-height: 46px; padding: 10px 16px; font-size: 15px; color: var(--ld-ink); border: 1.5px solid #D9D2F5; border-color: color-mix(in srgb, var(--c-sub, #8E6FE8) 28%, #fff); }
.ld-btn-line:hover { background: #F5F2FF; }

/* Sao trang trí (đứng yên) */
.ld-spark { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ld-spark img { position: absolute; width: 30px; height: auto; }
.ld-hero .ld-spark { z-index: 1; } /* màn hình đầu: sao trên ảnh nền, dưới cụm chữ (z-index 2) */
/* ---- Quy tắc ngôi sao (landing.js): cách chữ / hình / nút ≥ 12px, cách sao khác ≥ 16px, cách mép màn hình ≥ 8px; vi phạm → ẩn sao đó.
   Sao trong suốt tới khi đo xong rồi hiện dần (không thấy sao nháy mất). Chưa tải xong ảnh sao thì tạm coi là vuông để đo. */
.ld-spark, .ld-h-sp { opacity: 0; transition: opacity .3s ease; }
html.st-ready .ld-spark, html.st-ready .ld-h-sp { opacity: 1; }
.ld-spark img, .ld-h-sp img { aspect-ratio: auto 1 / 1; }
.st-off { display: none !important; }
/* Sao đặt theo đáy màn hình đầu (phần chữ), vì chiều cao ảnh thay đổi theo máy */
.ld-hero .ld-spark .sp1 { right: 3%; bottom: 236px; width: 26px; }
.ld-hero .ld-spark .sp2 { right: 3%; bottom: 112px; width: 16px; opacity: .9; }
.ld-hero .ld-spark .sp3 { right: 32%; bottom: 300px; width: 12px; }
@media (max-width: 380px) {
  .ld-ctas2 { gap: 8px; } .ld-socs { gap: 6px; }
  .ld-ctas2 .ld-btn-map { padding: 8px 8px; font-size: 14px; gap: 5px; }
  .ld-soc { width: 42px; height: 42px; } .ld-soc svg { width: 20px; height: 20px; }
  .ld-facts { gap: 4px 14px; font-size: 13.5px; }
}
/* Điện thoại màn thấp (iPhone SE, trình duyệt trong Facebook): thu ảnh + chữ để nút Chat vẫn nằm trong màn hình đầu */
@media (max-width: 899px) and (max-height: 640px) {
  .ld-hero { --ld-peek: 72px; }
  .ld-hero-media { min-height: 150px; }
  .ld-hero-body { gap: 9px; margin-top: -40px; padding-bottom: 16px; }
  .ld-title { font-size: clamp(28px, 8vw, 40px); }
  .ld-logos { padding: 10px 12px; }
  .ld-logos img { height: calc(17px * var(--ls, 1)); }
  .ld-btn-main { min-height: 52px; }
  .ld-ctas2 .ld-btn { min-height: 44px; padding: 8px 12px; }
}
/* Điện thoại hẹp (iPhone SE…): 4 logo vẫn nằm 1 hàng */
@media (max-width: 380px) { .ld-logos { gap: 8px 12px; padding: 11px 10px; } .ld-logos img { height: calc(15px * var(--ls, 1)); } }

/* ---------- Mục chung ---------- */
.ld-sec { padding: 58px max(16px, calc((100% - 1080px) / 2)) 26px; scroll-margin-top: 64px; }
.ld-h { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto 24px; max-width: 640px; text-align: center; }
.ld-h-ic { width: 96px; height: 88px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 10px 16px rgba(10, 5, 40, .4)); }
.ld-h2 { font-size: clamp(31px, 8.4vw, 48px); line-height: 1.12; text-wrap: balance; }
.ld-h2 em { font-style: normal; color: var(--c-hi, var(--ld-candy)); } /* Giao diện → Màu phụ → Nhấn phụ */
.ld-h-sub { margin-top: 10px; font-size: clamp(16px, 4.4vw, 21px); line-height: 1.35; }
/* Sao 2 bên tiêu đề: bám mép chữ thật (cách 14px), nằm dưới chữ. Tiêu đề rộng tới sát mép màn hình → sao tự ẩn (quy tắc ngôi sao) */
.ld-h .ld-h2 { position: relative; }
.ld-h-sp img { position: absolute; z-index: -1; pointer-events: none; }
.ld-h-sp .a { width: 28px; right: calc(100% + 14px); top: 50%; margin-top: -14px; }
.ld-h-sp .b { width: 14px; left: calc(100% + 14px); top: 2px; }
/* Vị trí dự phòng (landing.js gắn .st-alt khi 2 bên không đủ chỗ): phía trên góc trái / góc phải của tiêu đề */
.ld-h-sp .a.st-alt { right: auto; left: 2px; top: auto; bottom: calc(100% + 6px); margin-top: 0; }
.ld-h-sp .b.st-alt { left: auto; right: 6px; top: auto; bottom: calc(100% + 4px); }
.ld-more-row { display: flex; justify-content: center; margin-top: 22px; }
.ld-more { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--btn2-r, 999px); border: 1.5px solid var(--btn2-border, rgba(255, 255, 255, .5)); background: var(--btn2-bg, transparent); color: var(--btn2-fg, #fff); font-size: 15px; font-weight: 800; text-decoration: none; }
.ld-more:hover { background: rgba(255, 255, 255, .12); }
.ld-more svg.ic { color: var(--ld-star); width: 18px; height: 18px; }

/* ---------- BRO có gì vui? ---------- */
.ld-about .ld-spark .sp1 { left: 4%; top: 44%; width: 24px; }
.ld-about .ld-spark .sp2 { right: 5%; top: 70%; width: 16px; }
.ld-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.ld-card { position: relative; margin-top: 30px; padding: 60px 14px 16px; border-radius: 20px; background: #fff; color: var(--ld-ink); box-shadow: 0 8px 0 rgba(20, 10, 70, .22), 0 18px 40px rgba(10, 5, 40, .28); }
.ld-card-img { position: absolute; top: -30px; left: 8px; width: 96px; height: 84px; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 8px 12px rgba(20, 10, 60, .3)); }
.ld-card h3 { margin-bottom: 6px; font-size: 16px; line-height: 1.25; }
.ld-card p { font-size: 13.5px; line-height: 1.5; color: var(--ld-ink2); }
.ld-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.ld-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; font-weight: 700; }

/* ---------- Bảng giá: thẻ giá là bản clone của thẻ ở trang Bảng giá (giao diện ở khối "Bảng giá" trong style.css) ---------- */
.ld-pgroup + .ld-pgroup { margin-top: 28px; }
.ld-grp { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ld-lav); }
.ld-grp::after { content: ''; flex: 1; height: 1px; background: rgba(204, 182, 254, .35); }

/* ---------- Ảnh phòng: polaroid ---------- */
/* .plain: chỉ hiện ảnh (không tiêu đề, không nút lọc) → bớt lề trên để ảnh ló lên ngay dưới màn hình đầu */
.ld-gallery.plain { padding-top: 4px; padding-bottom: 0; }
/* Khoảng dưới gallery: trước đây cộng dồn 3 lớp (chừa bóng ảnh 32 + lề dưới mục 26 + lề trên mục kế 58 ≈ 116px) → gom lại còn khoảng 58px */
.ld-gallery.plain .ld-gal { align-items: stretch; padding-bottom: 30px; } /* khung cao bằng nhau kể cả khi chú thích dài 2 dòng */
.ld-gallery.plain + .ld-sec { padding-top: 34px; }
.ld-gfilter { display: flex; gap: 8px; overflow-x: auto; margin: -6px -16px 4px; padding: 2px 16px 10px; scrollbar-width: none; }
.ld-gfilter::-webkit-scrollbar { display: none; }
.ld-gfilter button { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: var(--pill-bg, transparent); color: var(--pill-fg, #fff); font-size: 14px; font-weight: 700; cursor: pointer; }
.ld-gfilter button.on { background: var(--pill-on-bg, var(--ld-star)); border-color: var(--pill-on-bg, var(--ld-star)); color: var(--pill-on-fg, var(--ld-star-ink)); }
.ld-gal { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; margin: 0 -16px; padding: 16px 16px 32px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ld-gal::-webkit-scrollbar { display: none; }
.ld-pol { --r: -1.6deg; flex: 0 0 76%; max-width: 340px; padding: 10px 10px 0; border-radius: 6px; background: var(--ld-lav2); box-shadow: 0 8px 16px rgba(10, 5, 40, .34); transform: rotate(var(--r)); scroll-snap-align: center; } /* bóng gọn: dải ảnh cuộn ngang cắt mọi thứ tràn ra ngoài khung → bóng phải nằm trong lề dưới */
.ld-pol:nth-child(even) { --r: 1.4deg; }
.ld-pol:nth-child(3n) { --r: -.6deg; }
.ld-pol[hidden] { display: none; }
.ld-pol img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--c-ph, #CFC4F2); cursor: zoom-in; }
/* Mọi ảnh cùng khung vuông (polaroid cổ điển) → các khung cao bằng nhau, không còn khoảng trống dưới ảnh thấp hơn */
.ld-pol img { aspect-ratio: 1; }
.ld-pol figcaption { padding: 10px 6px 12px; font-family: var(--t4-f); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--ld-ink); }

/* ---------- Top game: hộp game + số thứ tự viền rỗng ---------- */
.ld-rank { list-style: none; display: flex; gap: 4px; overflow-x: auto; margin: 0 -16px; padding: 10px 16px 18px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ld-rank::-webkit-scrollbar { display: none; }
.ld-rank li { position: relative; flex: 0 0 auto; width: 188px; padding-left: 48px; scroll-snap-align: start; }
.ld-num { position: absolute; left: 0; top: 64px; z-index: 0; font-family: var(--t1-f); font-synthesis: none; font-size: 128px; font-weight: 900; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2.5px color-mix(in srgb, var(--c-ph, #CCB6FE) 75%, transparent); user-select: none; }
.ld-rank li:nth-child(n+10) { padding-left: 74px; width: 214px; }
.ld-box { position: relative; z-index: 1; display: block; overflow: hidden; border: 3px solid #fff; border-radius: 10px; background: #fff; box-shadow: 0 12px 26px rgba(10, 5, 40, .42); text-decoration: none; }
.ld-box-top { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; }
.ld-box-top img.ld-box-logo { height: 15px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.ld-box-top b { font-family: var(--t4-f); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; overflow: hidden; }
.ld-box-cover { display: block; aspect-ratio: 3 / 4; background: var(--ld-lav2); }
.ld-box-cover img { width: 100%; height: 100%; object-fit: cover; }
.ld-box-name { display: -webkit-box; margin-top: 10px; overflow: hidden; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; font-size: 14.5px; line-height: 1.25; color: var(--t4-c); }
.ld-box-meta { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12.5px; color: var(--ld-lav); }
.ld-box-meta svg.ic { width: 14px; height: 14px; }

/* ---------- Có gì mới (thẻ bài Tin tức) ---------- */
.ld-news-grid > :first-child { grid-column: 1 / -1; }
.ld-news .po-card { box-shadow: 0 14px 30px rgba(10, 5, 40, .35); }

/* ---------- Hỏi nhanh – đáp gọn ---------- */
.ld-qa { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; text-align: left; } /* thẻ câu hỏi dùng chung kiểu trang FAQ (.faq-item trong style.css) */
.ld-q { overflow: hidden; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.ld-q summary { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; list-style: none; cursor: pointer; font-size: 16.5px; line-height: 1.35; color: var(--t4-c); }
.ld-q summary::-webkit-details-marker { display: none; }
.ld-q summary::after { content: '+'; margin-left: auto; padding-left: 8px; font-size: 24px; font-weight: 600; line-height: 1; color: var(--ld-star); transition: transform .2s ease; }
.ld-q[open] summary::after { transform: rotate(45deg); }
.ld-qm { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px; color: var(--c-hi, #FF5A6E); }
.ld-a { display: flex; gap: 10px; padding: 0 18px 18px; }
.ld-a svg.ic { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; color: var(--ld-star); }
.ld-a p { font-size: 16px; line-height: 1.6; color: var(--t3-c); white-space: pre-line; }

/* ---------- Chi nhánh ---------- */
.ld-brs { display: grid; gap: 16px; }
.ld-br { overflow: hidden; border-radius: 22px; background: #fff; color: var(--ld-ink); box-shadow: 0 16px 36px rgba(10, 5, 40, .38); }
.ld-map { display: block; aspect-ratio: 16 / 9; background: var(--ld-lav2); }
.ld-map img { width: 100%; height: 100%; object-fit: cover; }
.ld-map-ph { display: grid; place-items: center; align-content: center; gap: 4px; width: 100%; height: 100%; color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(135deg, #2F55D4, #5B2BB5);
  background-size: 22px 22px, 22px 22px, auto; }
.ld-map-ph .ld-map-pin { width: 44px; height: 44px; color: var(--c-hi, #FF5A6E); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
.ld-map-ph span { font-family: var(--t4-f); font-size: 16px; font-weight: 800; }
.ld-br-body { padding: 16px 18px 18px; }
.ld-br h3 { font-size: 18px; line-height: 1.3; }
.ld-addr { margin-top: 6px; font-size: 14.5px; color: var(--ld-ink2); }
.ld-mark, .ld-hours { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; }
.ld-mark { font-weight: 700; color: var(--c-sub, var(--ld-violet)); }
.ld-hours { color: var(--ld-ink2); }
.ld-mark svg.ic, .ld-hours svg.ic { width: 15px; height: 15px; }
.ld-br-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.ld-br-btns > :only-child { grid-column: 1 / -1; }

/* ---------- Đoạn chốt ---------- */
.ld-final { position: relative; padding: 46px 16px 64px; text-align: center; }
/* 1 hình duy nhất (admin Trang chủ → Đoạn chốt): khung ngang ~2:1 rộng bằng hàng nút, hình nằm trọn trong khung, không cắt / méo */
.ld-final-img { max-width: 440px; aspect-ratio: 2.05 / 1; margin: 0 auto 12px; }
.ld-final-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(10, 5, 40, .45)); }
/* Dòng bản quyền mờ dưới hàng nút (giống chân trang) */
.ld-copyline { margin-top: 26px; font-size: 13px; color: var(--ft-muted, #B9A9F0); opacity: .8; }
.ld-final .ld-h-sub { margin-top: 10px; }
.ld-final .ld-ctas { max-width: 440px; margin: 22px auto 0; justify-content: center; }
.ld-final .ld-spark .sp1 { left: 8%; top: 24%; width: 30px; }
.ld-final .ld-spark .sp2 { right: 10%; top: 18%; width: 18px; }
.ld-final .ld-spark .sp3 { right: 7%; top: 46%; width: 26px; }

/* ---------- Thanh nút dính đáy ---------- */
.ld-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(35, 13, 71, .9); background: color-mix(in srgb, var(--c-night) 90%, transparent); border-top: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(110%); transition: transform .25s ease; }
.ld-sticky.show { transform: none; }
.ld-sticky .ld-btn-main { flex: 1; min-height: 50px; box-shadow: var(--btn-sh, var(--sh-cta)); }
.ld-ic { display: grid; place-items: center; flex: 0 0 52px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; }
.ld-ic svg.ic { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .ld-sticky { transition: none; } }

/* ---------- Cuối trang: trang chủ không có chân trang (Chi nhánh + Đoạn chốt đã làm vai trò đó) ----------
   Đoạn chốt không nằm cuối cùng (admin xếp lại / ẩn) → chừa chỗ cho thanh nút dính đáy để không che mục cuối */
@media (max-width: 899px) { .ld:not(:has(> .ld-final:last-child)) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Máy tính / màn rộng ---------- */
@media (min-width: 640px) {
  .ld-cards { grid-template-columns: repeat(4, 1fr); }
  .ld-brs { grid-template-columns: 1fr 1fr; }
  .ld-pol { flex-basis: 46%; }
}
@media (min-width: 900px) {
  .landing .ld-head .sh-bar { padding: 0 16px 0 24px; height: 68px; }
  .ld-logo { height: 68px; }
  .ld-logo-img { height: 42px; }
  .ld-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 48px; min-height: min(780px, calc(100vh - var(--ld-peek))); padding: 108px max(28px, calc((100% - 1180px) / 2)) 64px; }
  .ld-hero-media { order: 2; height: auto; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; transform: rotate(1.6deg); box-shadow: 0 0 0 8px rgba(255, 255, 255, .92), 0 30px 70px rgba(10, 5, 40, .55); }
  .ld-hero-media::after { background: none; }
  .ld-dither { display: none; }
  .ld-hero-body { order: 1; margin-top: 0; padding: 0; gap: 16px; }
  .ld-hero-media { min-height: 0; }
  .ld-logos { align-self: flex-start; justify-content: flex-start; gap: 14px 26px; padding: 14px 22px; }
  .ld-facts { justify-content: flex-start; }
  .ld-sub.fit1 { white-space: normal; }
  .ld-logos img { height: calc(24px * var(--ls, 1)); }
  .ld-ctas { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .ld-final .ld-ctas { max-width: 680px; }
  .ld-ctas .ld-btn-main { padding: 14px 28px; }
  .ld-ctas2 .ld-btn-map { flex: 0 0 auto; padding: 12px 22px; }
  .ld-hero .ld-spark .sp1 { right: 2%; top: 12%; bottom: auto; width: 36px; }
  .ld-hero .ld-spark .sp2 { left: 47%; right: auto; bottom: 14%; width: 26px; }
  .ld-hero .ld-spark .sp3 { left: 44%; right: auto; top: 20%; bottom: auto; width: 18px; }
  .ld-sec { padding-top: 84px; padding-bottom: 30px; }
  .ld-gallery.plain + .ld-sec { padding-top: 44px; }
  .ld-h-ic { width: 120px; height: 108px; }
  .ld-h-sp .a { width: 36px; margin-top: -18px; }
  .ld-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; overflow: visible; margin: 0; padding: 20px 0 30px; }
  .ld-gfilter { justify-content: center; margin: -6px 0 8px; padding: 2px 0 10px; }
  .ld-pol { max-width: none; }
  .ld-rank { justify-content: flex-start; margin: 0; padding: 10px 0 18px; }
  .ld-news-grid { grid-template-columns: repeat(3, 1fr); }
  .ld-news-grid > :first-child { grid-column: auto; }
  .ld-final-img { max-width: 520px; }
  .ld-sticky { left: auto; right: 24px; bottom: 24px; width: 420px; padding: 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; box-shadow: 0 20px 50px rgba(10, 5, 40, .5); transform: translateY(160%); }
}

/* ================= Trang Chi tiết dịch vụ (/dich-vu/…): dùng chung khuôn trang chủ (màn hình đầu, ảnh polaroid, FAQ, Đoạn chốt) =================
   Khác trang chủ: thanh đầu trang thường (có thanh tab, nút ←) nằm trên ảnh, màn hình đầu có giá + ghi chú thay cho nút Chat. */
.sv-page .site-header { margin-bottom: 0; }
/* Ảnh nền thấp (không lấp cả màn hình như trang chủ) để tên phòng, giá, mô tả lên cao, thấy ngay khi mở trang */
.sv-hero { min-height: 0; }
.sv-hero .ld-hero-media { flex: 0 0 auto; height: clamp(180px, 34vh, 320px); height: clamp(180px, 34svh, 320px); min-height: 0; }
.sv-hero .ld-hero-media::after { background: linear-gradient(180deg, rgba(41, 73, 184, 0) 0, rgba(41, 73, 184, 0) 46%, rgba(41, 73, 184, .78) 80%, var(--ld-sky1) 100%); }
.sv-hero.noimg { min-height: 0; }
.sv-hero.noimg .ld-hero-body { margin-top: 0; padding-top: 34px; }
/* Giá • ghi chú trong ô tối nhẹ bo góc (giống hàng logo ở trang chủ) */
.sv-pricebox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-evenly; gap: 6px 14px; margin: 4px 0 2px; padding: 13px 18px; border-radius: 18px; background: rgba(16, 8, 52, .36); border: 1px solid rgba(255, 255, 255, .07); text-align: center; }
.sv-price { font-family: var(--t4-f); font-size: clamp(22px, 6.2vw, 30px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; color: var(--ld-star); }
.sv-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.sv-note { font-size: 15px; line-height: 1.4; color: var(--t3-c2); white-space: pre-line; }
.sv-pricebox.stack { flex-direction: column; gap: 2px; }
.sv-pricebox.stack .sv-dot { display: none; }
/* Mô tả phòng (tiêu đề phụ): đoạn văn vài dòng, tím nhạt cho dễ đọc */
.sv-desc { margin-top: 4px; font-family: var(--t3-f); font-size: 16.5px; line-height: 1.55; color: var(--t3-c); white-space: pre-line; overflow-wrap: anywhere; }
.sv-mark { height: 1px; }
/* Tiện ích: ô icon + chữ, kiểu trang đặt phòng khách sạn */
.sv-amen-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 860px; margin: 0 auto; }
.sv-amen-list li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #fff; overflow-wrap: anywhere; }
.sv-ai { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(254, 227, 98, .14); color: var(--ld-star); }
.sv-ai svg.ic { width: 22px; height: 22px; }
/* Phòng có game: mỗi phòng 1 nút → List game lọc sẵn phòng đó */
.sv-rooms { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; }
.sv-room { justify-content: flex-start; gap: 12px; min-height: 62px; padding: 10px 16px; text-align: left; white-space: normal; }
.sv-room > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sv-room b { font-size: 16px; font-weight: 800; }
.sv-room small { font-size: 12.5px; font-weight: 600; opacity: .8; }
.sv-room svg.ic { flex: 0 0 auto; }
.sv-room .sv-go { color: var(--ld-star); }
/* Bài Hướng dẫn / Tin tức */
.sv-posts .pr-list, .sv-posts .po-grid { max-width: 960px; margin: 0 auto; }
@media (min-width: 640px) {
  .sv-amen-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sv-rooms { grid-template-columns: 1fr 1fr; max-width: 760px; }
}
@media (min-width: 900px) {
  .sv-hero { padding-top: 48px; min-height: min(640px, calc(100vh - 101px - var(--ld-peek))); }
  .sv-hero .ld-hero-media { height: auto; }
  .sv-pricebox { align-self: flex-start; justify-content: flex-start; gap: 6px 18px; padding: 14px 24px; }
  .sv-desc { font-size: 17px; max-width: 34em; }
  .sv-hero.noimg { display: block; padding-bottom: 30px; }
  .sv-hero .ld-hero-media::after { background: none; }
  .sv-amen-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Xem các loại phòng khác: thẻ giá clone từ Bảng giá, 1 danh sách liền (1 cột điện thoại, 2 cột màn rộng) */
.sv-more .price-list { max-width: 960px; margin: 0 auto; }
.ld-soc img { width: 24px; height: 24px; object-fit: contain; }

/* Top game: nút tròn viền trắng cuối hàng "Xem tất cả game", canh giữa theo chiều cao ảnh game (hộp game = viền 6 + dải 24 + bìa 3:4 rộng 140)
   + nút dưới màu vàng như nút Chat (Hải 2026-10-13) */
.ld-rank li.ld-rank-all { display: flex; align-items: flex-start; padding-left: 18px; width: 158px; }
.ld-all { --d: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: var(--d); height: var(--d);
  margin-top: calc((6px + 24px + 140px * 4 / 3 - var(--d)) / 2); padding: 12px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%;
  background: transparent; color: #fff; text-align: center; text-decoration: none; }
.ld-all:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.ld-all b { font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.ld-all .ld-all-go { width: 22px; height: 22px; color: var(--ld-star); }
.ld-more.ld-more-main { border: 0; padding: 15px 28px; font-size: 17px; font-weight: 800; background: var(--btn-bg, var(--ld-star)); color: var(--btn-fg, var(--ld-star-ink)); border-radius: var(--btn-r, 16px); box-shadow: var(--btn-sh, var(--sh-cta)), 0 12px 30px rgba(254, 227, 98, .22); }
.ld-more.ld-more-main svg.ic { color: inherit; }
.ld-more.ld-more-main:hover { background: var(--btn-bg, var(--ld-star)); }
/* Nút menu ☰ ở Trang chủ: tròn, nền vàng, icon to hơn — để khách dễ thấy và bấm sang các trang khác */
.landing .ld-head .sh-menu-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--btn-bg, var(--ld-star)); color: var(--btn-fg, var(--ld-star-ink)); box-shadow: 0 4px 14px rgba(254, 227, 98, .4); }
.landing .ld-head .sh-menu-btn:hover { background: var(--btn-bg, var(--ld-star)); } /* nảy + sáng: theo hiệu ứng bấm chung (ux-btn) */
.landing .ld-head .sh-menu-btn svg { width: 28px; height: 28px; stroke-width: 2.6; }
