.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.48);
  backdrop-filter:blur(5px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  overflow:auto;
}

.server-popup{
  position:relative;
  top:90px;
  max-width:860px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(20,16,11,.97),rgba(5,8,12,.98));
  border:1px solid rgba(255,190,74,.58);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 30px 90px rgba(0,0,0,.75),
    0 0 55px rgba(255,143,23,.18);
  padding:80px 46px 36px;
  overflow:visible;
}

.server-popup::before{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(255,186,74,.22);
  border-radius:14px;
  pointer-events:none;
}

.title-plate{
  position:absolute;
  top:-20px;
  left:50%;
  transform:translateX(-50%);
  min-width:480px;
  padding:18px 42px 15px;
  text-align:center;
  background:
    linear-gradient(180deg,#3a2411,#111),
    radial-gradient(circle at center,rgba(255,198,83,.28),transparent 62%);
  border:1px solid rgba(255,193,76,.72);
  border-radius:14px;
  box-shadow:0 0 35px rgba(255,169,43,.4);
}

.title-plate::before{
   content:"";
position:absolute;
left:24px;
top:50%;
transform:translateY(-50%);
width:54px;
height:54px;
border-radius:50%;
background-image:url("https://haitacviet.online/assets/images/landing/LOGO-2025.png");
background-size:contain;
background-repeat:no-repeat;
background-position:center;
box-shadow:0 0 18px rgba(255,198,83,.45);
}

.title-plate h1{
  margin:0;
  font-size:30px;
  letter-spacing:0.5px;
  color:#ffe6a3;
  text-shadow:0 3px #6e2508,0 0 18px rgba(255,210,100,.65);
  text-transform:uppercase;
}

.title-plate span{
  display:block;
  margin-top:8px;
  font-size:13px;
  color:#ffc65b;
  font-weight:700;
  letter-spacing:1px;
}

.server-close{
  position:absolute;
  top:-22px;
  right:22px;
  width:60px;
  height:60px;
  border-radius:50%;
  border:2px solid rgba(255,218,121,.8);
  background:rgba(8,8,10,.94);
  color:#ffe0a2;
  font-size:42px;
  line-height:53px;
  cursor:pointer;
  box-shadow:0 0 20px rgba(255,184,55,.25);
  transition:.2s;
  z-index:5;
}

.server-close:hover{
  transform:scale(1.08) rotate(8deg);
  color:#fff;
  background:#9f3216;
}

.section{
  position:relative;
  z-index:2;
  margin-bottom:26px;
}

.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,190,74,.18);
}

.section-head h2{
  margin:0;
  font-size:20px;
  text-transform:uppercase;
  color:#ffe6a3;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
  letter-spacing:.5px;
}

.section-note{
  color:#9feaff;
  font-size:14px;
  font-weight:700;
padding-bottom: 5px;
}

.server-card{
  position:relative;
max-width:800px;
max-heigh:45px;
  display:grid;
  grid-template-columns:200px 1fr auto;
  gap:24px;
  align-items:center;
  padding:5px 30px;
  border-radius:14px;
  border:1px solid rgb(1 30 6 / 38%);
  background:
    linear-gradient(90deg, rgb(6 187 70 / 14%), rgba(255, 176, 50, .03)), rgb(0 24 12 / 24%);
  box-shadow:0 12px 28px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.06);
  overflow:hidden;
}

.server-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 0 38%,rgba(255,255,255,.08) 45%,transparent 52%);
  transform:translateX(-100%);
  transition:.8s;
}

.server-card:hover::after{
  transform:translateX(100%);
}

.server-icon{
  width:86px;
  height:86px;
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:48px;
  background:radial-gradient(circle at center,rgba(255,177,43,.32),rgba(0,0,0,.35));
  border:1px solid rgba(255,208,97,.45);
  box-shadow:inset 0 0 25px rgba(255,150,0,.13);
}

.server-card h3{
  margin:0 0 8px;
  font-size:25px;
  color:#fff4d2;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.server-card p{
  margin:0;
  color:#e3d8c7;
  font-size:17px;
  line-height:1.55;
}

.btn-enter{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:10px;
  border:1px solid #045647;
  background:linear-gradient(180deg, #083c16, #063c1e);
  color:white;
  font-size:16px;
  font-weight:1000;
  text-decoration:none;
  text-transform:uppercase;
  text-shadow:0 3px rgba(0,0,0,.55);
  box-shadow:0 0 26px rgba(255,148,0,.35), inset 0 1px rgba(255,255,255,.35);
  transition:.22s;
padding:6px;
  position:relative;
  z-index:3;
}

.btn-enter:hover{
  transform:translateY(-3px) scale(1.02);
  filter:brightness(1.08);
}

.server-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.server-btn{
  position:relative;
  min-height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:10px 10px;
  border-radius:10px;
  border:1px solid rgba(255,190,74,.35);
  background:linear-gradient(180deg,rgba(29,54,76,.92),rgba(7,17,27,.96));
  color:#ffe9bf;
  font-weight:1000;
  font-size:17px;
  text-decoration:none;
  box-shadow:inset 0 1px rgba(255,255,255,.05);
  transition:.2s;
  overflow:hidden;
}

.server-btn:hover{
  transform:translateY(-3px);
  border-color:#ffe08a;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.3),0 0 18px rgba(255,165,40,.18);
}

.server-btn.hot{
  background:
    linear-gradient(180deg,rgba(81,28,20,.98),rgba(23,13,12,.96));
  border-color:rgba(255,89,61,.72);
  color:#ffdfd5;
}

.badge{
  position:absolute;
  top:-1px;
  right:-1px;
  background:#f82028;
  color:#fff;
  padding:3px 8px;
  font-size:10px;
  font-weight:900;
  border-radius:0 9px 0 9px;
  text-transform:uppercase;
  box-shadow:0 4px 12px rgba(248,32,40,.35);
}

.recent .server-btn{
  background:linear-gradient(180deg,rgba(38,43,49,.92),rgba(9,17,26,.96));
  border-color:rgba(75,205,255,.28);
}

.pagination{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid rgba(255,190,74,.18);
}

.page-btn{
  min-width:98px;
  height:42px;
  border-radius:9px;
  border:1px solid rgba(255,190,74,.35);
  background:linear-gradient(180deg,rgba(28,45,62,.96),rgba(8,15,24,.96));
  color:#fff2cf;
  font-weight:900;
  cursor:pointer;
  transition:.2s;
}

.page-btn.arrows{
  min-width:54px;
  font-size:22px;
  color:#9feaff;
}

.page-btn.active,
.page-btn:hover{
  background:linear-gradient(180deg,#ffb327,#a94508);
  border-color:#ffd06d;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 0 18px rgba(255,148,0,.25);
}

.footer-note{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  flex-wrap:wrap;
  color:#ffd98a;
  font-size:15px;
  font-weight:700;
  margin-top:18px;
}

@media(max-width:900px){
  .server-popup{
    padding:76px 20px 28px;
  }
  .title-plate{
    min-width:300px;
    width:76%;
    padding:14px 18px;
  }
  .title-plate::before{
    display:none;
  }
  .title-plate h1{
    font-size:30px;
  }
  .server-card{
    grid-template-columns:1fr;
    text-align:center;
    gap:16px;
  }
  .server-icon{
    margin:auto;
  }
  .btn-enter{
    width:100%;
  }
  .server-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .overlay{
    padding-top: 0px;
    display: block;
  }
  .title-plate h1{
    font-size: 20px;
    margin: 0px 55px 0px 0px;
  }
  .server-popup{
    width:96%;
    top:90px;
  }
  .download-popup{
    width:96%;
    top:90px;
  }
  .download-close{
    z-index: 5;
    width: 40px;
    height: 40px;
    top: -16px;
    line-height: 13px;
  }
  .server-close{
    z-index: 5;
    width: 40px;
    height: 40px;
    top: -8px;
    line-height: 13px;
  }
  .menu-manage .manage-dropdown
  {
    right: 168px;
    top: -20px;
  }
  .newbtn
  {
    font-size: 20px;
  }
}