/* ============================================================================
   TRANG CHỦ — AE TRADING STYLE HOME cho HỘI QUÁN TRADER (Forex Metaverse 3D)
   ============================================================================ */
:root {
  --bg: #120d09;
  --bg-soft: #17110c;
  --card: #1b140e;
  --card-2: #201810;
  --border: rgba(217, 165, 60, 0.16);
  --border-strong: rgba(217, 165, 60, 0.32);
  --gold: #d9a53c;
  --gold-bright: #f0c868;
  --text: #f3ead9;
  --muted: #a89a86;
  --muted-2: #8a7c6a;

  --sans: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; }
em { font-style: normal; }
img, svg { display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 13, 9, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.nav.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.nav-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1b140e;
}
.brand-mark svg { width: 15px; height: 15px; }
.brand-name { font-weight: 800; letter-spacing: 0.04em; font-size: 14px; color: var(--text); }
.brand-name em { color: var(--gold-bright); font-style: normal; }

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--gold-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%); color: #1b140e; box-shadow: 0 10px 24px rgba(217, 165, 60, 0.22); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }

/* ---------- Layout helpers ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 28px 20px 0; }
.section { padding: 64px 0; border-top: 1px solid var(--border); }
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero { padding: 10px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.panel {
  background: linear-gradient(170deg, var(--card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--gold-bright);
  border: 1px solid var(--border-strong);
  background: rgba(217, 165, 60, 0.08);
}

.hero-left h1 {
  margin: 18px 0 14px;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
}
.hero-left h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
  font-size: 1.02em;
  margin-top: 2px;
}
.lead { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 46ch; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.stat b { display: block; font-size: 20px; color: var(--gold-bright); font-weight: 800; }
.stat span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted-2); }

.hero-right h3 { margin: 16px 0 10px; font-size: 21px; font-weight: 800; line-height: 1.35; }
.hero-right .lead { max-width: none; margin-bottom: 22px; }

.eco-list { display: flex; flex-direction: column; gap: 14px; }
.eco-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.eco-ic {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(217, 165, 60, 0.12);
  font-size: 16px;
}
.eco-item b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.eco-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- Split head (section intros) ---------- */
.split-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}
.split-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}
.split-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
}
.split-head .lead { max-width: 48ch; }

/* ---------- Cards grid ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.card-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(217, 165, 60, 0.12);
  font-size: 18px;
  margin-bottom: 14px;
}
.card h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; }
.card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Schedule ---------- */
.schedule-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.sched-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.sched-row:last-child { border-bottom: none; }
.sched-time { font-size: 18px; font-weight: 800; color: var(--gold-bright); }
.sched-time small { display: block; font-size: 11px; font-weight: 600; color: var(--muted-2); }
.sched-body b { display: block; font-size: 15px; margin-bottom: 3px; }
.sched-body p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}
.tag-ghost { color: var(--gold-bright); border-color: var(--border-strong); background: rgba(217, 165, 60, 0.08); }

/* ---------- CTA cuối ---------- */
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
.cta-left h2 { margin: 0 0 14px; font-size: 27px; font-weight: 800; line-height: 1.35; }
.cta-left .lead { max-width: 50ch; margin-bottom: 18px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.check-ic {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 100px;
  background: rgba(217, 165, 60, 0.16);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
}

.cta-card {
  background: var(--card-2);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 28px;
}
.cta-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.cta-card p { margin: 0 0 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  padding: 28px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer p { margin: 0 0 6px; font-size: 12px; color: var(--muted-2); max-width: 60ch; margin-inline: auto; }
.footer-brand { font-weight: 800; letter-spacing: 0.08em; color: var(--muted); font-size: 11.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .cards-2, .cta-grid { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; gap: 12px; }
  .nav-links { display: none; }
  .hero-left h1 { font-size: 32px; }
  .split-head h2 { font-size: 25px; }
  .sched-row { grid-template-columns: 70px 1fr; }
  .tag { grid-column: 2; justify-self: start; margin-top: 4px; }
}
@media (max-width: 560px) {
  .panel { padding: 24px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 10px 6px; }
  .stat b { font-size: 16px; }
  main { padding: 20px 14px 0; }
  .section { padding: 44px 0; }
}
