html,
body {
  font-family: "Roboto Condensed";
  padding: 0;
  margin: 0;
  color: #a0a0a0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 50px;
}
a:hover {
  text-decoration: none;
}
a {
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  text-decoration: none;
}
:focus {
  outline: none;
}
img {
  max-width: 100%;
}
ul {
  padding: 0;
  margin: 0;
}
* {
  box-sizing: border-box;
} /*======================= Page Layout =======================*/
.list-flex {
  display: flex;
  flex-wrap: wrap;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.flex-center {
  justify-content: space-between;
}
.flex-middle {
  align-items: center;
}
.text-center {
  align-items: center;
}
#header {
  /* padding: 1.6vw 2.75vw 1.1vw; */
  background: url(../images/header-bg.jpg) no-repeat bottom center/cover;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
}
.logo {
  position: absolute;
  left: 2.75vw;
  top: 0.95vw;
}
.logo img {
    height: 5.45vw;
    margin-left: 84px;
    margin-bottom: -62px;
}
.menu-main li {
  display: inline-block;
  padding: 0 1vw;
  position: relative;
  font-size: 1.6vw;
  color: #ddcaa7;
  text-transform: uppercase;
  font-family: "UVN Thanh Pho";
}
.menu-main li:before {
  width: 1.3vw;
  height: 1.25vw;
  position: absolute;
  left: -0.65vw;
  top: 0.5vw;
  content: "";
  /* background: url(../images/icon-menu.png) no-repeat center center/100% auto; */
}
.menu-main li:first-child:before {
  display: none;
}
.hd-box {
  text-align: center;
}
.menu-main li a {
  color: #ddcaa7;
}
.menu-main li.active a,
.menu-main li a:hover {
  color: #fff3de;
}
.fv {
  background: url(../images/fv/fv-bg.png) no-repeat right bottom/cover;
  padding: 11.1vw 3.95vw 7.6vw;
}
.fv.fp-section{
  justify-content: center;
}
.fv .title img {
    height: auto;
    width: 42%;
    margin-left: 54%;
    margin-bottom: -49px;
    margin-top: -20%;
}
}
.fv .box {
  display: inline-block;
  text-align: center;
  max-width: 46.2vw;
}
.btn-list img {
  width: 239%;
  display: block;
}
.btn-list {
  gap: 1vw;
  align-items: flex-end;
  justify-content: center;
  /* margin-top: -2.95vw; */
  margin-left: 39.2vw;
}
.btn-list a {
  display: block;
}
.btn-list .singin,
.btn-list .nap {
  width:21vw;
}
.btn-list .right {
  width: 20.1vw;
  gap: 0.35vw;
}
.btn-list .right .play,
.btn-list .right .app {
  width: calc(50% - 0.175vw);
}
.characters {
  padding: 4vw 0 17.5vw;
  overflow-y: hidden;
  height: 50.1vw;
}
.text-center {
  text-align: center;
}
.section-title img {
  height: 8.85vw;
}
.characters {
  background: url(../images/figure/section2-bg.png) no-repeat top center/cover;
}
.characters-it {
  text-align: right;
  height: 100%;
}
.characters-slider {
  padding: 0 16.4vw 0 0;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
.characters-right {
  max-width: 36vw;
  display: inline-block;
  position: relative;
  top: 30%;
}
.characters-left {
  position: absolute;
  bottom: auto;
  left: 0;
  width: 50%;
  top: 10%;
}
.system {
  background: url(../images/system/bg.png) no-repeat top center/cover;
  padding: 3vw 0 3.6vw;
  overflow: hidden;
}
.system-slider {
  max-width: 58.75vw;
  margin: 2.4vw auto 0;
  position: relative;
  left: 0.5vw;
}
.system-featured {
  background: url(../images/system/slider2-bg.png) no-repeat top center/100%
    auto;
  height: 26.75vw;
  width: 100%;
  position: relative;
}
.system-featured img {
  display: block;
  position: relative;
  top: 1.1vw;
  left: 8.5%;
  width: calc(100% - 19%);
}
.system-featured:before {
  width: 7vw;
  height: 6.85vw;
  background: url(../images/system/fox.png) no-repeat center center/100% auto;
  content: "";
  position: absolute;
  left: 1.5vw;
  z-index: 3;
  bottom: 0;
}
.system-description {
  bottom: 0.35vw;
  right: 0;
  width: 48vw;
  min-height: 8.3vw;
  text-align: center;
  padding-top: 0.5vw;
}
.system-description img {
  display: inline-block;
  position: relative;
  max-width: 90%;
}
.system-description:before {
  width: 48vw;
  height: 8.3vw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  background: url(../images/system/bg-text.png) no-repeat center center/100%
    auto;
}
.system-characters {
  width: 65%;
  right: -4%;
  bottom: -14%;
}
.event {
  background: url(../images/event/bg.png) no-repeat top center/cover;
  padding: 4vw 0 5.8vw;
  overflow: hidden;
}
.event-content {
  position: relative;
  max-width: 55.35vw;
  margin: 1.2vw auto 0;
  left: -0.7vw;
}
.event-content img {
  display: inline-block;
}
.character1 {
  width: 31%;
  left: 0%;
  top: 12%;
}
.character2 {
  width: 24.7%;
  right: 7.6%;
  bottom: -5%;
  z-index: 2;
}
#footer {
  background: #0e0e0e;
  padding: 4vw 0 4.75vw;
}
#footer .container {
  max-width: 73.25vw;
  padding: 0 1vw;
  margin: 0 auto;
}
.ft-logo img {
  width: 13.6vw;
  display: block;
}
.ft-information {
  padding-left: 0;
}
.ft-information p {
  font-size: 1.35vw;
  color: #a0a0a0;
  margin-bottom: 0.15vw;
  line-height: 1.6;
}
.ft-information p:last-child {
  margin-bottom: 0;
}
.characters-for {
  right: 13.75vw;
  bottom: 4vw;
  /*  max-width: 38vw;*/
}
.characters-for .slick-track {
  width: auto; 
  display: flex; 
  justify-content: center; 
}
.characters-for .slick-slide{
  float: none; 
}
.characters-for .characters-avata {
  display: inline-block;
  width: 8vw;
  cursor: pointer;
  background: url(../images/figure/avata-bg2.png) no-repeat center center/cover;
  padding: 0.6vw;
  height: 8.05vw;
  border-radius: 50%;
}
.characters-for .characters-avata img {
  display: block;
  height: 100%;
  width: 100%;
}
.characters-slider .slick-list,
.characters-slider .slick-track {
  height: 100%;
}
.characters2 {
  width: 77%;
  left: 3%;
  top: 15%;
}
.section-title {
  position: relative;
  z-index: 2;
}
.characters4 {
  top: auto;
  bottom: 0;
  left: 6%;
}
.characters-right {
  max-width: 35vw;
}
.characters3 {
  top: 16%;
}
.slick-arrow {
  width: 8.5vw;
  height: 20.5vw;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  z-index: 5;
  background-color: transparent;
  border: none;
  font-size: 0;
  position: absolute;
  top: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  margin-top: -2vw;
}
.slick-arrow:before {
  display: none;
}
.slick-prev,
.slick-prev:hover {
  background-image: url(../images/system/prev.png);
  left: -8%;
}
.slick-next,
.slick-next:hover {
  background-image: url(../images/system/next.png);
  right: -6%;
}
.slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35vw;
  gap: 2.2vw;
}
.slick-dots li button {
  display: none;
}
.slick-dots li {
  width: 0.95vw;
  height: 1vw;
  background: url(../images/system/dot.png) no-repeat center center/0.70vw auto;
  display: block;
  cursor: pointer;
}
.slick-dots li.slick-active {
  background-image: url(../images/system/dots-active.png);
  background-size: 0.95vw auto;
}
.characters-avata-box {
  padding: 1vw;
  margin: 0 -0.25vw;
}
.characters-for .characters-avata-box.slick-current {
  position: relative;
}
.characters-for .characters-avata-box.slick-current:before {
  width: 100%;
  height: 6.95vw;
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  background: url(../images/figure/avata-hover.png) no-repeat center center/100%
    auto;
}
.characters-for .characters-avata-box.slick-current .characters-avata {
  box-shadow: 0 0 0.5vw rgba(217, 23, 29, 1), 0 0 1vw rgba(217, 23, 29, 0.7);
}
.avata-box {
  padding: 0.35vw;
  background: url(../images/figure/avata-bg1.png) no-repeat center center /
    cover;
  position: relative;
}
.ft-box {
  justify-content: space-between;
  align-items: flex-end;
}
.ft-logo {
  padding-left: 3.3vw;
}
.on-sp{
  display: none !important;
}
.btn-list a:hover{
      filter: brightness(120%);
}
.characters-it.slick-current .characters-left, .characters-it .characters-left{
  animation: slideLeft 0.5s ease-out forwards;
}
.animatedFadeInTop.delay1{
  animation: slideTop 0.5s ease-out 0.3s forwards;
  opacity: 0;
}
.animatedFadeInTop{
  animation: slideTop 0.5s ease-out forwards;
}
.animatedFadeLeft{
  animation: slideLeft 0.5s ease-out forwards;
}
.animatedFadeLeft.delay1{
  animation: slideLeft 0.5s ease-out 0.3s forwards;
  opacity: 0;
}
@keyframes slideLeft {
  0% {
    transform: translateX(20%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideTop {
  0% {
    transform: translateY(20%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideLeft {
  0% {
    transform: translateX(-10%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.move-animation .move-item{
  transition: transform 0.3s ease-out;
  will-change: transform;
  pointer-events: none; 
}
.fadeInTop {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0, 0.55, 0.45, 1);
  transform: translateY(20%);
}
.fp-section.active .fadeInTop{
  opacity: 1;
  transform: translateY(0);
}
.fadeInLeft{
  opacity: 0;
  transition: all 0.8s cubic-bezier(0, 0.55, 0.45, 1);
  transform: translateX(-20%);
}
.fp-section.active .fadeInLeft, .fp-section.active  .fadeInRight{
  opacity: 1;
  transform: translateX(0);
}
.fadeInRight{
  opacity: 0;
  transition: all 0.8s cubic-bezier(0, 0.55, 0.45, 1);
  transform: translateX(20%);
}
.section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    justify-content: flex-start;
}
.fp-watermark{
  display: none;
}
/* .fp-section:after { */
  /* height: 2.2vw; */
  /* background: url(../images/bg-bottom.jpg) repeat-x bottom center / cover; */
  /* position: absolute; */
  /* bottom: 0; */
  /* left: 0; */
  /* right: 0; */
  /* content: ""; */
/* } */
.event:after, #footer:after{
  display: none !important;
}
.scroll{
      bottom: 2vw;
      left: 0;
      right: 0;
      margin: 0 auto;
      cursor: pointer;
      z-index: 10;
      animation: bounce 1.5s ease-in infinite;
      text-align: center;
          height: 3.94vw;
}
.scroll img{
  height: 100%;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.26vw);
  }
}

.btn-list .nap img {
  width: 239%;   /* chỉnh theo ý */
}

.btn-list .singin img {
  width: 239%;   /* chỉnh riêng */
}

.menu-mobile li a img {
  height: 2vw;   /* tất cả cao bằng nhau */
  width: auto;   /* tự scale theo tỷ lệ */
  margin: 9px;
}

/* FB */
.menu-mobile li a:hover img[src*="fb.png"] {
  content: url("../images/fv/fb-hover.png");
}

/* TELE */
.menu-mobile li a:hover img[src*="tele.png"] {
  content: url("../images/fv/tele-hover.png");
}

/* HƯỚNG DẪN */
.menu-mobile li a:hover img[src*="huongdan.png"] {
  content: url("../images/fv/huongdan-hover.png");
}

/* HỖ TRỢ */
.menu-mobile li a:hover img[src*="hotro.png"] {
  content: url("../images/fv/hotro-hover.png");
}

.tele-fixed {
  position: fixed;
  top: 3vw;
  right: 3vw;
  z-index: 999;
  display: block;
}

/* animation lắc nhẹ */
@keyframes floatShake {
  0%   { transform: rotate(0deg) translateY(0); }
  25%  { transform: rotate(2deg) translateY(-4px); }
  50%  { transform: rotate(0deg) translateY(0); }
  75%  { transform: rotate(-2deg) translateY(-4px); }
  100% { transform: rotate(0deg) translateY(0); }
}

.tele-fixed img {
  width: 16vw;
  height: auto;
  transition: all 0.3s ease;
  animation: floatShake 2.5s ease-in-out infinite;
}

/* hover: đổi ảnh + zoom + dừng lắc */
.tele-fixed:hover img {
  content: url("../images/fv/Popup-Tele-hover.png"); /* sửa đúng path */
  transform: scale(1.1);
  animation: none;
}

@media (max-width: 768px) {
  .logo img {
    height: 10vw;     /* chỉnh size mobile */
    margin-left: 7px;   /* reset nếu lệch */
    margin-bottom: -87px; /* bỏ âm nếu có */
  }
}

@media (max-width: 768px) {
  .fv {
    background: url("../images/fv/sp-fv-bg.png") no-repeat center top;
    background-size: cover;
    height: 100dvh;
    width: 100vw;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .section {
    height: auto;
    min-height: 100dvh;
  }
}

@media (max-width: 768px) {
  .fv .title {
    position: absolute;
    bottom: 22%;   /* chỉnh vị trí tại đây */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }

  .fv .title img {
    width: 85%;
    /* margin: 0; */
	margin-left: -122%;
	margin-bottom: -26%;
  }
}
@media (max-width: 768px) {
  .btn-list {
    position: absolute;
    bottom: 6%;   /* hạ thấp hơn chút */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3vw;
  }
}

  .btn-list img {
    width: 38vw;
  }
}
@media (max-width: 768px) {
  .logo img {
    height: 10vw;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .menu-mobile li a img {
    height: 9vw;
  }
}
@media (max-width: 768px) {
  .tele-fixed {
    position: absolute;
    top: 63%;              /* ⬇️ hạ xuống (từ 45% → 52%) */
    right: 0vw;
    transform: translateY(-50%);
  }

  .tele-fixed img {
    width: 40vw;           /* ⬆️ to hơn (từ 28vw → 32vw) */
    margin: 0;
  }
}

@media (max-width: 768px) {
  #header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .logo img {
    height: 9vw;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .btn-list {
    display: flex;
    justify-content: center;
    gap: 2vw;

    width: 100vw;
    left: 50%;
    transform: translateX(-50%) scale(2); /* 👈 gấp đôi */
    transform-origin: center;
  }

  .btn-list img {
    width: 48vw; /* giữ nguyên base */
  }
}

@media (max-width: 768px) {

  .menu-main.on-sp ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw; /* khoảng cách giữa icon */
  }

  .menu-main.on-sp li {
    display: block; /* bỏ inline-block */
    padding: 0;
  }

  .on-sp a {
    display: block;
  }

  .on-sp img {
    height: 8vw;   /* ⬆️ to hơn nữa */
    width: auto;
  }

}
@media (max-width: 768px) {
  .btn-list a img {
    transform: scaleY(1.2); /* ⬆️ cao hơn 10% */
  }
}

/* ================= IPAD / TABLET ================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* HEADER */
  .logo img {
    height: 6vw;
    margin-left: 2vw;
    margin-top: 1vw;
  }

  .menu-main li {
    font-size: 2vw;
    padding: 0 1.5vw;
  }

  /* TITLE */
  .fv .title img {
    width: 55%;
    margin-left: 40%;
    margin-top: -10%;
  }

  /* BUTTON */
  .btn-list {
    margin-left: 25vw;
    gap: 2vw;
  }

  .btn-list img {
    width: 140%;
  }

  /* TELE FLOAT */
  .tele-fixed {
    top: 20%;
    right: 2vw;
  }

  .tele-fixed img {
    width: 18vw;
  }

  /* CHARACTER */
  .characters {
    height: auto;
    padding: 6vw 0 10vw;
  }

  .characters-right {
    max-width: 45vw;
  }

  .characters-left {
    width: 55%;
  }

  /* SYSTEM */
  .system-featured {
    height: 32vw;
  }

  .system-description {
    width: 60vw;
  }

  /* FOOTER */
  .ft-information p {
    font-size: 1.8vw;
  }
}
.download-popup{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.popup-box{
  background:#111;
  padding:25px;
  border-radius:12px;
  width:320px;
  text-align:center;
  color:#fff;
}

.device-box{
  display:none;
}

.btn-download{
  display:inline-block;
  margin:10px 0;
  padding:10px 20px;
  background:#ffcc00;
  color:#000;
  border-radius:8px;
  font-weight:bold;
}

.guide{
  font-size:13px;
  color:#ccc;
}

.close-btn{
  margin-top:15px;
  padding:6px 12px;
  background:transparent;
  border:1px solid #fff;
  color:#fff;
  cursor:pointer;
}