/* ============================================================
   desktopchill — style.css  (interactive landing page)
   ============================================================ */

:root, :root[data-theme="dark"] {
  --bg: #0a0b0e;
  --bg-2: #131419;
  --surface: rgba(28, 30, 38, 0.72);
  --surface-solid: #16181f;
  --surface-hover: rgba(48, 51, 62, 0.9);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3f7;
  --text-dim: #a2a6b4;
  --text-faint: #6d7180;
  --accent: #ff6a58;
  --accent-2: #ffab6b;
  --accent-grad: linear-gradient(120deg, #ff6a58, #ffab6b);
  --accent-shadow: rgba(255, 106, 88, .4);
  --zalo: #0068ff;
  --tiktok: #ff2d55;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  --ambient: #ff6a58;        /* set by JS to the selected wallpaper color */
}
:root[data-theme="light"] {
  --bg: #f4f5f8; --bg-2: #ffffff;
  --surface: rgba(255,255,255,.8); --surface-solid: #ffffff; --surface-hover: rgba(255,255,255,.95);
  --border: rgba(15,20,40,.1); --border-strong: rgba(15,20,40,.18);
  --text: #14161c; --text-dim: #565b6b; --text-faint: #8b90a0;
  --accent: #d33a2c; --accent-2: #e8894a; --accent-grad: linear-gradient(120deg,#d33a2c,#e8894a);
  --accent-shadow: rgba(211,58,44,.3);
  --shadow: 0 18px 44px rgba(30,40,80,.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60vw 60vw at 12% -8%, rgba(110,168,255,.10), transparent 60%),
    radial-gradient(50vw 50vw at 100% 0%, rgba(155,140,255,.09), transparent 55%),
    var(--bg);
}
/* light mode: use the paper texture as the page background instead of plain white */
:root[data-theme="light"] body::before {
  background:
    linear-gradient(rgba(250,248,243,.34), rgba(250,248,243,.34)),
    url("../img/paper-texture.jpg") center center / cover no-repeat;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 8px 24px var(--accent-shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-shadow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-hover); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 16px; }
.header-inner { width: min(1120px,100%); display: flex; align-items: center; gap: 18px; padding: 9px 12px 9px 18px; background: var(--surface); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; display: block; object-fit: contain; }
.logo-text b { color: var(--accent); }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a { padding: 8px 15px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .93rem; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--surface-hover); }
.header-actions { display: flex; gap: 6px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; display: block; }
#themeIcon { display: inline-flex; }

/* ---------- section heads ---------- */
.section-head { text-align: center; margin: 0 auto 20px; }
.section-title { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section-subtitle { text-align: center; color: var(--text-dim); margin-top: 8px; }

/* ==================== LIQUID GLASS ==================== */
.liquid-glass { background: rgba(255,255,255,0.02); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); box-shadow: inset 0 1px 1px rgba(255,255,255,.12); position: relative; overflow: hidden; }
.liquid-glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* ==================== HERO ==================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: #07080c; }
/* full-bleed 16:9 stage that covers the viewport (video + monitor overlay track together) */
.hero-stage { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: max(100vw, 177.8vh); aspect-ratio: 16 / 9; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* live wallpaper composited into the monitor, colour-graded to match the scene */
.screen-quad > video { filter: brightness(.82) contrast(1.05) saturate(.9); }
.screen-grade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 12%),
    linear-gradient(160deg, rgba(255,186,120,.10), transparent 46%),
    radial-gradient(130% 130% at 50% 118%, rgba(10,8,16,.42), transparent 55%);
  box-shadow: inset 0 0 30px rgba(0,0,0,.45); }
.hero-tint { position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
    linear-gradient(to bottom, rgba(8,9,12,.42) 0%, transparent 26%, rgba(8,9,12,.5) 100%),
    linear-gradient(to left, rgba(8,9,12,.8) 0%, rgba(8,9,12,.28) 40%, transparent 64%); }
.hero-ui { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 92px clamp(24px, 5vw, 72px) 64px; pointer-events: none; }
.hero-content, .hero-ui .preview-gallery, .hero-scroll { pointer-events: auto; }
.screen-quad { pointer-events: auto; cursor: pointer; }
.hero-content { width: min(460px, 100%); }
.hero-content .hero-title, .hero-content .hero-sub { max-width: 460px; }
.hero-ui .preview-gallery { margin: 26px 0 0; width: min(460px, 100%); }
.hero-ui .pg-head { display: flex; align-items: center; gap: 8px; text-align: left; margin-bottom: 12px; font-size: .85rem; font-weight: 600; color: var(--text-dim); }
.hero-ui .pg-head b { color: #fff; }
.hero-ui .pg-track { padding: 4px 2px; gap: 8px; }
.hero-ui .pg-thumb { width: auto; }
.hero-ui .pg-thumb .pg-name { font-size: .68rem; padding: 10px 6px 5px; }
.hero-scroll { position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.05rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.hero-eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 6px 14px; border-radius: 999px; }
.hero-title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 600; letter-spacing: -.005em; line-height: 1.06; margin-top: 16px; color: #fff; }
.hero-title .grad { font-style: italic; font-weight: 600; background: linear-gradient(100deg, #ffdcae, #ff8f6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes gradGlow {
  0%,100% { background-position: 0% 50%; filter: drop-shadow(0 0 14px rgba(150,170,255,.28)); }
  50% { background-position: 100% 50%; filter: drop-shadow(0 0 26px rgba(170,150,255,.5)); }
}
.hero-sub { margin: 18px 0 26px; color: rgba(255,255,255,.82); font-size: 1.06rem; max-width: 560px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
/* hero text sits over the dark video → always light, both themes */
.hero-ui .btn-ghost { color: #fff; }
.hero-content .hero-title { text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-cta-row { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }

/* the desk stage */
.stage { position: relative; margin: 0 auto; }
.stage-frame { position: relative; aspect-ratio: 768 / 890; width: min(100%, 420px); margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 60px color-mix(in srgb, var(--ambient) 30%, transparent); isolation: isolate; transition: box-shadow 1s ease; animation: deskBreathe 14s ease-in-out infinite; }
@keyframes deskBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.014); } }
.ambient { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%); width: 78%; height: 46%; background: var(--ambient); filter: blur(80px); opacity: .55; z-index: 0; transition: background .8s ease, opacity .8s ease; border-radius: 50%; animation: ambientPulse 6s ease-in-out infinite; }
@keyframes ambientPulse { 0%,100% { opacity: .45; } 50% { opacity: .62; } }
.desk-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ---- living-scene FX overlays (blend onto the photo) ---- */
.fx { position: absolute; z-index: 2; pointer-events: none; }
.fx-lamp { left: -4%; top: 64%; width: 22%; height: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(255,178,86,.6), rgba(255,150,60,.18) 55%, transparent 72%); mix-blend-mode: screen; filter: blur(6px); animation: lampPulse 5.5s ease-in-out infinite; }
@keyframes lampPulse { 0%,100% { opacity: .5; transform: scale(1); } 45% { opacity: .95; transform: scale(1.06); } }
.fx-rgb { left: 55%; top: 55%; width: 34%; height: 30%; background: radial-gradient(ellipse at 40% 45%, rgba(120,180,255,.35), transparent 60%); mix-blend-mode: screen; filter: blur(10px); animation: rgbShift 8s linear infinite; }
@keyframes rgbShift { 0% { filter: blur(10px) hue-rotate(0deg); opacity: .55; } 50% { opacity: .8; } 100% { filter: blur(10px) hue-rotate(360deg); opacity: .55; } }
.fx-screenglow { left: 6%; top: 59%; width: 50%; height: 16%; background: radial-gradient(ellipse at 40% 30%, var(--ambient), transparent 72%); mix-blend-mode: screen; filter: blur(12px); opacity: .42; transition: background 1s ease; animation: glowPulse 4.5s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: .32; } 50% { opacity: .5; } }
.fx-dust { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.dust { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,240,210,.9); filter: blur(1px); opacity: 0; animation: dustFloat linear infinite; }
@keyframes dustFloat { 0% { opacity: 0; transform: translateY(0) translateX(0); } 10% { opacity: .8; } 90% { opacity: .5; } 100% { opacity: 0; transform: translateY(-60px) translateX(18px); } }

/* the interactive monitor screen — % calibrated to hero-desk.jpg */
.screen { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.screen-quad { position: absolute; top: 0; left: 0; transform-origin: 0 0; overflow: hidden; will-change: transform; }
.screen-quad video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s ease; }
.screen.ready .screen-quad video { opacity: 1; }
.screen-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 12%, transparent 88%, rgba(0,0,0,.15)); mix-blend-mode: overlay; }
.screen-cast { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 26px color-mix(in srgb, var(--ambient) 55%, transparent); mix-blend-mode: screen; }

.live-label { position: absolute; z-index: 3; left: 9%; top: 36%; display: inline-flex; align-items: center; gap: 8px; font-size: clamp(.6rem, 1.5vw, .78rem); font-weight: 700; letter-spacing: .03em; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.live-label b { color: var(--accent); text-transform: none; font-weight: 800; letter-spacing: 0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* preview gallery (horizontal thumbnails) */
.preview-gallery { margin: 40px auto 0; max-width: 1000px; }
.pg-head { text-align: center; margin-bottom: 18px; }
.pg-head h2 { font-family: "Sora", sans-serif; font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 800; letter-spacing: .06em; }
.pg-head p { color: var(--text-dim); font-size: .92rem; margin-top: 4px; }
.pg-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px 2px; }
.pg-thumb { position: relative; width: auto; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: transform .25s, border-color .3s, box-shadow .3s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb:hover { transform: translateY(-4px); }
.pg-thumb.active { border-color: var(--thumb-color, var(--accent)); box-shadow: 0 0 0 2px var(--thumb-color, var(--accent)), 0 8px 26px color-mix(in srgb, var(--thumb-color, var(--accent)) 45%, transparent); }
.pg-thumb .pg-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 8px; font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }

/* ==================== STAT BAND (thông số nổi bật) ==================== */
.stat-band { max-width: 1000px; margin: 34px auto 4px; padding: 20px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: color-mix(in srgb, var(--surface-solid) 46%, transparent); backdrop-filter: blur(9px) saturate(150%); -webkit-backdrop-filter: blur(9px) saturate(150%); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.5); }
.stat { text-align: center; padding: 6px 8px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 8px; font-size: .82rem; color: var(--text-dim); font-weight: 600; }
@media (max-width: 640px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 14px 6px; max-width: 400px; padding: 18px 14px; }
  .stat { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
}

/* ==================== GALLERY (collection) ==================== */
.gallery-section { max-width: 1860px; margin: 0 auto; padding: 40px clamp(16px, 2.2vw, 34px) 70px; }
.gallery-note { max-width: 640px; margin: 0 auto 22px; text-align: center; font-size: .92rem; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 10px 18px; border-radius: 14px; }

/* sidebar layout (sticky filter like a wallpaper library) */
.gallery-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 12px; }
.gallery-sidebar { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.gallery-main { min-width: 0; }
.gallery-main .gallery-note { margin: 0 0 18px; }
.sidebar-block { background: transparent; border: 0; padding: 0 2px; }
.sidebar-label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.sidebar-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sidebar-block-head .sidebar-label { margin-bottom: 0; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; background: transparent; border: 1px solid var(--border-strong); border-radius: 12px; width: 100%; }
.search input { border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; width: 100%; font-size: .92rem; }
.search svg { opacity: .6; flex-shrink: 0; }
.chips { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.gallery-sidebar .chip { text-align: left; }
/* floating 3D menu buttons on the paper background */
.gallery-sidebar .search,
.gallery-sidebar .chip:not(.active),
.gallery-sidebar .view-toggle {
  background: color-mix(in srgb, var(--surface-solid) 46%, transparent);
  backdrop-filter: blur(9px) saturate(150%);
  -webkit-backdrop-filter: blur(9px) saturate(150%);
  box-shadow: 0 4px 10px rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.12);
}
.gallery-sidebar .chip { transition: transform .18s cubic-bezier(.2,.7,.3,1.4), box-shadow .22s, background .2s, color .2s; }
.gallery-sidebar .chip:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.16); }
.gallery-sidebar .chip:active { transform: translateY(-1px) scale(.98); }
.gallery-sidebar .chip.active { box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 48%, transparent), inset 0 1px 0 rgba(255,255,255,.22); }
.gallery-sidebar .view-toggle button { transition: transform .16s, background .2s; }
.sidebar-promo { display: flex; flex-direction: column; gap: 5px; margin-top: 0; padding: 14px; border-radius: 18px; background: var(--accent-grad); color: #fff; box-shadow: 0 12px 28px var(--accent-shadow); transition: filter .2s, transform .2s; }
.sidebar-promo:hover { filter: brightness(1.06); transform: translateY(-2px); }
.promo-badge { align-self: flex-start; font-size: .66rem; font-weight: 800; background: rgba(255,255,255,.22); padding: 3px 10px; border-radius: 999px; }
.promo-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.promo-price { font-size: 1.5rem; font-weight: 800; flex: 0 0 auto; }
.promo-price s { font-size: .78rem; opacity: .72; font-weight: 600; margin-right: 5px; }
.promo-timer { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.24); border-radius: 11px; padding: 3px 8px 3px 4px; flex: 0 0 auto; }
.promo-hourglass { width: 24px; height: 24px; flex: 0 0 auto; display: block; }
.promo-hourglass svg { width: 100% !important; height: 100% !important; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .promo-hourglass { animation: hg-flip 5s ease-in-out infinite; transform-origin: 50% 50%; }
}
@keyframes hg-flip { 0%,38% { transform: rotate(0deg); } 50%,88% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.promo-countdown { font-size: .9rem; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.promo-desc { font-size: .78rem; opacity: .93; line-height: 1.45; }
.promo-cta { margin-top: 4px; font-weight: 800; font-size: .85rem; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .18s; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px var(--accent-shadow); }
.chip-hot { color: #ff8a5c; border-color: color-mix(in srgb, #ff5e3a 45%, transparent); }
.chip-hot.active { background: linear-gradient(120deg,#ff7a45,#ff3d6e); color: #fff; box-shadow: 0 6px 16px rgba(255,90,60,.4); }
.view-toggle { display: inline-flex; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.view-toggle button { border: 0; background: transparent; color: var(--text-dim); font-size: 1rem; width: 34px; height: 34px; border-radius: 999px; cursor: pointer; transition: all .18s; }
.view-toggle button.active { background: var(--accent-grad); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 18px; }
.grid.view-one { grid-template-columns: 1fr; max-width: 760px; }
/* mobile/tablet: fluid — 2 cột ở điện thoại, tự lên 3+ khi có nhiều bề ngang hơn (xoay ngang / zoom xa) */
@media (max-width: 760px)  { .grid:not(.view-one) { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; } }

.card { min-width: 0; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; animation: rise .5s ease forwards;
  transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transform-style: preserve-3d;
  transition: transform .14s ease, box-shadow .25s, border-color .25s; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.card:hover { transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-5px) scale(1.012);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--card-color, #ff6a58) 42%, transparent), 0 4px 14px rgba(0,0,0,.35);
  border-color: color-mix(in srgb, var(--card-color, #ff6a58) 70%, transparent); }
@media (prefers-reduced-motion: reduce) { .card { transform: none; } .card:hover { transform: translateY(-4px); } }
.card-media { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--bg-2); overflow: hidden; cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .card-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.card.playing .card-vid { opacity: 1; }
/* hover: reveal actions (like a wallpaper site) */
.card-hover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 12px; opacity: 0; transition: opacity .25s ease; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.1) 55%, transparent); }
.card:hover .card-hover { opacity: 1; }
.card-hover-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-hover-name { font-weight: 800; color: #fff; font-size: .98rem; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.card-hover-tag { flex-shrink: 0; font-size: .7rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: 999px; }
.card-hover-actions { display: flex; gap: 8px; }
.mini-btn { flex: 1; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); font: inherit; font-weight: 700; font-size: .8rem; padding: 8px 8px; border-radius: 999px; cursor: pointer; transition: background .2s, filter .2s; white-space: nowrap; }
.mini-btn:hover { background: rgba(255,255,255,.26); }
.mini-primary { background: var(--accent-grad); border-color: transparent; }
.mini-primary:hover { filter: brightness(1.1); background: var(--accent-grad); }
.card-hot { position: absolute; top: 8px; right: 8px; left: auto; z-index: 3; font-size: .56rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: linear-gradient(120deg,#ff7a45,#ff3d6e); color: #fff; box-shadow: 0 3px 10px rgba(255,80,60,.5); }
/* mobile thẻ: nhãn tên (trái trên) + thể loại (phải trên), nút nhỏ gọn ở đáy */
@media (max-width: 760px) {
  .card-hover { justify-content: space-between; padding: 8px; gap: 4px;
    background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 34%),
                linear-gradient(to top, rgba(0,0,0,.8), transparent 46%); }
  .card-hover-name { font-size: .72rem; }
  .card-hover-tag { font-size: .56rem; padding: 2px 7px; }
  .card-hover-actions { gap: 5px; }
  .mini-btn { font-size: .6rem; padding: 6px 4px; min-width: 0; border-radius: 999px; }
}
.card-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.card-title { font-weight: 700; font-size: .95rem; }
.card-tag { font-size: .72rem; font-weight: 700; color: var(--text-dim); background: var(--bg-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.gallery-empty { text-align: center; color: var(--text-dim); padding: 40px; }

/* ==================== PAGINATION (kiểu haowallpaper) ==================== */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.pg-btn { min-width: 40px; height: 40px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface-solid) 46%, transparent); backdrop-filter: blur(9px) saturate(150%); -webkit-backdrop-filter: blur(9px) saturate(150%); color: var(--text); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s; box-shadow: 0 4px 10px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.4); }
.pg-btn:hover:not(:disabled):not(.active) { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.pg-btn:disabled { opacity: .4; cursor: default; }
.pg-num.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent); }
.pg-arrow { font-size: 1.05rem; }
.pg-ellipsis { color: var(--text-faint); padding: 0 2px; font-weight: 700; }
.pg-go { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.pg-go-input { width: 58px; height: 40px; text-align: center; border-radius: 12px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface-solid) 46%, transparent); color: var(--text); font: inherit; font-weight: 700; }
.pg-go-input::-webkit-outer-spin-button, .pg-go-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pg-go-btn { border-radius: 12px; }

/* ==================== PRICING ==================== */
/* pricing (left) + faq (right) on one row */
.price-faq { max-width: 1180px; margin: 0 auto; padding: 30px 24px 24px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.price-faq .pricing-section, .price-faq .faq-section { max-width: none; margin: 0; padding: 0; }
.price-faq .section-head { text-align: center; margin-bottom: 18px; }
.price-faq .section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
@media (max-width: 860px) { .price-faq { grid-template-columns: 1fr; gap: 34px; padding: 20px 20px; } }
.pricing-section { max-width: 640px; margin: 0 auto; padding: 30px 16px; }
.pricing-card { position: relative; margin-top: 10px; padding: 34px 30px; background: color-mix(in srgb, var(--surface-solid) 46%, transparent); backdrop-filter: blur(9px) saturate(150%); -webkit-backdrop-filter: blur(9px) saturate(150%); border: 1px solid var(--border); border-radius: 26px; box-shadow: 0 4px 10px rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.55); overflow: hidden; }
.pricing-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent-grad); z-index: 1; }
/* spotlight sáng theo con trỏ (Aceternity card-spotlight) */
.pricing-card > * { position: relative; z-index: 1; }
.pricing-badge { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); padding: 5px 14px; border-radius: 999px; }
.pricing-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 6px; flex-wrap: wrap; }
.price-original { font-size: 1.4rem; font-weight: 700; color: var(--text-faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-value { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-discount { font-size: .82rem; font-weight: 800; color: #fff; background: linear-gradient(120deg,#ff7a45,#ff3d6e); padding: 4px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(255,80,60,.4); align-self: center; }
.price-note { color: var(--text-dim); font-size: .95rem; margin-bottom: 18px; }
.pricing-lead { color: var(--text); font-weight: 600; margin-bottom: 18px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.pricing-features li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.pricing-features .check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.pricing-cta { width: 100%; }

/* ==================== FAQ ==================== */
.faq-section { max-width: 720px; margin: 0 auto; padding: 40px 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: color-mix(in srgb, var(--surface-solid) 46%, transparent); backdrop-filter: blur(9px) saturate(150%); -webkit-backdrop-filter: blur(9px) saturate(150%); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.55); transition: transform .18s cubic-bezier(.2,.7,.3,1.4), box-shadow .22s, border-color .2s; }
.faq-item:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.65); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: transparent; border: 0; color: var(--text); font: inherit; font-weight: 700; font-size: 1rem; text-align: left; cursor: pointer; }
.faq-q:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-weight: 800; font-size: 1.05rem; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { padding: 0 20px 18px; color: var(--text-dim); line-height: 1.65; }

/* ==================== REVIEWS (đánh giá khách hàng) ==================== */
.reviews-section { max-width: 1180px; margin: 0 auto; padding: 30px 24px 30px; overflow: hidden; }
/* CARD STACK — mọi ảnh về cùng khuôn "thẻ bài" 3:4, xòe quạt như cầm bài tay */
.cardstack { position: relative; height: 500px; max-width: 520px; margin: 26px auto 0; }
.stack-card { position: absolute; left: 50%; bottom: 12px; width: 250px; height: 333px; margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface-solid); border: 1px solid var(--border-strong); cursor: pointer; transform-origin: bottom center; box-shadow: 0 12px 30px rgba(0,0,0,.34); transition: transform .4s cubic-bezier(.22,.61,.36,1); will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* tự crop lấp đầy khuôn thẻ, neo phần trên (nơi có chữ khen) */
.stack-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; display: block; }
.stack-card.is-top { box-shadow: 0 18px 40px rgba(0,0,0,.44); }
.stack-card.is-popped { box-shadow: 0 26px 56px -22px rgba(0,0,0,.5); border-color: color-mix(in srgb, var(--accent) 45%, var(--border-strong)); }
.stack-full { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s, background .2s; z-index: 3; }
.stack-card.is-popped .stack-full { opacity: 1; transform: scale(1); }
.stack-full:hover { background: rgba(0,0,0,.82); }
.stack-hint { text-align: center; color: var(--text-faint); font-size: .84rem; margin-top: 20px; }
@media (max-width: 560px) {
  .cardstack { height: 430px; }
  .stack-card { width: 208px; height: 277px; }
}
@media (prefers-reduced-motion: reduce) { .stack-card { transition: none; } }

/* lightbox xem ảnh đánh giá */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: zoom-out; animation: lbFade .2s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(92vw, 540px); max-height: 90vh; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.15rem; cursor: pointer; transition: background .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ==================== HOW IT WORKS (3 bước) ==================== */
.howto-section { max-width: 1080px; margin: 0 auto; padding: 26px 24px 6px; }
.howto-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 14px; }
.howto-step { position: relative; text-align: center; padding: 30px 22px 24px;
  background: color-mix(in srgb, var(--surface-solid) 46%, transparent);
  backdrop-filter: blur(9px) saturate(150%); -webkit-backdrop-filter: blur(9px) saturate(150%);
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .18s cubic-bezier(.2,.7,.3,1.4), box-shadow .22s; }
.howto-step:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.65); }
.howto-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.howto-emoji { display: inline-flex; align-items: center; justify-content: center; margin: 6px 0 10px; }
.howto-emoji svg { width: 40px; height: 40px; color: var(--accent); }
.howto-step-title { font-weight: 800; font-size: 1.08rem; margin-bottom: 8px; }
.howto-step-desc { color: var(--text-dim); font-size: .92rem; line-height: 1.6; }
.howto-step:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 700; color: var(--text-faint); z-index: 1; }
@media (max-width: 760px) {
  .howto-steps { grid-template-columns: 1fr; gap: 28px; }
  .howto-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -21px; transform: translateX(50%); }
}

/* ==================== CONTACT ==================== */
.contact-section { max-width: 720px; margin: 0 auto; padding: 40px 16px 70px; text-align: center; }
.contact-cards { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 20px 26px; min-width: 230px; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-zalo:hover { border-color: var(--zalo); }
.contact-tiktok:hover { border-color: var(--tiktok); }
.contact-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; }
.contact-icon img { width: 32px; height: 32px; display: block; }
.contact-zalo .contact-icon { background: color-mix(in srgb, var(--zalo) 18%, transparent); }
.contact-tiktok .contact-icon { background: color-mix(in srgb, var(--tiktok) 18%, transparent); }
.contact-meta { display: flex; flex-direction: column; text-align: left; }
.contact-label { font-size: .82rem; color: var(--text-faint); font-weight: 600; }
.contact-value { font-size: 1.15rem; font-weight: 800; }

/* ==================== FOOTER ==================== */
.site-footer { text-align: center; padding: 44px 16px; border-top: 1px solid var(--border); color: var(--text-dim); }
.footer-logo { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 8px; }
.footer-logo img { width: 26px; height: 26px; object-fit: contain; }
.footer-logo b { color: var(--accent); }
.footer-tagline { font-size: .95rem; }
.footer-about { max-width: 640px; margin: 10px auto 0; font-size: .8rem; line-height: 1.6; color: var(--text-faint); }
.footer-socials { display: flex; gap: 10px; justify-content: center; margin: 14px 0; }
.footer-socials a { font-size: .85rem; font-weight: 700; padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; transition: all .2s; }
.footer-socials a:hover { border-color: var(--border-strong); color: var(--text); }
.footer-rights { font-size: .82rem; color: var(--text-faint); margin-top: 6px; }
.footer-visits { font-size: .82rem; color: var(--text-dim); margin-top: 8px; }
.footer-visits b { color: var(--accent); font-weight: 800; }

/* ==================== MODAL / SETTINGS ==================== */
.modal, .settings-panel { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden], .settings-panel[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,5,8,.72); backdrop-filter: blur(6px); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-body { position: relative; z-index: 1; width: min(880px,100%); max-height: 90vh; overflow: auto; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: var(--shadow); animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 1rem; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.modal-close:hover { background: rgba(0,0,0,.75); }
.modal-video-wrap { background: #000; border-radius: 24px 24px 0 0; overflow: hidden; }
.modal-video-wrap video { width: 100%; max-height: 62vh; object-fit: contain; background: #000; }
.modal-info { padding: 22px 26px 26px; }
.modal-title { font-size: 1.4rem; font-weight: 800; }
.modal-cat { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 3px 12px; border-radius: 999px; }
.modal-get { margin: 16px 0 14px; color: var(--text-dim); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.settings-body { position: relative; z-index: 1; width: min(400px,100%); background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.settings-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.settings-head h3 { font-size: 1.2rem; font-weight: 800; }
.settings-head .modal-close { position: static; background: var(--surface); color: var(--text); }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.settings-label { font-weight: 600; color: var(--text-dim); }
.seg { display: flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 600; font-size: .88rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .18s; }
.seg button.active { background: var(--accent-grad); color: #fff; }

/* ==================== MARQUEE (dải vibe chạy ngang) ==================== */
.marquee { overflow: hidden; margin: 6px 0 2px; padding: 13px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: mq 36s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-item { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--text-dim); }
.mq-dot { color: var(--accent); font-size: .78rem; }

/* ==================== AURORA (nền gradient động sau mục Liên hệ) ==================== */
.contact-section { position: relative; overflow: hidden; }
.aurora { position: absolute; inset: -25% -10%; z-index: 0; pointer-events: none; filter: blur(80px); opacity: .16; }
.aurora span { position: absolute; display: block; width: 46%; height: 62%; border-radius: 50%; }
.aurora span:nth-child(1) { left: 4%; top: 6%; background: #ff6a58; }
.aurora span:nth-child(2) { right: 6%; top: -4%; background: #ffab6b; }
.aurora span:nth-child(3) { left: 36%; bottom: -6%; background: #ffcf8f; }
@keyframes auroraA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(9%,-7%) scale(1.16); } }
@keyframes auroraB { 0%,100% { transform: translate(0,0) scale(1.06); } 50% { transform: translate(-11%,9%) scale(.9); } }
.contact-section > *:not(.aurora) { position: relative; z-index: 1; }

/* ==================== TEXT REVEAL (tiêu đề section hiện theo từ) ==================== */
.section-title .rw { display: inline-block; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.section-title.rw-in .rw { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .aurora span { animation: none; }
  .section-title .rw { opacity: 1 !important; transform: none !important; }
}

/* ==================== SCROLL PROGRESS BAR ==================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--accent-grad); transform: scaleX(0); transform-origin: left center; will-change: transform; box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 55%, transparent); }

/* ==================== FLOATING ZALO (FAB) ==================== */
.fab-zalo { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 13px; border-radius: 999px; background: var(--zalo); color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 10px 26px rgba(0,104,255,.5), 0 2px 6px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s; }
.fab-zalo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(0,104,255,.5); animation: fabPulse 2.4s ease-out infinite; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(0,104,255,.5); } 70% { box-shadow: 0 0 0 16px rgba(0,104,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); } }
.fab-zalo:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 34px rgba(0,104,255,.6); }
.fab-zalo img { position: relative; z-index: 1; width: 30px; height: 30px; display: block; background: #fff; border-radius: 8px; padding: 3px; }
.fab-zalo-label { position: relative; z-index: 1; }

/* ==================== FAVORITES + SHARE (Nhóm B) ==================== */
/* nút ♥/↗ trên thẻ */
.card-tools { position: absolute; top: 8px; left: 8px; z-index: 3; display: flex; gap: 6px; }
.card-fav, .card-share { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: .95rem; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .15s, background .2s, color .2s; }
.card-fav:hover, .card-share:hover { background: rgba(0,0,0,.74); transform: translateY(-2px); }
.card-fav.on { background: #fff; color: #ff3b6b; }
.card-fav.on:hover { background: #fff; }

/* nút nổi Danh sách (góc dưới-trái) */
.fab-favs { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-solid); color: var(--text); font: inherit; font-weight: 800; font-size: .92rem; box-shadow: 0 10px 26px rgba(0,0,0,.28); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.fab-favs:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.34); }
.fab-favs-heart { color: #ff3b6b; font-size: 1.15rem; line-height: 1; }
.fab-favs-label b { color: var(--accent); }

/* panel danh sách */
.fav-panel { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fav-panel[hidden] { display: none; }
.fav-body { position: relative; z-index: 1; width: min(460px, 100%); max-height: 86vh; overflow: auto; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.fav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fav-head h3 { font-size: 1.15rem; font-weight: 800; }
.fav-empty { color: var(--text-dim); text-align: center; padding: 26px 8px; }
.fav-list { display: flex; flex-direction: column; gap: 10px; }
.fav-item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--border); border-radius: 14px; }
.fav-item img { width: 74px; height: 42px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.fav-item-name { flex: 1; font-weight: 700; font-size: .92rem; }
.fav-remove { width: 30px; height: 30px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--text-dim); cursor: pointer; font-size: .8rem; transition: background .2s, color .2s; }
.fav-remove:hover { background: var(--surface-hover); color: var(--text); }
.fav-actions { margin-top: 16px; }
.fav-hint { font-size: .8rem; color: var(--text-dim); margin-bottom: 12px; text-align: center; line-height: 1.5; }
.fav-send { display: flex; flex-direction: column; gap: 10px; }
.fav-send .btn { width: 100%; }
.fav-clear { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--text-faint); font: inherit; font-size: .82rem; cursor: pointer; text-decoration: underline; }
.fav-clear:hover { color: var(--text-dim); }
#modalFav.on { background: color-mix(in srgb, #ff3b6b 16%, transparent); color: #ff3b6b; border-color: color-mix(in srgb, #ff3b6b 42%, transparent); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 300; background: #14161c; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==================== CAT HELPER (trợ lý mèo — kéo được) ==================== */
.cat-helper { position: fixed; left: 184px; bottom: 14px; z-index: 91; width: 92px; }
.cat-helper[hidden] { display: none; }
.cat-anim { position: relative; width: 92px; height: 92px; cursor: grab; touch-action: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); transition: transform .2s; }
.cat-anim:active { cursor: grabbing; }
.cat-anim.react { animation: catPop .5s ease; }
@keyframes catPop { 0%,100% { transform: none; } 30% { transform: scale(1.16) rotate(-7deg); } 60% { transform: scale(1.06) rotate(5deg); } }
.cat-anim::after { content: '💤'; position: absolute; top: -4px; right: -6px; font-size: 1rem; opacity: 0; transition: opacity .3s; pointer-events: none; }
.cat-helper.sleeping .cat-anim { filter: grayscale(.35) drop-shadow(0 6px 12px rgba(0,0,0,.3)); }
.cat-helper.sleeping .cat-anim::after { opacity: 1; animation: zzz 2.4s ease-in-out infinite; }
@keyframes zzz { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-6px); opacity: 1; } }
.cat-bubble { position: absolute; left: 0; bottom: calc(100% + 6px); width: 250px; max-width: min(250px, calc(100vw - 24px)); background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 16px 16px 16px 4px; padding: 12px 30px 12px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.cat-bubble[hidden] { display: none; }
.cat-bubble-close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--text-dim); font-size: .7rem; cursor: pointer; line-height: 1; }
.cat-bubble-close:hover { background: var(--surface-hover); color: var(--text); }
.cat-q { font-weight: 800; font-size: .8rem; margin: 0 0 5px; color: var(--text); line-height: 1.35; }
.cat-a { font-size: .8rem; line-height: 1.55; color: var(--text-dim); margin: 0; min-height: 2.4em; }
@media (max-width: 620px) {
  .cat-helper { left: 150px; width: 70px; }
  .cat-anim { width: 70px; height: 70px; }
  .cat-bubble { max-width: min(220px, calc(100vw - 20px)); }
}

/* ==================== BURST (tim nổ + confetti) ==================== */
.burst-heart { position: fixed; z-index: 400; color: #ff3b6b; pointer-events: none; will-change: transform, opacity; animation: burstHeart .95s ease-out forwards; }
@keyframes burstHeart { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.2); opacity: 0; } }
.confetti-piece { position: fixed; z-index: 400; width: 8px; height: 13px; border-radius: 2px; pointer-events: none; will-change: transform, opacity; animation: confettiFall 1.4s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes confettiFall { 0% { transform: translate(-50%, -50%) rotate(0); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .burst-heart, .confetti-piece { display: none; } }
@media (max-width: 620px) {
  .fab-favs { height: 48px; left: 14px; bottom: 14px; padding: 0 15px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .grad, .fab-zalo::before { animation: none; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .hero-ui { justify-content: flex-end; align-items: stretch; padding: 100px 20px 34px; }
  .hero-content { width: 100%; }
  .hero-content .hero-title, .hero-content .hero-sub { max-width: none; }
  .hero-eyebrow { font-size: .72rem; padding: 5px 11px; }
  .hero-title { font-size: clamp(1.5rem, 6.4vw, 2.05rem); margin-top: 8px; }
  .hero-sub { font-size: .9rem; margin: 9px 0 14px; }
  .hero-ui .preview-gallery { width: 100%; margin-top: 16px; }
  .hero-tint { background: linear-gradient(to bottom, rgba(8,9,12,.5) 0%, transparent 30%, rgba(8,9,12,.45) 52%, rgba(8,9,12,.98) 100%); }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
}
/* mobile hero: thu nhỏ scene để thấy toàn cảnh hơn, ẩn chữ/nút — chỉ giữ thumbnail mẫu */
@media (max-width: 760px) {
  .hero-stage { width: max(118vw, 150vh); }
  .hero-content { display: none; }
  .hero-ui { justify-content: flex-end; align-items: stretch; padding: 96px 16px 28px; }
  .hero-ui .preview-gallery { margin-top: 0; }
}
/* gallery sidebar → stacked toolbar on tablet/phone */
@media (max-width: 860px) {
  .gallery-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gallery-sidebar { position: static; height: auto; min-width: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
  .gallery-sidebar .search { flex: 1 1 100%; height: 38px; }
  .gallery-sidebar .sidebar-block { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; padding: 0; }
  .gallery-sidebar .sidebar-label { display: none; }
  .gallery-sidebar .chips { flex-direction: row; min-width: 0; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gallery-sidebar .chips::-webkit-scrollbar { display: none; }
  .gallery-sidebar .chip { text-align: center; padding: 6px 13px; font-size: .82rem; }
  .sidebar-promo { display: none; }
}
@media (max-width: 620px) {
  .hero { padding-top: 104px; }
  .pg-thumb { width: 150px; }
  .grid:not(.view-one) { gap: 12px; }
  .live-label { top: 34%; left: 7%; }
  .fab-zalo { height: 50px; right: 14px; bottom: 14px; padding: 0 15px 0 11px; font-size: .88rem; gap: 8px; }
  .fab-zalo img { width: 27px; height: 27px; }
}

/* ===================== Trust badges ===================== */
.trust-badges { max-width: 1080px; margin: 0 auto 26px; padding: 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--surface-solid) 55%, transparent); backdrop-filter: blur(8px) saturate(140%); -webkit-backdrop-filter: blur(8px) saturate(140%); font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.trust-ic { display: inline-flex; flex: 0 0 auto; }
.trust-ic svg { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 900px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust-badges { gap: 8px; } .trust-item { padding: 11px 12px; font-size: .8rem; gap: 8px; } .trust-ic svg { width: 22px; height: 22px; } }

/* ===================== Mobile sticky CTA bar ===================== */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface-solid) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .mcta-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; font-weight: 800; font-size: .95rem; text-decoration: none; }
  .mcta-btn img { width: 22px; height: 22px; background: #fff; border-radius: 6px; padding: 2px; box-sizing: border-box; }
  .mcta-zalo { background: var(--zalo); color: #fff; }
  .mcta-tiktok { background: #1f2029; color: #fff; }
  body { padding-bottom: 66px; }
  #floatingZalo { display: none; }
  .fab-favs { bottom: 74px; }
  .cat-helper { bottom: 74px; }
}

/* ===================== Accessible focus rings (keyboard only) ===================== */
:where(a, button, [tabindex="0"], input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:where(a, button):focus:not(:focus-visible) { outline: none; }

/* Nút ▶ trên thẻ — chỉ hiện trên điện thoại (nơi video không tự chạy) */
.card-play { display: none; }
.no-autoplay .card-play { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; z-index: 2; }
.no-autoplay .card-play svg { margin-left: 3px; }
.no-autoplay .card.playing .card-play { display: none; }
/* điện thoại: ảnh động thay video */
.screen-quad > #heroImg { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82) contrast(1.05) saturate(.9); }
img.hero-video { object-fit: cover; }
.card-play { display: none !important; }
/* điện thoại: cửa sổ xem chi tiết với ảnh động nét, chạm khung để toàn màn hình */
.no-autoplay .modal { padding: 10px; }
.no-autoplay .modal-body { width: 100%; max-height: calc(100dvh - 20px); }
.modal-video-wrap { position: relative; }
#modalImg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #000; }
.mv-hint { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.mv-hint .mv-out { display: none; }
.modal-video-wrap.full { position: fixed; inset: 0; z-index: 400; border-radius: 0; background: #000; display: grid; place-items: center; overflow: hidden; }
.modal-video-wrap.full #modalImg { aspect-ratio: auto; position: absolute; left: 50%; top: 50%; width: 100vw; height: 100dvh; object-fit: contain; transform: translate(-50%, -50%); }
@media (orientation: portrait) {
  .modal-video-wrap.full #modalImg { width: 100dvh; height: 100vw; max-width: none; transform: translate(-50%, -50%) rotate(90deg); }
}
.modal-video-wrap.full .mv-hint { bottom: auto; top: 14px; right: 14px; }
.modal-video-wrap.full .mv-in { display: none; }
.modal-video-wrap.full .mv-out { display: inline; }
.no-autoplay .modal-close { z-index: 5; }

/* ==================== ĐẶT LỊCH (form order) ==================== */
.booking-section { max-width: 1180px; margin: 0 auto; padding: 30px 24px 24px; }
.booking-section .section-head { text-align: center; margin-bottom: 18px; }
.booking-section .section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.booking-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: start; padding: 30px; }
.bk-form { min-width: 0; }
.bk-fs { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.bk-fs:last-child { margin-bottom: 0; }
.bk-t { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; color: var(--text); }
.bk-t small { font-weight: 600; color: var(--text-faint); font-size: .85rem; }
.bk-n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-size: .82rem; display: grid; place-items: center; flex: none; }
.bk-fld { display: grid; gap: 6px; margin-bottom: 12px; }
.bk-fld label { font-size: .86rem; font-weight: 700; color: var(--text-dim); }
.bk-fld label small { font-weight: 600; color: var(--text-faint); }
.bk-inp { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: color-mix(in srgb, var(--surface-solid) 80%, transparent); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.bk-inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.bk-inp.bad { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.15); }
textarea.bk-inp { min-height: 74px; resize: vertical; }
.bk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-opt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-opt button { text-align: left; padding: 14px 15px; border-radius: 16px; border: 1.5px solid var(--border-strong); background: color-mix(in srgb, var(--surface-solid) 80%, transparent); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; display: grid; gap: 3px; position: relative; }
.bk-opt button b { font-size: 1.02rem; }
.bk-opt button span { font-size: .82rem; color: var(--text-dim); }
.bk-opt button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.bk-opt button[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 800; font-size: .75rem; display: grid; place-items: center; }
.bk-opt button:active { transform: scale(.98); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: color-mix(in srgb, var(--surface-solid) 80%, transparent); color: var(--text); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.bk-chips button[aria-pressed="true"] { background: var(--accent-grad); border-color: transparent; color: #fff; }
.bk-sub { margin-top: 12px; }
.bk-sub[hidden] { display: none; }
#bkDateBox .bk-chips { margin-bottom: 10px; }
.bk-all { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-radius: 16px; border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.bk-all-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-grad); color: #fff; display: grid; place-items: center; flex: none; }
.bk-all-ic svg { width: 22px; height: 22px; }
.bk-all b { display: block; font-size: 1.02rem; color: var(--text); }
.bk-all span { font-size: .84rem; color: var(--text-dim); }
.bk-all .bk-ok { margin-left: auto; font-size: .8rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
.bk-note { margin: 10px 0 14px; font-size: .88rem; color: var(--text-dim); display: flex; gap: 8px; align-items: flex-start; }
.bk-note svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 2px; }
.bk-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bk-pick { position: relative; width: 112px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-solid); }
.bk-pick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.bk-pick span { display: block; font-size: .76rem; font-weight: 700; padding: 4px 8px; color: var(--text); }
.bk-pick button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; cursor: pointer; }
.bk-hint { font-size: .8rem; color: var(--text-faint); }
.bk-hint a { color: var(--accent); font-weight: 700; }
.bk-hint.err { color: #e5484d; font-weight: 600; }
.bk-sum { position: sticky; top: 100px; padding: 22px; border-radius: 20px; background: color-mix(in srgb, var(--surface-solid) 55%, transparent); border: 1px solid var(--border); }
.bk-sum .pricing-price { margin: 12px 0 4px; }
.bk-save { color: var(--text-dim); font-size: .92rem; margin-bottom: 14px; }
.bk-save b { color: var(--accent); }
.bk-list { display: grid; gap: 8px; font-size: .92rem; padding: 12px 0; border-top: 1px dashed var(--border-strong); border-bottom: 1px dashed var(--border-strong); margin: 0 0 14px; }
.bk-list div { display: flex; justify-content: space-between; gap: 12px; }
.bk-list dt { color: var(--text-dim); }
.bk-list dd { margin: 0; font-weight: 700; text-align: right; color: var(--text); }
.bk-inc { list-style: none; display: grid; gap: 8px; margin: 0 0 16px; padding: 0; }
.bk-inc li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-dim); }
.bk-inc li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); font-weight: 800; font-size: .72rem; display: grid; place-items: center; margin-top: 1px; }
.bk-go { width: 100%; justify-content: center; font-size: 1.06rem; padding: 15px 20px; gap: 10px; }
.bk-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.bk-acts .btn { justify-content: center; font-size: .88rem; padding: 11px 10px; gap: 7px; }
.bk-acts svg { width: 17px; height: 17px; flex: none; }
.bk-fine { font-size: .8rem; color: var(--text-faint); margin-top: 10px; text-align: center; }
.bk-done { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(6,7,10,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bk-done[hidden] { display: none; }
.bk-done-box { width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 24px; padding: 24px 22px 18px; box-shadow: var(--shadow); text-align: center; color: var(--text); }
.bk-done-ic { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 10px; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 26px var(--accent-shadow); }
.bk-done h3 { font-size: 1.3rem; margin: 0 0 6px; }
.bk-done p { color: var(--text-dim); margin: 0 0 10px; }
.bk-done ol { text-align: left; margin: 0 0 12px; padding-left: 22px; line-height: 1.7; }
.bk-done pre { text-align: left; white-space: pre-wrap; font: inherit; font-size: .86rem; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; max-height: 170px; overflow: auto; user-select: all; -webkit-user-select: all; }
.bk-done-row { display: grid; gap: 10px; }
.bk-done-row .btn { justify-content: center; }
.bk-x { margin-top: 6px; background: none; border: 0; color: var(--text-dim); font: inherit; font-weight: 600; cursor: pointer; padding: 8px; }
.bk-toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 16px); opacity: 0; transition: .25s; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .92rem; z-index: 400; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.bk-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .booking-section { padding: 20px 16px; }
  .booking-card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px 16px; }
  .bk-sum { position: static; padding: 18px 16px; }
}
@media (max-width: 420px) { .bk-two { grid-template-columns: 1fr; } .bk-pick { width: calc(33.3% - 6px); } }
.booking-card { overflow: visible; }
.booking-card::before { border-radius: 26px 26px 0 0; }
.bk-done-img { display: block; width: 100%; max-width: 260px; margin: 0 auto 14px; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.bk-done-img[hidden] { display: none; }

/* ===== nút sang trang học (desktopchill.com/learn) — luôn nổi bật ===== */
.learn-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; margin-right: 6px; border-radius: 999px; font-weight: 800; font-size: .92rem; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(120deg, #ff6a58, #ffab6b, #ff6a58); background-size: 220% 100%; box-shadow: 0 6px 22px rgba(255, 106, 88, .45), inset 0 1px 0 rgba(255, 255, 255, .35); animation: lcFlow 4s linear infinite; isolation: isolate; }
.learn-cta::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -1; background: radial-gradient(closest-side, rgba(255, 140, 100, .55), transparent); animation: lcPulse 2.2s ease-in-out infinite; }
.learn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 106, 88, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.learn-cta .lc-ic { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: .8rem; }
.learn-cta .lc-badge { padding: 2px 7px; border-radius: 999px; background: #fff; color: #e2483a; font-size: .66rem; font-weight: 900; letter-spacing: .02em; }
@keyframes lcFlow { to { background-position: -220% 0; } }
@keyframes lcPulse { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: .9; transform: scale(1.06); } }
@media (max-width: 860px) { .learn-cta { height: 36px; padding: 0 12px 0 8px; font-size: .84rem; margin-right: 2px; } .learn-cta .lc-badge { display: none; } }
@media (max-width: 420px) { .learn-cta .lc-ic { display: none; } .learn-cta { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .learn-cta, .learn-cta::before { animation: none; } }
.main-nav a { white-space: nowrap; }
.learn-cta .lc-s { display: none; }
@media (max-width: 1360px) { .main-nav a { padding: 8px 10px; } .learn-cta .lc-badge { display: none; } }
@media (max-width: 1100px) { .main-nav a { padding: 8px 7px; font-size: .88rem; } }
@media (max-width: 600px) { .learn-cta .lc-t { display: none; } .learn-cta .lc-s { display: inline; } .learn-cta { height: 34px; padding: 0 12px 0 6px; gap: 5px; } .learn-cta .lc-ic { display: inline-grid; width: 22px; height: 22px; } }
@media (max-width: 1500px) { .learn-cta .lc-badge { display: none; } .main-nav a { padding: 8px 10px; } }
@media (max-width: 1280px) { .main-nav a { padding: 8px 6px; font-size: .86rem; } .learn-cta { padding: 0 14px 0 8px; } }
@media (max-width: 600px) { .learn-cta { display: none; } }
.mcta-learn { color: #fff; background: linear-gradient(120deg, #ff6a58, #ffab6b, #ff6a58); background-size: 220% 100%; animation: lcFlow 4s linear infinite; box-shadow: 0 6px 18px rgba(255, 106, 88, .45); }
.mcta-learn .ml-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .28); font-size: .75rem; }
@media (max-width: 380px) { .mcta-btn { font-size: .82rem; gap: 5px; } .mcta-learn .ml-ic { display: none; } }
.mcta-btn span { white-space: nowrap; }
@media (max-width: 440px) { .mcta-learn .ml-ic { display: none; } .mobile-cta .mcta-btn { font-size: .84rem; gap: 6px; } .mobile-cta { gap: 6px; padding-left: 8px; padding-right: 8px; } }
