*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#070504;
  --panel:#140b08;
  --gold:#ffd071;
  --gold2:#ffaf32;
  --red:#8b160d;
  --green:#073f37;
  --text:#fff7e5;
  --muted:#d8c7a0;
  --line:rgba(255,208,113,.22);
}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,92vw);margin:auto}
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:20;
  background:rgba(5,4,4,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}
.header-inner{
  height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand img{height:82px;display:block}
.main-nav{display:flex;gap:38px;align-items:center}
.main-nav a{
  color:#f7dfad;
  font-weight:700;
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:.3px;
  position:relative;
}
.main-nav a:after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-12px;
  height:2px;background:var(--gold);
  transition:.2s;
}
.main-nav a:hover:after{right:0}
.menu-toggle{display:none;background:none;border:0;color:var(--gold);font-size:30px}

.hero{
  min-height:100vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:url("../images/hero-bg.jpg") center/cover no-repeat;
  padding-top:92px;
}
.hero-shade{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at center, rgba(255,202,81,.05), rgba(0,0,0,.12) 38%, rgba(0,0,0,.44) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.16) 48%, rgba(0,0,0,.70));
}
.hero-content{position:relative;z-index:2;max-width:920px}
.hero-badge{
  display:inline-block;
  padding:10px 20px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(0,0,0,.35);
  color:var(--gold);
  font-weight:700;
  margin-bottom:18px;
}
h1{
  font-size:clamp(58px,8vw,118px);
  line-height:.95;
  color:#ffe2a1;
  text-shadow:0 4px 0 #6f2a09, 0 0 30px rgba(0,0,0,.9);
}
.server-name{
  display:inline-block;
  margin:20px 0 18px;
  padding:14px 42px;
  background:linear-gradient(90deg,#7d100a,#b92212,#7d100a);
  color:#fff7dc;
  border:1px solid #f0bd66;
  box-shadow:0 12px 35px rgba(0,0,0,.45);
  font-size:clamp(24px,3vw,42px);
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
  clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%);
}
.hero p{
  max-width:760px;
  margin:0 auto 34px;
  color:#fff8e8;
  font-size:clamp(18px,2vw,25px);
  line-height:1.45;
  text-shadow:0 2px 12px #000;
}
.hero-actions{
  display:flex;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
}
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:300px;
  padding:20px 34px;
  border:2px solid rgba(255,222,139,.95);
  color:#fff3cc;
  cursor:pointer;
  transition:.18s;
  font-weight:900;
  text-align:left;
  clip-path:polygon(8% 0,92% 0,100% 50%,92% 100%,8% 100%,0 50%);
  box-shadow:
    0 18px 34px rgba(0,0,0,.55),
    inset 0 0 22px rgba(255,235,160,.18),
    inset 0 -10px 18px rgba(0,0,0,.26);
  text-shadow:0 2px 2px rgba(0,0,0,.75);
  overflow:hidden;
}
.btn:before{
  content:"";
  position:absolute;
  inset:6px 16px;
  border-top:1px solid rgba(255,240,184,.55);
  border-bottom:1px solid rgba(70,20,5,.55);
  pointer-events:none;
}
.btn:after{
  content:"";
  position:absolute;
  left:-40%;
  top:0;
  width:38%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  transform:skewX(-20deg);
  transition:.35s;
}
.btn:hover{transform:translateY(-4px);filter:brightness(1.12)}
.btn:hover:after{left:120%}
.btn strong{
  display:block;
  font-size:30px;
  line-height:1;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.btn small{
  display:block;
  margin-top:7px;
  color:#ffe5a4;
  text-transform:uppercase;
  letter-spacing:1.4px;
  font-size:13px;
}
.btn .icon{
  font-size:40px;
  filter:drop-shadow(0 2px 1px rgba(0,0,0,.65));
}
.btn-download{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,218,103,.45), transparent 35%),
    linear-gradient(135deg,#4e0705,#97170f 45%,#d27a22);
}
.btn-gift{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,218,103,.35), transparent 36%),
    linear-gradient(135deg,#042420,#075247 48%,#0b7768);
  border-color:#f0ca74;
}
.btn.large{min-width:330px}

.section{padding:88px 0;border-top:1px solid var(--line)}
.section-tag{
  display:inline-block;
  color:var(--gold);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:12px;
}
.section h2{
  font-size:clamp(34px,4vw,56px);
  color:#ffe0a0;
  margin-bottom:20px;
}
.section p{color:var(--muted);font-size:18px;line-height:1.7}
.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:42px;align-items:center}
.feature-list{margin-top:20px;display:grid;gap:12px;color:#f5dfb4;font-size:18px;list-style:none}
.feature-list li{padding:14px 16px;background:rgba(255,255,255,.04);border-left:3px solid var(--gold)}
.card{
  background:linear-gradient(180deg,rgba(45,20,10,.92),rgba(15,8,5,.94));
  border:1px solid var(--line);
  border-radius:22px;
  padding:34px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.highlight-card h3{font-size:32px;color:var(--gold);margin-bottom:24px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.stats div{
  background:rgba(255,208,113,.08);
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
}
.stats strong{display:block;color:#fff0bd;font-size:24px}
.stats span{display:block;color:var(--muted);margin-top:6px}

.news{background:#0c0705}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:22px}
.news-card{
  background:linear-gradient(180deg,#1b0d08,#0b0604);
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  min-height:220px;
}
.news-card .meta{color:var(--gold2);font-weight:700;font-size:14px;margin-bottom:14px}
.news-card h3{font-size:24px;color:#ffe0a0;margin-bottom:12px}
.news-card p{font-size:16px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:22px}
.step{
  padding:28px;
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  border-radius:18px;
}
.step b{font-size:42px;color:rgba(255,208,113,.38)}
.step h3{font-size:25px;color:#ffe0a0;margin:12px 0}
.download-section{background:linear-gradient(90deg,#1a0c08,#090504)}
.download-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:24px;
  padding:34px;
}
code{color:#ffd071;background:#000;padding:3px 7px;border-radius:6px}
footer{padding:28px 0;background:#040302;border-top:1px solid var(--line);color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;gap:20px}
.footer-inner a{color:var(--gold)}
.toast{
  position:fixed;
  left:50%;bottom:30px;
  transform:translateX(-50%) translateY(120px);
  background:#12100e;
  color:#ffe0a0;
  border:1px solid var(--line);
  padding:14px 22px;
  border-radius:999px;
  z-index:50;
  transition:.25s;
}
.toast.show{transform:translateX(-50%) translateY(0)}

@media(max-width:900px){
  .header-inner{height:78px}
  .brand img{height:66px}
  .menu-toggle{display:block}
  .main-nav{
    position:absolute;
    top:78px;left:0;right:0;
    flex-direction:column;
    gap:0;
    background:rgba(5,4,4,.98);
    display:none;
    border-bottom:1px solid var(--line);
  }
  .main-nav.open{display:flex}
  .main-nav a{width:100%;padding:18px 6vw;border-top:1px solid rgba(255,255,255,.06)}
  .grid-2,.news-grid,.steps{grid-template-columns:1fr}
  .download-box{flex-direction:column;align-items:flex-start}
  .hero{padding-top:78px}
}
@media(max-width:560px){
  .hero-actions{flex-direction:column;align-items:center}
  .btn{width:100%;min-width:0;justify-content:center}
  .btn strong{font-size:24px}
}


body, button, input, textarea, select{
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
h1,.server-name,.section h2,.btn strong,.main-nav a{
  font-family:'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
}

body{font-family:Georgia,"Times New Roman","Segoe UI",serif}
.main-nav a,.btn strong,.btn small,.server-name,.section-tag{font-family:"Segoe UI",Tahoma,Arial,sans-serif}
h1,.section h2,.article-wrap h1,.article-wrap h2{font-family:Georgia,"Times New Roman","Segoe UI",serif;font-weight:800;letter-spacing:.2px}
.read-more{display:inline-block;margin-top:18px;color:#ffd071;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-weight:800}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:80;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,208,113,.75);background:linear-gradient(135deg,#64100b,#b92b15,#d98626);color:#fff4cf;font-size:28px;font-weight:900;cursor:pointer;box-shadow:0 12px 32px rgba(0,0,0,.45);opacity:0;transform:translateY(18px);pointer-events:none;transition:.2s}
.back-to-top.show{opacity:1;transform:translateY(0);pointer-events:auto}
.article-body{background:#3a2500}
.article-main{padding:135px 0 80px;min-height:100vh;background:radial-gradient(circle at 50% 0,rgba(255,168,42,.14),transparent 38%),#3a2500}
.article-wrap{width:min(900px,92vw);margin:auto;color:#fff8e8}
.article-wrap h1{text-align:center;color:#ff644d;text-transform:uppercase;font-size:42px;margin-bottom:16px}
.article-meta{text-align:center;color:#ff7358;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:22px;font-weight:900;margin-bottom:42px}
.article-meta span{color:#00a8a8;padding:0 14px}
.article-wrap p{font-size:19px;line-height:1.85;margin-bottom:22px;font-weight:600}
.article-wrap h2{color:#ff8b1f;font-size:28px;margin:34px 0 18px}
.download-table{width:100%;border-collapse:collapse;margin:20px 0 28px;background:#121617;border:1px solid rgba(255,255,255,.22)}
.download-table th{background:#972b27;padding:18px;color:#fff7e7;font-size:18px}
.download-table td{padding:16px;border:1px solid rgba(255,255,255,.16);font-weight:700}
.download-table a{color:#3192ff;font-weight:900}
.article-steps{list-style:none;display:grid;gap:20px;margin:20px 0 36px;font-size:18px;line-height:1.7}
.article-steps li::before{content:"▫";color:#ffb347;margin-right:8px}
.back-home{display:inline-block;color:#ffd071;font-weight:900;margin-top:12px}

/* FINAL FIX: font tiếng Việt full dấu, mềm hơn và không lỗi */
body, button, input, textarea, select{
  font-family:"Segoe UI", Tahoma, "Helvetica Neue", Arial, sans-serif !important;
  font-variant-ligatures:none;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
p, li, td, th, .news-card p, .article-wrap p{
  font-family:Tahoma, "Segoe UI", Arial, sans-serif !important;
}
h1, h2, h3, .server-name{
  font-family:"Segoe UI Semibold", "Segoe UI", Tahoma, Arial, sans-serif !important;
  letter-spacing:.2px;
}
.brand img{
  height:76px;
  width:auto;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.72));
}
.article-wrap h1{
  font-family:"Segoe UI Semibold", "Segoe UI", Tahoma, Arial, sans-serif !important;
}
.news-card .read-more{
  display:inline-block;
  margin-top:18px;
  color:#ffd071;
  font-weight:800;
}
.news-card .read-more:hover{color:#fff2c0}
@media(max-width:900px){
  .brand img{height:58px}
}


/* UPDATE V2: Zalo, status online, activity responsive, 4 guide steps */
.btn-gift{
  background:
    radial-gradient(circle at 50% 0%, rgba(120,255,217,.26), transparent 36%),
    linear-gradient(135deg,#05352f,#087463 48%,#0da58f);
}
.online-dot{
  display:inline-block;
  width:12px;
  height:12px;
  margin-right:8px;
  border-radius:50%;
  background:#2dff75;
  box-shadow:0 0 0 4px rgba(45,255,117,.12),0 0 16px rgba(45,255,117,.9);
  vertical-align:middle;
}
.highlight-card{
  overflow:hidden;
}
.stats{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
}
.stats div,.stat-card{
  min-height:138px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  transition:.2s ease;
}
.stats div:hover,.stat-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,208,113,.72);
  background:rgba(255,208,113,.13);
  box-shadow:0 14px 30px rgba(0,0,0,.28),0 0 20px rgba(255,184,67,.14);
}
.stat-online{
  background:linear-gradient(180deg,rgba(45,255,117,.12),rgba(255,208,113,.06)) !important;
}
.steps{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:16px !important;
}
.step{
  min-height:190px;
  transition:.22s ease;
  position:relative;
  overflow:hidden;
}
.step:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top,rgba(255,208,113,.20),transparent 45%);
  opacity:0;
  transition:.22s;
  pointer-events:none;
}
.step:hover{
  transform:translateY(-6px);
  border-color:rgba(255,208,113,.85);
  background:rgba(255,208,113,.10);
  box-shadow:0 18px 38px rgba(0,0,0,.42),0 0 26px rgba(255,184,67,.18);
}
.step:hover:before{
  opacity:1;
}
.step b{
  display:block;
  font-size:22px !important;
  color:#ffe0a0 !important;
  line-height:1.25;
  margin-bottom:12px;
}
.step p{
  font-size:16px;
  line-height:1.55;
}
.ngu-hanh-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin:22px 0 34px;
}
.ngu-hanh-card{
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,208,113,.24);
  border-radius:16px;
  padding:14px;
  text-align:center;
  transition:.2s;
}
.ngu-hanh-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,208,113,.85);
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.ngu-hanh-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:10px;
}
.ngu-hanh-card strong{
  display:block;
  color:#ffd071;
  font-size:20px;
  margin-bottom:6px;
}
.ngu-hanh-card span{
  display:block;
  color:#f1debd;
  font-size:14px;
  line-height:1.45;
}
@media(max-width:1120px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .ngu-hanh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .stats{grid-template-columns:1fr !important}
  .steps{grid-template-columns:1fr !important}
  .ngu-hanh-grid{grid-template-columns:1fr 1fr}
}


/* POLISH FINAL: Hoạt động nổi bật tách riêng, card cân đối, tin tức ngang hàng, modal ảnh */
.intro-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:42px;
}
.intro-layout > div:first-child{
  max-width:900px;
}
.intro-layout .highlight-card{
  width:100%;
}
.highlight-card h3{
  text-align:center;
}
.stats{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:stretch;
}
.stats div,.stat-card{
  min-height:150px;
  height:100%;
  padding:22px !important;
}
.stat-card strong{
  line-height:1.18;
  word-break:normal;
}
.status-card{
  align-items:center;
  text-align:center;
  gap:12px;
}
.status-card .stat-label{
  display:block;
  color:#d8c7a0;
  font-size:15px;
  line-height:1.35;
  order:1;
}
.status-card strong{
  order:2;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff0bd !important;
  font-size:26px !important;
}
.status-card .online-dot{
  margin-right:0;
  flex:0 0 auto;
}
.news-grid{
  align-items:stretch;
}
.news-card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.news-card p{
  flex:1;
}
.news-card .read-more{
  margin-top:auto !important;
  padding-top:22px;
}
.ngu-hanh-card{
  border:1px solid rgba(255,208,113,.24);
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.ngu-hanh-card:focus-visible{
  outline:2px solid #ffd071;
  outline-offset:3px;
}
.image-modal{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  padding:24px;
}
.image-modal.show{
  opacity:1;
  pointer-events:auto;
}
.image-modal-box{
  max-width:min(920px,92vw);
  max-height:88vh;
  background:linear-gradient(180deg,#1b0d08,#060302);
  border:1px solid rgba(255,208,113,.55);
  border-radius:18px;
  padding:16px;
  box-shadow:0 24px 70px rgba(0,0,0,.65),0 0 28px rgba(255,181,65,.16);
  transform:scale(.96);
  transition:.2s ease;
}
.image-modal.show .image-modal-box{
  transform:scale(1);
}
.image-modal-box img{
  display:block;
  width:100%;
  max-height:74vh;
  object-fit:contain;
  border-radius:12px;
}
.image-modal-title{
  text-align:center;
  color:#ffd071;
  font-weight:900;
  font-size:22px;
  margin-top:12px;
}
.image-modal-close{
  position:fixed;
  top:22px;
  right:26px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,208,113,.55);
  background:#8b160d;
  color:#fff4cf;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  z-index:210;
}
body.modal-open{
  overflow:hidden;
}
@media(max-width:1180px){
  .stats{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:820px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:560px){
  .stats{grid-template-columns:1fr !important}
  .status-card strong{font-size:24px !important}
}


/* SOCIAL + LIVE STATUS UPDATE */
.server-live-row{
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:16px;
  flex-wrap:wrap;
  margin:0 auto 22px;
}
.live-pill{
  min-width:250px;
  padding:13px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:rgba(0,0,0,.48);
  border:1px solid rgba(255,208,113,.36);
  border-radius:999px;
  box-shadow:0 12px 28px rgba(0,0,0,.32), inset 0 0 16px rgba(255,208,113,.08);
  color:#f5dfb4;
  backdrop-filter:blur(8px);
}
.live-pill span:not(.online-dot){
  font-size:15px;
  font-weight:700;
  opacity:.92;
}
.live-pill strong{
  color:#fff0bd;
  font-size:18px;
  font-weight:900;
  white-space:nowrap;
}
.hero-socials{
  display:flex;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
  margin-top:16px;
}
.hero-download-center{
  display:flex;
  justify-content:center;
  margin-top:20px;
}
.btn-discord{
  background:
    radial-gradient(circle at 50% 0%, rgba(170,190,255,.35), transparent 36%),
    linear-gradient(135deg,#20214f,#4a55c8 48%,#7289da);
  border-color:#d7dcff;
}
.discord-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  color:#5865f2;
  font-size:29px !important;
  font-weight:900;
  font-family:Arial, sans-serif;
}
.hero-download-center .btn-download{
  min-width:360px;
}
@media(max-width:720px){
  .server-live-row{
    gap:10px;
  }
  .live-pill{
    width:100%;
    min-width:0;
    justify-content:center;
  }
  .hero-socials{
    flex-direction:column;
    align-items:center;
  }
  .hero-socials .btn,
  .hero-download-center .btn-download{
    width:100%;
    max-width:390px;
    min-width:0;
  }
}


/* OCD FIX: title red, activity cards equal, modal close near image border */
.hero-content h1{
  color:#ff2f25 !important;
  text-shadow:
    0 3px 0 #5f0704,
    0 0 18px rgba(255,47,37,.65),
    0 0 38px rgba(0,0,0,.95) !important;
}
.stats{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:stretch !important;
}
.stats div,.stat-card{
  height:170px !important;
  min-height:170px !important;
  padding:20px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
}
.stats strong,.stat-card strong{
  min-height:62px !important;
  display:flex !important;
  align-items:center !important;
  color:#fff0bd !important;
  font-size:22px !important;
  line-height:1.2 !important;
  margin-bottom:10px !important;
}
.stats span,.stat-card span{
  display:block !important;
  min-height:58px !important;
  font-size:15px !important;
  line-height:1.45 !important;
}
.image-modal-box{
  position:relative !important;
}
.image-modal-close{
  position:absolute !important;
  top:8px !important;
  right:8px !important;
  width:42px !important;
  height:42px !important;
  z-index:230 !important;
  background:rgba(139,22,13,.94) !important;
  border:1px solid rgba(255,208,113,.88) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.45) !important;
}
@media(max-width:1180px){
  .stats{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:820px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:560px){
  .stats{grid-template-columns:1fr !important}
  .stats div,.stat-card{height:auto !important;min-height:145px !important}
  .stats strong,.stat-card strong{min-height:auto !important}
  .stats span,.stat-card span{min-height:auto !important}
}


/* FINAL SOURCE: activity card background images + server showcase */
.activity-bg{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.activity-bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-size:cover;
  background-position:center;
  opacity:.28;
  filter:blur(.4px) saturate(1.15);
  transform:scale(1.04);
}
.activity-bg::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 50% 15%, rgba(255,190,72,.18), transparent 38%),
    linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.72));
}
.activity-bg:hover::before{
  opacity:.42;
  transform:scale(1.08);
  transition:.25s ease;
}
.activity-skill::before{background-image:url("../images/server-showcase-02.png")}
.activity-boss::before{background-image:url("../images/server-showcase-01.png")}
.activity-banghoi::before{background-image:url("../images/server-showcase-02.png")}
.activity-ngua::before{background-image:url("../images/server-showcase-01.png")}
.activity-an::before{background-image:url("../images/server-showcase-02.png")}
.activity-trangsuc::before{background-image:url("../images/server-showcase-01.png")}
.activity-matna::before{background-image:url("../images/server-showcase-02.png")}
.activity-nhiemvu::before{background-image:url("../images/server-showcase-01.png")}

.server-showcase{
  background:
    radial-gradient(circle at 50% 0, rgba(255,208,113,.08), transparent 38%),
    #080403;
}
.server-showcase h2{
  text-align:center;
  margin-bottom:28px;
}
.server-showcase .section-tag{
  display:block;
  text-align:center;
}
.showcase-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.showcase-card{
  position:relative;
  display:block;
  padding:0;
  border:1px solid rgba(255,208,113,.38);
  border-radius:20px;
  overflow:hidden;
  background:#0b0604;
  cursor:pointer;
  box-shadow:0 18px 48px rgba(0,0,0,.38);
}
.showcase-card img{
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
  transition:.25s ease;
}
.showcase-card:hover img{
  transform:scale(1.035);
  filter:brightness(1.08);
}
.showcase-card::after{
  content:"Click để phóng to";
  position:absolute;
  right:16px;
  bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  color:#fff0bd;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,208,113,.36);
  font-weight:800;
  font-size:13px;
}

/* X sát border hình trong modal */
.image-modal-box{
  position:relative !important;
}
.image-modal-close{
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:44px !important;
  height:44px !important;
  z-index:230 !important;
  border-radius:50% !important;
  background:rgba(139,22,13,.95) !important;
  border:1px solid rgba(255,208,113,.9) !important;
  color:#fff4cf !important;
  box-shadow:0 8px 22px rgba(0,0,0,.55) !important;
}
@media(max-width:850px){
  .showcase-grid{grid-template-columns:1fr}
}


/* FINAL UPDATE: Rendered activity images + footer slider */
.activity-skill::before{background-image:url("../images/activities/skill.jpg") !important}
.activity-boss::before{background-image:url("../images/activities/boss.jpg") !important}
.activity-banghoi::before{background-image:url("../images/activities/banghoi.jpg") !important}
.activity-ngua::before{background-image:url("../images/activities/ngua.jpg") !important}
.activity-an::before{background-image:url("../images/activities/an.jpg") !important}
.activity-trangsuc::before{background-image:url("../images/activities/trangsuc.jpg") !important}
.activity-matna::before{background-image:url("../images/activities/matna.jpg") !important}
.activity-nhiemvu::before{background-image:url("../images/activities/nhiemvu.jpg") !important}
.activity-bg::before{
  opacity:.34 !important;
  filter:blur(.6px) saturate(1.25) contrast(1.05) !important;
}
.activity-bg::after{
  background:
    radial-gradient(circle at 50% 5%, rgba(255,190,72,.22), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.80)) !important;
}
.server-showcase{
  padding-bottom:70px;
}
.showcase-grid{display:none !important}
.showcase-slider{
  position:relative;
  width:min(1120px,100%);
  margin:0 auto;
}
.slider-track{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,208,113,.42);
  border-radius:22px;
  background:#070504;
  box-shadow:0 22px 62px rgba(0,0,0,.48);
}
.showcase-slide{
  display:none;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.showcase-slide.active{
  display:block;
}
.showcase-slide img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}
.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:52px;
  height:70px;
  border-radius:16px;
  border:1px solid rgba(255,208,113,.66);
  background:rgba(24,10,4,.82);
  color:#ffd071;
  font-size:52px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(0,0,0,.5);
}
.slider-btn:hover{
  background:#8b160d;
  color:#fff4cf;
}
.slider-prev{left:-26px}
.slider-next{right:-26px}
.slider-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}
.slider-dots button{
  width:12px;
  height:12px;
  border-radius:50%;
  border:1px solid rgba(255,208,113,.7);
  background:rgba(255,208,113,.18);
  cursor:pointer;
}
.slider-dots button.active{
  background:#ffd071;
  box-shadow:0 0 14px rgba(255,208,113,.9);
}
@media(max-width:760px){
  .slider-prev{left:8px}
  .slider-next{right:8px}
  .slider-btn{
    width:42px;
    height:56px;
    font-size:40px;
  }
}


/* FIX: server slider above download + contain images + clean activity images */
.server-showcase{
  padding-bottom:88px !important;
}
.download-section{
  border-top:1px solid var(--line);
}
.showcase-slide{
  background:#050403 !important;
}
.showcase-slide img{
  width:100% !important;
  height:min(64vh,640px) !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#050403 !important;
}
.activity-bg::before{
  background-size:cover !important;
  background-position:center !important;
  opacity:.38 !important;
  filter:blur(.25px) saturate(1.2) contrast(1.08) !important;
}
.activity-bg::after{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,190,72,.20), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.48), rgba(0,0,0,.84)) !important;
}


/* FIX slider fit + wuxia images */
.slider-track{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:720px;
  padding:20px;
  background:
    radial-gradient(circle at top, rgba(255,208,113,.06), transparent 36%),
    #040302 !important;
}
.showcase-slide{
  width:100%;
  height:100%;
}
.showcase-slide img{
  width:100% !important;
  height:auto !important;
  max-height:680px !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:18px;
  box-shadow:0 20px 55px rgba(0,0,0,.42);
}
.activity-bg::before{
  opacity:.44 !important;
  filter:blur(.2px) saturate(1.3) contrast(1.05) brightness(.92) !important;
}
