/* [KT64 18-19/10/2026] Trang chu kieu launcher - jxsjhoangkim.xyz
   Khung Ban 2009 = mau xanh (.ban-xanh), Ban Tran Phai = mau do (.ban-do), bang tin = vang. La roi: canvas.la-roi (kt64-lari.js). */
:root {
  --vang: #e6bd68;
  --vang-sang: #fbe7a8;
  --vang-dam: #a87330;
  --nen-khung: rgba(16, 11, 7, .84);
  --chu: #eadfc6;
  --chu-mo: #b9a988;
  --tieu-de: Cambria, "Times New Roman", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  color: var(--chu);
  font: 15px/1.55 "Segoe UI", Tahoma, Arial, sans-serif;
  background: #1b1714;
}
body::after {          /* nen la lop co dinh phu kin man hinh (background-attachment: fixed khong chay tren dien thoai) */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url('../imgs/kt64/nen4.jpg?v=1') 72% top / cover no-repeat;
}
body::before {          /* lam toi phan duoi de khung + chu noi ro, giu sang phan nhan vat phia tren */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .12) 30%, rgba(0, 0, 0, .5) 62%, rgba(0, 0, 0, .7) 100%);
}
.la-roi { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
a { color: inherit; }
.an { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* [20/10] BO CUC DOI XUNG kieu khung hinh dien anh: 1 truc giua, MOI khoang cach = --G
   (mep tren -> logo -> 3 khung -> thanh nut -> mep duoi, va giua 3 khung voi nhau).
   --truc = do rong logo = do rong thanh nut duoi; --cao = chieu cao 3 khung (bang nhau). */
:root {
  --G: clamp(16px, 2.8vh, 40px);
  --truc: clamp(320px, min(44vh, 32vw), 460px);
  /* [20/10 lan 5] logo nho hon (84% truc), 3 khung to hon; logo + khung dich len (le tren nho);
     thanh nut GIU VI TRI cu (le duoi = 11.86vh - 64px: 64px o 1080, 27px o 768) */
  --logo: calc(var(--truc) * .84);
  --cao: clamp(380px, 53vh, 590px);
  --rong: min(1400px, calc(100vw - 2 * var(--G) - 8px));
  --le-tren: max(12px, calc(var(--G) * .6));
  --le-duoi: max(18px, calc(11.86vh - 64px));
  /* thanh nut: tu giua khung 1 toi giua khung 3 = rong - 1 cot */
  --rong-nut: calc(var(--rong) - (var(--rong) - 2 * var(--G)) / 3);
}
.tc {
  position: relative; z-index: 1;
  width: var(--rong); min-height: 100vh; margin: 0 auto; padding: var(--le-tren) 0 var(--le-duoi);
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: var(--G);
}
.tc-cuoi { margin-top: auto; }   /* day thanh nut xuong sat le duoi, logo + khung o tren */
.tc-dau { display: flex; justify-content: center; }
/* [20/10] logo JxSJ Hoang Kim (1400x777, trong suot): giua, phia tren. Khung .tc-logo-lk BANG DUNG anh (rong theo
   chieu cao, ti le 1.8018) de 2 sao dat theo % trung dung mat phung / cham chu i khi logo co to nho. */
.tc-logo-lk { display: block; line-height: 0; position: relative; }
/* [20/10 lan 7] quet sang kieu CC Light Sweep: dai sang xien 30 do, manh, chay TRAI -> PHAI 4.67s (5.6s nhanh them 20%;
   ban 7s goc / 1.25 / 1.2), tang toc dan toi mep phai roi DAN HOI bat nguoc PHAI -> TRAI 4.67s (xuat phat nhanh, cham dan) - hai luot noi van toc
   (easeInQuad / easeOutQuad: toc do cuoi luot di = toc do dau luot ve) nen bat lai muot, khong khung. Lap lai.
   [20/10 lan 8] cung nhip/hinh nhung chay bang TRANSFORM (GPU ghep lop, khong ve lai): span.quet giu mat na = anh logo
   (sang chi tren net logo), ::before ben trong la dai sang rong 260% truot ngang. translateX(-61.538%) = background-position 100%
   cu (dai ben trai ngoai logo), 0 = 0% (ben phai ngoai logo). */
.tc-logo-lk .quet { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen;
  -webkit-mask: url('../imgs/kt64/logo-hoangkim.webp?v=2') center / 100% 100% no-repeat;
          mask: url('../imgs/kt64/logo-hoangkim.webp?v=2') center / 100% 100% no-repeat; }
.tc-logo-lk .quet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 260%;
  background: linear-gradient(120deg, transparent 0 44%, rgba(255, 248, 220, 0) 45.5%, rgba(255, 250, 230, .55) 48.6%,
              rgba(255, 255, 255, .85) 50%, rgba(255, 250, 230, .55) 51.4%, rgba(255, 248, 220, 0) 54.5%, transparent 56% 100%);
  will-change: transform; animation: kt-quet-sang 9.33s linear infinite; }
@keyframes kt-quet-sang {
  0%   { transform: translate3d(-61.538%, 0, 0); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  50%  { transform: translate3d(0, 0, 0);        animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  100% { transform: translate3d(-61.538%, 0, 0); }
}
.tc-logo { display: block; height: auto; width: var(--logo);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(90, 200, 230, .25)); }
/* 2 sao lap lanh xen ke: sao mat phung (483,192) va cham chu i cua KIM (1145,521) tren anh 1400x777.
   Chu ky 3.2s, sao 2 tre 1.6s -> sao nay dang tat dan thi sao kia bung len. */
.sao { position: absolute; z-index: 2; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.sao svg { width: 100%; height: 100%; display: block; overflow: visible; opacity: 0; transform: scale(.1) rotate(-30deg);
  animation: kt-sao 3.2s ease-in-out infinite; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(255, 236, 170, .95)); }
.sao-mat { left: 34.5%; top: 24.7%; width: 11%; }
.sao-mat svg { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(150, 225, 255, .95)); }
.sao-i { left: 81.8%; top: 67%; }
.sao-i svg { animation-delay: 1.6s; }
@keyframes kt-sao {
  0%   { opacity: 0; transform: scale(.1) rotate(-30deg); }
  14%  { opacity: 1; transform: scale(1.05) rotate(0deg); }
  22%  { opacity: .9; transform: scale(.8) rotate(10deg); }
  30%  { opacity: 1; transform: scale(1) rotate(18deg); }
  55%  { opacity: 0; transform: scale(.15) rotate(45deg); }
  100% { opacity: 0; transform: scale(.1) rotate(45deg); }
}

/* ---- khung chung ---- */
.khung {
  --mau: var(--vang); --mau-sang: var(--vang-sang); --mau-dam: var(--vang-dam);
  background: var(--nen-khung);
  border: 1.5px solid var(--mau);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
}
.tc-giua { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: var(--cao); gap: var(--G); align-items: stretch; }

/* ---- khung ban: mau rieng ---- */
.ban-xanh {
  --mau: #5fb4ff; --mau-sang: #d8eeff; --mau-dam: #2a6fc4; --nut-tren: #e3f3ff; --nut-giua: #5aa9f2; --nut-duoi: #2563b8; --nut-chu: #06203f;
  --phu-nhe: rgba(6, 16, 34, .55); --phu-dam: rgba(4, 10, 22, .96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 22px rgba(80, 160, 255, .18), inset 0 0 0 1px rgba(160, 210, 255, .08);
}
.ban-do {
  --mau: #ff6b5a; --mau-sang: #ffe0d6; --mau-dam: #c0281c; --nut-tren: #ffe6dc; --nut-giua: #f0624c; --nut-duoi: #b3241a; --nut-chu: #3a0703;
  --phu-nhe: rgba(34, 6, 4, .55); --phu-dam: rgba(22, 4, 3, .96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 22px rgba(255, 90, 70, .18), inset 0 0 0 1px rgba(255, 180, 160, .08);
}
/* anh phu kin khung, chu nam tren dai toi phia duoi */
.ban { display: flex; flex-direction: column; justify-content: flex-end; position: relative;
  background: #111; isolation: isolate; transition: transform .35s ease; }
.ban-nen { position: absolute; inset: 0; z-index: 0; overflow: hidden; transition: transform .6s ease, filter .6s ease;
  will-change: transform, filter; }
.ban-anh-dong { position: absolute; inset: -4%; background: var(--anh) var(--vi-tri, center top) / cover no-repeat;
  will-change: transform; animation: kt-kenburns 18s ease-in-out infinite alternate; }
.ban-hieu-ung, .ban-hieu-ung::after { position: absolute; inset: 0; pointer-events: none; }
.ban-hieu-ung::after { content: ""; }
.ban::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, var(--phu-nhe) 55%, var(--phu-dam) 82%); }
.ban::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 22px var(--mau); will-change: opacity; animation: kt-vien 3s ease-in-out infinite alternate; }
.ban-noi { position: relative; z-index: 2; padding: 0 22px 22px; display: flex; flex-direction: column;
  align-items: center; text-align: center; }   /* [20/10] canh giua tieu de / mo ta / 2 nut */

/* 2009: chop xanh loe theo nhip + suong troi ngang */
.ban-xanh .ban-hieu-ung { background: radial-gradient(ellipse at 70% 12%, rgba(185, 220, 255, .75), rgba(120, 170, 255, .25) 35%, transparent 65%);
  opacity: 0; animation: kt-set 7s linear infinite; mix-blend-mode: screen; }
.ban-xanh .ban-nen::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 440%;
  background: linear-gradient(100deg, transparent 0%, rgba(150, 190, 255, .16) 20%, transparent 40%, rgba(170, 205, 255, .12) 65%, transparent 85%);
  background-size: 50% 100%; will-change: transform; animation: kt-suong 16s linear infinite; }
/* Tran Phai: quang lua phap phong tu duoi + tan lua bay len */
.ban-do .ban-hieu-ung { background: radial-gradient(ellipse at 50% 105%, rgba(255, 130, 40, .7), rgba(255, 60, 20, .25) 45%, transparent 70%);
  mix-blend-mode: screen; animation: kt-lua 2.4s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.ban-do .ban-nen::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: calc(100% + 280px); mix-blend-mode: screen;
  background-image:
    radial-gradient(2px 2px at 20px 210px, #ffd28a, transparent), radial-gradient(1.5px 1.5px at 75px 150px, #ff9a4a, transparent),
    radial-gradient(2.5px 2.5px at 130px 260px, #ffb35c, transparent), radial-gradient(1.5px 1.5px at 170px 90px, #ffd9a0, transparent),
    radial-gradient(2px 2px at 55px 40px, #ff8a3c, transparent), radial-gradient(1.5px 1.5px at 150px 190px, #ffc070, transparent);
  background-size: 190px 280px; will-change: transform; animation: kt-tan 7s linear infinite; opacity: .9; }

@keyframes kt-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.09) translate(-1.6%, -1.2%); } }
@keyframes kt-vien { from { opacity: .3; } to { opacity: 1; } }
@keyframes kt-set { 0%, 84% { opacity: 0; } 85% { opacity: .95; } 86% { opacity: .15; } 87.5% { opacity: .8; } 90% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kt-suong { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes kt-lua { from { opacity: .55; transform: scaleY(.92); } to { opacity: 1; transform: scaleY(1.08); } }
@keyframes kt-tan { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -280px, 0); } }

/* [20/10 lan 2] LAT BAI muot: re chuot vao 1 trong 3 khung -> 2 khung con lai lat up (xoay truc dung toi 90 do) lo nen trang.
   - Hover bat o lop boc .o DUNG YEN (khong xoay): luot tu khung A sang B thi B lat ve + A lat di cung luc, khong con
     "ca 3 lat ve roi lat lai" nhu khi hover nam tren chinh khung dang xoay.
   - Lat di: tang toc dan (nhu tay lat quan bai), mo o nua sau; lat ve: cham dan. Khi KHONG con khung nao duoc re, tre 0.12s
     moi lat ve -> luot chuot qua khe giua 2 khung khong lam ca 3 nhay.
   - Moi trang thai cung dang "translateY rotateY" -> trinh duyet noi suy tung thanh phan, khong qua ma tran.
   - Chi transform + opacity (GPU ghep lop); bong hover la lop .o::before chi doi opacity.
   Chi may co chuot + man rong (>1060px, 3 cot); dien thoai/may tinh bang giu nguyen. */
.o { position: relative; display: flex; min-width: 0; }
.o > .khung { flex: 1; min-width: 0; }
.o-xanh { --sang: #5fb4ff; }
.o-do { --sang: #ff6b5a; }
.o-xanh::before, .o-do::before { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; opacity: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .6), 0 0 32px var(--sang); will-change: opacity, transform;
  transition: opacity .35s ease, transform .35s ease; }
.o-xanh:hover::before, .o-do:hover::before { opacity: 1; transform: translateY(-6px); }
.o:hover > .ban { transform: translateY(-6px); }
@media (hover: hover) and (min-width: 1061px) {
  .tc-giua { perspective: 1800px; }
  .tc-giua > .o > .khung { transform: translateY(0) rotateY(0deg); transform-origin: 50% 50%; backface-visibility: hidden;
    will-change: transform, opacity;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1) .12s, opacity .22s linear .12s; }
  .tc-giua > .o:hover > .khung { transition-delay: 0s, 0s; }
  .tc-giua > .o:hover > .ban { transform: translateY(-6px) rotateY(0deg); }
  .tc-giua:has(> .o:hover) > .o:not(:hover) > .khung { opacity: 0;
    transition: transform .45s cubic-bezier(.55, .06, .68, .19), opacity .2s linear .25s; }
  .tc-giua:has(> .o:hover) > .o:nth-child(1):not(:hover) > .khung { transform: translateY(0) rotateY(-90deg); }
  .tc-giua:has(> .o:hover) > .o:nth-child(3):not(:hover) > .khung { transform: translateY(0) rotateY(90deg); }
  .tc-giua:has(> .o:nth-child(1):hover) > .o:nth-child(2) > .khung { transform: translateY(0) rotateY(90deg); }
  .tc-giua:has(> .o:nth-child(3):hover) > .o:nth-child(2) > .khung { transform: translateY(0) rotateY(-90deg); }
  .tc-giua:has(> .o:hover) > .o:not(:hover)::before { opacity: 0; }
}
/* re chuot: khung nhac len, anh phong nhe (vien sang van nhap nhay) */
.ban:hover .ban-nen { transform: scale(1.05); filter: brightness(1.12) saturate(1.15); }
.ban-ten { transition: transform .35s ease; }
.ban:hover .ban-ten { transform: scale(1.03); }   /* [20/10] ban cu gian letter-spacing -> dan lai chu + ve lai moi khung */
.ban-phu { margin: 0; color: var(--mau); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 3px #000; }
.ban-ten {
  margin: 2px 0 8px; font: 700 clamp(22px, 2.05vw, 32px)/1.15 var(--tieu-de); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .8));
  white-space: nowrap; max-width: 100%;   /* [20/10] tieu de 1 dong ("2009 - Nguyen Ven Ban Sac") */
  background: linear-gradient(to bottom, var(--mau-sang), var(--mau) 60%, var(--mau-dam));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ban-mota { margin: 0 0 18px; text-shadow: 0 1px 3px #000; }
.ban-nut { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nut-chinh, .nut-phu {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 22px; border-radius: 999px; text-decoration: none;
  font: 700 15px/1 var(--tieu-de); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .15s, box-shadow .15s, filter .15s, background .15s;
}
.nut-chinh {
  color: var(--nut-chu);
  background: linear-gradient(to bottom, var(--nut-tren), var(--nut-giua) 55%, var(--nut-duoi));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.nut-phu {
  color: var(--mau-sang);
  border: 1.5px solid var(--mau);
  background: rgba(255, 255, 255, .04);
}
.nut-chinh svg, .nut-phu svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.nut-chinh:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 14px var(--mau), inset 0 1px 0 rgba(255, 255, 255, .6); }
.nut-phu:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); box-shadow: 0 0 12px var(--mau); }
.chua { filter: grayscale(.65) brightness(.7); cursor: not-allowed; }
.chua:hover { transform: none !important; box-shadow: none !important; }

/* ---- bang tin ---- */
.tin { display: flex; flex-direction: column; }
.tin-dau {
  /* [20/10] tieu de canh giua: luoi 3 cot (trong | tieu de | nut +) */
  display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; text-align: center;
  padding: 16px 20px 12px; border-bottom: 1px solid rgba(230, 189, 104, .45);
  background: linear-gradient(to bottom, rgba(230, 189, 104, .14), rgba(230, 189, 104, 0));
}
.tin-dau h2 { margin: 0; font: 700 22px/1.2 var(--tieu-de); color: var(--vang-sang); letter-spacing: .04em; text-transform: uppercase; }
.tin-dau h2 { grid-column: 2; }
/* [20/10] "Xem them" -> nut tron dau cong: vien vang, hover xoay 90 do + toa sang + nen vang */
.tin-them { grid-column: 3; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--vang-sang); border: 1.5px solid var(--vang); background: rgba(230, 189, 104, .1); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .35s ease, background .25s, box-shadow .25s, color .25s; }
.tin-them svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.tin-them:hover { transform: rotate(90deg) scale(1.08); color: #2a1606;
  background: linear-gradient(to bottom, var(--vang-sang), var(--vang) 60%, var(--vang-dam));
  box-shadow: 0 0 14px rgba(240, 190, 90, .7); }
.tin-them:focus-visible { outline: 2px solid var(--vang-sang); outline-offset: 2px; }
.tin-ds { list-style: none; margin: 0; padding: 6px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.tin-ds li { flex: 1; min-height: 46px; border-bottom: 1px dashed rgba(230, 189, 104, .28); display: flex; }
.tin-ds li:last-child { border-bottom: 0; }
/* [20/10] hover tung dong: vach vang moc ben trai, dong truot phai, vet sang quet ngang, nhan ngay + mui ten noi len */
.tin-ds a { position: relative; overflow: hidden; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 8px;
  text-decoration: none; min-width: 0; transition: background .3s, padding-left .3s ease, box-shadow .3s; }
.tin-ds a::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--vang-sang), var(--vang-dam)); transform: scaleY(0); transition: transform .3s ease; }
.tin-ds a::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 35%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 235, 180, .22), transparent); transform: skewX(-20deg); opacity: 0; }
.tin-ds a:hover { background: linear-gradient(90deg, rgba(255, 210, 122, .16), rgba(255, 210, 122, .03)); padding-left: 18px;
  box-shadow: inset 0 0 0 1px rgba(230, 189, 104, .22); }
.tin-ds a:hover::before { transform: scaleY(1); }
.tin-ds a:hover::after { animation: kt-quet .7s ease-out; }
/* [20/10] vet sang dong tin: chay bang transform (ban cu doi left -> tinh lai bo cuc moi khung). 150% khung / 35% = 428.57% */
@keyframes kt-quet { from { transform: translateX(0) skewX(-20deg); opacity: 1; } to { transform: translateX(428.57%) skewX(-20deg); opacity: 0; } }
.tin-ngay { flex: none; font-size: 12px; color: #2a1606; background: var(--vang); border-radius: 6px; padding: 2px 7px; font-weight: 600;
  transition: transform .3s, box-shadow .3s; }
.tin-ds a:hover .tin-ngay { transform: scale(1.08); box-shadow: 0 0 10px rgba(240, 190, 90, .7); }
.tin-ten { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.tin-ds a:hover .tin-ten { color: var(--vang-sang); }
.tin-loai { flex: none; font-size: 12px; color: var(--chu-mo); transition: opacity .25s; }
.tin-ds a > .tin-loai + .tin-mui, .tin-mui { flex: none; width: 16px; height: 16px; margin-left: -4px; opacity: 0; transform: translateX(-8px);
  transition: opacity .3s, transform .3s; fill: none; stroke: var(--vang-sang); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tin-ds a:hover .tin-mui { opacity: 1; transform: translateX(0); }

/* ---- thanh nut duoi (20/10: nen vang kem, 4 o icon 2 tong to nhe, rong = --truc = rong logo) ---- */
.tc-cuoi { width: var(--rong-nut); text-align: center; }
.nut-tron { position: relative; display: flex; justify-content: flex-start; gap: 6px; width: 100%; padding: 14px 18px 12px; border-radius: 22px;   /* [20/10] icon canh trai, cho trong ben phai de them icon */
  background: linear-gradient(180deg, #fcf5e2 0%, #f3e6c4 100%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45), 0 0 0 1px rgba(170, 125, 50, .35), inset 0 1px 0 #fff, inset 0 -2px 6px rgba(160, 115, 40, .12); }
.nut-tron::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px;   /* vach vang chan */
  background: linear-gradient(90deg, transparent, #c8963e, transparent); }
.nut-tron a { --nhan: #b07a20; display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; width: 84px; }
.nut-tron a.n-home     { --nhan: #b47a1c; }
.nut-tron a.n-download { --nhan: #2f8a6b; }
.nut-tron a.n-fanpage  { --nhan: #3a63b5; }
.nut-tron a.n-zalo     { --nhan: #2a69cc; }
.tron {
  position: relative; width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  background: linear-gradient(180deg, #fffdf6, #f6ead0);
  box-shadow: 0 4px 10px rgba(120, 85, 30, .22), inset 0 0 0 1px color-mix(in srgb, var(--nhan) 28%, transparent), inset 0 1px 0 #fff;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1.4), box-shadow .25s, background .25s;
}
.tron svg { width: 28px; height: 28px; fill: none; stroke: var(--nhan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s; }
.tron svg .nen { fill: var(--nhan); fill-opacity: .2; stroke: none; transition: fill-opacity .25s; }
.tron svg .chu { fill: var(--nhan); stroke: none; font: 800 6.6px/1 Arial, sans-serif; letter-spacing: -.1px; }
.nhan { font: 700 13px/1.2 var(--tieu-de); color: #5b3c12; letter-spacing: .03em; transition: color .25s; }
.nut-tron a:hover .tron { transform: translateY(-4px);
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--nhan) 10%, #fbf1da));
  box-shadow: 0 10px 18px rgba(120, 85, 30, .28), inset 0 0 0 1.5px color-mix(in srgb, var(--nhan) 55%, transparent), inset 0 1px 0 #fff; }
.nut-tron a:hover .tron svg { transform: scale(1.08); }
.nut-tron a:hover .tron svg .nen { fill-opacity: .34; }
.nut-tron a:hover .nhan { color: var(--nhan); }
.nut-tron a.chua { filter: grayscale(1) opacity(.5); }
/* ban quyen nam sat mep duoi, khong lam lech truc doi xung */
.ban-quyen { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; font-size: 12px; color: var(--chu-mo); text-shadow: 0 1px 2px #000; }

/* ---- man hinh nho ---- */
@media (max-width: 1060px) {
  :root { --cao: clamp(360px, 46vh, 480px); --truc: clamp(300px, 46vw, 420px); --rong-nut: var(--truc); }
  .tc-giua { grid-template-columns: 1fr 1fr; }
  .o-tin { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --G: 18px; --truc: min(100%, 400px); --logo: var(--truc); --rong-nut: 100%; --le-tren: 18px; --le-duoi: 34px; }
  body::after { background-position: 70% top; background-size: auto 62vh; background-color: #1b1714; }
  body::before { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, .7) 60%, rgba(0, 0, 0, .8) 100%); }
  .tc { width: calc(100vw - 32px); }
  .tc-giua { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ban { min-height: 380px; }
  .ban-ten { font-size: 26px; }
  .nut-chinh, .nut-phu { flex: 1; padding: 11px 12px; }
  .tron { width: 50px; height: 50px; border-radius: 15px; }
  .tron svg { width: 25px; height: 25px; }
  .nhan { font-size: 12px; white-space: nowrap; }
  .nut-tron { gap: 0; padding: 14px 6px 12px; }
  .nut-tron a { width: 25%; }
}
