/* Landing 2018 dung lai - port tu WebLanding/assets/css/landing.css (khong sua bo cuc).
   Chi doi duy nhat mot thu: duong dan anh trong cac khai bao url() da doi tu duong dan tuong
   doi cua ban roi sang /static/img/landing/... cho khop cho mount static cua Express
   (app.js: /static -> public/static).
   File nay CHI nap o trang /landing-page (views/landing.ejs), khong dung chung voi css.css cua
   khung demo - landing co reset rieng (* {margin:0}) se pha bo cuc Bootstrap neu nap chung. */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:#111}
body{font-family:Arial,Helvetica,sans-serif;background:#111;color:#fff;min-width:1000px;overflow-x:hidden}
button,a{font:inherit}
button{border:0;background:transparent;cursor:pointer}
a{text-decoration:none;color:inherit}
img{border:0;vertical-align:middle;max-width:none}
.fixed{position:fixed}.spr{background:url(/static/img/landing/sprite.png) no-repeat}.btnP3{background:url(/static/img/landing/btnP3.png) no-repeat}.btnP4{background:url(/static/img/landing/btnP4.png) no-repeat}.icons{background:url(/static/img/landing/icons.png) no-repeat}
.fixCen{width:1000px;margin:0 auto;position:relative;z-index:1;height:100%}
.wrapper{width:100%;background:url(/static/img/landing/bg1.jpg) center top no-repeat;background-size:1920px 4842px}
.page-content{position:relative;width:100%;height:960px}
.first-page{height:1000px}.second-page{padding-top:170px}.third-page{padding-top:190px}.forth-page{padding-top:200px}.fifth-page{height:940px;padding-top:280px}

.age-warning{position:fixed;left:0;top:0;z-index:20;width:145px;height:90px;background:#050505;color:#fff;display:grid;grid-template-columns:65px 80px;grid-template-rows:70px 20px;font-weight:800;box-shadow:0 0 0 1px rgba(255,255,255,.05)}
.age-big{font-family:Arial Black,Impact,sans-serif;font-size:48px;line-height:64px;letter-spacing:-4px;text-align:center}.age-big span{font-size:22px;vertical-align:top;margin-left:2px;letter-spacing:0}.age-copy{font-size:10px;line-height:14px;padding-top:7px}.age-bottom{grid-column:1/3;border-top:1px solid #222;font-size:9px;line-height:19px;text-align:center}

.box-right{background:url(/static/img/landing/box-right.png) no-repeat;width:169px;height:358px;top:50%;right:0;margin-top:-179px;padding:35px 0 0 24px;z-index:15}
.box-right a{display:block;width:119px;height:43px;margin-bottom:4px}.box-right a span{opacity:0;display:block;width:100%;height:100%;transition:opacity .25s}.box-right a:hover span{opacity:1}
.box-right .home-btn{background-position:0 -108px}.box-right .home-btn span{background-position:-125px -108px}.box-right .group-btn{background-position:0 -155px}.box-right .group-btn span{background-position:-125px -155px}.box-right .fanpage-btn{background-position:0 -202px}.box-right .fanpage-btn span{background-position:-125px -202px}.box-right .download-btn{background-position:0 -249px}.box-right .download-btn span{background-position:-125px -249px}.box-right .qrcode{width:104px;height:104px;margin:12px 0 0 9px;object-fit:cover}

.menuTop{display:flex;justify-content:flex-end;align-items:center;width:100%;padding-top:20px}.menuTop a{width:159px;height:45px}.menuTop a span{opacity:0;display:block;width:100%;height:100%;transition:opacity .25s}.menuTop a:hover span{opacity:1}.menuTop a:first-child{background-position:0 0}.menuTop a:first-child span{background-position:0 -51px}.menuTop a:nth-child(2){background-position:-166px 0}.menuTop a:nth-child(2) span{background-position:-166px -51px}
.logo-wrap{margin:0}.logogame{display:block;width:350px;height:150px;margin-top:-40px;position:relative;z-index:10}.logogame img{width:350px;height:150px}
.first-page .play-btn{background:url(/static/img/landing/video.png) no-repeat;width:86px;height:99px;display:block;position:absolute;right:370px;top:370px;animation:pulse 1.6s ease-in-out infinite}
.first-page .btn-taigame{background:url(/static/img/landing/btn.png) no-repeat;width:259px;height:92px;display:block;margin:570px auto 0}.first-page .btn-taigame span{background:url(/static/img/landing/btn-hv.png) no-repeat;opacity:0;display:block;width:100%;height:100%;transition:opacity .25s}.first-page .btn-taigame:hover span{opacity:1}
@keyframes pulse{50%{transform:scale(1.08)}}

.tabs-img{background:url(/static/img/landing/img_submit.png) no-repeat center top;width:1000px;height:676px;position:relative;margin:auto;display:flex;justify-content:space-between}.feature-hit{display:block;width:19%;height:100%;position:relative;z-index:2}.feature-hit:hover{background:rgba(255,255,255,.03)}

.third-page .tabs{width:740px;margin:auto;display:flex;justify-content:space-between}.third-page .tabs button{width:141px;height:73px;display:block}.third-page .tabs button span{opacity:0;display:block;width:100%;height:100%;transition:opacity .2s}.third-page .tabs button.active span,.third-page .tabs button:hover span{opacity:1}
.third-page .tabs .btn1{background-position:0 0}.third-page .tabs .btn1 span{background-position:2px -78px}.third-page .tabs .btn2{background-position:-150px 0}.third-page .tabs .btn2 span{background-position:-148px -78px}.third-page .tabs .btn3{background-position:-300px 0}.third-page .tabs .btn3 span{background-position:-298px -78px}.third-page .tabs .btn4{background-position:-450px 0}.third-page .tabs .btn4 span{background-position:-448px -78px}.third-page .tabs .btn5{background-position:-600px 0}.third-page .tabs .btn5 span{background-position:-598px -78px}
.charContent{width:100%;margin-top:90px;position:relative;display:none}.charContent.active{display:block}.charContent .icon-group{position:absolute;top:0;left:0;width:140px}.charContent .icon-group button{width:89px;height:101px;display:block;margin:0 auto 10px}.charContent .icon-group button span{opacity:0;display:block;width:100%;height:100%;transition:opacity .2s}.charContent .icon-group button.active span,.charContent .icon-group button:hover span{opacity:1}
.charContent .icon-group .icon1{background-position:-1px -45px}.charContent .icon-group .icon1 span{background-position:-1px -45px}.charContent .icon-group .icon2{background-position:-101px -110px}.charContent .icon-group .icon2 span{background-position:-195px -110px}.charContent .icon-group .icon3{background-position:-101px -1px}.charContent .icon-group .icon3 span{background-position:-195px -1px}.charContent .icon-group .icon4{background-position:-381px 0}.charContent .icon-group .icon4 span{background-position:-287px -1px}.charContent .icon-group .icon5{background-position:-381px -109px}.charContent .icon-group .icon5 span{background-position:-287px -109px}.charContent .icon-group .icon6{background-position:-475px -109px}.charContent .icon-group .icon6 span{background-position:-568px -109px}.charContent .icon-group .icon7{background-position:-475px 0}.charContent .icon-group .icon7 span{background-position:-568px 0}.charContent .icon-group .icon8{background-position:-661px 0}.charContent .icon-group .icon8 span{background-position:-754px 0}.charContent .icon-group .icon9{background-position:-661px -109px}.charContent .icon-group .icon9 span{background-position:-754px -109px}
.charContent .info{background:url(/static/img/landing/pop-bg.png) no-repeat;width:676px;height:431px;padding:63px 0 0 60px;position:absolute;left:140px;top:0}.charContent .info img{max-width:460px}.charContent .char{width:530px;height:665px;position:absolute;top:-70px;right:-100px}.charContent .nv{display:none}.charContent .nv.active{display:block}.charContent .nv6 .char,.charContent .nv7 .char{right:-160px}.charContent .nv3 .char{right:0}.charContent .nv5 .char{right:-50px}.info-fallback{color:#222;padding-right:230px!important}.info-fallback h2{font-size:36px;color:#b1251f;margin:0 0 24px;font-weight:900}.info-fallback p{font-size:16px;line-height:1.6;margin:8px 0}

.forth-page .process{background:url(/static/img/landing/line-baodanh.png) no-repeat;width:510px;height:728px;position:absolute;right:100px;top:20px}.process .register-btn{width:258px;height:258px;position:absolute;bottom:41px;left:163px}.process .register-btn span{background:url(/static/img/landing/btn-luudanh.png) no-repeat;width:100%;height:100%;display:block;transition:transform .2s}.process .register-btn:hover span{transform:scale(1.04)}.process .contain{position:absolute;top:0;left:0;width:100%;height:100%}.process .level{display:block;position:absolute;color:#ffb102;text-align:left;font-size:16px;font-weight:700;width:190px}.process .level img{display:block;max-width:170px}.process .level strong,.process .level span{display:block}.process .level strong{font-size:22px;color:#fff;text-shadow:1px 1px 1px #7e190e;margin-top:-4px}.process .level img{clip-path:inset(0 0 32px 0);margin-bottom:-30px}.process .level span{font-size:14px;line-height:1.25;white-space:nowrap}.process .level1,.process .level3,.process .level5{left:346px}.process .level2,.process .level4{left:90px}.process .level1{top:275px}.process .level2{top:200px}.process .level3{top:110px}.process .level4{top:20px}.process .level5{top:-60px}.missing-30k{filter:hue-rotate(180deg) saturate(.8)}

/* Khoi trailer (video-bg.png + play-btn.png) da go 08/09/2026 theo yeu cau; 3 khoi tuyet doi
   duoi day keo len dung 235px = chieu cao khoi do de tat ca nhich len, khong doi khoang cach
   giua chung. Nut xem trailer van con o man hinh 1 (video.png). */
.fifth-page .icon-app{position:absolute;top:20px;left:318px}.fifth-page .downloadmobile,.fifth-page .downloadpc{position:absolute;width:193px;height:75px;left:495px}.fifth-page .downloadmobile span,.fifth-page .downloadpc span,.fifth-page .downloadnow span{opacity:0;display:block;width:100%;height:100%;transition:opacity .25s}.fifth-page .downloadmobile:hover span,.fifth-page .downloadpc:hover span,.fifth-page .downloadnow:hover span{opacity:1}.fifth-page .downloadmobile{top:17px;background-position:-1px -199px}.fifth-page .downloadmobile span{background-position:-1px -367px}.fifth-page .downloadpc{top:99px;background-position:-1px -281px}.fifth-page .downloadpc span{background-position:-1px -449px}.fifth-page .search{padding-top:200px;text-align:center}.fifth-page .downloadnow{background-position:0 0;width:259px;height:92px;display:block;margin:34px auto 0}.fifth-page .downloadnow span{background-position:0 -97px}

.modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.82);display:none;align-items:center;justify-content:center;padding:30px}.modal.open{display:flex}.modal-inner{max-width:min(1000px,90vw);max-height:90vh}.modal-inner img{max-width:90vw;max-height:86vh;border:4px solid #111;box-shadow:0 15px 60px #000}.modal-inner iframe{width:min(900px,88vw);height:min(506px,70vh);border:0;background:#000}.modal-close{position:absolute;right:30px;top:20px;color:#fff;font-size:48px;line-height:1}

@media (max-width:1250px){.box-right{transform:scale(.82);transform-origin:right center}.age-warning{transform:scale(.85);transform-origin:left top}}

/* Sasuke supplied as a complete 676x431 information panel. */
.charContent .nv4 .info{background:none;padding:0}
.charContent .nv4 .info img{width:676px;height:431px;max-width:none;display:block}

.mobile-nav{display:none}

/* Responsive rebuild: desktop remains the original layout; mobile is reorganized rather than merely scaled down. */
@media (max-width:767px){
  html{scroll-padding-bottom:68px}
  body{min-width:0;width:100%;overflow-x:hidden;background:#0c0c0c;padding-bottom:62px}
  img{max-width:100%;height:auto}
  .wrapper{background:none;width:100%;overflow:hidden}
  .fixCen{width:100%;height:100%;padding:0 12px}
  .page-content{height:auto;min-height:0;background-position:center top!important;background-repeat:no-repeat!important;background-size:cover!important;overflow:hidden}
  .first-page{height:760px;background-image:url(/static/img/landing/bg-section-1.jpg)!important}
  .second-page{height:740px;padding-top:0;background-image:url(/static/img/landing/bg-section-2.jpg)!important}
  .third-page{min-height:900px;padding-top:120px;background-image:url(/static/img/landing/bg-section-3.jpg)!important}
  .forth-page{min-height:1040px;padding-top:105px;background-image:url(/static/img/landing/bg-section-4.jpg)!important}
  .fifth-page{min-height:780px;padding-top:115px;background-image:url(/static/img/landing/bg-section-5.jpg)!important}

  .age-warning{width:78px;height:50px;grid-template-columns:35px 43px;grid-template-rows:39px 11px;transform:none;opacity:.94}
  .age-big{font-size:26px;line-height:36px;letter-spacing:-2px}.age-big span{font-size:12px}
  .age-copy{font-size:5.5px;line-height:7px;padding-top:4px}.age-bottom{font-size:5px;line-height:10px}
  .box-right,.menuTop{display:none}

  .mobile-nav{position:fixed;left:8px;right:8px;bottom:8px;height:54px;z-index:90;display:grid;grid-template-columns:repeat(4,1fr);background:rgba(24,9,10,.94);border:2px solid #8c2a23;border-radius:14px;box-shadow:0 6px 25px rgba(0,0,0,.55);backdrop-filter:blur(8px);overflow:hidden}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#fff;border-right:1px solid rgba(255,255,255,.08);font-weight:800}
  .mobile-nav a:last-child{border-right:0}.mobile-nav span{font-size:18px;line-height:18px;color:#ffb515}.mobile-nav b{font-size:10px;line-height:12px}

  .logo-wrap{text-align:center;padding-top:18px}.logogame{width:270px;height:auto;margin:0 auto;display:block}.logogame img{width:270px;height:auto}
  .first-page .play-btn{right:auto;left:50%;top:335px;transform:translateX(-50%);width:70px;height:81px;background-size:70px auto;animation:mobilePulse 1.6s ease-in-out infinite}
  @keyframes mobilePulse{50%{transform:translateX(-50%) scale(1.08)}}
  .first-page .btn-taigame{position:absolute;left:50%;bottom:34px;transform:translateX(-50%) scale(.9);margin:0}

  /* Feature cards become swipeable on phones. */
  .tabs-img{background:none;width:100%;height:100%;margin:0;display:flex;align-items:center;justify-content:flex-start;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:95px 16px 55px;scrollbar-width:none}
  .tabs-img::-webkit-scrollbar{display:none}
  .feature-hit{flex:0 0 72vw;width:72vw;max-width:285px;height:420px;border:4px solid #090909;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:0 10px 28px rgba(0,0,0,.55);scroll-snap-align:center;position:relative;clip-path:polygon(2% 0,100% 0,98% 94%,85% 96%,83% 100%,0 100%,1% 6%)}
  .feature-hit:nth-child(1){background-image:url(/static/img/landing/img1.jpg)}
  .feature-hit:nth-child(2){background-image:url(/static/img/landing/img2.jpg)}
  .feature-hit:nth-child(3){background-image:url(/static/img/landing/img3.jpg)}
  .feature-hit:nth-child(4){background-image:url(/static/img/landing/img4.jpg)}
  .feature-hit:nth-child(5){background-image:url(/static/img/landing/img5.jpg)}
  .feature-hit::after{content:counter(feature,decimal-leading-zero);counter-increment:feature;position:absolute;left:0;right:0;bottom:0;height:58px;background:linear-gradient(#a31c16,#71110e);display:grid;place-items:center;color:#fff;font-family:Impact,'Arial Black',sans-serif;font-size:34px;text-shadow:2px 2px #350704;border-top:3px solid #090909}
  .tabs-img{counter-reset:feature}

  /* Element tabs: all five fit on one row. */
  .third-page .tabs{width:370px;max-width:100%;height:46px;margin:0 auto;display:flex;justify-content:center;gap:4px;overflow:visible}
  .third-page .tabs button{width:70px;height:38px;background-size:370.5px 75.5px!important;flex:0 0 70px;border-radius:3px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
  .third-page .tabs button span{display:none}
  .third-page .tabs .btn1{background-position:0 0}.third-page .tabs .btn2{background-position:-75px 0}.third-page .tabs .btn3{background-position:-150px 0}.third-page .tabs .btn4{background-position:-225px 0}.third-page .tabs .btn5{background-position:-300px 0}
  .third-page .tabs button.active{outline:3px solid rgba(255,216,54,.92);outline-offset:1px;filter:brightness(1.16) drop-shadow(0 3px 3px rgba(0,0,0,.55))}

  .charContent{width:100%;margin-top:20px;min-height:700px;position:relative}
  .charContent .icon-group{position:relative;top:auto;left:auto;width:100%;height:80px;display:flex;align-items:center;justify-content:center;gap:12px;z-index:6}
  .charContent .icon-group button{width:65px;height:74px;margin:0;background-size:620px auto!important;transform:scale(.74);transform-origin:center}
  .charContent .nv.active{display:flex;flex-direction:column;align-items:center}
  .charContent .info{position:relative;left:auto;top:auto;width:min(94vw,520px);height:auto;aspect-ratio:676/431;background-size:100% 100%;padding:12% 7% 6%;z-index:3}
  .charContent .info img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;margin:0}
  .charContent .char,.charContent .nv3 .char,.charContent .nv5 .char,.charContent .nv6 .char,.charContent .nv7 .char{position:relative;top:auto;right:auto;width:100%;height:330px;margin-top:-42px;text-align:center;z-index:4;display:flex;justify-content:center;align-items:flex-start}
  .charContent .char img{width:auto;height:auto;max-height:350px;max-width:88vw;object-fit:contain;filter:drop-shadow(0 10px 10px rgba(0,0,0,.25))}
  .charContent .nv4 .info{width:min(94vw,520px);height:auto;aspect-ratio:676/431;padding:0;background:none}
  .charContent .nv4 .info img{width:100%;height:100%;max-width:100%;object-fit:contain}

  /* Reward milestones become readable cards instead of an absolute desktop diagram. */
  .forth-page .fixCen{padding:0 14px}
  .forth-page .process{background:none;width:100%;height:auto;position:relative;right:auto;top:auto;padding-top:15px}
  .process .contain{position:relative;display:grid;grid-template-columns:1fr;gap:9px;width:100%;height:auto}
  .process .level,.process .level1,.process .level2,.process .level3,.process .level4,.process .level5{position:relative;left:auto;top:auto;width:100%;min-height:98px;display:grid;grid-template-columns:82px 1fr;grid-template-rows:auto 1fr;column-gap:12px;align-items:center;padding:10px 12px;color:#ffd33e;background:linear-gradient(90deg,rgba(55,6,7,.88),rgba(128,17,16,.76));border:2px solid rgba(255,181,28,.8);border-radius:12px;text-align:left;box-shadow:0 6px 14px rgba(0,0,0,.28);backdrop-filter:blur(2px)}
  .process .level img{grid-column:1;grid-row:1/3;width:76px;max-width:76px;max-height:76px;object-fit:contain;margin:auto}
  .process .level strong{grid-column:2;grid-row:1;font-size:20px;margin:0;color:#fff}.process .level span{grid-column:2;grid-row:2;font-size:13px;line-height:1.35}
  .process .register-btn{position:relative;left:auto;bottom:auto;width:184px;height:184px;margin:12px auto 0;display:block}
  .process .register-btn span{background-size:184px 184px}

  /* Download area stacks naturally. */
  .fifth-page .fixCen{display:flex;flex-direction:column;align-items:center;padding:0 12px}
  .fifth-page .icon-app{position:relative;top:auto;left:auto;margin:10px auto 6px;width:105px;height:105px}.fifth-page .icon-app img{width:105px;height:105px}
  .fifth-page .downloadmobile,.fifth-page .downloadpc{position:relative;left:auto;top:auto;width:193px;height:75px;margin:-2px auto 3px;display:block}
  .fifth-page .search{margin:8px auto 0;padding-top:0;text-align:center}.fifth-page .search img{width:310px;max-width:88vw}
  .fifth-page .downloadnow{margin:14px auto 0;transform:scale(.86);transform-origin:center top}

  .modal{padding:14px}.modal-close{right:12px;top:8px;font-size:42px}.modal-inner{max-width:96vw}.modal-inner img{max-width:94vw;max-height:80vh}.modal-inner iframe{width:94vw;height:53vw;max-height:70vh}
}

@media (min-width:768px) and (max-width:1023px){
  body{min-width:768px}
  .fixCen{width:760px}
  .box-right{transform:scale(.7);transform-origin:right center}
  .tabs-img{transform:scale(.76);transform-origin:top center}
  .third-page .tabs{transform:scale(.9);transform-origin:top center}
}

/* Final mobile control polish: readable labels instead of tiny desktop sprite controls. */
@media (max-width:767px){
  .third-page .tabs{height:48px;gap:5px;padding:0 5px}
  .third-page .tabs button{position:relative;width:66px;height:38px;flex:1 1 0;background-image:none!important;border:2px solid #101010;border-radius:4px;color:#fff;font-weight:900;text-shadow:1px 1px 1px rgba(0,0,0,.65);font-size:13px;overflow:hidden}
  .third-page .tabs button::after{content:attr(aria-label);position:absolute;inset:0;display:grid;place-items:center}
  .third-page .tabs .btn1{background:#18a9c6!important}.third-page .tabs .btn2{background:#df3d2e!important}.third-page .tabs .btn3{background:#d4ae17!important}.third-page .tabs .btn4{background:#2479c9!important}.third-page .tabs .btn5{background:#c97122!important}
  .third-page .tabs button.active{outline:3px solid #ffd537;outline-offset:1px;filter:brightness(1.12)}

  .charContent .icon-group{height:58px;gap:8px}
  .charContent .icon-group button{position:relative;width:auto;min-width:96px;height:38px;margin:0;padding:0 12px;background-image:none!important;background:#151515!important;border:2px solid rgba(255,255,255,.65);border-radius:19px;transform:none;color:#fff;font-size:12px;font-weight:800;box-shadow:0 3px 8px rgba(0,0,0,.35)}
  .charContent .icon-group button::after{content:attr(aria-label);display:grid;place-items:center;position:absolute;inset:0;padding:0 8px}
  .charContent .icon-group button.active{background:#b7201e!important;border-color:#ffd239;box-shadow:0 0 0 2px rgba(0,0,0,.4)}
  .charContent .icon-group button span{display:none!important}
}


/* =========================================================
   Character / info panel harmonization (2026-09 rebuild)
   All new info-nv1..9 images are complete 676x431 panels.
   Display character PNGs are alpha-trimmed copies so each
   character scales by visible artwork instead of source canvas.
   ========================================================= */
.charContent{
  margin-top:58px;
  min-height:610px;
}
.charContent .info,
.charContent .nv4 .info{
  position:absolute;
  left:112px;
  top:38px;
  width:676px;
  height:431px;
  padding:0;
  background:none;
  z-index:2;
  filter:drop-shadow(0 9px 12px rgba(0,0,0,.16));
}
.charContent .info img,
.charContent .nv4 .info img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
}
.charContent .char,
.charContent .nv3 .char,
.charContent .nv5 .char,
.charContent .nv6 .char,
.charContent .nv7 .char{
  position:absolute;
  top:-48px;
  right:-42px;
  width:650px;
  height:610px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  z-index:3;
  pointer-events:none;
}
.charContent .char img{
  display:block;
  width:auto;
  height:auto;
  max-width:700px;
  max-height:585px;
  object-fit:contain;
  filter:drop-shadow(0 12px 10px rgba(0,0,0,.24));
}
/* Small per-character optical corrections after alpha trimming. */
.charContent .nv2 .char{right:-54px;top:-36px}
.charContent .nv3 .char{right:-38px;top:-50px}
.charContent .nv5 .char{right:-60px;top:-38px}
.charContent .nv7 .char{right:-58px;top:-34px}
.charContent .nv8 .char{right:-20px}
.charContent .nv9 .char{right:-18px}

@media (min-width:1051px){
  /* PC refinement: make character artwork a bit smaller and push it further right
     so the new info-nv panels stay fully readable. */
  .charContent .char,
  .charContent .nv2 .char,
  .charContent .nv3 .char,
  .charContent .nv5 .char,
  .charContent .nv6 .char,
  .charContent .nv7 .char,
  .charContent .nv8 .char,
  .charContent .nv9 .char{
    top:-28px;
    right:-96px;
    width:590px;
    height:590px;
  }
  .charContent .char img{
    max-width:620px;
    max-height:540px;
  }
  .charContent .nv2 .char{right:-108px;top:-18px}
  .charContent .nv3 .char{right:-92px;top:-34px}
  .charContent .nv5 .char{right:-116px;top:-20px}
  .charContent .nv7 .char{right:-114px;top:-16px}
  .charContent .nv8 .char{right:-78px;top:-28px}
  .charContent .nv9 .char{right:-74px;top:-28px}
}

/* Previous request: no fixed mobile bottom navigation. */
.mobile-nav{display:none!important}

@media (max-width:767px){
  html{scroll-padding-bottom:0}
  body{padding-bottom:0}
  .third-page{min-height:900px}
  .charContent{
    margin-top:18px;
    min-height:710px;
  }
  .charContent .nv.active{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
  }
  .charContent .info,
  .charContent .nv4 .info{
    position:relative;
    left:auto;
    top:auto;
    width:min(94vw,520px);
    height:auto;
    aspect-ratio:676/431;
    padding:0;
    margin:2px auto 0;
    background:none;
    filter:drop-shadow(0 7px 10px rgba(0,0,0,.18));
    z-index:3;
  }
  .charContent .info img,
  .charContent .nv4 .info img{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
  }
  .charContent .char,
  .charContent .nv2 .char,
  .charContent .nv3 .char,
  .charContent .nv5 .char,
  .charContent .nv6 .char,
  .charContent .nv7 .char,
  .charContent .nv8 .char,
  .charContent .nv9 .char{
    position:relative;
    top:auto;
    right:auto;
    width:100%;
    height:365px;
    margin-top:-48px;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    z-index:4;
  }
  .charContent .char img{
    width:auto;
    height:auto;
    max-height:365px;
    max-width:94vw;
    object-fit:contain;
    filter:drop-shadow(0 10px 9px rgba(0,0,0,.25));
  }
}

@media (min-width:768px) and (max-width:1050px){
  .charContent .info,
  .charContent .nv4 .info{left:120px;width:620px;height:auto;aspect-ratio:676/431}
  .charContent .char,
  .charContent .nv2 .char,
  .charContent .nv3 .char,
  .charContent .nv5 .char,
  .charContent .nv6 .char,
  .charContent .nv7 .char,
  .charContent .nv8 .char,
  .charContent .nv9 .char{right:-5px;width:560px}
  .charContent .char img{max-width:600px;max-height:560px}
}

/* =========================================================
   Dai "nha phat hanh" cuoi trang (them 08/09/2026)
   Khong co trong ban WebLanding goc. Dat o cuoi man hinh 5, dung cho nen toi cua bg1.jpg -
   chinh cho trong da lay lai tu khoi trailer da go.
   Dat tuyet doi theo .fifth-page (khong nam trong .fixCen) de dai chu luon dinh day khoi,
   khong xe dich theo chieu cao noi dung ben tren.
   ========================================================= */
.site-footer{
  position:absolute;
  left:0;
  right:0;
  bottom:34px;
  z-index:2;
  padding:0 20px;
  text-align:center;
  color:#c9d2e2;
  text-shadow:0 1px 3px rgba(0,0,0,.9);
}
.site-footer strong{
  display:block;
  font-size:17px;
  line-height:1.4;
  color:#fff;
  margin-bottom:6px;
}
.site-footer span{
  display:block;
  max-width:820px;
  margin:0 auto;
  font-size:12px;
  line-height:1.65;
}

@media (max-width:767px){
  /* Tren dien thoai .fixCen cua man hinh 5 la flex column, de dai chu chay theo dong thay vi
     ghim day - ghim day se de chong len nut "Tai Ngay" khi man hinh thap. */
  .site-footer{position:relative;bottom:auto;margin:16px auto 0;padding:0 16px 24px}
  .site-footer strong{font-size:15px;margin-bottom:5px}
  .site-footer span{font-size:11px;line-height:1.6}
}
