:root{
    --bg:#172b32;
    --card:#121a2a;
    --card2:#0f1626;
    --text:#eaf0ff;
    --muted:#a7b4d6;
    --line:rgba(255,255,255,.09);
    --accent:#7c5cff;
    --accent2:#23c3ff;
    --shadow: 0 12px 30px rgba(0,0,0,.35);
    --radius: 18px;
    --container: 1120px;
  }
  
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: radial-gradient(1200px 800px at 20% 10%, rgba(60, 164, 206, 0.22), transparent 60%),
                radial-gradient(1000px 700px at 90% 20%, rgba(197, 222, 231, 0.14), transparent 55%),
                var(--bg);
    color:var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  main{
    flex: 1;             /* đẩy footer xuống đáy */
  }
  a{ color:inherit; text-decoration:none; }
  .container{
    width:min(var(--container), calc(100% - 40px));
    margin:0 auto;
  }
  .fa{
    font-size: larger;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color:#081023;
    font-weight:800;
    border:0;
    cursor:pointer;
    box-shadow: var(--shadow);
  }
  .btn:hover{ transform: translateY(-1px); }
  .btn:active{ transform: translateY(0); }
  .btn-ghost{
    background: transparent;
    color: var(--text);
    border:1px solid var(--line);
    box-shadow:none;
  }
  .btn-small{ padding:10px 12px; border-radius:12px; }
  
  .badge{
    display:inline-flex;
    gap:8px;
    align-items:center;
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:999px;
    color:var(--muted);
    background: rgba(255,255,255,.03);
    width:fit-content;
  }
  
  .muted{ color: var(--muted); }
  .small{ font-size: 13px; }
  
  .section{
    padding:72px 0;
  }
  .section.alt{
    background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom: 22px;
  }
  .section-head h2{
    margin:0;
    font-size: 28px;
  }
  .section-head p{
    margin:0;
    max-width: 560px;
  }
    /* scroll button  */
    .scrollTopBtn {
      position: fixed;
      bottom: 160px;
      right: 60px;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      border: none;
      background: #eb0707;
      color: rgb(255, 255, 255);
      font-size: 18px;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    /* .scrollTopBtn:hover {
      transform: scale(1.1);
      background: #bb6219;
    } */
    
    .scrollTopBtn.show {
      display: flex;
    }
 
  .card-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:16px;
  }
  
  .card{
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
  }
  
  .card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom: 8px;
  }
  .card-title{
    font-size: 16px;
    font-weight: 800;
    margin:0;
  }
  .chip{
    padding:6px 10px;
    border-radius:999px;
    border:1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: 12px;
  }
  
  .card-desc{
    margin: 0 0 14px 0;
    color: var(--muted);
    line-height: 1.5;
  }
  .card-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }
  .link{
    display:inline-flex;
    gap:8px;
    align-items:center;
    padding:10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.02);
    font-weight: 700;
  }
  .link:hover{ border-color: rgba(255,255,255,.18); }
  
  .hint{ margin:10px 0 0 0; color: rgba(255,255,255,.6); font-size: 12px; }
  /* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 9999; /* quan trọng: nổi lên trên mọi div */
  backdrop-filter: blur(10px);
  background: rgba(11,15,26,.55);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 64px;
}

.logo{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 20px;
}

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav a{
  padding:10px 12px;
  border-radius: 12px;
  color: rgba(234,240,255,.92);
}
.nav a:hover{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding:10px;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background: rgba(234,240,255,.9);
  margin: 4px 0;
}

.mobile-nav{
  position: fixed;
  background: rgba(11,15,26,.85);
  display:none;
  border-top:1px solid var(--line);
  padding: 10px 0;
  right: 0px;
  border-bottom-left-radius:12px ;
}
.mobile-nav a{
  display:block;
  padding: 10px 20px;
  color: rgba(234,240,255,.92);
 
  
}
.mobile-nav a:not(:first-child) {
  border-top: 1px solid gray;
}
.mobile-nav a:hover{ background: rgba(255, 250, 250, 0.04); }

/* Hero */
.hero{
  padding: 72px 0 52px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
}
.hero-title{
  margin: 12px 0 10px 0;
  font-size: 44px;
  line-height: 1.05;
}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.hero-subtitle{
  margin: 0 0 16px 0;
  color: rgba(234,240,255,.80);
  line-height: 1.6;
  max-width: 620px;
}
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 8px; }

.social{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.social-label{
  font-weight: 800;
  color: rgba(234,240,255,.9);
}
.social-icons{
  display:flex;
  gap:10px;
  margin-top: 10px;
}

.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.icon-btn:hover{ border-color: rgba(255,255,255,.18); }

.hero-card{
  height: 310px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-card-top{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom: 14px;
}
.avatar{
  position: relative;
  overflow: hidden;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: #081023;
}
.hero-card-name{ margin:0; font-weight: 900;  }
.profile-img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit:cover;
}
.hero-card-mini{ margin: 2px 0 0 0; color: var(--muted); font-size: 11px; }

.stat-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 10px 0 14px 0;
}
.stat{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px;
  background: rgba(255,255,255,.02);
  text-align: center;
}
.stat-num{ margin:0; font-size: 20px; font-weight: 900; }
.stat-label{ margin: 6px 0 0 0; color: var(--muted); font-size: 12px; }
 #stat1{background-color: rgb(85, 85, 244);}
 #stat2{background-color: rgba(22, 20, 20, 0.8);
  border: 1px solid rgb(76, 45, 45);}
  #stat3{background-color: rgb(129, 10, 10)}
.hero-note{
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 12px;
  color: rgba(234,240,255,.85);
  background: rgba(0,0,0,.10);
}
/* social media icons  */
/* ===== Social icon buttons ===== */
.social-icons .icon-btn{
display:inline-flex;
align-items:center;
justify-content:center;
width: 44px;
height: 44px;
border-radius: 14px;
border: 1px solid var(--line);
background: rgba(255,255,255,.03);
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* icon size */
.social-icons .icon-btn i{
font-size: 20px;
}

/* hover chung */
.social-icons .icon-btn:hover{
transform: translateY(-2px);
border-color: rgba(255,255,255,.20);
box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

/* ===== Facebook: xanh + trắng ===== */
.icon-btn.facebook{
background: #1877F2;
border-color: rgba(255,255,255,.18);
}
.fa1:hover{
 color: #1877F2;
 /* background: #1877F2; */
 border-color: rgba(255,255,255,.18);
  }
.icon-btn.facebook i{ color: #fff; }

/* ===== TikTok: nền đen + icon trắng, viền/halo đỏ-xanh kiểu TikTok ===== */
.icon-btn.tiktok{
background: #0b0b0b;
border-color: rgba(255,255,255,.14);
}
.fa2:hover{
 color: #bf4040;
 /* background: #1877F2; */
 border-color: rgba(255,255,255,.18);
  }
.icon-btn.tiktok i{ color:#fff; }
/* tạo cảm giác “đỏ + xanh” quanh nút */
.icon-btn.tiktok:hover{
box-shadow:
  0 10px 22px rgba(0,0,0,.35),
  0 0 0 3px rgba(255, 0, 80, .22),   /* đỏ */
  0 0 0 6px rgba(0, 242, 234, .18); /* xanh */
}

/* ===== YouTube: đỏ + trắng ===== */
.icon-btn.youtube{
background: #FF0000;
border-color: rgba(255,255,255,.18);
}
.fa4:hover{
 color: #FF0000;
 /* background: #1877F2; */
 border-color: rgba(255,255,255,.18);
  }
.icon-btn.youtube i{ color:#fff; }

/* ===== Instagram: gradient hồng-đỏ-cam + trắng ===== */
.icon-btn.instagram{
background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
border-color: rgba(255,255,255,.18);
}
.fa3:hover{
 color: #d431cf;
 /* background: #1877F2; */
 border-color: rgba(255,255,255,.18);
  }
.icon-btn.instagram i{ color:#fff; }

/* Donate */
.donate{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}
.donate-box{
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.02);
}
.donate-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.donate-row:last-child{ border-bottom: 0; }
.donate-label{ color: var(--muted); }
.donate-value{ font-weight: 800; }

.qr-mock{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  padding: 16px;
  box-shadow: var(--shadow);
  max-width: 320px;
 
}
.qr-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  padding: 10px;
}
.qr-title{ margin:0 0 10px 0; font-weight: 900; }
.qr-square{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: rgba(11,15,26,.55);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  color: rgba(234,240,255,.82);
}
.footer-links{
  display:flex;
  gap: 12px;
}
.footer-links a{ color: rgba(234,240,255,.82); }
.footer-links a:hover{ color: rgba(234,240,255,.95); }

/* Responsive header/hero/donate */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 38px; }
  .donate{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .nav-toggle{ display:inline-block; }
  .mobile-nav.is-open{ display:block; }
}
  
  /* Responsive */
  @media (max-width: 980px){
    .card-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px){
    .card-grid{ grid-template-columns: 1fr; }
    .section{ padding: 54px 0; }
  }