/* Giao diện gốc: hai_tac_online_home_v2_banner_updated.html (+ phần bổ sung cho CMS) */
:root{--red:#d7172e;--gold:#f7d474;--ink:#101321;--paper:#f7f4ec;--fb:#1877f2;--zalo:#0068ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;color:white;background:#0d1427;font-family:'Be Vietnam Pro',sans-serif;overflow-x:hidden}
button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
img{max-width:100%}

/* thanh menu */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,95px);background:linear-gradient(#080e1be8,#070e1dbb);border-bottom:1px solid #ffffff29;backdrop-filter:blur(12px)}
.nav.solid{background:#080e1bf2}
.brand{font-family:Oswald,sans-serif;font-size:25px;font-weight:700;letter-spacing:.07em;line-height:1;display:flex;flex-direction:column}
.brand span{display:block;font-size:11px;letter-spacing:.43em;color:#f0c65e;margin-top:8px}
.brand-logo{display:block;width:auto;max-width:220px;object-fit:contain}
.links{display:flex;gap:32px;align-items:center}
.links a{font-size:13px;font-weight:800;transition:.2s}
.links a:hover,.links a.active{color:var(--gold)}
.navright{display:flex;align-items:center;gap:15px}
.mini{padding:12px 23px;background:linear-gradient(130deg,#e93b42,#aa1029);font-weight:900;font-size:12px;box-shadow:0 4px 0 #5e0a19;white-space:nowrap}
.hamb{display:none;border:0;background:none;color:white;font-size:26px}

/* banner đầu trang */
.hero{height:100vh;min-height:750px;position:relative;overflow:hidden;background:#091523}
.hero-bg{position:absolute;inset:0;background-position:center 45%;background-size:cover;transform:scale(1.05);transition:background-image .4s,transform 8s linear;animation:zoom 16s ease-in-out infinite alternate}
.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071020ed 0%,#0710209e 31%,transparent 72%),linear-gradient(0deg,#111b30 0%,transparent 45%),linear-gradient(180deg,#070e17a8 0%,transparent 35%)}
@keyframes zoom{from{transform:scale(1)}to{transform:scale(1.13)}}
.hero-content{position:absolute;z-index:2;top:51%;transform:translateY(-50%);left:clamp(24px,8vw,165px);max-width:670px}
.eyebrow{font-family:Oswald;letter-spacing:.5em;font-size:15px;color:#efc768}
.hero h1{font-family:Oswald,'Be Vietnam Pro';font-weight:700;font-size:clamp(68px,8.1vw,147px);line-height:.92;margin:25px 0;text-shadow:0 6px 18px #070c13aa}
.hero h1 em{font-style:normal;color:#ffc960;display:block}
.hero p{font-size:15px;max-width:530px;line-height:2;color:#e8e9ef;font-weight:500}
.hero-actions{display:flex;gap:15px;align-items:center;margin-top:37px;flex-wrap:wrap}
.btn{border:0;padding:18px 30px;font-weight:900;font-size:14px;letter-spacing:.06em;transition:transform .2s,filter .2s;display:inline-flex;align-items:center;gap:12px}
.btn:hover{transform:translateY(-3px);filter:brightness(1.1)}
.btn-red{background:#dc1d36;color:white;box-shadow:6px 6px 0 #8e1222}
.btn-ghost{background:#ffffff16;color:white;border:1px solid #fff9}
.btn-dark{background:#151b2b;color:white;box-shadow:6px 6px 0 #c91d37}
.hero-indicator{position:absolute;z-index:3;bottom:75px;left:clamp(24px,8vw,165px);display:flex;gap:18px;align-items:center}
.dot{height:3px;width:38px;background:#ffffff7a;border:0;padding:0;transition:width .3s}
.dot.active{background:#ffd37a;width:70px}
.vertical{position:absolute;right:43px;top:41%;writing-mode:vertical-rl;letter-spacing:.4em;font-family:Oswald;font-size:12px;z-index:3;opacity:.8}
.down{position:absolute;bottom:38px;right:9%;font-size:12px;letter-spacing:.25em;z-index:3}

/* khung mục */
.section{position:relative;overflow:hidden;padding:110px max(7vw,28px)}
.heading{text-align:center;position:relative;z-index:2;margin:0 auto 56px}
.heading small{font-family:Oswald;letter-spacing:.55em;font-size:14px;color:#dd2341}
.heading h2,.heading h1{font-family:Oswald,sans-serif;font-size:clamp(45px,5.5vw,75px);margin:13px 0 7px;line-height:1.15}
.heading .line{width:90px;height:4px;background:#d9193b;margin:20px auto}
.heading p{font-size:13px;color:#707787}
.empty{text-align:center;color:#8a90a0}
.more{text-align:center;margin-top:46px}

/* tin tức */
.news{background:#f5f3ed;color:#151b2b}
.newsGrid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:22px;max-width:1390px;margin:auto}
.newsGrid.n1{grid-template-columns:1fr;max-width:1000px}
.newsGrid.n2{grid-template-columns:1.5fr 1fr}
.newsGrid.n5 .newsCard:first-child{grid-row:span 2}
.newsGrid.n4 .newsCard:first-child,.newsGrid.n7 .newsCard:first-child{grid-row:span 2}
.newsCard{position:relative;display:block;min-height:350px;overflow:hidden;box-shadow:0 10px 35px #15223b24;cursor:pointer;background:#131b2d}
.newsCard img,.newsCard .noimg{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .5s}
.newsCard .noimg{background:linear-gradient(135deg,#1c2a45,#7c0920)}
.newsCard:hover img{transform:scale(1.08)}
.newsCard:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#030613ea,transparent 70%)}
.newsCard .txt{position:absolute;z-index:2;bottom:25px;left:23px;right:23px;color:white}
.newsCard time{display:block;font-size:12px;color:#c9cfdb;margin-top:8px}
.chip{background:#c91d37;font-size:10px;font-weight:900;padding:7px 11px;display:inline-block;color:white;letter-spacing:.05em}
.newsCard h3{font-weight:900;font-size:20px;line-height:1.5;margin:14px 0 0}

/* nhân vật */
.characters{min-height:840px;background:radial-gradient(ellipse at 63% 40%,#324768 0%,#111827 50%,#080e1b 100%);padding-bottom:100px}
.characters:before{content:attr(data-watermark);font-family:Oswald;font-weight:700;position:absolute;top:260px;left:3%;font-size:24vw;color:#ffffff07;pointer-events:none;white-space:nowrap}
.character-wrap{max-width:1300px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center;position:relative}
.character-portrait{height:460px;position:relative;overflow:hidden;border:1px solid #ffffff20;background:#16263d}
.character-portrait img{width:100%;height:100%;object-fit:cover;transition:opacity .25s}
.character-portrait:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 120px #071020a9;pointer-events:none}
.character-info{padding:20px 4vw}
.char-index{font-family:Oswald;font-size:19px;color:#ffcd66;letter-spacing:.28em}
.character-info h3{font-family:Oswald;font-size:clamp(52px,5vw,86px);margin:12px 0 14px;line-height:1}
.character-info .job{color:#ffca68;font-size:14px;letter-spacing:.15em;font-weight:800}
.character-info p{line-height:2.1;color:#bfc8d9;font-size:14px;max-width:490px}
.character-tabs{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.char-tab{background:#141e2d;color:#a6b2c5;border:1px solid #39435a;padding:13px 19px;font-weight:800}
.char-tab.active{background:#c92239;border-color:#ee4052;color:white}

/* đặc sắc */
.features{background:#11182b}
.featureGrid{max-width:1340px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.featureGrid.f1{grid-template-columns:1fr;max-width:900px}
.featureGrid.f2{grid-template-columns:1fr 1fr}
.featureGrid.f4{grid-template-columns:repeat(4,1fr)}
.feature{height:510px;position:relative;overflow:hidden;border:1px solid #fff2;background:#16263d}
.feature img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.feature:hover img{transform:scale(1.08)}
.feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#070a15f5,transparent 70%)}
.feature .text{position:absolute;bottom:37px;left:28px;right:24px;z-index:2}
.feature .num{font-family:Oswald;font-size:50px;color:#ffd46b;opacity:.8}
.feature h3{font-size:28px;font-weight:900;margin:4px 0 12px}
.feature p{font-size:13px;color:#e3e6ec;line-height:1.8}

/* video */
.video{background:#f5f3ed;color:#101b2b}
.video-box{max-width:1260px;margin:auto;position:relative;aspect-ratio:16/7;overflow:hidden;cursor:pointer;background:#101a27}
.video-box img{width:100%;height:100%;object-fit:cover;filter:brightness(.64)}
.play{position:absolute;inset:0;margin:auto;width:95px;height:95px;border-radius:50%;border:2px solid white;display:grid;place-items:center;color:white;font-size:32px;background:#d51e35b8;box-shadow:0 0 0 13px #ffffff20;transition:transform .2s}
.video-box:hover .play{transform:scale(1.15)}

/* tải game */
.download{position:relative;text-align:center;background:linear-gradient(135deg,#7c0920,#d22e38 55%,#931023);padding:95px 20px}
.download>small{letter-spacing:.5em}
.download h2{font-family:Oswald;font-size:clamp(45px,6vw,85px);margin:0 0 15px}
.download p{opacity:.88}
.platforms{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin:34px 0}
.platforms a{background:#141b2d;padding:18px 36px;font-weight:900;border:1px solid #fff7;display:inline-flex;gap:10px;align-items:center;transition:transform .2s,background .2s}
.platforms a:hover{transform:translateY(-3px);background:#1d2740}

/* mạng xã hội */
.social-row{display:flex;justify-content:center;gap:12px;margin:0 0 18px}
.soc{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ffffff14;border:1px solid #ffffff30;color:white;transition:transform .2s,background .2s}
.soc svg{width:22px;height:22px}
.soc:hover{transform:translateY(-3px)}
.soc-facebook:hover{background:var(--fb)}.soc-zalo:hover{background:var(--zalo)}.soc-youtube:hover{background:#e62117}.soc-tiktok:hover{background:#111}.soc-discord:hover{background:#5865f2}
.download .social-row{margin-top:8px}

.footer{padding:45px 25px;background:#090d19;text-align:center;color:#9ba1b3;font-size:12px;line-height:2}
.footer b{color:#fff}

/* hộp thoại trailer / thông báo nhỏ */
.modal{position:fixed;inset:0;z-index:150;background:#050813df;display:flex;align-items:center;justify-content:center;padding:20px}
.modal[hidden]{display:none}
.modal-body{width:min(850px,100%);background:#101827;border:1px solid #7c8194;padding:45px 30px;text-align:center;position:relative;max-height:calc(100vh - 40px);overflow:auto}
.modal-body.has-media{padding:44px 14px 14px;width:min(1100px,100%)}
.modal-body.has-media h3,.modal-body.has-media p,.modal-body.has-media .btn{display:none}
.modal-close{position:absolute;top:4px;right:13px;background:none;border:0;color:white;font-size:30px;line-height:1.2}
.modal-body h3{font-family:Oswald;font-size:36px;margin:0 0 10px}
.modal-body p{color:#bac2d1;line-height:1.8}
.modal-media{position:relative;aspect-ratio:16/9;background:#000}
.modal-media iframe,.modal-media video{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ── popup thông báo lần đầu ── */
.pop{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:18px;background:#040710cc;backdrop-filter:blur(3px);animation:popFade .3s ease}
.pop[hidden]{display:none}
.pop-card{position:relative;width:min(470px,100%);max-height:calc(100vh - 36px);overflow:auto;background:linear-gradient(180deg,#152038,#0d1427);border:1px solid #ffffff2e;border-top:4px solid var(--red);box-shadow:0 30px 80px #000a,0 0 0 1px #00000040;animation:popIn .38s cubic-bezier(.2,1.3,.4,1)}
.pop-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.pop-body{padding:28px 28px 20px;text-align:center}
.pop-body small{font-family:Oswald;letter-spacing:.45em;font-size:12px;color:#ffcd66}
.pop-body h3{font-family:Oswald;font-size:30px;line-height:1.2;margin:8px 0 12px}
.pop-text{color:#c8cfdc;font-size:14px;line-height:1.8}
.pop-btns{display:flex;flex-direction:column;gap:11px;margin-top:22px}
.pbtn{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px;font-weight:900;font-size:14px;letter-spacing:.04em;color:white;transition:transform .15s,filter .15s;background:#dc1d36;box-shadow:0 4px 0 #0005}
.pbtn:hover{transform:translateY(-2px);filter:brightness(1.12)}
.pbtn i{display:grid;place-items:center;width:24px;height:24px}
.pbtn svg{width:24px;height:24px}
.pbtn-facebook{background:var(--fb)}
.pbtn-zalo{background:var(--zalo)}
.pbtn-ghost{background:#ffffff14;border:1px solid #fff8;box-shadow:none}
.pbtn-gold{background:linear-gradient(130deg,#ffd77a,#e6a93a);color:#2a1a00}
.pop-x{position:absolute;top:8px;right:10px;z-index:2;width:34px;height:34px;border-radius:50%;border:0;background:#0009;color:white;font-size:22px;line-height:1}
.pop-later{margin-top:14px;background:none;border:0;color:#8f98aa;font-size:12px;text-decoration:underline}
@keyframes popFade{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}

/* nút Fanpage/Zalo nổi */
.float-social{position:fixed;right:18px;bottom:22px;z-index:60;display:flex;flex-direction:column;gap:10px}
.fs{display:flex;align-items:center;gap:0;height:50px;min-width:50px;border-radius:25px;color:white;box-shadow:0 8px 22px #0007;overflow:hidden;transition:gap .2s,padding .2s;padding:0 13px}
.fs svg{width:24px;height:24px;flex:none}
.fs span{max-width:0;overflow:hidden;white-space:nowrap;font-weight:800;font-size:13px;transition:max-width .25s}
.fs:hover{gap:8px;padding-right:18px}.fs:hover span{max-width:120px}
.fs-facebook{background:var(--fb)}
.fs-zalo{background:var(--zalo);animation:ring 2.6s infinite}
@keyframes ring{0%,100%{box-shadow:0 8px 22px #0007,0 0 0 0 #0068ff88}50%{box-shadow:0 8px 22px #0007,0 0 0 10px #0068ff00}}
.admin-pill{position:fixed;left:16px;bottom:18px;z-index:70;background:#ffd77a;color:#2a1a00;font-weight:800;font-size:13px;padding:10px 16px;border-radius:22px;box-shadow:0 8px 22px #0007}

/* trang con: danh sách tin + bài viết */
.page-head{padding:150px 20px 10px;background:#f5f3ed;color:#151b2b}
.page-head .heading{margin-bottom:0}
.news.list{padding-top:30px}
.cat-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 auto 38px;max-width:1100px}
.cat-tabs a{padding:10px 18px;border:1px solid #cfd2da;font-weight:800;font-size:12px;letter-spacing:.06em;background:white}
.cat-tabs a.active,.cat-tabs a:hover{background:#c91d37;border-color:#c91d37;color:white}
.newsList{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1390px;margin:auto}
.newsList .newsCard{min-height:320px}
.pager{display:flex;justify-content:center;gap:8px;margin-top:42px}
.pager a{min-width:42px;height:42px;display:grid;place-items:center;border:1px solid #cfd2da;font-weight:800;background:white}
.pager a.active{background:#151b2b;color:white;border-color:#151b2b}

.post-hero{position:relative;min-height:460px;display:flex;align-items:flex-end;overflow:hidden;background:#091523}
.post-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.post-hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0d1427 2%,#0d1427b0 45%,#0d142766)}
.post-hero-in{position:relative;z-index:2;width:min(1180px,100%);margin:0 auto;padding:130px max(4vw,20px) 46px}
.post-hero h1{font-size:clamp(28px,4vw,48px);line-height:1.3;margin:16px 0 12px;font-weight:900;max-width:900px}
.post-hero .meta{color:#c3cad8;font-size:13px}
.crumb{display:inline-block;font-family:Oswald;letter-spacing:.25em;font-size:13px;color:#ffcd66;margin-bottom:16px;margin-right:14px}
.draft-flag{background:#ffd77a;color:#2a1a00;font-weight:800;font-size:12px;padding:8px 12px;margin-bottom:14px;display:inline-block}
.post-wrap{width:min(1180px,100%);margin:0 auto;padding:50px max(4vw,20px) 90px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:46px;align-items:start}
.post-body{background:#f7f4ec;color:#1b2232;padding:clamp(22px,4vw,48px);font-size:16px;line-height:1.9;box-shadow:0 20px 60px #0006;overflow-wrap:break-word}
.post-body h2{font-size:26px;line-height:1.35;margin:1.6em 0 .6em;font-weight:900;border-left:5px solid #c91d37;padding-left:14px}
.post-body h3{font-size:21px;margin:1.4em 0 .5em;font-weight:800}
.post-body h4{font-size:18px;margin:1.2em 0 .4em}
.post-body p{margin:0 0 1.1em}
.post-body a{color:#c91d37;text-decoration:underline}
.post-body img{display:block;max-width:100%;height:auto;margin:1.4em auto;box-shadow:0 8px 24px #0002}
.post-body blockquote{margin:1.4em 0;padding:14px 20px;background:#ece7da;border-left:5px solid #e3a93a;font-style:italic}
.post-body ul,.post-body ol{padding-left:1.4em;margin:0 0 1.2em}
.post-body li{margin:.3em 0}
.post-body table{border-collapse:collapse;width:100%;margin:1.2em 0;font-size:14px}
.post-body td,.post-body th{border:1px solid #cfc8b6;padding:8px 10px}
.post-body .embed,.post-body iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;margin:1.4em 0;background:#000}
.post-body .embed iframe{margin:0;height:100%}
.post-body hr{border:0;border-top:2px dashed #cfc8b6;margin:2em 0}
.post-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:36px;padding-top:22px;border-top:1px solid #ddd5c3;font-size:14px}
.post-share span{font-weight:800}
.post-share a,.post-share button{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border:0;font-weight:800;font-size:13px;text-decoration:none!important}
.post-share svg{width:18px;height:18px}
.share-fb{background:var(--fb);color:white!important}
.share-copy{background:#151b2b;color:white}
.post-side{display:flex;flex-direction:column;gap:22px;position:sticky;top:110px}
.side-box{background:#141d33;border:1px solid #ffffff1c;padding:22px}
.side-box h4{font-family:Oswald;letter-spacing:.25em;font-size:15px;margin:0 0 16px;color:#ffcd66}
.community{display:flex;flex-direction:column;gap:10px}
.community h4{margin-bottom:6px}
.side-post{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:10px 0;border-top:1px solid #ffffff14;align-items:center}
.side-post:first-of-type{border-top:0}
.side-post img,.side-post .noimg{width:96px;height:62px;object-fit:cover;display:block;background:#22304d}
.side-post b{display:block;font-size:13px;line-height:1.5}
.side-post time{font-size:11px;color:#8e98ad}
.side-post:hover b{color:var(--gold)}

.nf{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:140px 20px 60px}
.nf-code{font-family:Oswald;font-size:clamp(110px,20vw,220px);line-height:1;color:#ffffff12;-webkit-text-stroke:2px #c91d37}
.nf h1{font-family:Oswald;font-size:40px;margin:10px 0}
.nf p{color:#a7afbf;margin-bottom:30px}

/* ── tài khoản game & nạp ── */
.acct{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #ffffff40;font-weight:800;font-size:12px;letter-spacing:.04em;max-width:200px;transition:background .2s,border-color .2s}
.acct span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct i{font-style:normal}
.acct:hover,.acct.on{background:#ffffff14;border-color:var(--gold);color:var(--gold)}
.acc-page{position:relative;min-height:100vh;padding:130px 18px 80px;display:flex;justify-content:center;align-items:flex-start;overflow:hidden}
.acc-bg{position:absolute;inset:0;background:#0d1427 center/cover no-repeat;filter:blur(3px) brightness(.35);transform:scale(1.06)}
.acc-bg:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,#0d142700,#0d1427 75%)}
.acc-wrap{position:relative;z-index:2;width:min(460px,100%)}
.acc-wrap.wide{width:min(860px,100%)}
.acc-card{background:linear-gradient(180deg,#152038f2,#0d1427f7);border:1px solid #ffffff26;border-top:4px solid var(--red);padding:34px clamp(20px,4vw,40px);box-shadow:0 30px 80px #000a}
.acc-card .kick{font-family:Oswald;letter-spacing:.45em;font-size:12px;color:#ffcd66}
.acc-card h1{font-family:Oswald;font-size:clamp(32px,5vw,44px);line-height:1.15;margin:8px 0 22px;word-break:break-word}
.acc-form{display:flex;flex-direction:column;gap:14px}
.acc-form .field{display:flex;flex-direction:column;gap:7px}
.acc-form .lbl{font-size:12.5px;font-weight:800;color:#c8cfdc;letter-spacing:.03em}
.acc-form input:not([type=checkbox]){width:100%;padding:13px 14px;background:#0a1020;border:1px solid #33405c;color:#fff;font:inherit;font-size:15px;outline:none;transition:border-color .2s,box-shadow .2s}
.acc-form input:focus{border-color:var(--gold);box-shadow:0 0 0 3px #f7d47426}
.acc-form .hint{color:#8f98aa;font-size:12px;line-height:1.5}
.acc-form .hint.ok{color:#7ee2a8}
.cap-row,.otp-row{display:flex;gap:8px;align-items:stretch}
.cap-img{width:190px;height:58px;object-fit:cover;background:#f4efe2;flex:none;border:1px solid #33405c}
.cap-refresh{flex:none;width:44px;border:1px solid #33405c;background:#141d33;color:#fff;font-size:20px}
.cap-row input{min-width:0;text-transform:uppercase;letter-spacing:.25em;font-weight:800}
.otp-row input{letter-spacing:.35em;font-weight:800}
.otp-row .btn{flex:none;padding:0 18px;font-size:12px;min-width:104px;justify-content:center}
.otp-row .btn:disabled{opacity:.55;transform:none;cursor:default}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#c8cfdc;line-height:1.5;cursor:pointer}
.check input{margin-top:3px;width:16px;height:16px;accent-color:var(--red);flex:none}
.btn.wide{width:100%;justify-content:center}
.btn:disabled{opacity:.6;cursor:wait;transform:none}
.form-msg{margin:0;min-height:0;font-size:13.5px;font-weight:700;line-height:1.5}
.form-msg.err{color:#ff8a8a}.form-msg.ok{color:#7ee2a8}
.acc-alt{margin:22px 0 0;text-align:center;font-size:14px;color:#c8cfdc}
.acc-alt a{color:var(--gold);font-weight:800}
.acc-note{color:#9aa3b5;font-size:13px;line-height:1.7;margin:14px 0 0}
.acc-note.small{font-size:12px}
.acc-note b{color:#fff}
.acc-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1px;background:#ffffff1a;border:1px solid #ffffff1a;margin:4px 0 22px}
.acc-info div{background:#0d1427;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.acc-info span{font-size:11.5px;color:#8f98aa;font-weight:700;letter-spacing:.04em}
.acc-info b{font-size:15px}
.mono{font-family:Consolas,monospace;letter-spacing:.02em}
.st{display:inline-block;font-style:normal;font-size:11px;font-weight:800;padding:3px 9px;border-radius:20px;white-space:nowrap}
.st-ok{background:#16a34a2e;color:#7ee2a8}.st-bad{background:#dc26262e;color:#ff9b9b}.st-wait{background:#f59e0b2e;color:#ffd27a}
.acc-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.acc-sub{margin-top:34px;padding-top:24px;border-top:1px solid #ffffff1c}
.acc-sub h2{font-family:Oswald;letter-spacing:.2em;font-size:18px;margin:0 0 14px;color:#ffcd66}
.acc-sub .acc-form{max-width:460px}
.acc-empty{color:#8f98aa;font-size:14px}
.tbl-wrap{overflow-x:auto}
.acc-table{width:100%;border-collapse:collapse;font-size:13px}
.acc-table th{text-align:left;color:#8f98aa;font-size:11.5px;padding:8px 10px;border-bottom:1px solid #ffffff26;white-space:nowrap}
.acc-table td{padding:10px;border-bottom:1px solid #ffffff12;white-space:nowrap}
.topup-acc{background:#0a1020;border:1px dashed #33405c;padding:12px 14px;font-size:13.5px;color:#c8cfdc;margin-bottom:18px}
.topup-acc b{color:#fff}.topup-acc a{color:var(--gold);text-decoration:underline}
.pk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pk{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 10px 14px;background:#0a1020;border:2px solid #2a3550;color:#fff;transition:border-color .15s,transform .15s,background .15s}
.pk:hover{border-color:#5a6a8f;transform:translateY(-2px)}
.pk.on{border-color:var(--gold);background:#1a1a10}
.pk b{font-family:Oswald;font-size:24px;letter-spacing:.02em}
.pk em{font-style:normal;font-size:12px;color:#7ee2a8;font-weight:700}
.pk span{font-weight:800;font-size:14px;color:#ffcd66}
.pk-tag{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:var(--red);font-style:normal;font-size:10px;font-weight:900;padding:3px 8px;white-space:nowrap}
.pay-method{display:flex;gap:14px;align-items:center;padding:14px 16px;border:2px solid var(--gold);background:#1a1a10}
.pay-method b{display:block;font-size:15px}
.pay-method span{font-size:12.5px;color:#c8cfdc;line-height:1.5}
.pm-ico{flex:none;width:46px;height:46px;display:grid;place-items:center;background:#fff;color:#0d1427;font-size:28px;font-weight:900}
.sum{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#ffffff1a}
.sum div{background:#0a1020;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.sum span{font-size:11.5px;color:#8f98aa;font-weight:700}
.sum b{font-family:Oswald;font-size:22px;color:#ffcd66}
.terms{background:#0a1020;border:1px solid #2a3550;font-size:13px;color:#c8cfdc}
.terms summary{cursor:pointer;padding:10px 14px;font-weight:800}
.terms div{padding:0 14px 12px;line-height:1.7}
.result{text-align:center}
.result .acc-info{text-align:left}
.result .acc-actions{justify-content:center}
.res-ico{width:74px;height:74px;border-radius:50%;margin:0 auto 6px;display:grid;place-items:center;font-size:36px;font-weight:900}
.res-ico.ok{background:#16a34a;box-shadow:0 0 0 10px #16a34a33}
.res-ico.bad{background:#dc2626;box-shadow:0 0 0 10px #dc262633}
.res-ico.wait{background:#d97706;box-shadow:0 0 0 10px #d9770633;animation:pulse 1.4s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 18px #d9770611}}

@media(max-width:950px){
  .nav{height:70px}
  .links{display:none;position:absolute;left:0;right:0;top:70px;background:#11192b;flex-direction:column;padding:24px;gap:20px}
  .links.open{display:flex}.hamb{display:block}
  .hero{min-height:690px}.hero-content{left:25px;right:20px}.hero h1{font-size:72px}
  .newsGrid,.newsGrid.n5,.newsGrid.n4,.newsGrid.n7{grid-template-columns:1fr 1fr}
  .newsCard:first-child{grid-column:1/-1;grid-row:auto!important}
  .newsList{grid-template-columns:1fr 1fr}.newsList .newsCard:first-child{grid-column:auto}
  .character-wrap{grid-template-columns:1fr}.character-info{padding:10px 0}
  .featureGrid,.featureGrid.f4{grid-template-columns:1fr 1fr}.featureGrid.f3 .feature:last-child{grid-column:1/-1;height:390px}
  .vertical{display:none}
  .post-wrap{grid-template-columns:1fr}.post-side{position:static}
  .page-head{padding-top:120px}
}
@media(max-width:560px){
  .brand{font-size:19px}.brand span{font-size:9px}.brand-logo{max-width:150px;max-height:44px}
  .mini{padding:10px 13px;font-size:10px}
  .hero{min-height:680px;height:95vh}.hero-bg{background-position:57% center}.hero-content{top:53%}.hero h1{font-size:58px}.hero p{font-size:12px}
  .eyebrow{font-size:10px;letter-spacing:.3em}.btn{padding:14px 18px;font-size:11px}
  .newsGrid,.newsGrid.n2,.newsGrid.n5,.newsGrid.n4,.newsGrid.n7,.featureGrid,.featureGrid.f2,.featureGrid.f4,.newsList{grid-template-columns:1fr}
  .newsCard:first-child,.featureGrid.f3 .feature:last-child{grid-column:auto}
  .newsCard{min-height:290px}.feature,.featureGrid.f3 .feature:last-child{height:385px}
  .section{padding:75px 20px}.character-portrait{height:300px}.character-info h3{font-size:60px}
  .hero-indicator{bottom:40px;left:25px}.down{display:none}.video-box{aspect-ratio:16/10}
  .post-hero{min-height:380px}.post-body{font-size:15px}
  .pop-body{padding:24px 20px 16px}.pop-body h3{font-size:25px}
  .float-social{right:12px;bottom:14px}.fs{height:46px;min-width:46px;padding:0 11px}
  .platforms a{padding:15px 24px}
  .acct{padding:9px 10px}.acct span{display:none}
  .navright .mini{display:none}
  .pk-grid{grid-template-columns:1fr 1fr}
  .cap-img{width:150px;height:46px}
  .acc-page{padding-top:100px}
}
@media(prefers-reduced-motion:reduce){.hero-bg{animation:none}.fs-zalo{animation:none}.pop,.pop-card{animation:none}}

/* gửi mã qua Zalo */
.otp-send svg{width:18px;height:18px;flex:none}
.otp-send.ch-zalo{background:var(--zalo);border-color:var(--zalo)}
.otp-send.ch-zalo:disabled{background:#1e3a6e;border-color:#1e3a6e}
.otp-ch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.5px;font-weight:800;color:#c8cfdc}
.otp-ch .btn{padding:10px 16px;font-size:12px}
