/* ===== Giao diện: bố cục tối giản + nền tối neon ===== */
:root {
  /* Nền tối + neon xanh (mix tối giản Apple và năng lượng landing page) */
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #0d1220;
  --card: #111829;
  --text: #f2f5fb;
  --muted: #8b97ad;
  --accent: #2f7bff;
  --accent-2: #00d2ff;
  --accent-text: #5aa9ff;
  --accent-soft: rgba(47, 123, 255, .14);
  --border: rgba(255, 255, 255, .08);
  --nav: rgba(5, 7, 13, .72);
  --dark-tile: #0a0f1c;
  --glow: 0 0 0 1px rgba(90, 169, 255, .25), 0 10px 40px -10px rgba(47, 123, 255, .55);
  --shopee: #ee4d2d;
  --tiktok: #f2f5fb;
  --tiktok-text: #05070d;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Be Vietnam Pro", "Helvetica Neue", system-ui, sans-serif;
  line-height: 1.47; letter-spacing: -.01em; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 692px; }

/* Thanh menu mỏng, trong mờ */
.topbar {
  position: sticky; top: 0; z-index: 10; background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 12px; }
.logo { font-weight: 600; color: var(--text); font-size: 17px; white-space: nowrap; }
.logo span { color: var(--accent); }
.menu { display: flex; gap: 22px; }
.menu a { color: var(--text); opacity: .8; font-size: 13px; }
.menu a.active, .menu a:hover { opacity: 1; text-decoration: none; }

/* Tìm kiếm */
.topbar .wrap { gap: 16px; }
.menu { margin-left: auto; }
.search-btn {
  border: 0; background: none; color: var(--text); width: 32px; height: 32px; padding: 6px;
  cursor: pointer; opacity: .8; flex: none; margin-right: -6px;
}
.search-btn:hover { opacity: 1; }
.search-btn svg, .search-field svg { width: 100%; height: 100%; display: block; }
.search-panel {
  position: fixed; inset: 48px 0 0 0; z-index: 9; background: var(--bg); overflow-y: auto;
  padding: 16px 0 48px; animation: s-in .2s ease;
}
@keyframes s-in { from { opacity: 0; transform: translateY(-8px); } }
body.searching { overflow: hidden; }
.search-field {
  display: flex; align-items: center; gap: 10px; background: var(--bg-2);
  border-radius: 14px; padding: 0 8px 0 14px; height: 52px;
}
.search-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-field input {
  flex: 1; min-width: 0; border: 0; background: none; color: var(--text);
  font: inherit; font-size: 19px; outline: none; -webkit-appearance: none;
}
.search-field input::-webkit-search-cancel-button { display: none; }
.search-close {
  border: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg);
  color: var(--muted); font-size: 20px; cursor: pointer; flex: none;
}
.s-label { font-size: 12px; color: var(--muted); margin: 24px 0 12px; text-transform: uppercase; letter-spacing: .03em; }
.s-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.s-quick a { padding: 8px 16px; border-radius: 980px; background: var(--bg-2); color: var(--text); font-size: 15px; }
.s-empty { color: var(--muted); margin: 24px 0; font-size: 17px; }

/* Banner lớn */
.banner { display: grid; gap: 12px; padding: 12px 0 0; }
.hero-tile {
  text-align: center; padding: 56px 20px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; background: var(--bg-2);
}
.hero-tile.t1 { background: var(--dark-tile); color: #f5f5f7; }
.hero-tile.t1 .pill.ghost { color: #2997ff; }
.hero-tile.t2 { background: var(--bg); }
.hero-tile:has(img) { padding-bottom: 0; }
.hero-tile h2 { font-size: 40px; line-height: 1.1; font-weight: 600; margin: 0; letter-spacing: -.02em; }
.hero-tile p { font-size: 21px; margin: 8px 0 0; line-height: 1.3; }
.hero-tile img { margin-top: 28px; max-height: 360px; width: auto; object-fit: contain; }
@media (min-width: 734px) {
  .hero-tile { padding: 96px 20px; }
  .hero-tile:has(img) { min-height: 580px; }
  .hero-tile h2 { font-size: 56px; }
  .hero-tile p { font-size: 28px; }
}

.pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 20px; }
.pill {
  display: inline-block; padding: 10px 22px; border-radius: 980px; font-size: 17px; line-height: 1.2;
  border: 1px solid var(--accent);
}
.pill:hover { text-decoration: none; }
.pill.solid { background: var(--accent); color: #fff; }
.pill.ghost { color: var(--accent-text); border-color: var(--accent); background: transparent; }

/* Tiêu đề lớn của mục */
section, section.wrap { padding-top: 64px; }
section.page-head { padding-top: 48px; }
.big-title { font-size: 32px; line-height: 1.12; font-weight: 600; margin: 0 0 24px; letter-spacing: -.02em; }
.big-title span { color: var(--muted); }
@media (min-width: 734px) { .big-title { font-size: 48px; } }
.page-head h1 { font-size: 40px; line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -.02em; }
.page-head .tagline { font-size: 19px; }
.more { text-align: center; font-size: 17px; margin: 28px 0 0; }
h1 { font-size: 32px; line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: 24px; margin: 0; font-weight: 600; }
.tagline { color: var(--muted); margin: 8px 0 24px; }

/* Danh mục và bộ lọc dạng thanh cuộn ngang */
.cats, .filters { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.cats::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: grid; gap: 0; padding: 12px 18px; border-radius: 18px; background: var(--bg-2); color: var(--text);
}
.cat:hover { text-decoration: none; background: var(--accent-soft); }
.cat b { font-size: 15px; font-weight: 600; }
.cat span { font-size: 12px; color: var(--muted); }
.filters button {
  flex: none; font: inherit; font-size: 14px; cursor: pointer;
  padding: 8px 16px; border-radius: 980px; border: 0; background: var(--bg-2); color: var(--text);
}
.filters button.on { background: var(--text); color: var(--bg); }

/* Thẻ sản phẩm */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 734px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product {
  background: var(--bg-2); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; text-align: center; transition: transform .25s;
}
.product:hover { transform: scale(1.01); }
.product .img {
  position: relative; aspect-ratio: 1 / 1; margin: 12px 12px 0; border-radius: 12px; background: var(--card);
  color: var(--muted); display: grid; place-items: center; font-weight: 600; font-size: 32px; overflow: hidden;
}
.product .img img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.badge {
  position: absolute; top: 8px; left: 8px; color: #bf4800;
  font-size: 12px; font-weight: 600; padding: 0 2px;
}
.brand { font-size: 12px; color: #bf4800; font-weight: 600; }
.product h3 { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 600; }
.product .price { margin: 2px 0 0; font-size: 15px; }
.product .price s { color: var(--muted); font-size: 13px; }
.product .note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; flex: 1; }
.tag { align-self: center; font-size: 12px; color: var(--muted); }
.buy { display: grid; gap: 8px; margin-top: 12px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  text-align: center; font-size: 13px; font-weight: 500; white-space: nowrap;
  padding: 8px 6px; border-radius: 980px; border: 0; cursor: pointer; font-family: inherit; width: 100%;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn .ico { width: 15px; height: 15px; flex: none; }
.btn { position: relative; }
.btn em {
  position: absolute; top: -8px; right: -4px; font-style: normal; font-size: 10px; font-weight: 600;
  background: #34c759; color: #fff; padding: 1px 7px; border-radius: 980px; box-shadow: 0 0 0 2px var(--bg-2);
}
.btn.best { box-shadow: 0 0 0 2px #34c759; margin-top: 4px; }
.btn.shopee { background: var(--shopee); color: #fff; }
.btn.tiktok { background: var(--tiktok); color: var(--tiktok-text); }
.btn.video { background: transparent; color: var(--accent-text); padding: 4px; }
.play {
  position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.play .ico { width: 16px; height: 16px; margin-left: 2px; }

/* Cửa sổ xem video */
dialog.video-dlg {
  border: 0; padding: 0; background: #000; border-radius: 18px; overflow: hidden;
  width: min(380px, calc(100vw - 24px)); height: min(760px, calc(100vh - 40px));
}
dialog.video-dlg::backdrop { background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.video-dlg iframe { width: 100%; height: calc(100% - 40px); border: 0; display: block; }
dialog.video-dlg .open-tt { display: block; height: 40px; line-height: 40px; text-align: center; color: #fff; font-size: 14px; }
dialog.video-dlg .x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 20px; cursor: pointer;
}

/* Bài blog */
.posts { display: grid; gap: 14px; }
@media (min-width: 734px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.post-card {
  display: flex; flex-direction: column; gap: 6px; color: var(--text);
  background: var(--bg-2); border-radius: 18px; padding: 24px;
}
.post-card:hover { text-decoration: none; }
.post-card h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 600; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-card .date { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }

article.post { padding: 48px 0 8px; }
article.post h1 { font-size: 36px; }
article.post .date { color: var(--muted); font-size: 14px; margin: 10px 0 24px; }
article.post h2 { font-size: 24px; margin: 36px 0 8px; }
article.post p, article.post li { font-size: 19px; line-height: 1.55; }
article.post figure { margin: 24px 0; }
article.post figure img { border-radius: 18px; }
article.post figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
.inline-product { margin: 28px 0; }
.inline-product .product { flex-direction: row; text-align: left; }
.inline-product .product .img { width: 120px; flex: none; aspect-ratio: auto; min-height: 120px; margin: 12px 0 12px 12px; }
.inline-product .brand, .inline-product .tag { align-self: flex-start; }
.callout { background: var(--bg-2); border-radius: 18px; padding: 16px 20px; font-size: 16px !important; }

/* Giới thiệu */
.about { text-align: center; background: var(--bg-2); margin-top: 72px; padding: 64px 0; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover;
  background: var(--card); color: var(--accent); display: grid; place-items: center; font-size: 38px; font-weight: 600;
}
.about h2 { font-size: 32px; }
.about .tagline { font-size: 19px; max-width: 520px; margin: 8px auto 0; }

.disclosure { color: var(--muted); font-size: 12px; text-align: left; margin: 0; padding: 20px 0 12px; border-bottom: 1px solid var(--border); }
footer { color: var(--muted); font-size: 12px; padding: 12px 0 32px; }
.socials { display: flex; gap: 18px; padding: 16px 0 4px; }
.socials a { color: var(--muted); width: 22px; height: 22px; }
.socials a:hover { color: var(--text); }
.socials svg { width: 100%; height: 100%; display: block; }
.socials.big { justify-content: center; gap: 28px; padding-top: 28px; }
.socials.big a { width: 28px; height: 28px; color: var(--text); }
body > .wrap:last-of-type { max-width: 1000px; }


/* ================= LỚP HIỆU ỨNG NEON ================= */
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47,123,255,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(0,210,255,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.topbar { border-bottom: 1px solid var(--border); }
.logo { font-weight: 800; letter-spacing: .02em; }
.logo span { color: var(--accent-2); }

.grad {
  background: linear-gradient(90deg, #ffffff 0%, #9cc8ff 40%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tile h2, .big-title, .page-head h1, .about h2 {
  font-family: "Be Vietnam Pro", -apple-system, system-ui, sans-serif;
  font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
}
.big-title span { display: block; text-transform: none; font-weight: 500; font-size: .5em; letter-spacing: 0; margin-top: 6px; }

/* Banner: khối kính tối có quầng sáng chuyển động */
.banner { padding: 16px 16px 0; max-width: 1032px; margin: 0 auto; }
.hero-tile, .hero-tile.t1, .hero-tile.t2 {
  position: relative; isolation: isolate; border-radius: 28px; color: var(--text);
  background: linear-gradient(180deg, rgba(17,24,41,.85), rgba(10,15,28,.95));
  border: 1px solid var(--border);
}
.hero-tile::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: 50%; top: -260px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(47,123,255,.55), rgba(0,210,255,.15) 45%, transparent 70%);
  filter: blur(20px); animation: float 9s ease-in-out infinite;
}
.hero-tile.t1::before { background: radial-gradient(circle, rgba(0,210,255,.45), rgba(122,92,255,.18) 45%, transparent 70%); animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translate(-50%, 0) scale(1); } 50% { transform: translate(-42%, 30px) scale(1.12); } }
.hero-tile h2 {
  background: linear-gradient(90deg, #ffffff 0%, #b9d8ff 45%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tile p { color: var(--muted); }
.hero-tile.t1 .pill.ghost { color: var(--text); }

.pill { font-weight: 600; transition: transform .2s, box-shadow .2s; }
.pill.solid { background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: var(--glow); }
.pill.ghost { color: var(--text); border-color: rgba(255,255,255,.25); }
.pill:hover { transform: translateY(-2px); }

/* Thẻ sản phẩm: kính tối, viền sáng khi rê chuột */
.product, .post-card, .cat {
  background: linear-gradient(180deg, rgba(17,24,41,.9), rgba(13,18,32,.9));
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product:hover, .post-card:hover, .cat:hover { transform: translateY(-4px); border-color: rgba(90,169,255,.35); box-shadow: var(--glow); background: linear-gradient(180deg, rgba(20,30,52,.95), rgba(13,18,32,.95)); }
.product .img { background: #0a0f1c; color: #2c3a55; border: 1px solid var(--border); }
.brand { color: var(--accent-2); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.post-card .date { color: var(--accent-2); }
.filters button { background: var(--card); color: var(--muted); border: 1px solid var(--border); }
.filters button.on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.btn.video { color: var(--accent-text); }
.btn em { box-shadow: 0 0 0 2px var(--card); }
.play { background: rgba(47,123,255,.85); box-shadow: 0 0 20px rgba(47,123,255,.6); }

.about { background: transparent; position: relative; }
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 300px at 50% 0%, rgba(47,123,255,.18), transparent 70%);
}
.avatar { background: var(--card); border: 2px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), linear-gradient(135deg, var(--accent), var(--accent-2));
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--glow); color: var(--accent-2); }
.socials.big a { color: var(--text); }
.socials a:hover { color: var(--accent-2); }
.search-panel { background: rgba(5,7,13,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.search-field { background: var(--card); border: 1px solid var(--border); }
.search-close, .s-quick a { background: var(--bg-2); }
.callout { background: var(--accent-soft); border: 1px solid rgba(90,169,255,.2); }
article.post h1 { text-transform: none; }

/* Hiện dần khi cuộn tới */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-tile::before { animation: none; }
}
/* Chừa chỗ cho dấu tiếng Việt khi viết hoa (Ỗ, Ồ, Ẩ...) */
.hero-tile h2 { line-height: 1.22; padding-top: .14em; }
.big-title, .about h2, .page-head h1 { line-height: 1.22; }
/* Trang chủ: sản phẩm lên đầu, banner ở giữa, blog bên dưới */
section.wrap.first { padding-top: 32px; }
.banner.mid { margin-top: 64px; }

/* Thanh thông báo Give Away */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 16px; text-align: center; color: #fff; text-decoration: none;
  font-size: 15px; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(0,0,0,.25);
  background: linear-gradient(90deg, #ff3d7f, #7a5cff, var(--accent), var(--accent-2), #ff3d7f);
  background-size: 300% 100%; animation: shine 8s linear infinite;
}
.announce:hover { text-decoration: none; filter: brightness(1.1); }
.announce b { font-weight: 800; }
.announce .gift { font-size: 16px; animation: wiggle 1.6s ease-in-out infinite; display: inline-block; }
.announce .arrow { font-size: 18px; line-height: 1; }
@keyframes shine { to { background-position: 300% 0; } }
@keyframes wiggle { 0%,60%,100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 90% { transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .announce, .announce .gift { animation: none; } }

/* Khối Give Away lớn ở trang chủ */
[data-giveaway] { padding-top: 20px; }
.giveaway {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 16px;
  padding: 22px 20px; border-radius: 24px; color: #fff; text-decoration: none;
  background: linear-gradient(120deg, #ff2e7e 0%, #ff8a00 45%, #ffd400 100%);
  box-shadow: 0 0 0 2px rgba(255,212,0,.6), 0 18px 60px -12px rgba(255,90,60,.75);
  animation: ga-glow 2.4s ease-in-out infinite;
}
.giveaway:hover { text-decoration: none; transform: translateY(-2px); }
.ga-icon { font-size: 52px; line-height: 1; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); animation: wiggle 1.6s ease-in-out infinite; display: inline-block; }
.ga-text { display: grid; gap: 2px; }
.ga-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.ga-title { font-family: "Be Vietnam Pro", system-ui, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.ga-sub { font-size: 15px; opacity: .95; }
.ga-btn {
  grid-column: 1 / -1; justify-self: stretch; text-align: center;
  background: #0b0f1a; color: #ffd400; font-weight: 800; font-size: 17px; letter-spacing: .04em;
  padding: 14px 20px; border-radius: 980px; animation: ga-pulse 1.4s ease-in-out infinite;
}
.ga-confetti {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    radial-gradient(circle, #fff 1.5px, transparent 2px),
    radial-gradient(circle, #fff 1px, transparent 1.5px);
  background-size: 28px 28px, 17px 17px; background-position: 0 0, 9px 11px;
  animation: ga-drift 12s linear infinite;
}
@media (min-width: 734px) {
  .giveaway { grid-template-columns: auto 1fr auto; padding: 28px 32px; }
  .ga-title { font-size: 40px; }
  .ga-btn { grid-column: auto; justify-self: end; }
  .ga-icon { font-size: 64px; }
}
@keyframes ga-glow { 50% { box-shadow: 0 0 0 3px rgba(255,212,0,.9), 0 18px 80px -8px rgba(255,90,60,.95); } }
@keyframes ga-pulse { 50% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(11,15,26,.25); } }
@keyframes ga-drift { to { background-position: 0 280px, 9px 181px; } }
@media (prefers-reduced-motion: reduce) { .giveaway, .ga-btn, .ga-icon, .ga-confetti { animation: none; } }
section.wrap.first { padding-top: 40px; }

/* Thẻ blog: khối xanh có ảnh bìa, ngày, tiêu đề, mô tả */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 24px; gap: 0;
  background: linear-gradient(160deg, #123a8a 0%, #0b2a6b 45%, #071a44 100%); border: 1px solid rgba(90,169,255,.35); }
.post-card .cover { aspect-ratio: 16/9; overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(0,210,255,.55), rgba(47,123,255,.35) 45%, #0a1b44 80%); display: grid; place-items: center; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .cover img { transform: scale(1.05); }
.post-card .cover .ph { font-weight: 800; font-size: 34px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.post-card .body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.post-card .date { color: #7fe3ff; font-weight: 600; }
.post-card h3 { color: #fff; }
.post-card p { color: rgba(220,232,255,.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .read { margin-top: 4px; font-size: 14px; font-weight: 600; color: #7fe3ff; }
.post-card:hover { background: linear-gradient(160deg, #1647a6 0%, #0d3380 45%, #081f52 100%); }

/* Ảnh đại diện tròn */
.avatar.photo { display: block; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; margin: 0 auto 16px; padding: 3px;
  background: linear-gradient(140deg, var(--accent-2), var(--accent) 50%, #7a5cff); box-shadow: 0 0 40px rgba(47,123,255,.45); }
.art-photo { display: block; width: min(78vw, 320px); height: auto; aspect-ratio: 640/743; object-fit: contain; margin: 0 auto 12px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); animation: artfloat 6s ease-in-out infinite; }
@keyframes artfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .art-photo { animation: none; } }
@media (min-width: 834px) { .art-photo { width: 360px; } }
/* Ô tìm kiếm phủ toàn màn hình, nằm trên cả thanh menu và thanh Give Away */
.search-panel { inset: 0 !important; z-index: 100 !important; padding-top: calc(16px + env(safe-area-inset-top)); }
body.search-open { overflow: hidden; }
@media (max-width: 480px) { .announce { font-size: 13px; letter-spacing: 0; } }
/* Nút có "Ưu đãi tốt hơn": phóng to thu nhỏ liên tục + sáng viền */
.btn.best { position: relative; z-index: 1; transform-origin: center; animation: bestPulse 1.4s ease-in-out infinite; }
.btn.best em { transform-origin: right center; animation: bestTag 1.4s ease-in-out infinite; }
@keyframes bestPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px #34c759, 0 0 0 rgba(52,199,89,0); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 2px #34c759, 0 0 22px rgba(52,199,89,.65); }
}
@keyframes bestTag { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.btn.best:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .btn.best, .btn.best em { animation: none; } }
/* Nút ưu đãi tốt hơn: vệt sáng chạy từ trái sang phải, lặp liên tục */
.btn.best { margin-top: 0; overflow: hidden; isolation: isolate; outline: none;
  box-shadow: 0 0 0 2px #ffd60a, 0 0 16px rgba(255,214,10,.45); }
.btn.best::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.15) 30%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.15) 70%, transparent 100%);
  transform: skewX(-20deg); animation: bestShine 1.6s ease-in-out infinite;
}
@keyframes bestShine { 0% { left: -60%; } 70%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn.best::after { animation: none; display: none; } }

/* Khối Liên hệ hợp tác dưới Give Away */
.collab { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; margin: 14px 0 0; padding: 16px 18px; border-radius: 22px; color: var(--text);
  background: linear-gradient(120deg, rgba(47,123,255,.25), rgba(0,210,255,.12)); border: 1px solid rgba(90,169,255,.45); box-shadow: var(--glow); }
.collab .c-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.collab .c-ic svg { width: 22px; height: 22px; }
.collab .c-txt { display: flex; flex-direction: column; line-height: 1.25; }
.collab small { color: var(--muted); font-size: 12px; }
.collab .c-txt b { font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.collab .c-links { grid-column: 1 / -1; display: grid; gap: 10px; }
.c-btn { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; color: var(--text); text-decoration: none;
  background: rgba(5,7,13,.45); border: 1px solid var(--border); font-weight: 600; font-size: 15px; transition: transform .2s, border-color .2s; min-width: 0; }
.c-btn:hover { transform: translateY(-2px); border-color: rgba(90,169,255,.6); text-decoration: none; }
.c-btn span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.c-btn svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #ea4335; color: #fff; }
.c-btn .z { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #0068ff; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
@media (min-width: 734px) {
  .collab { grid-template-columns: auto auto 1fr; }
  .collab .c-links { grid-column: auto; grid-template-columns: 1fr 1fr; justify-self: end; }
}
.btn.best::after { width: 55%; }
.btn.best.tiktok::after { background: linear-gradient(100deg, transparent 0%, rgba(0,210,255,.25) 30%, rgba(47,123,255,.75) 50%, rgba(0,210,255,.25) 70%, transparent 100%); }

/* Trang nhận quà: form Google nhúng trong khung neon */
.form-box { margin: 8px 0 40px; border-radius: 24px; padding: 3px; background: linear-gradient(135deg, #ff4f8b, #ff9a1f 50%, #ffd60a); box-shadow: 0 0 40px rgba(255,140,40,.35); }
.form-box iframe { display: block; width: 100%; height: 1400px; border: 0; border-radius: 21px; background: #fff; }
.form-alt { text-align: center; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.form-box .form-alt { color: #2a1400; padding: 8px 0 10px; margin: 0; font-weight: 600; } .form-box .form-alt a { color: #2a1400; text-decoration: underline; }
/* Điện thoại nhỏ: không để chữ bị cắt hay xuống dòng lệch */
.btn i.mq { font-style: normal; }
.menu a { white-space: nowrap; }
@media (max-width: 420px) {
  .menu { gap: 14px; }
  .btn i.mq { display: none; }
  .collab .c-btn { font-size: 14px; }
}
@media (max-width: 360px) {
  .menu { gap: 10px; }
  .menu a { font-size: 12px; }
  .logo { font-size: 17px; }
  .collab .c-btn { font-size: 13px; padding: 10px 12px; }
}
.buy { grid-template-columns: minmax(0, 1fr); }
.buy .btn { min-width: 0; }
.btn.video { white-space: normal; }
@media (max-width: 420px) { .btn.video span::first-letter { text-transform: uppercase; } }

/* ===== Đợt 10/11 ===== */
/* Banner hình đầu trang chủ */
.hero-banner { max-width: 1032px; margin: 16px auto 0; padding: 0 16px; }
.hero-banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px;
  border: 1px solid rgba(90,169,255,.35); box-shadow: 0 0 50px rgba(47,123,255,.35); }
@media (max-width: 520px) { .hero-banner { padding: 0 12px; margin-top: 12px; } .hero-banner img { border-radius: 16px; } }

/* Nút ưu đãi: chữ "Ưu đãi tốt hơn" + vệt sáng chạy trái sang phải (vẽ bằng nền, không cắt nhãn) */
.btn.best { overflow: visible; }
.btn.best::after { content: none; display: none; animation: none; }
.btn.best em { display: block; animation: none; z-index: 2; }
.btn.best {
  background-image: linear-gradient(100deg, transparent 0%, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%, transparent 100%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 130% 0;
  animation: bestPulse 1.4s ease-in-out infinite, bestSweep 1.6s ease-in-out infinite;
}
.btn.best.tiktok { background-image: linear-gradient(100deg, transparent 0%, transparent 38%, rgba(47,123,255,.45) 50%, transparent 62%, transparent 100%); }
@keyframes bestSweep { 0% { background-position: 130% 0; } 70%, 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .btn.best { animation: none; } }

/* Tên sản phẩm tối đa 3 dòng */
.product h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Khối liên hệ: 5 kênh */
.contact-home { padding-top: 56px; }
.collab .c-links { grid-column: 1 / -1; display: grid; gap: 10px; grid-template-columns: 1fr; justify-self: stretch; }
@media (min-width: 640px) { .collab { grid-template-columns: auto 1fr; } .collab .c-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .collab .c-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-btn .ci { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.c-btn .ci svg { width: 20px; height: 20px; padding: 0; background: none; border-radius: 0; }
.c-btn.mail .ci { background: #ea4335; }
.c-btn.zalo .ci { background: #0068ff; }
.c-btn.fb .ci { background: #1877f2; }
.c-btn.ig .ci { background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%); }
.c-btn.tt .ci { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

/* Câu miễn trừ trách nhiệm cuối mọi trang */
.disclaimer { margin: 28px 0 0; padding: 14px 16px; border-radius: 14px; font-size: 13px; line-height: 1.55; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--border); text-align: center; }
/* Menu 4 mục trên điện thoại nhỏ: logo đã dẫn về trang chủ nên ẩn chữ "Trang chủ" */
@media (max-width: 370px) { .menu a[href$="index.html"] { display: none; } .menu { gap: 14px; } .menu a { font-size: 13px; } }
/* Cuối bài blog: sản phẩm trong bài */
.post-buy { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-buy h2 { margin: 0 0 14px; font-size: 22px; }

/* Ô sản phẩm: viền gradient sáng ở góc trên-phải và dưới-trái (kiểu viền cam, đổi xanh) */
.product, .product:hover {
  border: 2px solid transparent;
  background:
    linear-gradient(135deg, #0b1222 0%, #121c33 38%, #1b2a47 50%, #101a2f 62%, #080d19 100%) padding-box,
    linear-gradient(225deg, #bfe3ff 0%, #4da3ff 10%, rgba(47,123,255,.12) 32%, rgba(47,123,255,.12) 68%, #4da3ff 90%, #bfe3ff 100%) border-box;
  box-shadow: 0 0 18px -6px rgba(77,163,255,.55), inset 0 0 0 1px rgba(255,255,255,.03);
}
.product:hover { box-shadow: 0 0 28px -4px rgba(77,163,255,.75); }

/* Nút lên đầu trang */
.to-top {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; border: 2px solid transparent;
  background: linear-gradient(135deg, #12203c, #0a1222) padding-box, linear-gradient(225deg, #bfe3ff, #2f7bff 45%, #bfe3ff) border-box;
  box-shadow: 0 6px 22px -6px rgba(77,163,255,.8);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { box-shadow: 0 8px 28px -4px rgba(77,163,255,1); }

/* Nút "Xem review" nằm trên ảnh sản phẩm (thay cho nút Xem video review bên dưới), nhỏ gọn ở góc */
.play { width: auto; height: 22px; padding: 0 8px 0 6px; border-radius: 980px; gap: 3px; right: 6px; bottom: 6px;
  display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  box-shadow: 0 0 8px rgba(47,123,255,.45); }
.play .ico { width: 9px; height: 9px; margin-left: 0; }

/* Bài blog: căn đều 2 bên cho đoạn văn và gạch đầu dòng (thẻ sản phẩm trong bài vẫn căn giữa) */
article.post p, article.post li { text-align: justify; text-justify: inter-word; }
article.post .date, article.post figcaption, article.post .product p, article.post .product li { text-align: center; }
article.post .date { text-align: left; }

/* Biểu tượng mạng xã hội cuối trang: căn giữa (trang chủ đã bỏ hàng này vì có sẵn ở phần Giới thiệu) */
.socials { justify-content: center; gap: 24px; }

/* Câu miễn trừ cuối trang: mỗi ý một dòng, căn giữa */
.disclaimer { text-align: center; text-wrap: balance; }

/* Menu Sản phẩm thả xuống danh mục */
.dd { position: relative; display: flex; align-items: center; }
.menu .dd > a { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.dd .caret { width: 11px; height: 11px; transition: transform .2s; }
.dd.open .caret { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -6px);
  min-width: 190px; max-width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto;
  padding: 8px; border-radius: 16px; z-index: 50;
  border: 2px solid transparent;
  background: linear-gradient(160deg, #0f1a30, #080d19) padding-box,
              linear-gradient(225deg, #bfe3ff, #2f7bff 20%, rgba(47,123,255,.15) 50%, #2f7bff 80%, #bfe3ff) border-box;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.8), 0 0 24px -8px rgba(77,163,255,.6);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .dd:hover .caret { transform: rotate(180deg); } }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.menu .dd-menu a {
  display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; opacity: .9;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.menu .dd-menu a:hover, .menu .dd-menu a.on { background: rgba(47,123,255,.18); opacity: 1; color: #fff; }
.menu .dd-menu a:first-child { color: var(--accent-text); font-weight: 600; }
@media (max-width: 370px) { .menu { gap: 10px; } .topbar .wrap { gap: 8px; } .dd .caret { width: 9px; height: 9px; } }
@media (max-width: 440px) { .menu { gap: 10px; } .topbar .wrap { gap: 10px; } .dd .caret { width: 9px; height: 9px; } }

/* Nhãn góc trên phải ảnh sản phẩm: ngôi sao nổi bật / NEW */
.badge-star, .badge-new { position: absolute; top: 8px; right: 8px; z-index: 2; pointer-events: none; }
.badge-star {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff6c2;
  background: radial-gradient(circle at 35% 30%, #ffe680, #ffb300 60%, #ff8a00);
  box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 0 16px rgba(255,190,0,.85);
  animation: starGlow 1.8s ease-in-out infinite;
}
.badge-star svg { width: 19px; height: 19px; color: #fff; filter: drop-shadow(0 1px 1px rgba(150,70,0,.6)); }
@keyframes starGlow { 0%,100% { transform: scale(1); box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 0 12px rgba(255,190,0,.6); } 50% { transform: scale(1.12); box-shadow: 0 0 0 2px rgba(255,255,255,.4), 0 0 24px rgba(255,200,0,1); } }
.badge-new {
  padding: 4px 9px; border-radius: 980px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #fff; line-height: 1.2;
  background: linear-gradient(135deg, #ff3d7f, #ff6a3d);
  box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 0 16px rgba(255,61,127,.8);
  animation: newPulse 1.6s ease-in-out infinite;
}
@keyframes newPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .badge-star, .badge-new { animation: none; } }
