/* ================= v5: giao diện thực tế ================= */
.sw-real{position:relative;overflow:hidden;isolation:isolate;padding:104px 0 96px;color:#fff;
  background:radial-gradient(900px 460px at 90% 0,rgba(40,163,74,.26),transparent 60%),radial-gradient(800px 480px at 0 100%,rgba(58,86,158,.6),transparent 60%),linear-gradient(180deg,#132a55,#0b1834)}
.sw-real::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.5;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(ellipse at 40% 40%,#000,transparent 78%);-webkit-mask-image:radial-gradient(ellipse at 40% 40%,#000,transparent 78%)}
.sw-real .ntsx-head h2{color:#fff}
.sw-real .ntsx-head p{color:rgba(255,255,255,.74)}
.sw-real .ntsx-eyebrow{color:#7BDB95}
.sw-live-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.9fr);gap:34px;align-items:start;margin-top:14px}

.sw-live-window{border-radius:18px;overflow:hidden;background:#0a1530;border:1px solid rgba(255,255,255,.18);
  box-shadow:0 60px 110px -40px rgba(0,0,0,.8),0 0 100px -20px rgba(40,163,74,.35)}
.sw-live-tag{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7BDB95}
.sw-live-tag i{width:7px;height:7px;border-radius:50%;background:#7BDB95;animation:ntsxPulse 2s infinite}
.sw-live-shot{position:relative;background:#fff;line-height:0}
.sw-live-shot > img{width:100%;height:auto;display:block;cursor:zoom-in}

.sw-hot{position:absolute;z-index:2;transform:translate(-50%,-50%);width:34px;height:34px;border:0;padding:0;border-radius:50%;cursor:pointer;background:transparent}
.sw-hot span{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:100%;border-radius:50%;font:800 14px/1 inherit;color:#fff;background:linear-gradient(135deg,#1F8B3E,#33B85A);border:2px solid #fff;box-shadow:0 8px 20px rgba(0,0,0,.45);transition:transform .3s var(--x-ease)}
.sw-hot::before,.sw-hot::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #33B85A;opacity:0;animation:swHotPing 2.4s ease-out infinite}
.sw-hot::after{animation-delay:1.2s}
@keyframes swHotPing{0%{transform:scale(1);opacity:.9}100%{transform:scale(2.6);opacity:0}}
.sw-hot:hover span,.sw-hot.is-on span{transform:scale(1.18)}
.sw-hot.is-on span{background:linear-gradient(135deg,#ff9a3d,#ffb84d);color:#201400}
.sw-hot.is-on::before,.sw-hot.is-on::after{border-color:#ffb84d}

.sw-crops{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.sw-crop{margin:0;border-radius:16px;overflow:hidden;background:#0a1530;border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.sw-crop img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:top;cursor:zoom-in;transition:transform .8s var(--x-ease)}
.sw-crop:hover img{transform:scale(1.05)}
.sw-crop figcaption{padding:11px 16px;font-size:13px;font-weight:700;color:rgba(255,255,255,.8);border-top:1px solid rgba(255,255,255,.1)}

.sw-live-side{display:grid;gap:18px}
.sw-hot-list{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:none}
.sw-hot-item{display:flex;gap:14px;padding:16px;border-radius:16px;cursor:pointer;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);transition:background .3s,border-color .3s,transform .35s var(--x-ease)}
.sw-hot-item:hover{transform:translateX(4px);background:rgba(255,255,255,.09)}
.sw-hot-no{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(135deg,#1F8B3E,#33B85A)}
.sw-hot-item strong{display:block;font-size:15.5px;line-height:1.35;margin-bottom:4px}
.sw-hot-item p{margin:0;font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.7);max-height:0;opacity:0;overflow:hidden;transition:max-height .5s var(--x-ease),opacity .4s}
.sw-hot-item.is-on{background:linear-gradient(135deg,rgba(255,184,77,.16),rgba(255,255,255,.05));border-color:rgba(255,184,77,.55)}
.sw-hot-item.is-on .sw-hot-no{background:linear-gradient(135deg,#ff9a3d,#ffb84d);color:#201400}
.sw-hot-item.is-on p{max-height:140px;opacity:1}
.sw-live-alt{margin:0;border-radius:16px;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.2);box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.sw-live-alt img{width:100%;height:auto;display:block;cursor:zoom-in}
.sw-live-alt figcaption{padding:11px 16px;font-size:12.5px;line-height:1.45;font-weight:600;color:var(--x-ink);background:#fff}
.sw-live-box{width:min(220px,60%);height:auto;margin:6px auto 0;filter:drop-shadow(0 30px 40px rgba(0,0,0,.6));animation:swBob 7s ease-in-out infinite}

/* hero: screenshot window + box art */
.sw-box{position:absolute;z-index:3;right:-34px;bottom:-70px;width:150px;height:auto;filter:drop-shadow(0 28px 34px rgba(0,0,0,.55));animation:swBob 7s ease-in-out infinite;animation-delay:-2s;pointer-events:none}
.sw-window-body > img{cursor:default}
.sw-window .sw-window-body{aspect-ratio:873/469;background:#fff}
.sw-window .sw-window-body img{width:100%;height:100%;object-fit:cover}
.sw-window .sw-window-body::after{display:none}

/* lightbox single */
.sw-lightbox.is-single .sw-lb-prev,.sw-lightbox.is-single .sw-lb-next{display:none}
.sw-lightbox img{background:#fff}

@media (max-width:1100px){
  .sw-live-grid{grid-template-columns:1fr}
  .sw-box{right:6px;bottom:-60px;width:110px}
}
@media (max-width:640px){
  .sw-real{padding:68px 0}
  .sw-crops{grid-template-columns:1fr}
  .sw-hot{width:28px;height:28px}
  .sw-hot span{font-size:12px}
  .sw-box{display:none}
}
@media (prefers-reduced-motion:reduce){.sw-hot::before,.sw-hot::after,.sw-live-box,.sw-box{animation:none}}
