* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #02070c, #2003fc, #02070c);
  color: #e6faff;
}

/* =====================
   TOP MENU (FIX)
===================== */
.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(5,15,20,0.95);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
}

.menu-title {
  color: #00ffe0;
  font-weight: 700;
  font-size: 16px;
}

.menu-icon {
  font-size: 26px;
  background: none;
  border: none;
  color: #00ffe0;
  cursor: pointer;
}

/* ===== FIX MENU OVERLAY - BẮT BUỘC ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none !important;   /* ẨN HOÀN TOÀN */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.menu-overlay.active {
  display: flex !important;   /* CHỈ HIỆN KHI BẤM */
}

.menu-box {
  position: relative;
  background: #0d1a22;
  width: 85%;
  max-width: 320px;
  padding: 28px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,255,224,0.25);
}

.menu-box h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #00ffe0;
}

.menu-link {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: 999px;
  background: #00ffe0;
  color: #001314;
  font-weight: 700;
  text-decoration: none;
}

/* NÚT ĐÓNG */
.close-menu {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
}
/* ===== BG ===== */
.bg-animation {
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,224,0.18), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(0,180,255,0.15), transparent 45%);
  animation: bgMove 8s ease-in-out infinite;
}

@keyframes bgMove {
  0% {background-position:50% 50%}
  50% {background-position:60% 40%}
  100% {background-position:50% 50%}
}

/* ===== CONTENT ===== */
.container {
  padding: 90px 16px 20px;
}

.center-title {
  text-align: center;
  color: #00ffe0;
  font-size: 34px;
}

.center {
  text-align: center;
  opacity: 0.85;
}

/* ===== CLIENT ===== */
.client-title {
  margin: 30px 0 20px;
  text-align: center;
  color: #2fffd0;
}

.client-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.client-card {
  display: flex;
  gap: 14px;
  background: rgba(12,22,28,0.9);
  padding: 14px;
  border-radius: 14px;
  align-items: center;
}

.client-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.client-info h3 {
  margin: 0 0 8px;
}

.client-download {
  padding: 8px 16px;
  border-radius: 999px;
  background: #7fffd4;
  color: #00332b;
  font-weight: 700;
  text-decoration: none;
}

.discord-card {
  border: 1px solid #5865F2;
}

/* ===== COMMENTS ===== */
.comment-title {
  text-align: center;
  margin: 30px 0 16px;
}

.comments {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment {
  display: flex;
  gap: 10px;
  background: rgba(10,18,24,0.85);
  padding: 12px;
  border-radius: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.proof {
  margin-top: 6px;
  width: 100%;
  border-radius: 10px;
}

/* ===== FOOTER ===== */
.footer-mute {
  margin: 30px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.35;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* ===== POPUP CHÀO MỪNG ===== */
.popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.popup-box{
  width:90%;
  max-width:380px;
  background:linear-gradient(145deg,#06131a,#02080c);
  border-radius:18px;
  padding:22px 18px 20px;
  position:relative;
  color:#eaffff;
  animation:popupIn .4s ease;
}

@keyframes popupIn{
  from{opacity:0;transform:scale(.9)}
  to{opacity:1;transform:scale(1)}
}

/* Viền neon 7 màu */
.neon-border::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:20px;
  background:linear-gradient(
    270deg,
    red,orange,yellow,green,cyan,blue,purple,red
  );
  background-size:400% 400%;
  animation:neonMove 6s linear infinite;
  z-index:-1;
}
@keyframes neonMove{
  from{background-position:0% 50%}
  to{background-position:400% 50%}
}

/* Nút X */
.popup-close{
  position:absolute;
  top:10px;
  right:12px;
  background:none;
  border:none;
  color:#fff;
  font-size:20px;
  cursor:pointer;
}

/* Tiêu đề */
.popup-title{
  text-align:center;
  margin:8px 0 14px;
  color:#2fffd0;
}

/* Nội dung */
.popup-content{
  font-size:14px;
  line-height:1.6;
}
.social-list{
  padding-left:16px;
}
.social-list li{
  margin-bottom:6px;
}
.social-list a{
  color:#2fffd0;
  text-decoration:none;
  font-weight:600;
}

/* Ảnh cuối bảng */
.popup-image-bottom{
  margin-top:14px;
  display:flex;
  justify-content:center;
}
.popup-image-bottom img{
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:
    0 0 12px rgba(47,255,208,.6),
    0 0 24px rgba(47,255,208,.35);
}

/* Nút đóng */
.popup-btn{
  margin-top:16px;
  width:100%;
  padding:12px;
  border:none;
  border-radius:14px;
  background:#2fffd0;
  color:#00322c;
  font-weight:700;
  cursor:pointer;
}
