:root {
  --lbg-green: #0ECB81;
  --lbg-red: #F6465D;
  --lbg-dark: #0B0E11;
  --lbg-dark-soft: #14181D;
  --lbg-text: #1a1a1a;
  --lbg-muted: #6b7280;
  --lbg-border: #ececec;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: #fff; background: var(--lbg-dark); }

/* NAV – mặc định solid (dùng cho các trang con) */
.lbg-nav {
  background: var(--lbg-dark);
  padding: 18px 0;
  position: relative;
  z-index: 100;
}
.lbg-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.lbg-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: #fff; text-decoration: none; letter-spacing: .04em;
}
.lbg-nav-links { list-style: none; display: flex; gap: 36px; }
.lbg-nav-links a {
  color: rgba(255,255,255,.65); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: color .15s ease; letter-spacing: .01em;
}
.lbg-nav-links a:hover, .lbg-nav-links a.active { color: #fff; }

/* NAV overlay – chỉ dùng khi nav nằm bên trong .lbg-hero */
.lbg-hero > .lbg-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, rgba(11,14,17,.75) 0%, transparent 100%);
  border-bottom: none;
  padding: 22px 0;
  backdrop-filter: none;
}

/* HERO */
.lbg-hero { position: relative; background: var(--lbg-dark); overflow: hidden; }

/* Image wrapper */
.lbg-hero-img-wrap { position: relative; width: 100%; }
.lbg-hero-img {
  display: block; width: 100%; height: 680px;
  object-fit: cover; object-position: center 30%;
}
/* Overlay tối mạnh – blur nhẹ để chữ nổi bật */
.lbg-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11,14,17,.35) 0%, rgba(11,14,17,.72) 70%),
    linear-gradient(to top, rgba(11,14,17,.95) 0%, rgba(11,14,17,.4) 50%, rgba(11,14,17,.55) 100%);
  backdrop-filter: blur(1px);
}

/* Hero text – căn giữa */
.lbg-hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -42%);
  text-align: center; z-index: 2;
  max-width: 760px; padding: 0 24px;
  width: 100%;
}

/* Brand logo to */
.lbg-hero-brand {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 10px;
  line-height: 1;
}
.lbg-hero-brand-bull {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(64px, 10vw, 120px);
  color: var(--lbg-green);
  text-shadow: 0 0 40px rgba(14,203,129,.5), 0 2px 32px rgba(0,0,0,.8);
  letter-spacing: -.02em;
}
.lbg-hero-brand-sep {
  font-size: clamp(36px, 5vw, 64px);
  color: #fff;
  opacity: .9;
  filter: drop-shadow(0 0 12px #fff);
  animation: lbg-pulse 2s ease-in-out infinite;
}
.lbg-hero-brand-bear {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(64px, 10vw, 120px);
  color: var(--lbg-red);
  text-shadow: 0 0 40px rgba(246,70,93,.5), 0 2px 32px rgba(0,0,0,.8);
  letter-spacing: -.02em;
}
@keyframes lbg-pulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Sub-brand label */
.lbg-hero-brand-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .35em;
  color: rgba(255,255,255,.55); margin-bottom: 28px;
  text-transform: uppercase;
}

.lbg-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em;
  color: var(--lbg-green); display: block; margin-bottom: 16px;
  text-transform: uppercase;
}
.lbg-hero-text h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: #fff; line-height: 1.3; margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.8);
}
.lbg-green { color: var(--lbg-green); }
.lbg-red { color: var(--lbg-red); }
.lbg-hero-text p {
  color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  margin-bottom: 28px;
}
/* CTA row */
.lbg-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lbg-btn-ghost {
  display: inline-block; border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  padding: 13px 24px; border-radius: 4px; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.lbg-btn-ghost:hover { border-color: var(--lbg-green); color: var(--lbg-green); }

/* ARTICLES */
.lbg-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lbg-articles { background: var(--lbg-dark); padding: 80px 0; }

.lbg-section-header {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px;
}
.lbg-section-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--lbg-green); display: block; margin-bottom: 8px;
}
.lbg-section-header h2 {
  font-family: var(--font-display); font-size: 22px; letter-spacing: .05em;
  color: #fff; font-weight: 700;
}
.lbg-see-all {
  color: rgba(255,255,255,.45); font-size: 13px; text-decoration: none;
  font-family: var(--font-mono); letter-spacing: .04em;
  transition: color .15s;
}
.lbg-see-all:hover { color: var(--lbg-green); }

/* Grid 3 cột */
.lbg-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.lbg-article-card {
  display: flex; flex-direction: column;
  background: var(--lbg-dark-soft);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .25s;
}
.lbg-article-card:hover {
  border-color: rgba(14,203,129,.35);
  transform: translateY(-4px);
}

/* Thumbnail */
.lbg-card-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 3/2;
}
.lbg-card-thumb img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.lbg-article-card:hover .lbg-card-thumb img {
  transform: scale(1.06);
}

/* Tag nằm trên ảnh */
.lbg-card-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; padding: 4px 10px; border-radius: 3px;
  font-weight: 500;
}
.lbg-tag-green { background: rgba(14,203,129,.15); color: var(--lbg-green); border: 1px solid rgba(14,203,129,.3); }
.lbg-tag-red   { background: rgba(246,70,93,.15);  color: var(--lbg-red);   border: 1px solid rgba(246,70,93,.3);  }

/* Body */
.lbg-card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.lbg-card-body h3 {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: #fff; line-height: 1.45; margin-bottom: 10px;
}
.lbg-card-body p {
  font-size: 13px; color: rgba(255,255,255,.5);
  line-height: 1.65; flex: 1; margin-bottom: 16px;
}

/* Meta row */
.lbg-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 12px;
}
.lbg-card-date {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,.3); letter-spacing: .06em;
}
.lbg-card-read {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lbg-green); letter-spacing: .06em;
}

/* CTA xem tất cả */
.lbg-articles-cta { text-align: center; margin-top: 52px; }
.lbg-btn-outline-green {
  display: inline-block;
  border: 1px solid var(--lbg-green); color: var(--lbg-green);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; padding: 14px 36px; border-radius: 4px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.lbg-btn-outline-green:hover {
  background: var(--lbg-green); color: var(--lbg-dark);
}

/* FILTER BAR (bai-viet.html) */
.lbg-filter-bar {
  background: var(--lbg-dark-soft);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 0 0 0;
}
.lbg-filter-tabs {
  display: flex; gap: 4px; padding: 16px 0; overflow-x: auto;
  scrollbar-width: none;
}
.lbg-filter-tabs::-webkit-scrollbar { display: none; }
.lbg-filter-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  padding: 8px 18px; border-radius: 3px; border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: rgba(255,255,255,.5);
  cursor: pointer; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.lbg-filter-btn:hover {
  border-color: rgba(255,255,255,.3); color: #fff;
}
.lbg-filter-btn.active {
  background: var(--lbg-green); border-color: var(--lbg-green);
  color: var(--lbg-dark); font-weight: 600;
}

/* Page bài viết: bỏ padding top vì có filter bar */
.lbg-articles-page { padding-top: 56px; }

/* CATEGORIES PAGE (bai-viet.html) */
.lbg-categories { padding: 40px 0 80px; }
.lbg-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.lbg-cat-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .3s, border-color .3s;
}
.lbg-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
}
.lbg-cat-thumb {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
.lbg-cat-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.lbg-cat-card:hover .lbg-cat-thumb img {
  transform: scale(1.05);
}
.lbg-cat-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(11,14,17,0.95) 0%, rgba(11,14,17,0.4) 100%);
  display: flex; align-items: flex-end; padding: 32px;
}
.lbg-cat-overlay h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.lbg-cat-overlay h2.lbg-red { color: var(--lbg-red); }
.lbg-cat-overlay h2.lbg-green { color: var(--lbg-green); }

/* ARTICLE DETAIL PAGE */
.lbg-article-detail {
  padding: 60px 0 100px;
}
.lbg-article-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.lbg-article-header .lbg-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  color: var(--lbg-red);
  letter-spacing: .1em;
  font-size: 13px;
}
.lbg-article-title {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.lbg-article-meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.lbg-article-cover {
  max-width: 1000px;
  margin: 0 auto 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.lbg-article-cover img {
  width: 100%;
  display: block;
}
.lbg-article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}
.lbg-article-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
  margin: 48px 0 24px;
}
.lbg-article-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  margin: 32px 0 16px;
}
.lbg-article-content p {
  margin-bottom: 24px;
}
.lbg-article-content blockquote {
  border-left: 4px solid var(--lbg-green);
  padding: 16px 24px;
  background: rgba(14, 203, 129, 0.05);
  margin: 32px 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.lbg-article-content ul, .lbg-article-content ol {
  margin: 0 0 24px 24px;
}
.lbg-article-content li {
  margin-bottom: 12px;
}
.lbg-article-content img {
  width: 100%;
  border-radius: 8px;
  margin: 32px 0;
  border: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 640px) {
  .lbg-article-title { font-size: 32px; }
  .lbg-article-content { font-size: 16px; }
}

/* PAGINATION */
.lbg-pagination {
  display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 52px;
}
.lbg-page-link {
  display: flex; justify-content: center; align-items: center;
  width: 40px; height: 40px; border-radius: 4px;
  background: var(--lbg-dark-soft); border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.6); font-family: var(--font-mono); font-size: 14px; text-decoration: none;
  transition: all .2s;
}
.lbg-page-link:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.lbg-page-link.active {
  background: var(--lbg-green); border-color: var(--lbg-green); color: var(--lbg-dark); font-weight: 700;
}
.lbg-page-link.lbg-page-next { width: auto; padding: 0 20px; }
.lbg-page-dots { color: rgba(255,255,255,.3); font-family: var(--font-mono); }

/* FOOTER */
.lbg-footer { background: var(--lbg-dark); padding: 28px 0; }
.lbg-footer span { color: rgba(255,255,255,.5); font-size: 12px; }

@media (max-width: 900px) {
  .lbg-article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lbg-nav-links { display: none; }
  .lbg-article-grid { grid-template-columns: 1fr; }
  .lbg-category-grid { grid-template-columns: 1fr; }
  .lbg-hero-text { transform: translate(-50%, -48%); width: 100%; }
  .lbg-hero-img { height: 520px; }
  .lbg-hero-cta { flex-direction: column; align-items: center; }
  .lbg-hero-brand { gap: 12px; }
  .lbg-section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* PAGE HEADER */
.lbg-page-header { background: var(--lbg-dark); padding: 64px 0 48px; }
.lbg-page-header h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px);
  color: #fff; margin: 10px 0 14px;
}
.lbg-page-header p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 560px; line-height: 1.6; }
.lbg-eyebrow-dark { color: var(--lbg-text) !important; }

/* CONTENT GRID (bai-viet.html) */
.lbg-content-section { padding: 56px 0 80px; }
.lbg-content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.lbg-content-main .lbg-article-grid { grid-template-columns: repeat(2, 1fr); }

.lbg-sidebar-box {
  border: 1px solid var(--lbg-border); border-radius: 8px; padding: 22px; margin-bottom: 20px;
}
.lbg-sidebar-box h3 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; margin-bottom: 16px;
}
.lbg-category-list { list-style: none; }
.lbg-category-list li a {
  display: flex; justify-content: space-between; text-decoration: none; color: var(--lbg-text);
  font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--lbg-border);
}
.lbg-category-list li:last-child a { border-bottom: none; }
.lbg-category-list em { color: var(--lbg-muted); font-style: normal; font-family: var(--font-mono); font-size: 12px; }
.lbg-sidebar-dark { background: var(--lbg-dark); border: none; }
.lbg-sidebar-dark h3, .lbg-sidebar-dark p { color: rgba(255,255,255,.85); }
.lbg-sidebar-dark p { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.lbg-link-arrow { color: var(--lbg-green); font-size: 13px; text-decoration: none; }

/* PILLARS (he-thong.html) */
.lbg-pillars-section { padding: 64px 0; }
.lbg-pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lbg-pillar-card { border: 1px solid var(--lbg-border); border-radius: 8px; padding: 28px; }
.lbg-pillar-num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  display: inline-block; margin-bottom: 14px;
}
.lbg-num-green { color: var(--lbg-green); }
.lbg-num-red { color: var(--lbg-red); }
.lbg-pillar-card h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 10px; }
.lbg-pillar-card p { font-size: 13.5px; color: var(--lbg-muted); line-height: 1.6; }

.lbg-principles-section { background: #fafafa; padding: 64px 0; }
.lbg-h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); margin-bottom: 32px; }
.lbg-principles-list { display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.lbg-principle-row { display: flex; gap: 16px; align-items: flex-start; }
.lbg-principle-mark { color: var(--lbg-green); font-size: 14px; margin-top: 2px; }
.lbg-mark-red { color: var(--lbg-red); }
.lbg-principle-row p { font-size: 14.5px; line-height: 1.6; }

/* ABOUT (gioi-thieu.html) */
.lbg-about-section { padding: 64px 0; }
.lbg-about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.lbg-about-text p { font-size: 14.5px; line-height: 1.75; color: #333; margin-bottom: 18px; }
.lbg-about-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.lbg-about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.lbg-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.lbg-dot-green { background: var(--lbg-green); }
.lbg-dot-red { background: var(--lbg-red); }
.lbg-about-visual svg { width: 100%; height: auto; }

/* CTA SECTION (dùng chung he-thong + gioi-thieu) */
.lbg-cta-section { background: var(--lbg-dark); padding: 56px 0; text-align: center; }
.lbg-cta-section h2 { font-family: var(--font-display); color: #fff; font-size: 22px; margin-bottom: 24px; }
.lbg-btn {
  display: inline-block; background: var(--lbg-green); color: var(--lbg-dark);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  padding: 14px 26px; border-radius: 4px; text-decoration: none;
}

@media (max-width: 900px) {
  .lbg-content-grid { grid-template-columns: 1fr; }
  .lbg-about-grid { grid-template-columns: 1fr; }
  .lbg-about-visual { order: -1; max-width: 240px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .lbg-content-main .lbg-article-grid { grid-template-columns: 1fr; }
  .lbg-pillar-grid { grid-template-columns: 1fr; }
}