.video {
  width: 100%;
  height: 1080px;
  overflow: hidden;
  position: absolute;
}
.video video {
  position: absolute;
  top: 0;
  left: 0%;
  object-fit: cover;
}

.wrapper {
  background: url(../images/foot.jpg) no-repeat center bottom;
  position: relative;
}

.container {
  width: 1180px;
  margin: 0 auto;
  position: relative;
}

.servers {
    margin-top: 428px;
    height: 394px;
    display: flex;
    flex-wrap: wrap;
    padding-top: 5px;
    justify-content: center;
}
.servers a {
  display: flex;
}
.servers .server {
  width: 258px;
  height: 394px;
  margin: 0 -37px;
  transition: all 0.2s ease;
  background-repeat: no-repeat;
  background-position: 0 0;
  position: relative;
  z-index: 0;
}

.servers .maychumoi {
  width: 68px;
  height: 123px;
  margin: 0 -15px;
  transition: all 0.1s ease;
  background-repeat: no-repeat;
  background-position: 0 0;
  position: relative;
  z-index: 0;
}

.servers .server:not(:last-child) a {
  cursor: pointer;
  width: 70%;
  height: 100%;
  transform: skewX(-11deg) translateX(21%);
  z-index: 10;
  position: relative;
}				 

.servers .server.coming{
  background-image: url(../images/coming.png);
  z-index: 0;
}
/* .servers .server + .server:before {
  content: ' ';
  width: 100px;
  height: 393px;
  background: url(../images/server-space.png) no-repeat;
  position: absolute;
  top: 0;
  left: -14px;
  transition: all 0.3s ease;
} */
.servers .server.active a {
  z-index: 10;
}

.servers .server.active {
  filter: brightness(129%);
  z-index: 10;
}
.servers .server.server-hk {
  background: url(../images/sv-hk.png);
}
.servers .server.server-tl {
  background: url(../images/sv-tl.png);
}
.servers .server.server-tm {
  background: url(../images/sv-tm.png);
}
.servers .server.server-bv {
  background: url(../images/sv-bv.png);
}
.servers .server.server-ht {
  background: url(../images/sv-ht.png);
}
.servers .server .countdown{
  width: 180px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 5px #000;
  position: absolute;
  bottom: 10px;
}
.servers .server .countdown .kkc-days-text{
  margin-right: 20px;
}

.servers .server .new{
  width: 74px;
  height: 43px;
  background: url(../images/new.png) no-repeat;
  position: absolute;
  top: -2px;
  left: 64px;
  z-index: -1;
}
/* On Bottom

  bottom: -1px;
  left: 20px;
  z-index: -1;

*/

.servers .server .satnhap{
  width: 160px;
  height: 30px;
  background: url(../images/dangsatnhap.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openBV{
  width: 160px;
  height: 30px;
  background: url(../images/OpenBV.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openHD{
  width: 160px;
  height: 30px;
  background: url(../images/OpenHD.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openMV{
  width: 160px;
  height: 30px;
  background: url(../images/OpenMV.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openHK{
  width: 160px;
  height: 30px;
  background: url(../images/OpenHK.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}

.servers .server .openDV{
  width: 160px;
  height: 30px;
  background: url(../images/OpenDV.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}

.servers .server .openHN{
  width: 160px;
  height: 30px;
  background: url(../images/OpenHN.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}

.servers .server .openTL{
  width: 160px;
  height: 30px;
  background: url(../images/OpenTL.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openPH{
  width: 160px;
  height: 30px;
  background: url(../images/OpenPH.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openCT{
  width: 160px;
  height: 30px;
  background: url(../images/OpenCT.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .openAH{
  width: 160px;
  height: 30px;
  background: url(../images/OpenAH.png) no-repeat;
  position: absolute;
  top: -1px;
  left: 80px;
  z-index: -1;
}
.servers .server .event{
  width: 74px;
  height: 43px;
  background: url(../images/event.png) no-repeat;
  position: absolute;
  top: 32px;
  left: 58px;
}


#svg-servers {
  position: absolute;
  top: 398px;
  left: 0;
  z-index: 10;
}
#svg-servers polygon {
  cursor: pointer;
}

.footer {
  text-align: center;
  font-size: 14px;
  padding-bottom: 120px;
  padding-top: 40px;
}
.footer .ft1 {
/* font-weight: 700; */
  color: #d1b2fa;
}
.footer .ft2 {
  color: #d1b2fa;
}
.footer .ft3 a {
  color: #ffba00;
  text-decoration: none;
}
.footer .ft3 a:hover {
  color: #ff0;
}

.popup-wrapper {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  display: none;
}

.popup-wrapper.active {
  display: flex;
}

.popup-overlay {
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}

.popup {
  background-color: #fff;
  border-radius: 24px;
  max-width: 614px;
  overflow: hidden;
  position: absolute;
  top: 10%;
  width: 80%;
  z-index: 201;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.15), 0 1px 8px rgba(32, 33, 36, 0.08);
  outline: 2px auto #1967d2;
}

.popup:focus {
  outline: 2px auto #1967d2;
}

.popup-top {
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  padding: 12px 30px;
}

.popup-top img {
  max-width: 60px;
}

.popup-btn-close {
  background-color: #e8f0fe;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 32px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  height: 48px;
  justify-content: center;
  padding: 10px;
  width: 48px;

}

.popup-btn-close i {
  color: #1967d2;
  font-size: 50px;

}

.popup-content {
  background-color: #f8f9fa;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 30px;
}

.popup-content h2 {
  font-size: 1.85rem;
  line-height: 2.25rem;
  letter-spacing: -0.046875rem;
  margin-bottom: 1px;
  color: #111;
}

.popup-content p {
  font-size: 1.125rem;
  line-height: 1.00rem;
  letter-spacing: 0rem;
  color: #5f6368;
  margin-bottom: 18px;
  font-weight: 400;
}

p.popup-content-checkbox {
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 16px;
}

.popup-content-checkbox input {
  flex-shrink: 0;
  height: 24px;
  margin-right: unset;
  -webkit-transform: scale(1);
  transform: scale(1);
  width: 24px;
  accent-color: #1a73e8;
}

.popup-content-checkbox span {
  font-size: 0.75rem;
  line-height: 1.125rem;
  letter-spacing: 0.009375rem;
  color: #5f6368;
  font-weight: 400;
}

p.popup-text-small {
  font-size: 0.85rem;
  line-height: 1.125rem;
  letter-spacing: 0.009375rem;
  color: #5f6368;
  font-weight: 400;
  margin-bottom: 16px;
}
p.popup-text-medium {
  font-size: 1.05rem;
  line-height: 1.45rem;
  letter-spacing: 0.009375rem;
  color: #5f6368;
  font-weight: 400;
  margin-bottom: 16px;
}
p.popup-text-large {
  font-size: 1.35rem;
  line-height: 1.155rem;
  letter-spacing: 0.009375rem;
  color: #5f6368;
  font-weight: 400;
  margin-bottom: 16px;
}

.popup-btn-accept,
.btn-show-popup {
  background-color: #1a73e8;
  color: #fff;
  padding: 12px 24px;
  align-items: center;
  border-radius: 24px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  font-weight: 600;
  height: auto;
  justify-content: center;
  white-space: nowrap;
  outline: none;
  border: none;
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .popup-content {
    padding: 24px;
  }

  .popup-content h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
}



.TAT-chatwidget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}
.TAT-chatwidget.active { opacity: 1;}

.TATlivechat-text {
    background-color: #fff;
    color: #28a745;
    padding: 8px 24px 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.TATlivechat-text.hide { display: none;}
.TATlivechat-button {
    width: 60px;
    height: 60px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    margin-left: -20px;
}
.TATlivechat-button .close-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transition: transform 0.2s ease;
}
.TATlivechat-button .close-icon svg {
    width: 24px;
    height: 24px;
}

.TATlivechat-button .close-icon.show { transform: scale(1);}
.TATlivechat-button .pulsation {
    position: absolute;
    width: 68px;
    height: 68px;
    background-color: #28a745;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    animation: pulse 2s infinite;
}

.TATlivechat-button .pulsation:nth-child(2) { animation-delay: 0.5s;}
.TATlivechat-button .pulsation.stop { animation: none; }

@keyframes pulse {
    0% { transform: scale(0); opacity: 1; }
    50% { opacity: 0.5; }
    100% {transform: scale(1.3); opacity: 0; }
}
.TATlivechat-button .icons {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    overflow: hidden;
    transition: transform 0.2s ease;
}
.TATlivechat-button .icons.hide {
    transform: scale(0);
    opacity: 0;
}
.TATlivechat-button .icons-line {
    display: flex;
    position: absolute;
    top: 8px;
    left: 8px;
    transition: transform 0.5s ease-in-out;
}
.TATlivechat-button .icons-line span {
    width: 24px;
    height: 24px;
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.TATlivechat-button .icons-line span img {
    width: 24px;
    height: 24px;
}
.TATlivechat-button .icons-line span img.shake {
    animation: iconShake 0.7s ease-in-out infinite;
}

@keyframes iconShake {
    0%, 100% {transform: rotate(0deg);}
    10%,30% {transform: rotate(-10deg);}
    20%,40% {transform: rotate(10deg);}
}
.TATlivechat-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 7px;
    transform: scale(0);
    transform-origin: 80% 105%;
    transition: transform 0.2s ease-out;
}
.TATlivechat-menu.open {
    transform: scale(1);
}
.TATlivechat-menu .menu-header {
    background: #28a745;
    color: #fff;
    padding: 12px 15px;
    border-radius: 7px 7px 0 0;
    font-size: 17px;
    position: relative;
}
.TATlivechat-menu .menu-header .close-support {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.TATlivechat-menu .menu-header .close-support svg {
    width: 12px;
    height: 12px;
}
.TATlivechat-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.TATlivechat-menu .menu-list li a {
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 60px;
    position: relative;
    min-height: 44px;
    text-decoration: none;
    color: #000;
}
.TATlivechat-menu .menu-list li a:hover {
    background: #eee;
}
.TATlivechat-menu .menu-list li a span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.TATlivechat-menu .menu-list li a span img {
    width: 20px;
    height: 20px;
}
.TATlivechat-menu .menu-list li a .item-label {
    margin: 0;
}
.TATlivechat-menu .menu-list li a .item-title {
    font-size: 15px;
}
.TATlivechat-menu .menu-list li a .item-subtitle {
    font-size: 13px;
    color: #787878;
}
@media (max-width: 428px) {
    .TAT-chatwidget.open {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .TAT-chatwidget.open .TATlivechat-button {
        display: none;
    }
    .TAT-chatwidget.open .TATlivechat-text {
        display: none;
    }
    .TAT-chatwidget.open .TATlivechat-menu {
        width: 100%;
        bottom: 0;
        border-radius: 0;
    }
    .TAT-chatwidget.open .TATlivechat-menu .menu-header {
        border-radius: 0;
        padding-right: 40px;
    }
}
.option-support img {
    border-radius: 50%;
    border: 1px solid #28a745;
}
@keyframes rotateShake {
    0%, 100% {transform: rotate(0deg);}
    10%, 30% {transform: rotate(-10deg);}
    20%, 40% {transform: rotate(10deg);}
}

@keyframes borderPulse {
    0% {box-shadow: 0 0 5px #28a745;}
    50% {box-shadow: 0 0 20px #28a745;}
    100% {box-shadow: 0 0 5px #28a745;}
}
.option-support img {
    display: inline-block;
    animation: rotateShake 0.7s ease-in-out infinite, borderPulse 2s infinite;
    transition: transform 0.3s ease-in-out;
}