@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --bg-1: #0b1220;
  --bg-2: #0f172a;
  --bg-3: #080e1c;
  --panel: rgba(15, 23, 42, .82);
  --line: #1a2a44;

  --teal: #0ac8b9;
  --teal-deep: #0050d8;
  --gold: #c8aa6e;
  --gold-soft: #f0e6d2;

  --text: #f0e6d2;
  --text-dim: rgba(240, 230, 210, .62);
  --text-faint: rgba(240, 230, 210, .38);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-hard: 0 30px 80px rgba(0, 0, 0, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body, .mainbg {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-3);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ===== NỀN GAME: lưới lục giác mờ + quầng sáng vàng/ngọc (tĩnh -> mượt) ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(42% 38% at 16% 12%, rgba(200,170,110,.12), transparent 60%),
    radial-gradient(46% 42% at 86% 84%, rgba(10,200,185,.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2728%27%20height%3D%2749%27%20viewBox%3D%270%200%2028%2049%27%3E%3Cpath%20fill%3D%27%23c8aa6e%27%20fill-opacity%3D%270.06%27%20fill-rule%3D%27evenodd%27%20d%3D%27M13.99%209.25l13%207.5v15l-13%207.5L1%2031.75v-15l12.99-7.5zM3%2017.9v12.7l10.99%206.34%2011-6.35V17.9l-11-6.34L3%2017.9zM0%2015l12.98-7.5V0h-2v6.35L0%2012.69v2.3zm0%2018.5L12.98%2041v8h-2v-6.85L0%2035.81v-2.3zM15%200v7.5L27.99%2015H28v-2.31h-.01L17%206.35V0h-2zm0%2049v-8l12.99-7.5H28v2.31h-.01L17%2042.15V49h-2z%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 48px 84px;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.12); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

::selection { background: rgba(10, 200, 185, .35); color: #fff; }

/* Thanh cuộn chung */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: #24395c; }

/* ---------- Particles nền ---------- */
#particles { display: none; } /* tắt hiệu ứng đốm cũ, thay bằng nền aurora động */

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: .3;
  animation: float 15s linear infinite;
  will-change: transform;
}

@keyframes float {
  from { transform: translateY(100vh); }
  to   { transform: translateY(-100px); }
}

/* ---------- Container chính ---------- */
.main-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

/* ---------- Khung Hero ---------- */
.hero {
  width: 100%;
  max-width: 820px;
  position: relative;
  padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 48px);
  background: linear-gradient(180deg, var(--panel), rgba(8, 14, 28, .94));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 42, 68, .9);
  box-shadow: var(--shadow-hard);
  /* (Đã bỏ backdrop-filter: nó tạo "containing block" làm popup position:fixed
     không nổi đúng theo màn hình khi cuộn) */
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(28px, 5.2vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.5px;
  background: linear-gradient(100deg, #fff 0%, var(--gold-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}

/* Alert (override nhẹ Bootstrap để hợp tông) */
.hero .alert {
  border: 1px solid rgba(255, 200, 61, .35);
  background: linear-gradient(135deg, rgba(255, 200, 61, .14), rgba(255, 200, 61, .05));
  color: #ffe9b0;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ---------- Viền sáng chạy quanh hero ---------- */
.hero::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(90deg, var(--teal), var(--gold-soft), var(--gold), var(--teal)) border-box;
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: slideLight 4.2s linear infinite;
  will-change: background-position;
  filter: drop-shadow(0 0 5px rgba(10, 200, 185, .7)) drop-shadow(0 0 12px rgba(240, 230, 210, .35));
  opacity: .9;
}

@keyframes slideLight {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ---------- Countdown / subscribe ---------- */
.countdown { font-size: 40px; font-weight: 700; margin: 20px 0; }
.subscribe { display: flex; gap: 10px; }

/* ---------- Nhãn gợi ý phía trên nút liên hệ ---------- */
.contact-hint {
  position: relative;
  margin: 30px auto 0;
  color: var(--gold-soft);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  animation: bounceHint 1.8s ease-in-out infinite;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Nút Zalo / Messenger ---------- */
.floating-contact {
  position: relative;
  margin: 16px auto 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.floating-contact a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 220px;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  animation: pulse 2s infinite, bob 2.6s ease-in-out infinite;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  /* (09/07/2026) Bỏ viền trắng mờ quanh nút: cạnh DƯỚI nằm trên nền đen -> lộ thành
     "gạch trắng ở chân" 2 nút Zalo/Messenger. Gradient nền + shadow đã đủ nổi khối. */
  overflow: hidden;
}

/* Lớp sáng lướt qua nút khi hover */
.floating-contact a::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.floating-contact a:hover::after { left: 120%; }

.floating-contact a:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .6);
}
.floating-contact a:active { transform: scale(.97); }

.btn-main-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-sub-line {
  font-size: 11.5px;
  font-weight: 500;
  opacity: .92;
  letter-spacing: .2px;
  white-space: nowrap;
}

.floating-contact a img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, .12);
}

.floating-contact a .online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 0 7px rgba(74, 222, 128, .9);
  flex-shrink: 0;
  animation: blink 1.8s ease-in-out infinite;
}

.zalo-btn      { background: linear-gradient(180deg, #2b8bff, #0050d8); }
.messenger-btn { background: linear-gradient(180deg, #3aa0ff, #0062d6); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5), var(--shadow-soft); }
  70%  { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), var(--shadow-soft); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), var(--shadow-soft); }
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -4px; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}

/* ---------- Responsive (liên hệ / hero) ---------- */
@media (max-width: 768px) {
  .hero .alert { font-size: 14px; padding: 12px 14px; }
  .subscribe { flex-direction: column; }
  .floating-contact { width: 100%; gap: 10px; }
  .floating-contact a {
    flex: 1;
    width: auto;
    min-width: 150px;
    justify-content: center;
    padding: 14px;
  }
  .btn-main-line { font-size: 15px; }
  .btn-sub-line  { font-size: 10.5px; }
  .contact-hint  { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ===== KHỐI GIỚI THIỆU (SEO) ===== */
.about-seo {
  margin: 30px auto 0;
  max-width: none;
  text-align: left;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(200, 170, 110, .18);
  border-radius: var(--radius-md);
}

.about-seo h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: .2px;
}

.about-seo p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
}
.about-seo p:last-child { margin-bottom: 0; }
.about-seo strong { color: var(--gold-soft); font-weight: 600; }

@media (max-width: 768px) {
  .about-seo { padding: 18px 16px; }
  .about-seo h2 { font-size: 18px; }
  .about-seo p { font-size: 13.5px; }
}

/* ===== Polish nhỏ (mobile/desktop): bỏ ô xám khi chạm, con trỏ tay ===== */
.floating-contact a { -webkit-tap-highlight-color: transparent; }

/* ===== Tối ưu mượt cho điện thoại: GIỮ hiệu ứng ánh sáng, chỉ làm nhẹ quầng nền aurora ===== */
@media (max-width: 768px) {
  /* Quầng sáng nền: vẫn hiển thị nhưng giảm độ mờ (blur) để cuộn/gõ phím mượt hơn; không chạy động */
  body::after { filter: none !important; }
}

/* ===== Khối giới thiệu (H3) + Câu hỏi thường gặp (FAQ) ===== */
.about-seo h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-soft);
}
.seo-faq {
  margin: 18px auto 0;
  max-width: none;
  text-align: left;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(200, 170, 110, .18);
  border-radius: var(--radius-md);
}
.seo-faq h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: .2px;
}
.faq-item { padding: 12px 0; border-top: 1px solid rgba(200, 170, 110, .14); }
.faq-item:first-of-type { border-top: none; padding-top: 0; }
.faq-q { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--text); }
.faq-a { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-dim); }
@media (max-width: 768px) {
  .seo-faq { padding: 18px 16px; }
  .seo-faq h2 { font-size: 18px; }
  .faq-q { font-size: 14px; }
  .faq-a { font-size: 13.5px; }
}

/* ===== Huy hiệu kênh chính thức ===== */
.lms-official {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 14px auto 0; max-width: none; padding: 10px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(200, 170, 110, .08));
  border: 1px solid rgba(16, 185, 129, .35); border-radius: var(--radius-md);
}
.lms-official-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #10b981, #059669); color: #fff;
  font-weight: 800; font-size: 12.5px; padding: 4px 12px; border-radius: var(--radius-pill);
  white-space: nowrap; box-shadow: 0 0 10px rgba(16, 185, 129, .45);
}
.lms-official-text { font-size: 12.5px; font-weight: 600; color: var(--gold-soft); }
@media (max-width: 768px) {
  .lms-official { font-size: 12px; padding: 9px 13px; }
  .lms-official-text { font-size: 12px; }
}

/* ===== Nút nổi góc phải (mobile + PC): liên hệ Zalo/Messenger ===== */
@keyframes lmsCycleA { 0%,42%{opacity:1} 54%,96%{opacity:0} 100%{opacity:1} }
@keyframes lmsCycleB { 0%,42%{opacity:0} 54%,96%{opacity:1} 100%{opacity:0} }
.lms-dock {
  position: fixed; z-index: 1000; display: flex; align-items: center; height: 56px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  animation: lmsDockIn .45s ease both;
}
@keyframes lmsDockIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.lms-dock-right { right: 14px; }
.lms-contact { position: relative; }
.lms-contact-toggle {
  position: relative; width: 56px; height: 56px; border-radius: 50%; padding: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.3);
  background: linear-gradient(180deg, #2b8bff, #0050d8);
  box-shadow: 0 8px 22px rgba(0,0,0,.45); cursor: pointer;
}
.lms-ic { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; object-fit: contain; border-radius: 50%; }
.lms-ic-zalo { animation: lmsCycleA 4.5s ease-in-out infinite; }
.lms-ic-mess { animation: lmsCycleB 4.5s ease-in-out infinite; }
.lms-contact-close { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; opacity: 0; }
.lms-contact.lms-open .lms-ic { opacity: 0 !important; animation: none; }
.lms-contact.lms-open .lms-contact-close { opacity: 1; }
.lms-contact-options {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lms-contact.lms-open .lms-contact-options { opacity: 1; visibility: visible; transform: translateY(0); }
.lms-opt {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px;
  border-radius: 999px; background: linear-gradient(180deg, #2b8bff, #0050d8);
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 13.5px;
  text-decoration: none; white-space: nowrap; border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.lms-opt img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background: rgba(255,255,255,.14); }
.lms-opt:nth-child(2) { background: linear-gradient(180deg, #3aa0ff, #0062d6); }
.lms-contact-toggle, .lms-opt { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.lms-contact-toggle:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 26px rgba(0,0,0,.5); }
.lms-contact-toggle:active { transform: scale(.95); }
.lms-opt:hover { transform: translateX(-3px); filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) {
  .lms-ic-zalo, .lms-ic-mess { animation: none; }
  .lms-ic-mess { opacity: 0; }
}

/* ===== Thanh điều hướng trên cùng: Trang Chủ / Lịch Sử Mua Hàng ===== */
.lms-topnav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;            /* 2 nút cao bằng nhau */
  justify-content: center;
  gap: 12px;
  max-width: 480px;                /* gom giữa, cân đối */
  margin: 0 auto;
  padding: 18px 14px 4px;
}
.lms-topbtn {
  flex: 1 1 0;                     /* chia đều -> 2 nút RỘNG BẰNG NHAU */
  min-width: 0;
  max-width: 230px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;        /* nội dung canh giữa */
  gap: 8px;
  height: 46px;                   /* cùng chiều cao chính xác */
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent; /* cùng độ dày viền 2 nút */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), filter .18s var(--ease);
}
.lms-topbtn:active { transform: scale(.97); }

/* Trang Chủ — vàng kim đặc */
.lms-topbtn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1d04;
  box-shadow: 0 10px 28px rgba(200, 170, 110, .35);
}
.lms-topbtn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: #2a1d04;
  box-shadow: 0 14px 34px rgba(200, 170, 110, .5);
}

/* Lịch Sử Mua Hàng — viền vàng, hover đổ nền vàng */
.lms-topbtn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--gold-soft);
  border: 1.5px solid rgba(200, 170, 110, .42);
}
.lms-topbtn-ghost:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1d04;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(200, 170, 110, .5);
}

@media (max-width: 480px) {
  .lms-topnav { gap: 8px; padding: 14px 10px 2px; }
  .lms-topbtn { height: 44px; padding: 0 12px; font-size: 13.5px; }
}

/* ===== HEADER MENU (trang bảo trì) — tông vàng kim đồng bộ site chính ===== */
.lms-maint-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #000;
  box-shadow: 0 6px 26px rgba(0, 0, 0, .6);
}
.lms-maint-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Logo + tên thương hiệu */
.lms-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.lms-brand-logo {
  height: 42px;
  width: auto;
  border-radius: 8px;
  transition: filter .3s ease;
}
.lms-brand:hover .lms-brand-logo { filter: drop-shadow(0 0 8px rgba(250, 189, 3, .55)); }
.lms-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .3px;
  line-height: 1;
  background: linear-gradient(100deg, #fff7e0 0%, #ffd24a 55%, #fabd03 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lms-brand-name b { -webkit-text-fill-color: #fabd03; color: #fabd03; }

/* Menu điều hướng bên phải */
.lms-maint-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lms-maint-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-soft);
  border: 1.5px solid rgba(200, 170, 110, .42);
  background: rgba(255, 255, 255, .04);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), background .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.lms-maint-nav a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1d04;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(200, 170, 110, .45);
}
.lms-maint-nav a:active { transform: scale(.97); }
/* Nút nổi bật (CTA Zalo) — vàng kim đặc */
.lms-maint-nav a.is-primary {
  background: linear-gradient(180deg, #ffd24a, #f0a800);
  color: #1a1205;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(250, 189, 3, .4);
}
.lms-maint-nav a.is-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 22px rgba(250, 189, 3, .55); }

/* Nút "Lịch Sử Mua Hàng": vàng kim đặc -> hover đổ màu XANH ngọc + vệt sáng lướt (đồng bộ trang chính) */
.lms-maint-nav a.is-history {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffd24a, #f0a800);
  color: #1a1205;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(250, 189, 3, .4);
}
/* Vệt sáng trắng lướt qua khi rê chuột */
.lms-maint-nav a.is-history::before {
  content: '';
  position: absolute;
  top: 0;
  left: -85%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-22deg);
  transition: left .6s ease;
  pointer-events: none;
  z-index: 2;
}
.lms-maint-nav a.is-history:hover::before { left: 135%; }
/* Hover: đổ màu XANH ngọc + glow xanh đồng tông */
.lms-maint-nav a.is-history:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #44dba8, #1fb389);
  color: #06291e;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(56, 211, 159, .5);
}

@media (max-width: 768px) {
  .lms-maint-header-inner { padding: 8px 12px; }
  .lms-brand-logo { height: 34px; }
  .lms-brand-name { font-size: 16px; }
  .lms-maint-nav { gap: 6px; }
  .lms-maint-nav a { padding: 7px 12px; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .lms-brand-name { display: none; }        /* màn nhỏ: chỉ giữ logo, nhường chỗ cho 2 nút điều hướng */
  .lms-maint-header-inner { gap: 8px; }
  .lms-maint-nav a { padding: 7px 11px; font-size: 12px; }
}
/* ===== END HEADER MENU (trang bảo trì) ===== */