/* ============================================================
   TEETOM INTERACTIVE — site.css
   Vang kim + xanh neon tren nen xanh dem, dung mau cua logo.
   ============================================================ */

@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-vietnamese-500-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-vietnamese-700-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap;
  src: url(../fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap;
  src: url(../fonts/be-vietnam-pro-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap;
  src: url(../fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap;
  src: url(../fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap;
  src: url(../fonts/be-vietnam-pro-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap;
  src: url(../fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #02050c;
  --navy: #061024;
  --navy-2: #0a1a38;
  --line: rgba(120, 170, 255, .14);
  --gold: #f2c14e;
  --gold-2: #ffe08a;
  --gold-deep: #a8731a;
  --blue: #2fa8ff;
  --cyan: #63e6ff;
  --text: #e9eff8;
  --muted: #8d9cb6;
  --radius: 18px;
  --head: "Chakra Petch", "Be Vietnam Pro", system-ui, sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold-text: linear-gradient(180deg, #fff6d6 0%, #ffd66b 38%, #c98a1f 52%, #ffe08a 70%, #b9781a 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.dang-intro { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--gold); color: #1a1205; }

/* ---------- nen dong: canvas 3D, hat bui, grain ---------- */
#canh3d {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block;
  transition: opacity 1.2s var(--ease);
}
.no-webgl #canh3d { display: none; }
.nen-du-phong {
  position: fixed; inset: 0; z-index: 0; display: none;
  background: radial-gradient(60% 50% at 50% 35%, #0e2a5c 0%, #050c1c 55%, var(--bg) 100%);
}
.no-webgl .nen-du-phong { display: block; }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; } 20% { background-position: -37px 23px; } 40% { background-position: 29px -17px; }
  60% { background-position: -19px -41px; } 80% { background-position: 43px 13px; } 100% { background-position: 0 0; }
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .75) 100%);
}
.con-tro-sang {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  z-index: 2; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(242, 193, 78, .10) 0%, rgba(47, 168, 255, .05) 35%, transparent 65%);
  will-change: transform;
}
.co-chuot .con-tro-sang { opacity: 1; }

main, header, footer { position: relative; z-index: 3; }

/* ---------- INTRO cinematic ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: #000; overflow: hidden; pointer-events: none;
  transition: opacity 1s var(--ease), visibility 1s;
}
.intro.xong { opacity: 0; visibility: hidden; }
.intro .tia-quet {
  position: absolute; left: 50%; top: 50%; width: 0; height: 2px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--gold), transparent);
  box-shadow: 0 0 24px var(--cyan), 0 0 60px var(--blue);
}
.intro.b1 .tia-quet { animation: quet 1.1s var(--ease) forwards; }
@keyframes quet {
  0% { width: 0; opacity: 1; } 60% { width: 100vw; opacity: 1; height: 2px; }
  100% { width: 100vw; height: 0; opacity: 0; }
}
.intro .khung-logo { position: relative; width: min(64vw, 440px); aspect-ratio: 1254 / 1254; }
.intro .lop {
  position: absolute; opacity: 0; filter: drop-shadow(0 0 18px rgba(47, 168, 255, .45));
}
.intro .lop.emblem { left: 23.7%; top: 6.9%; width: 51%; }
.intro .lop.teetom { left: 6.85%; top: 66.6%; width: 86.3%; }
.intro .lop.interactive { left: 13.8%; top: 83.9%; width: 72.4%; }
.intro .lop.mach-trai { left: 0; top: 32.4%; width: 37.9%; }
.intro .lop.mach-phai { left: 62%; top: 32.4%; width: 38%; }
.intro.b2 .lop.emblem { animation: hien-emblem 1.2s var(--ease) forwards; }
.intro.b2 .lop.mach-trai { animation: mach-trai .9s .45s var(--ease) forwards; }
.intro.b2 .lop.mach-phai { animation: mach-phai .9s .45s var(--ease) forwards; }
.intro.b2 .lop.teetom { animation: hien-chu 1s .7s var(--ease) forwards; }
.intro.b2 .lop.interactive { animation: hien-gian 1.1s 1s var(--ease) forwards; }
@keyframes hien-emblem {
  0% { opacity: 0; transform: scale(1.35) translateY(-4%); filter: brightness(4) blur(14px); }
  60% { opacity: 1; filter: brightness(1.8) blur(0) drop-shadow(0 0 40px rgba(99, 230, 255, .9)); }
  100% { opacity: 1; transform: none; filter: drop-shadow(0 0 18px rgba(47, 168, 255, .45)); }
}
@keyframes mach-trai { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes mach-phai { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hien-chu {
  0% { opacity: 0; transform: translateY(30%); clip-path: inset(-40% -8% 100% -8%); filter: brightness(3) drop-shadow(0 0 0 rgba(242, 193, 78, 0)); }
  100% { opacity: 1; transform: none; clip-path: inset(-40% -8% -40% -8%); filter: brightness(1) drop-shadow(0 0 18px rgba(242, 193, 78, .35)); }
}
@keyframes hien-gian { 0% { opacity: 0; letter-spacing: 0; transform: scaleX(.6); } 100% { opacity: 1; transform: none; } }
.intro.b3 .khung-logo { animation: logo-bay 1s var(--ease) forwards; }
@keyframes logo-bay { to { transform: scale(.82); opacity: 0; filter: blur(6px); } }
.intro .anh-sang-quet {
  position: absolute; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 214, .9) 50%, transparent 62%);
  background-size: 300% 100%;
}
.intro .anh-sang-quet.emblem { left: 23.7%; top: 6.9%; width: 51%; aspect-ratio: 640 / 754; }
.intro .anh-sang-quet.teetom { left: 6.85%; top: 66.6%; width: 86.3%; aspect-ratio: 1082 / 188; }
.intro.b2 .anh-sang-quet { animation: sang-quet 1.4s 1.3s ease-in-out forwards; }
@keyframes sang-quet { 0% { opacity: 1; background-position: 100% 0; } 100% { opacity: 1; background-position: -60% 0; } }
.intro .dong-chu {
  position: absolute; bottom: 9vh; left: 0; right: 0; text-align: center;
  font: 500 12px/1.6 var(--head); letter-spacing: .5em; color: var(--muted); opacity: 0; padding: 0 16px;
  text-transform: uppercase;
}
.intro.b2 .dong-chu { animation: mo-ra .8s 1.4s forwards; }
@keyframes mo-ra { to { opacity: .8; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px; padding: 18px clamp(16px, 4vw, 48px);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s, transform .8s var(--ease), opacity .8s;
  border-bottom: 1px solid transparent;
}
.dang-intro .nav { opacity: 0; transform: translateY(-100%); }
.nav.dac {
  background: rgba(3, 7, 16, .72); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); padding-block: 12px;
}
.nav .thuong-hieu { display: flex; align-items: center; gap: 12px; }
.nav .thuong-hieu img.emblem-nho { width: 30px; filter: drop-shadow(0 0 8px rgba(47, 168, 255, .6)); }
.nav .thuong-hieu img.chu { height: 18px; width: auto; }
.nav .lien-ket { display: flex; gap: 26px; margin-left: auto; }
.nav .lien-ket a {
  font: 500 13px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: #c3cee0;
  position: relative; padding: 6px 0;
}
.nav .lien-ket a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--gold)); transition: transform .4s var(--ease);
}
.nav .lien-ket a:hover { color: #fff; }
.nav .lien-ket a:hover::after { transform: scaleX(1); }
.nut-ngon-ngu {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(255, 255, 255, .03);
}
.nut-ngon-ngu button {
  font: 600 11px/1 var(--head); letter-spacing: .12em; padding: 7px 10px; border-radius: 999px; color: var(--muted);
  transition: background .3s, color .3s;
}
.nut-ngon-ngu button.dang { background: linear-gradient(180deg, #ffe08a, #d39a2c); color: #1d1404; }

/* ---------- NUT ---------- */
.nut {
  --c1: #ffe9a6; --c2: #e0a43a; --c3: #a8731a;
  position: relative; display: inline-flex; align-items: center; gap: 12px; isolation: isolate;
  padding: 16px 30px; font: 700 14px/1 var(--head); letter-spacing: .2em; text-transform: uppercase;
  color: #1c1203; border-radius: 4px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background: linear-gradient(180deg, var(--c1), var(--c2) 55%, var(--c3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .35s var(--ease), filter .35s;
}
.nut::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 130% 0; transition: background-position .9s var(--ease);
}
.nut:hover { filter: brightness(1.08) drop-shadow(0 0 22px rgba(242, 193, 78, .55)); }
.nut:hover::before { background-position: -30% 0; }
.nut svg { width: 16px; height: 16px; }
.nut.vien {
  color: var(--text); background: rgba(10, 26, 56, .4);
  box-shadow: inset 0 0 0 1px rgba(99, 230, 255, .45), inset 0 0 24px rgba(47, 168, 255, .12);
  backdrop-filter: blur(6px);
}
.nut.vien:hover { filter: drop-shadow(0 0 18px rgba(47, 168, 255, .55)); }
.nut.nho { padding: 11px 20px; font-size: 12px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: end center;
  padding: 0 20px clamp(96px, 13vh, 140px); text-align: center;
}
.hero .noi-dung { position: relative; max-width: 980px; }
.hero .wordmark { position: relative; width: min(74vw, 440px); margin: 0 auto; }
.hero .wordmark img { width: 100%; height: auto; filter: drop-shadow(0 6px 30px rgba(242, 193, 78, .25)); }
.hero .wordmark .interactive { width: 66%; margin: clamp(10px, 1.6vw, 18px) auto 0; opacity: .95; }
/* Anh kim chay qua chu: lop sang dung chinh hinh chu lam mat na */
.co-anh-kim { position: relative; }
.co-anh-kim::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .95) 48%, rgba(120, 220, 255, .9) 52%, transparent 62%);
  background-size: 260% 100%; background-position: 140% 0; mix-blend-mode: screen;
  animation: kim-chay 6s 1.5s ease-in-out infinite;
}
@keyframes kim-chay { 0%, 70% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
.hero .khau-hieu {
  margin: 18px auto 28px; max-width: 640px; color: #c6d2e6; font-size: clamp(15px, 1.6vw, 18px);
}
.hero .khau-hieu b { color: var(--gold-2); font-weight: 600; }
.hero .nhom-nut { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .nhom-nut > *, .hero .wordmark, .hero .khau-hieu, .hero .cuon {
  opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.da-mo .hero .wordmark { opacity: 1; transform: none; transition-delay: .1s; }
.da-mo .hero .khau-hieu { opacity: 1; transform: none; transition-delay: .35s; }
.da-mo .hero .nhom-nut > * { opacity: 1; transform: none; }
.da-mo .hero .nhom-nut > :nth-child(1) { transition-delay: .55s; }
.da-mo .hero .nhom-nut > :nth-child(2) { transition-delay: .7s; }
.da-mo .hero .cuon { opacity: .7; transform: none; transition-delay: 1.2s; }
.hero .cuon {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: grid; justify-items: center; gap: 8px;
  font: 500 10px/1 var(--head); letter-spacing: .4em; color: var(--muted); text-transform: uppercase;
}
.hero .cuon i { width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; }
.hero .cuon i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff;
  animation: roi 1.8s ease-in-out infinite;
}
@keyframes roi { to { top: 110%; } }

/* duong mach dien hai ben hero */
.mach {
  position: absolute; top: 30%; width: min(30vw, 380px); height: 120px; pointer-events: none; opacity: 0;
  transition: opacity 1.5s 1s;
}
.da-mo .mach { opacity: 1; }
.mach.trai { left: 2vw; }
.mach.phai { right: 2vw; transform: scaleX(-1); }
.mach path { fill: none; stroke-linecap: round; }
.mach .nen-mach { stroke: rgba(242, 193, 78, .35); stroke-width: 1.4; }
.mach .xung {
  stroke: url(#gMach); stroke-width: 2.2; stroke-dasharray: 26 400; filter: url(#loe);
  animation: xung 3.2s linear infinite;
}
.mach .xung.c2 { animation-delay: -1.1s; animation-duration: 4s; }
.mach .xung.c3 { animation-delay: -2.3s; animation-duration: 3.6s; }
@keyframes xung { from { stroke-dashoffset: 430; } to { stroke-dashoffset: 0; } }

/* ---------- KHUNG CHUNG ---------- */
.khoi { position: relative; padding: clamp(80px, 12vw, 160px) clamp(16px, 5vw, 64px); }
.khoi .trong { max-width: 1240px; margin: 0 auto; }
.nhan {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--head); letter-spacing: .38em; text-transform: uppercase; color: var(--cyan);
}
.nhan::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.tieu-de {
  margin: 18px 0 0; font: 700 clamp(34px, 5.4vw, 68px)/1.04 var(--head); letter-spacing: .01em; text-transform: uppercase;
}
.chu-vang { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mo-ta { color: #b8c4d8; max-width: 620px; font-size: clamp(15px, 1.4vw, 17px); }

.hien { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.hien.vao { opacity: 1; transform: none; }
.hien.tre-1 { transition-delay: .12s; } .hien.tre-2 { transition-delay: .24s; } .hien.tre-3 { transition-delay: .36s; }

/* ---------- BANG CHU CHAY ---------- */
.bang-chay {
  position: relative; z-index: 3; overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(3, 7, 16, .9), rgba(9, 22, 48, .7), rgba(3, 7, 16, .9));
}
.bang-chay .day { display: flex; width: max-content; animation: chay 38s linear infinite; }
.bang-chay span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font: 700 clamp(18px, 2.4vw, 30px)/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
}
.bang-chay span em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(242, 193, 78, .65); }
.bang-chay span i { width: 10px; height: 10px; transform: rotate(45deg); background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes chay { to { transform: translateX(-50%); } }

/* ---------- GAME NOI BAT ---------- */
.noi-bat .luoi { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.noi-bat .logo-game { width: min(100%, 420px); image-rendering: pixelated; margin: 26px 0 8px; filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .6)); }
.noi-bat .logo-game.en { width: min(100%, 470px); }
.the-loai { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.the-loai span {
  font: 600 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(99, 230, 255, .3); color: #bfe9ff; background: rgba(47, 168, 255, .08);
}
.so-lieu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); }
.so-lieu > div { background: rgba(4, 10, 24, .85); padding: 18px 14px; }
.so-lieu b { display: block; font: 700 clamp(26px, 3vw, 40px)/1 var(--head); }
.so-lieu small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; letter-spacing: .06em; }

/* dien thoai 3D */
.san-khau { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 640px; }
.hao-quang {
  position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(47, 168, 255, .28) 0%, rgba(242, 193, 78, .12) 30%, transparent 62%);
  filter: blur(10px); animation: tho 6s ease-in-out infinite;
}
@keyframes tho { 50% { transform: scale(1.08); opacity: .8; } }
.vong-san {
  position: absolute; bottom: 8px; width: 78%; aspect-ratio: 4 / 1; border-radius: 50%;
  border: 1px solid rgba(242, 193, 78, .5); box-shadow: 0 0 40px rgba(242, 193, 78, .25), inset 0 0 40px rgba(47, 168, 255, .25);
  transform: rotateX(70deg);
}
.dien-thoai {
  --rx: 0deg; --ry: -14deg; --gx: 50%; --gy: 30%;
  position: relative; width: min(78vw, 300px); aspect-ratio: 9 / 18.6; border-radius: 42px; padding: 12px;
  background: linear-gradient(145deg, #2a3242, #0b0f18 40%, #1c2230);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .65), 0 0 60px rgba(47, 168, 255, .25),
    inset 0 0 0 2px #05070c;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--ease);
  animation: troi 7s ease-in-out infinite;
}
@keyframes troi { 50% { translate: 0 -14px; } }
.dien-thoai .man {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000;
}
.dien-thoai .man img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated;
  opacity: 0; transform: scale(1.04); transition: opacity 1s, transform 6s linear;
}
.dien-thoai .man img.dang { opacity: 1; transform: scale(1); }
.dien-thoai .loa {
  position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; translate: -50% 0; border-radius: 20px;
  background: #000; z-index: 2;
}
.dien-thoai .loe {
  position: absolute; inset: 0; border-radius: 42px; pointer-events: none; z-index: 3; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .22), transparent 45%),
    linear-gradient(125deg, transparent 40%, rgba(120, 220, 255, .10) 50%, transparent 60%);
}
.cham-man { display: flex; gap: 8px; justify-content: center; margin-top: 26px; position: relative; z-index: 2; }
.cham-man button { width: 26px; height: 3px; background: rgba(255, 255, 255, .2); transition: background .3s, width .3s; }
.cham-man button.dang { width: 44px; background: linear-gradient(90deg, var(--cyan), var(--gold)); }

/* ---------- THU VIEN GAME (kieu cong game) ---------- */
.thu-vien .dau { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.luoi-game { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; margin-top: 46px; }
.the-game {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #0d1d3c, #050b18);
  box-shadow: 0 0 0 1px rgba(242, 193, 78, .25), 0 30px 60px rgba(0, 0, 0, .5);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .5s;
}
.the-game:hover { box-shadow: 0 0 0 1px rgba(242, 193, 78, .7), 0 30px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(242, 193, 78, .25); }
.the-game .anh { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.the-game .anh .nen {
  position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(18px) brightness(.55) saturate(1.3);
}
.the-game .anh .cot {
  position: absolute; top: 0; bottom: 0; display: flex; gap: 10px; left: 50%; translate: -50% 0; padding: 18px 0;
  transition: transform .9s var(--ease);
}
.the-game .anh .cot img { height: 100%; width: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); image-rendering: pixelated; }
.the-game .anh .cot img:nth-child(odd) { transform: translateY(8%); }
.the-game:hover .anh .cot { transform: translateX(-8%) scale(1.04); }
.the-game .anh .logo-noi {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46%; image-rendering: pixelated; z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .8)); transition: transform .6s var(--ease);
}
.the-game:hover .anh .logo-noi { transform: scale(1.06); }
.the-game .anh .phu {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(3, 7, 16, .1), rgba(3, 7, 16, .75));
}
.the-game .loe {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 230, 160, .25), transparent 40%);
}
.the-game:hover .loe { opacity: 1; }
.the-game .huy-hieu {
  position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 8px;
}
.the-game .huy-hieu span {
  font: 700 10px/1 var(--head); letter-spacing: .16em; padding: 7px 10px; border-radius: 4px; text-transform: uppercase;
}
.the-game .huy-hieu .moi { background: linear-gradient(180deg, #ffe08a, #d39a2c); color: #1d1404; }
.the-game .huy-hieu .web { background: rgba(47, 168, 255, .2); color: #bfe9ff; border: 1px solid rgba(99, 230, 255, .45); }
.the-game .than { padding: 22px 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.the-game h3 { margin: 0; font: 700 22px/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.the-game p { margin: 0; color: var(--muted); font-size: 14px; grid-column: 1; }
.the-game .nut-choi {
  grid-row: 1 / span 2; grid-column: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ffe9a6, #d39a2c); color: #1d1404; box-shadow: 0 0 0 6px rgba(242, 193, 78, .12);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.the-game:hover .nut-choi { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(242, 193, 78, .16), 0 0 30px rgba(242, 193, 78, .6); }
.the-game .nut-choi svg { width: 20px; margin-left: 3px; }
.the-game > a.phu-kin { position: absolute; inset: 0; z-index: 5; }
.sap-ra-mat {
  display: grid; place-items: center; text-align: center; min-height: 100%; padding: 40px 24px;
  border: 1px dashed rgba(120, 170, 255, .25); border-radius: var(--radius); color: var(--muted);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 12px, transparent 12px 24px);
}
.sap-ra-mat .lo {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center;
  border: 1px solid rgba(242, 193, 78, .35); color: var(--gold); position: relative; overflow: hidden;
}
.sap-ra-mat .lo::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(242, 120, 40, .45), transparent 70%);
  animation: lo-ren 1.6s ease-in-out infinite alternate;
}
@keyframes lo-ren { from { opacity: .35; } to { opacity: 1; } }
.sap-ra-mat b { display: block; font: 700 15px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #cdd7e6; }

/* ---------- KET CUC (day phim) ---------- */
.ket-cuc { overflow: hidden; }
.day-phim { margin-top: 50px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.day-phim .ray { display: flex; gap: 22px; width: max-content; animation: chay 60s linear infinite; padding: 20px 0 30px; }
.day-phim:hover .ray { animation-play-state: paused; }
.khung-phim {
  position: relative; width: clamp(170px, 18vw, 230px); aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.khung-phim:nth-child(even) { transform: translateY(26px); }
.khung-phim:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 0 0 1px rgba(242, 193, 78, .7), 0 0 40px rgba(242, 193, 78, .35); z-index: 2; }
.khung-phim img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.khung-phim::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7));
}
.khung-phim span {
  position: absolute; left: 12px; bottom: 12px; z-index: 1; font: 700 10px/1 var(--head); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-2);
}

/* ---------- VE TEETOM ---------- */
.ve-chung-toi .luoi { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.bia-emblem { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.bia-emblem img { width: 62%; position: relative; z-index: 1; filter: drop-shadow(0 0 30px rgba(47, 168, 255, .5)); animation: troi 8s ease-in-out infinite; }
.bia-emblem .vong {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 193, 78, .35);
  animation: quay 40s linear infinite;
}
.bia-emblem .vong::before, .bia-emblem .vong::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold);
  top: -5px; left: calc(50% - 5px);
}
.bia-emblem .vong::after { top: auto; bottom: -5px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.bia-emblem .vong.v2 { inset: 12%; border-style: dashed; border-color: rgba(99, 230, 255, .3); animation-duration: 26s; animation-direction: reverse; }
.bia-emblem .vong.v2::before, .bia-emblem .vong.v2::after { display: none; }
@keyframes quay { to { transform: rotate(360deg); } }
.gia-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.gia-tri > div {
  padding: 22px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 30, 62, .55), rgba(4, 10, 22, .55)); backdrop-filter: blur(6px);
}
.gia-tri b { display: block; font: 700 15px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; margin: 12px 0 6px; }
.gia-tri p { margin: 0; color: var(--muted); font-size: 14px; }
.gia-tri .bieu-tuong { width: 34px; height: 34px; color: var(--gold); }

/* ---------- CTA cuoi ---------- */
.cta-cuoi { text-align: center; }
.cta-cuoi .khung {
  position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(50px, 8vw, 100px) 24px; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(242, 193, 78, .3);
  background: radial-gradient(80% 120% at 50% 0%, rgba(47, 168, 255, .22), transparent 60%),
    radial-gradient(60% 80% at 50% 120%, rgba(242, 193, 78, .22), transparent 60%), rgba(4, 10, 24, .7);
}
.cta-cuoi .khung::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(99, 230, 255, .08) 50%, transparent);
  background-size: 50% 100%; background-repeat: no-repeat; animation: quet-ngang 5s linear infinite;
}
@keyframes quet-ngang { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.cta-cuoi h2 { margin: 16px 0 14px; font: 700 clamp(30px, 5vw, 60px)/1.05 var(--head); text-transform: uppercase; }
.cta-cuoi p { color: #b8c4d8; margin: 0 auto 32px; max-width: 560px; }

/* ---------- FOOTER ---------- */
.chan-trang { border-top: 1px solid var(--line); padding: 50px clamp(16px, 5vw, 64px) 36px; background: rgba(2, 5, 12, .85); }
.chan-trang .trong { max-width: 1240px; margin: 0 auto; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.chan-trang .thuong-hieu { display: flex; align-items: center; gap: 14px; }
.chan-trang .thuong-hieu img.e { width: 44px; }
.chan-trang .thuong-hieu img.c { height: 20px; width: auto; }
.chan-trang small { color: var(--muted); }
.chan-trang nav { display: flex; gap: 22px; flex-wrap: wrap; }
.chan-trang nav a { color: #aab7cc; font-size: 14px; }
.chan-trang nav a:hover { color: var(--gold-2); }

/* ---------- TRANG GAME ---------- */
.trang-game .dau-game { padding: 130px clamp(16px, 5vw, 64px) 40px; text-align: center; }
.trang-game .dau-game .logo-game { width: min(80vw, 380px); margin: 18px auto; image-rendering: pixelated; }
.khung-choi-ngoai { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 80px; }
.khung-choi {
  position: relative; margin: 0 auto; height: min(86vh, 980px); aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(242, 193, 78, .4), 0 40px 100px rgba(0, 0, 0, .7), 0 0 80px rgba(47, 168, 255, .2);
}
.khung-choi iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.khung-choi .man-cho {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 28px; z-index: 2;
  background: center / cover no-repeat;
}
.khung-choi .man-cho::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 5, 12, .55), rgba(2, 5, 12, .9)); }
.khung-choi .man-cho > div { position: relative; display: grid; gap: 18px; justify-items: center; }
.khung-choi .man-cho .nut-to {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: #1d1404;
  background: linear-gradient(180deg, #ffe9a6, #d39a2c); box-shadow: 0 0 0 10px rgba(242, 193, 78, .15), 0 0 60px rgba(242, 193, 78, .5);
  animation: dap 2.4s ease-in-out infinite;
}
.khung-choi .man-cho .nut-to svg { width: 34px; margin-left: 6px; }
@keyframes dap { 50% { box-shadow: 0 0 0 18px rgba(242, 193, 78, .08), 0 0 90px rgba(242, 193, 78, .6); } }
.khung-choi .man-cho b { font: 700 18px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.khung-choi .man-cho small { color: var(--muted); max-width: 300px; }
.thanh-cong-cu { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.thong-tin-game { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 60px auto 0; }
.thong-tin-game > div { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(4, 10, 24, .6); }
.thong-tin-game h3 { margin: 0 0 8px; font: 700 14px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.thong-tin-game p { margin: 0; color: #b8c4d8; font-size: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .noi-bat .luoi, .ve-chung-toi .luoi { grid-template-columns: 1fr; }
  .san-khau { min-height: 560px; order: -1; }
  .so-lieu { grid-template-columns: repeat(2, 1fr); }
  .gia-tri, .thong-tin-game { grid-template-columns: 1fr; }
  .nav .lien-ket { display: none; }
  .nav .nut-ngon-ngu { margin-left: auto; }
  .mach { display: none; }
}
@media (max-height: 700px) { .hero .cuon { display: none; } }
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .nav .thuong-hieu img.chu { height: 14px; }
  .nav .nut.nho { display: none; }
  .hero { padding-bottom: 84px; }
  .nut { padding: 14px 22px; font-size: 12px; }
  .khung-choi { height: auto; width: 100%; }
}
@media (hover: none) {
  .con-tro-sang { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}

/* ---------- TAI KHOAN ---------- */
.chip-tk {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px;
  border: 1px solid rgba(99, 230, 255, .35); background: rgba(10, 26, 56, .45); color: var(--text);
  font: 600 12px/1.1 var(--head); letter-spacing: .08em; cursor: pointer; max-width: 220px;
  transition: border-color .3s, box-shadow .3s, opacity .4s; backdrop-filter: blur(6px);
}
.chip-tk:hover { border-color: var(--gold); box-shadow: 0 0 22px rgba(242, 193, 78, .3); }
.chip-tk.an { opacity: 0; pointer-events: none; }
.chip-tk:not(.da-vao) { padding: 9px 16px 9px 12px; text-transform: uppercase; letter-spacing: .16em; }
.chip-tk .bieu-tuong {
  width: 16px; height: 16px; border-radius: 50%; position: relative; flex: none;
  box-shadow: inset 0 0 0 1.6px var(--cyan);
}
.chip-tk .bieu-tuong::before { content: ""; position: absolute; left: 5px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.chip-tk .bieu-tuong::after { content: ""; position: absolute; left: 3px; bottom: 2px; width: 10px; height: 4px; border-radius: 6px 6px 0 0; background: var(--cyan); }
.chip-tk .chu-chip { display: grid; gap: 3px; text-align: left; min-width: 0; }
.chip-tk .chu-chip b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.chip-tk .chu-chip small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.anh-dd {
  position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #1b3a73, #0a1a38); color: var(--gold-2); font: 700 15px/1 var(--head);
  box-shadow: 0 0 0 1.5px rgba(242, 193, 78, .8);
}
.anh-dd img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anh-dd.nho { width: 32px; height: 32px; }
.anh-dd.to { width: 104px; height: 104px; font-size: 40px; box-shadow: 0 0 0 3px rgba(242, 193, 78, .9), 0 0 40px rgba(242, 193, 78, .35); }

.hop-thoai { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.hop-thoai[hidden] { display: none; }
.hop-thoai .nen-hop { position: absolute; inset: 0; background: rgba(1, 3, 8, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.hop-thoai .the-hop {
  position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 32px 26px 26px;
  border-radius: 20px; text-align: center; background: linear-gradient(180deg, #0b1a36, #050b18 70%);
  border: 1px solid rgba(242, 193, 78, .35); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px rgba(47, 168, 255, .15);
  transform: translateY(18px) scale(.97); opacity: 0; transition: transform .3s var(--ease), opacity .25s;
}
.hop-thoai.mo .nen-hop { opacity: 1; }
.hop-thoai.mo .the-hop { transform: none; opacity: 1; }
.hop-thoai .dong-hop { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); }
.hop-thoai .dong-hop:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.hop-thoai h2 { margin: 10px 0 8px; font: 700 22px/1.2 var(--head); letter-spacing: .06em; }
.hop-thoai .emblem-hop { width: 52px; height: auto; filter: drop-shadow(0 0 14px rgba(47, 168, 255, .6)); }
.hop-thoai .mo-ta-hop { color: #b8c4d8; font-size: 14px; margin: 0 0 22px; }
.hop-thoai .cho-nut-google { min-height: 44px; display: grid; place-items: center; }
.hop-thoai .loi-hop { color: #ff9a8a; font-size: 13px; min-height: 1em; margin: 12px 0 0; }
.hop-thoai .loi-hop:empty { display: none; }
.hop-thoai .chu-nho-hop { color: var(--muted); font-size: 12px; margin: 16px 0 0; }
.hop-thoai .chu-nho-hop a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.hop-thoai.dang-xu-ly .the-hop { pointer-events: none; }
.hop-thoai.dang-xu-ly .the-hop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(2, 5, 12, .5) ; }
.dang-tai-nho, .hop-thoai.dang-xu-ly .the-hop::before {
  width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(242, 193, 78, .25); border-top-color: var(--gold);
  animation: xoay .8s linear infinite; display: block;
}
.hop-thoai.dang-xu-ly .the-hop::before { content: ""; position: absolute; left: calc(50% - 13px); top: calc(50% - 13px); z-index: 2; }
@keyframes xoay { to { transform: rotate(360deg); } }

.nut-nhe {
  padding: 10px 16px; border-radius: 10px; font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(99, 230, 255, .3);
  transition: background .2s, box-shadow .2s;
}
.nut-nhe:hover { background: rgba(99, 230, 255, .1); }
.nut-nhe.vang { color: #1d1404; background: linear-gradient(180deg, #ffe08a, #d39a2c); box-shadow: none; }
.nut-nhe.do { color: #fff; background: #b8322a; box-shadow: none; }
.nut-nhe:disabled { opacity: .5; }
.nut-nhe[hidden] { display: none; }
.nut-chu-do { color: #ff9a8a; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; }

#hopHoSo .the-hop { text-align: left; }
.dau-ho-so { display: flex; align-items: center; gap: 20px; margin: 6px 0 22px; }
.dau-ho-so .nut-anh { display: grid; gap: 8px; justify-items: start; }
.o-ten label { display: block; font: 600 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.o-ten .hang-ten { display: flex; gap: 8px; }
.o-ten input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35);
  color: var(--text); font: 600 16px/1.2 var(--body);
}
.o-ten input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, .18); }
.cap-do { display: flex; align-items: center; gap: 16px; margin: 22px 0 18px; }
.huy-cap {
  flex: none; width: 74px; height: 74px; display: grid; place-content: center; text-align: center; color: #1d1404;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(180deg, #fff1b8, #e0a43a 60%, #a8731a);
}
.huy-cap small { font: 700 9px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; }
.huy-cap b { font: 700 28px/1 var(--head); }
.thanh-kn { flex: 1; display: grid; gap: 8px; }
.thanh-kn .ray { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.thanh-kn .ray i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); transition: width .6s var(--ease); }
.thanh-kn small { color: var(--muted); font-size: 12px; }
.luoi-so { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.luoi-so > div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(4, 10, 24, .6); display: grid; gap: 4px; }
.luoi-so b { font: 700 20px/1 var(--head); color: var(--gold-2); }
.luoi-so small { color: var(--muted); font-size: 12px; }
#hopHoSo .hang-cuoi { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.hoi-xoa-tk { display: none; margin-top: 18px; padding: 16px; border-radius: 12px; border: 1px solid rgba(255, 120, 100, .4); background: rgba(80, 10, 10, .25); }
.hoi-xoa-tk p { margin: 0; font-size: 14px; color: #ffd2c8; }
.hoi-xoa-tk .hang-cuoi { margin-top: 14px !important; justify-content: flex-end !important; }
#hopHoSo.hoi-xoa .hoi-xoa-tk { display: block; }
#hopHoSo.hoi-xoa > .the-hop > .hang-cuoi { display: none; }

/* ---------- CHOI TREN DIEN THOAI: phu kin man hinh ---------- */
.khung-choi .dong-phu { display: none; }
.khung-choi.phu-man {
  position: fixed; inset: 0; z-index: 150; width: 100vw; height: 100vh; height: 100dvh; max-width: none;
  aspect-ratio: auto; border-radius: 0; box-shadow: none; margin: 0;
}
.khung-choi.phu-man .dong-phu {
  display: grid; place-items: center; position: absolute; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  top: calc(env(safe-area-inset-top, 0px) + 8px); left: calc(env(safe-area-inset-left, 0px) + 8px);
  color: #fff; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); opacity: .7;
}
.khung-choi.phu-man .dong-phu svg { width: 16px; height: 16px; }
html.dang-choi-phu, html.dang-choi-phu body { overflow: hidden; overscroll-behavior: none; }
.khung-choi:fullscreen { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; }
.khung-choi:-webkit-full-screen { width: 100%; height: 100%; max-width: none; border-radius: 0; }

/* ---------- TRANG PHAP LY ---------- */
.trang-chu-thich main { max-width: 820px; margin: 0 auto; padding: 130px clamp(16px, 5vw, 40px) 80px; }
.trang-chu-thich h1 { font: 700 clamp(28px, 5vw, 44px)/1.15 var(--head); margin: 10px 0 6px; }
.trang-chu-thich h2 { font: 700 18px/1.3 var(--head); letter-spacing: .06em; color: var(--gold-2); margin: 34px 0 10px; }
.trang-chu-thich p, .trang-chu-thich li { color: #c7d1e2; font-size: 15px; line-height: 1.75; }
.trang-chu-thich a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.trang-chu-thich .ngay { color: var(--muted); font-size: 13px; }
html[lang="en"] article[lang="vi"], html[lang="vi"] article[lang="en"] { display: none; }

@media (max-width: 560px) {
  .chip-tk:not(.da-vao) { padding: 8px 12px 8px 10px; letter-spacing: .1em; font-size: 11px; }
  .chip-tk .chu-chip b { max-width: 84px; }
  .chip-tk.da-vao { padding-right: 10px; }
  .dau-ho-so { gap: 14px; }
  .anh-dd.to { width: 84px; height: 84px; }
  .hop-thoai .the-hop { padding: 28px 18px 20px; }
}
@media (max-width: 380px) {
  .chip-tk.da-vao .chu-chip { display: none; }
  .chip-tk.da-vao { padding: 3px; }
}
/* nut Google (iframe GSI) khong bi nen trang khi trang dung color-scheme dark */
.hop-thoai .cho-nut-google, .hop-thoai .cho-nut-google iframe { color-scheme: normal; }

/* logo: luon giu dung ti le anh, khong bi keo dan */
.intro .lop, .nav .thuong-hieu img.emblem-nho, .chan-trang .thuong-hieu img { height: auto; }
.nav .thuong-hieu img.chu, .chan-trang .thuong-hieu img.c { width: auto; }

/* ho so: cap tai khoan Teetom tach rieng khoi cap trong game */
.ghi-chu-tk { margin: -6px 0 16px !important; }
.the-game-hs { padding: 14px; border-radius: 14px; border: 1px solid rgba(242, 193, 78, .25); background: rgba(242, 193, 78, .04); }
.dau-the-game { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.logo-the-game { height: 26px; width: auto; image-rendering: pixelated; }
.cap-game { font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cap-game b { color: var(--cyan); font-size: 18px; }
.the-game-hs .ray { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 12px; }
.the-game-hs .ray i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2fa8ff, #63e6ff); }
