:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --black-3: #121212;
  --black-4: #1a1a1a;
  --gold: #d4af37;
  --gold-2: #c9a227;
  --gold-light: #f3e0a6;
  --gold-soft: #e8d48b;
  --gold-dark: #8a6d1d;
  --line: rgba(212, 175, 55, 0.35);
  --white: #f8f4ea;
  --muted: #b8b09c;
  --danger: #e2b04a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --header-h: 118px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="vi"] body { font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif; }

/* Canh đều nội dung văn bản */
p,
.prose p,
.hero-lead,
.hero-list li,
.course-body p,
.why-card p,
.testi-card .quote,
.testi-card .role,
.post-card p,
.event-card p,
.event-card li,
.contact-card p,
.site-footer p,
.form-note,
.timeline-item p,
.stat-label,
.breadcrumb,
.modal-box p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
ul { list-style: none; }

.gold-text {
  background: linear-gradient(180deg, #fff1c1 0%, #d4af37 42%, #8a6d1d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-line {
  width: 88px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}
.section-sub {
  max-width: 760px;
  margin: 16px auto 0;
  text-align: justify;
  text-justify: inter-word;
  color: var(--muted);
  font-size: 16px;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #c9a227, #f5e6a3 50%, #c9a227);
  color: #111;
  font-size: 13px;
  font-weight: 600;
}
.topbar-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-social { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #111; }
.topbar-social a {
  width: 22px; height: 22px; display: grid; place-items: center;
}
.topbar svg { width: 15px; height: 15px; fill: #111; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.7;
}
.lang-switch a.is-active,
.lang-switch a:hover { opacity: 1; text-decoration: underline; }
.lang-switch span { opacity: 0.45; font-weight: 400; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; gap: 4px; }
.logo-name {
  font-family: Cinzel, "Be Vietnam Pro", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.logo-tag {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
}
.logo-tag::before, .logo-tag::after {
  content: ""; height: 1px; width: 28px; background: var(--gold);
}
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.menu > li > a:hover,
.menu > li > a.is-active { border-bottom-color: var(--gold); }
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--gold);
}
.dropdown {
  position: absolute; top: calc(100% - 2px); left: 0;
  min-width: 230px;
  background: #0c0c0c;
  border: 1px solid var(--line);
  padding: 8px 0;
  display: none;
  box-shadow: var(--shadow);
}
.menu > li:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 16px;
  color: var(--gold-soft); font-size: 13px; font-weight: 500;
}
.dropdown a:hover { background: rgba(212, 175, 55, 0.08); color: var(--gold-light); }
.nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line); background: transparent; color: var(--gold);
  cursor: pointer; border-radius: 8px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(212, 175, 55, 0.18), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08), transparent 30%),
    #000;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(243, 224, 166, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 22%, rgba(212, 175, 55, 0.35) 0 3px, transparent 4px),
    radial-gradient(circle at 84% 58%, rgba(243, 224, 166, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 70%, rgba(212, 175, 55, 0.2) 0 4px, transparent 5px),
    radial-gradient(circle at 90% 80%, rgba(243, 224, 166, 0.22) 0 2px, transparent 3px);
  pointer-events: none;
}
.hero-photo {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 620px;
}
.portrait {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.06) saturate(0.95);
  mask-image: linear-gradient(to top, transparent 0%, #000 10%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 48px 64px 12px;
}
.hero-kicker {
  font-family: Cinzel, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.hero-role {
  margin-top: 10px;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 700;
}
.hero-role::before {
  content: "";
  display: block; width: 90px; height: 1px; background: var(--gold); margin-bottom: 12px;
}
.hero-lead {
  margin-top: 28px;
  max-width: 520px;
  color: #eee8d8;
  font-size: 16px;
}
.hero-list { margin-top: 28px; display: grid; gap: 12px; }
.hero-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: #f3efe3; font-weight: 500;
}
.check {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f3e0a6, #d4af37);
  color: #111; font-size: 13px; font-weight: 800; margin-top: 2px;
}

/* Cards / courses */
.courses { background: #070707; }
.course-slider { position: relative; margin-top: 40px; }
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow: hidden;
}
.course-card {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.course-thumb {
  height: 210px;
  background:
    radial-gradient(circle at 30% 20%, rgba(243, 224, 166, 0.28), transparent 40%),
    linear-gradient(160deg, #1a1508, #0a0a0a 60%);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.course-thumb img, .thumb-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.95);
}
.course-thumb span { position: relative; z-index: 1; text-shadow: 0 8px 24px #000; }
.course-thumb span {
  font-family: Cinzel, serif;
  font-size: 28px; font-weight: 700; text-align: center; padding: 0 16px;
}
.course-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-body h3 { font-size: 18px; color: var(--gold-light); }
.course-body p { color: var(--muted); font-size: 14px; flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px;
  border-radius: 8px; border: 1px solid var(--gold);
  color: #111; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #f3e0a6, #d4af37);
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent; color: var(--gold);
}
.slider-btn {
  position: absolute; top: 42%;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(0,0,0,0.7);
  color: var(--gold); cursor: pointer; z-index: 2;
}
.slider-btn.prev { left: -8px; }
.slider-btn.next { right: -8px; }

/* Stats */
.stats {
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12), transparent 55%),
    #050505;
  border-block: 1px solid var(--line);
}
.stats-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}
.stat-label { margin-top: 10px; color: var(--muted); }

/* Video / testimonials / events */
.video-grid, .testi-grid, .event-grid, .why-grid, .post-grid, .book-grid {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}
.video-grid { grid-template-columns: repeat(3, 1fr); }
.video-card, .media-card {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--line); min-height: 210px;
  background: linear-gradient(160deg, #20180a, #0c0c0c);
  display: grid; place-items: center;
}
.play {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(180deg, #f3e0a6, #d4af37);
  color: #111; display: grid; place-items: center;
  font-size: 22px; box-shadow: 0 10px 30px rgba(212,175,55,0.35);
}
.video-card p, .media-card p {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-weight: 600;
}

.testi-grid { grid-template-columns: repeat(3, 1fr); }
.testi-card, .why-card, .post-card, .book-card, .event-card, .info-card {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.testi-card .quote { color: #efe8d4; font-size: 15px; }
.testi-card .who { margin-top: 18px; color: var(--gold); font-weight: 700; }
.testi-card .role { color: var(--muted); font-size: 13px; }

.events { background: #080808; }
.event-grid { grid-template-columns: repeat(3, 1fr); }
.event-date {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.event-card h3 { margin: 10px 0 14px; font-size: 22px; }
.event-card li { color: var(--muted); font-size: 14px; padding: 4px 0; }

.past-row {
  margin-top: 28px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px;
  overflow: hidden;
}
.past-item {
  position: relative;
  height: 190px; border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; place-items: end center;
  text-align: center; padding: 16px;
  color: var(--gold-soft); font-weight: 700;
}
.past-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.past-item span { position: relative; z-index: 1; }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.photo-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: #101010;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.photo-gallery-item:hover img { transform: scale(1.05); }
.photo-gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.contact-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-card h3 { color: var(--gold-light); margin-bottom: 10px; font-size: 18px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* Form */
.register {
  background:
    linear-gradient(180deg, rgba(212,175,55,0.08), transparent 40%),
    #050505;
}
.register-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.form-card, .contact-card {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea {
  width: 100%; height: 48px;
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  padding: 0 14px;
  outline: none;
}
.form-grid textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--gold); }
.form-note { margin-top: 10px; color: var(--muted); font-size: 13px; }
.form-note.ok { color: #d4af37; }
.contact-card h3 { color: var(--gold-light); margin-bottom: 16px; }
.contact-card p { color: var(--muted); margin: 8px 0; }

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 32px;
}
.site-footer h3 { color: var(--gold); margin-bottom: 14px; font-size: 16px; }
.site-footer p, .site-footer a { color: var(--muted); font-size: 14px; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--gold-light); }
.copyright {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(212,175,55,0.15);
  color: #7d7666; font-size: 13px; text-align: center;
}

/* Gift + to top */
.gift-btn, .to-top {
  position: fixed; z-index: 60;
  display: grid; place-items: center;
  text-align: center;
}
.gift-btn {
  right: 18px; bottom: 88px;
  width: 92px; padding: 10px 8px 8px;
  background: rgba(0,0,0,0.72);
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold); font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; cursor: pointer;
}
.gift-icon { font-size: 28px; display: block; margin-bottom: 4px; }
.to-top {
  right: 34px; bottom: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #111; font-weight: 800;
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,0.72);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
  width: min(460px, 100%);
  background: #111;
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 28px;
}
.modal-box h3 { color: var(--gold-light); margin-bottom: 8px; }
.modal-close {
  float: right; background: none; border: 0; color: var(--gold);
  font-size: 22px; cursor: pointer;
}

/* Inner pages */
.page-hero {
  padding: 72px 0 28px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(212,175,55,0.16), transparent 55%),
    #000;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.breadcrumb a { color: var(--gold); }
.post-grid { grid-template-columns: repeat(3, 1fr); }
.post-card h3 { color: var(--gold-light); margin: 10px 0; font-size: 18px; }
.post-card p { color: var(--muted); font-size: 14px; }
.post-meta { color: var(--gold); font-size: 12px; letter-spacing: 0.08em; font-weight: 700; }
.book-grid { grid-template-columns: repeat(4, 1fr); }
.book-cover {
  height: 180px; border-radius: 10px; margin-bottom: 14px;
  background: linear-gradient(160deg, #d4af37, #3b2f0c);
  display: grid; place-items: center; text-align: center; padding: 12px;
  color: #111; font-weight: 800;
}
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center;
}
.about-photo {
  min-height: 420px; border-radius: 18px; border: 1px solid var(--line);
  overflow: hidden;
}
.about-photo img {
  width: 100%; height: 100%; min-height: 420px;
  object-fit: cover;
}
.media-card img, .video-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.prose { color: #ddd6c4; }
.prose p { margin: 12px 0; }
.prose h3 { color: var(--gold-light); margin-top: 22px; }

.timeline { display: grid; gap: 16px; margin-top: 28px; }
.timeline-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 18px;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  background: #101010;
}
.timeline-item strong { color: var(--gold); }

@media (max-width: 980px) {
  .hero, .register-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px 20px 56px; }
  .hero-photo { min-height: 420px; }
  .portrait { min-height: 420px; }
  .stats-grid, .video-grid, .testi-grid, .event-grid, .why-grid, .post-grid, .book-grid, .photo-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .slider-track, .past-row { grid-auto-columns: calc((100% - 24px) / 2); }
  .nav-toggle { display: grid; place-items: center; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 118px;
    background: #000; flex-direction: column; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .dropdown { position: static; display: block; border: 0; background: transparent; }
  .timeline-item { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid, .video-grid, .testi-grid, .event-grid, .why-grid, .post-grid, .book-grid, .photo-gallery {
    grid-template-columns: 1fr;
  }
  .slider-track, .past-row { grid-auto-columns: 100%; }
  .topbar-left span.hide-sm { display: none; }
}
