:root {
  --ink: #0e141d;
  --panel: #16202c;
  --panel-2: #1c2938;
  --line: #2c3c50;
  --text: #e7eef6;
  --muted: #93a4b8;
  --green: #3dba8b;
  --blue: #4aa3e8;
  --gold: #e4c27a;
  --danger: #ff6b6b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(61, 186, 139, 0.18), transparent 60%),
    radial-gradient(800px 380px at 90% 0%, rgba(74, 163, 232, 0.16), transparent 55%),
    var(--ink);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: #8ec7f5; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: rgba(14, 20, 29, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 56px 0 28px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1 { margin: 0 0 12px; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -0.03em; }
.lead { margin: 0 0 22px; color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(180deg, #49c998, #2f9d72); color: #062117; }
.btn-primary:hover { color: #062117; filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { color: var(--text); border-color: #45607a; }
.meta { margin: 16px 0 0; color: var(--muted); font-size: 0.92rem; }

.shot {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot img { width: 100%; height: auto; }
#minh-hoa .shot img,
#ho-tro .shot img { height: 380px; object-fit: cover; object-position: center; }
#minh-hoa .wide img { height: 460px; }
.shot figcaption { padding: 10px 14px 12px; color: var(--muted); font-size: 0.88rem; }

section { padding: 42px 0; }
h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.section-lead { margin: 0 0 22px; color: var(--muted); max-width: 42rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 12px;
  color: var(--green);
  background: rgba(61, 186, 139, 0.12);
}
.icon.blue { color: var(--blue); background: rgba(74, 163, 232, 0.12); }
.icon.gold { color: var(--gold); background: rgba(228, 194, 122, 0.12); }
.icon svg { width: 22px; height: 22px; }
.card h3, .step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p, .step p { margin: 0; color: var(--muted); }

.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #062117;
  background: linear-gradient(180deg, #7ee0b8, #3dba8b);
}
kbd {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  border: 1px solid #3d5168;
  background: #101820;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86em;
}

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery .wide { grid-column: 1 / -1; }

.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold); font-weight: 650; background: #1a2736; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); }
td:last-child { color: var(--muted); white-space: nowrap; }

.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(74, 163, 232, 0.12), transparent 70%),
    var(--panel);
}
.platform h3 { margin: 0; font-size: 1.2rem; }
.platform p { margin: 0; color: var(--muted); }
.platform .dl-count {
  margin-top: auto;
  color: var(--gold);
  font-weight: 650;
  font-size: 0.92rem;
}
.platform .actions { margin-top: 0; }
.install {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-all;
}

.support {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.support-points li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer { padding: 36px 0 48px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start; }
.footer img { width: 120px; height: 120px; object-fit: contain; }
.footer h2 { font-size: 1.15rem; color: var(--text); }
.facts { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 12px 0 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--text); }
.fine { margin: 18px 0 0; font-size: 0.88rem; }

.missing { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }

@media (max-width: 860px) {
  .hero, .grid, .gallery, .keys, .platforms, .footer-grid, .support { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  td:last-child { white-space: normal; }
  .nav { flex-direction: column; align-items: flex-start; }
}
