/* Landing JAM Pickleball — tông màu theo logo: than đen, vàng chanh bóng pickleball, trắng, điểm nhấn đỏ */
:root {
  --bg: #0b0f14; --bg2: #10161d; --card: #141c25; --card2: #19232e; --line: rgba(255,255,255,0.08); --line2: rgba(255,255,255,0.14);
  --tx: #f1f5f8; --mu: #a3b0bd; --mu2: #7d8b99;
  --lime: #d9f31a; --lime2: #b9d40f; --lime-glow: rgba(217,243,26,0.35); --red: #e3262e; --ok: #3ddc84;
  --r: 18px; --font: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif; --navh: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 12px); -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--font); line-height: 1.55; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .guest a, .faq a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--lime); }
b { font-weight: 700; color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* ===== nút ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 12px; padding: 10px 20px; font: 700 15px/1.2 var(--font); cursor: pointer; color: var(--tx); background: var(--card2); transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; fill: currentColor; }
.btn.lime { background: linear-gradient(180deg, #e6ff3d, var(--lime) 55%, var(--lime2)); color: #0b0f14; box-shadow: 0 8px 26px var(--lime-glow), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.lime:hover { box-shadow: 0 10px 34px rgba(217,243,26,0.5), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.ghost { background: rgba(255,255,255,0.06); border: 1px solid var(--line2); color: var(--tx); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }
.btn.big { font-size: 18px; padding: 14px 28px; border-radius: 14px; min-height: 54px; }
.btn.big .ic { width: 20px; height: 20px; }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ===== thanh điều hướng ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,15,20,0.72); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11,15,20,0.9); }
.nav-in { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: var(--navh); display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(217,243,26,0.25)); }
.links { display: flex; gap: 2px; margin-left: 14px; }
.links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--mu); transition: color .15s, background .15s; }
.links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.sp { flex: 1; }
.me { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.me img, .av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime); background: #1c2733; }
.me .coin { color: #ffd54a; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(255,255,255,0.05); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 18% 22%, rgba(217,243,26,0.16), transparent 70%),
    radial-gradient(520px 360px at 85% 30%, rgba(227,38,46,0.14), transparent 70%),
    radial-gradient(900px 500px at 60% 110%, rgba(46,139,134,0.18), transparent 70%),
    linear-gradient(180deg, #0b0f14, #0e141b 60%, var(--bg)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.hero-in { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: center; }
.hero-logo { width: min(420px, 100%); height: auto; margin: -6px 0 10px -10px; filter: drop-shadow(0 12px 40px rgba(0,0,0,0.5)); animation: float 6s ease-in-out infinite; }
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 14px; }
.hero .lead { font-size: 17px; color: var(--mu); margin: 0 0 24px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ctaNote { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--lime); min-height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mu); background: rgba(255,255,255,0.05); border: 1px solid var(--line); white-space: nowrap; }
.chip.link { color: var(--lime); }
.chip.link:hover { background: rgba(217,243,26,0.08); }
.chip.live { color: #d6ffe6; background: rgba(61,220,132,0.1); border-color: rgba(61,220,132,0.3); }
.chip.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,132,0.6); animation: ping 2s infinite; }

.hero-shot { position: relative; padding: 10px 0 30px; }
.frame { border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4); }
.frame.main { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #161e27; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mu2); font-weight: 600; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #39424d; }
.frame .bar i:nth-child(1) { background: var(--red); } .frame .bar i:nth-child(2) { background: #ffbd2e; } .frame .bar i:nth-child(3) { background: var(--lime); }
.frame .bar span { margin-left: 8px; }
.frame img { width: 100%; height: auto; aspect-ratio: 1280 / 650; object-fit: cover; }
.frame.mini { position: absolute; width: 40%; left: -7%; bottom: -2px; border-radius: 12px; border-color: rgba(217,243,26,0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(217,243,26,0.15); }
.badge { position: absolute; display: flex; flex-direction: column; padding: 10px 14px; border-radius: 14px; background: rgba(16,22,29,0.88); border: 1px solid var(--line2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 14px 36px rgba(0,0,0,0.45); }
.badge b { font-size: 16px; font-weight: 800; color: var(--lime); }
.badge span { font-size: 12px; color: var(--mu); }
.badge.b1 { top: -4px; right: 4%; animation: float 7s ease-in-out infinite; }
.badge.b2 { right: -10px; bottom: 16%; animation: float 8s ease-in-out -2s infinite; }
.badge.b2 b { color: #fff; letter-spacing: .04em; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 46px auto 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.wrap.stats { max-width: 1120px; }
.stats li { background: rgba(20,28,37,0.85); padding: 18px 16px; text-align: center; }
.stats b { display: block; font-size: 24px; font-weight: 800; color: var(--lime); }
.stats span { font-size: 13px; color: var(--mu); }

/* ===== mục chung ===== */
.sec { padding: 88px 0; position: relative; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), #0d1218); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 8px; border-radius: 2px; }
.head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.head p { color: var(--mu); margin: 12px 0 0; font-size: 16px; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { color: var(--mu); margin: 8px 0 0; font-size: 15px; }
.fi { width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fi.sm { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; }

/* vì sao */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why .card { transition: transform .2s, border-color .2s; }
.why .card:hover { transform: translateY(-4px); border-color: rgba(217,243,26,0.35); }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(217,243,26,0.1); border: 1px solid rgba(217,243,26,0.3); box-shadow: 0 0 24px rgba(217,243,26,0.12); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.red { background: rgba(227,38,46,0.12); border-color: rgba(227,38,46,0.4); box-shadow: 0 0 24px rgba(227,38,46,0.12); }
.ico.red svg { stroke: #ff5a61; }

/* tính năng */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 20px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.feat:hover { background: rgba(255,255,255,0.05); border-color: var(--line2); }
.feat h3 { font-size: 16px; font-weight: 700; margin: 12px 0 6px; }
.feat p { margin: 0; font-size: 14px; color: var(--mu); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px; font-size: 13px; color: var(--mu); }

/* cách chơi */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 22px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: 18px; color: #0b0f14; background: var(--lime); box-shadow: 0 0 0 6px rgba(217,243,26,0.12); margin-bottom: 14px; }
.steps h3 { font-size: 17px; }
.steps p { margin: 6px 0 0; color: var(--mu); font-size: 14px; }
.ctrl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.keys { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.keys li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mu); }
.keys .k { display: flex; gap: 4px; flex: none; min-width: 132px; }
kbd { display: inline-block; min-width: 28px; text-align: center; padding: 3px 8px; border-radius: 7px; font: 700 12px/1.4 var(--font); color: #fff; background: #222d39; border: 1px solid var(--line2); border-bottom-width: 3px; white-space: nowrap; }
.note { font-size: 13px !important; color: var(--mu2) !important; margin-top: 14px !important; }
.ok { color: var(--ok); }

/* cú đánh */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.shot header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.shot h3 { font-size: 20px; font-weight: 800; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: var(--lime); background: rgba(217,243,26,0.1); border: 1px solid rgba(217,243,26,0.25); }
.tag.hot { color: #ff7a7f; background: rgba(227,38,46,0.12); border-color: rgba(227,38,46,0.35); }
.shot p { margin: 0; font-size: 14px; color: var(--mu); }
.shot .real { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line2); margin-top: 12px; font-size: 13px; }

/* tài khoản + xếp hạng */
.grid2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: start; }
.acc { scroll-margin-top: calc(var(--navh) + 16px); }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; background: rgba(0,0,0,0.3); padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.tabs button { flex: 1; min-height: 44px; border: 0; background: transparent; padding: 9px; border-radius: 9px; font: 700 15px var(--font); cursor: pointer; color: var(--mu); }
.tabs button.on { background: var(--lime); color: #0b0f14; }
form label { display: block; font-size: 13px; font-weight: 600; color: var(--mu); margin: 12px 0 5px; }
form input { width: 100%; font: 16px var(--font); padding: 11px 13px; min-height: 46px; border: 1px solid var(--line2); border-radius: 11px; background: #0d131a; color: var(--tx); }
form input::placeholder { color: #5d6b79; }
form input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(217,243,26,0.18); }
form .btn { width: 100%; margin-top: 14px; }
/* mã xác nhận: ảnh + nút đổi + ô nhập (điện thoại: ô nhập xuống dòng) */
.cap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cap img { width: 180px; height: 60px; border-radius: 10px; border: 1px solid var(--line2); background: #0d131a; transition: opacity .15s; }
.cap .capR { width: 46px; height: 46px; flex: none; border: 1px solid var(--line2); border-radius: 11px; background: #0d131a; color: var(--tx); font-size: 22px; cursor: pointer; }
.cap input[name=captcha] { flex: 1 1 140px; width: auto; min-width: 0; letter-spacing: 3px; text-transform: uppercase; }
.hint { font-size: 12.5px; color: var(--mu2); margin-top: 8px; }
.err { color: #ff6b70; font-size: 13px; min-height: 18px; margin-top: 8px; font-weight: 600; }
.okm { color: #8be28b; font-size: 13px; font-weight: 600; line-height: 1.45; }
.okm:empty { display: none; }
.lnk { display: block; margin: 10px auto 0; min-height: 40px; padding: 6px 10px; border: 0; background: none; color: var(--mu); font: 600 14px var(--font); text-decoration: underline; cursor: pointer; }
.lnk:hover { color: var(--tx); }
.fh { margin: 0 0 10px; font-weight: 700; color: var(--tx); line-height: 1.4; }
.guest { font-size: 13px; color: var(--mu2); margin: 14px 0 0; text-align: center; }
.logged { display: none; text-align: center; padding: 6px 0; }
.logged .av { width: 88px; height: 88px; margin: 0 auto 12px; box-shadow: 0 0 30px rgba(217,243,26,0.25); }
.logged h3 { font-size: 20px; }
.logged .stat { display: flex; justify-content: center; gap: 8px; margin: 14px 0 18px; flex-wrap: wrap; }
.logged .stat span { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 13px; color: var(--mu); }
.logged .stat b { color: var(--lime); }
.rank-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rank { width: 100%; border-collapse: collapse; font-size: 14px; }
.rank th { text-align: left; color: var(--mu2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 6px; border-bottom: 1px solid var(--line2); }
.rank td { padding: 9px 6px; border-bottom: 1px solid var(--line); }
.rank tbody tr:hover { background: rgba(255,255,255,0.03); }
.rank .n { width: 36px; font-weight: 800; color: var(--mu); font-size: 15px; }
.rank .p { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.rank .p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.rank .p .av { width: 30px; height: 30px; border-width: 1px; border-color: var(--line2); flex: none; }
.rank .r { font-weight: 800; color: var(--lime); }
.rank .wl { color: var(--mu); white-space: nowrap; }
.rank tr.top1 td { background: rgba(255,213,74,0.06); }
.rank tr.top1 .p .av { border-color: #ffd54a; }
.empty { color: var(--mu2); font-size: 13px; padding: 14px 0; text-align: center; }

/* tài trợ */
.sponsors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-card { margin: 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.sp-img { background: #fff; display: flex; height: 200px; padding: 14px; overflow: hidden; }
.sp-img img { width: 100%; height: 100%; object-fit: contain; }
.sp-card figcaption { padding: 12px 16px; font-weight: 700; font-size: 15px; }
.cta-sp { align-items: flex-start; justify-content: center; padding: 26px; border: 1px dashed rgba(217,243,26,0.4); background: radial-gradient(400px 200px at 0% 0%, rgba(217,243,26,0.08), transparent 70%), var(--card); }
.cta-sp h3 { font-size: 20px; margin: 12px 0 6px; }
.cta-sp p { color: var(--mu); font-size: 14px; margin: 0 0 12px; }
.muted { font-size: 13px; color: var(--mu2); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(217,243,26,0.35); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; font-size: 16px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--mu); font-size: 15px; }

/* kêu gọi cuối */
.final { padding: 80px 0; text-align: center; background: radial-gradient(600px 260px at 50% 100%, rgba(217,243,26,0.14), transparent 70%), radial-gradient(400px 200px at 80% 0%, rgba(227,38,46,0.1), transparent 70%); }
.final h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.final p { color: var(--mu); margin: 10px 0 24px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: #080b0f; padding: 44px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.f-brand img { width: 124px; height: auto; }
.f-brand p { color: var(--mu2); font-size: 14px; margin: 10px 0 0; }
.f-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--mu2); margin-bottom: 10px; }
.f-col a, .f-col span { display: block; font-size: 14px; color: var(--mu); padding: 4px 0; }
.f-col a:hover { color: var(--lime); }
.copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mu2); }

/* ===== hiệu ứng ===== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,0.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== responsive ===== */
@media (max-width: 1080px) {
  .links a { padding: 8px 8px; font-size: 13px; }
  .why, .feats, .shots { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --navh: 60px; }
  .burger { display: inline-flex; }
  .links { display: none; position: absolute; top: var(--navh); left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(11,15,20,0.97); border-bottom: 1px solid var(--line); }
  .nav.open .links { display: flex; }
  .links a { padding: 13px 10px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--tx); }
  .hero { padding-top: 24px; }
  .hero-in { grid-template-columns: 1fr; gap: 26px; }
  .hero-txt { text-align: center; }
  .hero-logo { margin: 0 auto 8px; width: min(320px, 82%); }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta, .chips { justify-content: center; }
  .frame.main { transform: none; }
  .frame.mini { width: 36%; left: -2%; bottom: 0; }
  .badge.b2 { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .grid2, .ctrl { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .sponsors { grid-template-columns: 1fr 1fr; }
  .cta-sp { grid-column: 1 / -1; }
  .sec { padding: 64px 0; }
  .foot-in { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap, .nav-in, .hero-in { padding-left: 16px; padding-right: 16px; }
  .me .nm, .me .coin { display: none; }
  .brand img { height: 34px; }
  .nav-in { gap: 8px; }
  .hero h1 { font-size: 26px; }
  .hero .lead { font-size: 15.5px; }
  .cta .btn { width: 100%; }
  .chips .chip { font-size: 12px; }
  .frame.mini { display: none; }
  .badge { padding: 7px 10px; } .badge b { font-size: 13px; } .badge span { font-size: 10.5px; }
  .badge.b1 { top: 0; right: 2%; } .badge.b2 { bottom: 10%; }
  .stats b { font-size: 19px; } .stats li { padding: 14px 8px; } .stats span { font-size: 12px; }
  .why, .feats, .shots, .steps, .gallery, .sponsors { grid-template-columns: 1fr; }
  .card { padding: 20px 18px; }
  .keys .k { min-width: 108px; }
  .head { margin-bottom: 28px; }
  .sp-img { height: 170px; }
  .rank .wl { display: none; } .rank th:last-child { display: none; }
  .rank .p span { max-width: 150px; }
  .faq summary { font-size: 15px; padding: 14px 46px 14px 16px; }
  .faq details p { padding: 0 16px 16px; }
  .foot-in { grid-template-columns: 1fr; }
}
/* 🏆 sự kiện (home.html #su-kien) */
.evgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.evgrid .shot p + p { margin-top: 6px; }
.evempty { color: var(--mu); font-size: 15px; }

/* ===== TIN TỨC (11-05): khu tin trang chủ + news.html ===== */
.nwgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.nwc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r, 18px); overflow: hidden; color: var(--tx); text-decoration: none; transition: transform .15s, border-color .15s; }
.nwc:hover { transform: translateY(-3px); border-color: var(--line2); }
.nwc .cv { aspect-ratio: 16 / 9; background: #1c2733 center / cover no-repeat; }
.nwc .cv.none { display: flex; align-items: center; justify-content: center; font-size: 42px; background: linear-gradient(135deg, #18222d, #0f161d); }
.nwc .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nwc h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.nwc p { margin: 0; color: var(--mu); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nwmeta { font-size: 12px; color: var(--mu2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.nwcat { display: inline-block; font-size: 11px; font-weight: 800; color: #0b0f14; background: var(--lime); border-radius: 999px; padding: 2px 9px; }
.nwcats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.nwcats a { display: inline-flex; align-items: center; text-decoration: none; }
.nwcats a, .nwcats button { min-height: 40px; border: 1px solid var(--line2); background: transparent; color: var(--tx); border-radius: 999px; padding: 6px 14px; font: 700 14px var(--font); cursor: pointer; }
.nwcats a.on, .nwcats button.on { background: var(--lime); color: #0b0f14; border-color: var(--lime); }
.nwart { max-width: 760px; margin: 0 auto; }
.nwart h1 { font-size: clamp(24px, 4vw, 34px); line-height: 1.25; margin: 10px 0 12px; }
.nwart .cover { width: 100%; border-radius: 16px; margin: 6px 0 18px; border: 1px solid var(--line); }
.nwart .ct { font-size: 17px; line-height: 1.75; color: #dfe6ec; overflow-wrap: anywhere; }
.nwart .ct img { max-width: 100%; height: auto; border-radius: 12px; }
.nwart .ct figure { margin: 18px 0; } .nwart .ct figcaption { font-size: 14px; color: var(--mu2); text-align: center; margin-top: 6px; }
.nwart .ct a { color: var(--lime); }
.nwart .ct blockquote { margin: 14px 0; padding: 8px 16px; border-left: 4px solid var(--lime); background: rgba(217,243,26,.06); border-radius: 0 10px 10px 0; }
.nwart .ct h2 { font-size: 24px; margin: 26px 0 8px; } .nwart .ct h3 { font-size: 20px; margin: 20px 0 6px; }
.nwart .ct table { border-collapse: collapse; width: 100%; } .nwart .ct td, .nwart .ct th { border: 1px solid var(--line2); padding: 6px 10px; }
.nwart .ct hr { border: 0; border-top: 1px solid var(--line2); margin: 22px 0; }

