*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg: #faf9f6;
  --text: #1a1a2e;
  --text-light: #6b7c8a;
  --accent: #b8863a;
  --accent-light: #d4a84b;
  --accent-dim: #8a6a2a;
  --card: #ffffff;
  --border: #e8e4dc;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-dim); }
img { max-width: 100%; }

/* Nav */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1200px; margin:0 auto; padding:0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo {
  font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: 1px;
}
.nav-logo span { color: var(--accent); }
.menu-toggle { display:none; flex-direction:column; gap:4px; cursor:pointer; padding:8px; }
.menu-toggle span { width:22px; height:2px; background:var(--text); border-radius:2px; transition:0.3s; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 6px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--text-light); transition: all 0.25s;
}
.nav-links a:hover { background: var(--accent); color: #fff; }
.nav-links a.cta {
  background: var(--accent); color: #fff;
}
.nav-links a.cta:hover { background: var(--accent-dim); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(145deg, #0a1628 0%, #0c1e3e 20%, #152244 40%, #1a4a7a 60%, #2a5a9a 80%, #3a7abd 100%);
  overflow: hidden;
  text-align: center; padding: 120px 24px 80px;
}
.hero::before {
  content: ''; position: absolute; inset:0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,168,75,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(76,175,122,0.12) 0%, transparent 50%);
}
.hero-particles { position:absolute; inset:0; overflow:hidden; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); opacity:0.3; }
  50% { transform: translateY(-60px) scale(1.2); opacity:0.6; }
}
.hero-content {
  position:relative; z-index:2; text-align:center; padding:0 24px; max-width:900px;
}
.hero-badge {
  display:inline-block; padding:6px 20px; border-radius:100px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9); font-size:13px; letter-spacing:2px; margin-bottom:20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.badge-pulse { animation: badgePulse 3s ease-in-out infinite; }
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,168,75,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(212,168,75,0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 20px;
  letter-spacing: 4px; text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), #f0a35e);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8); max-width: 640px; margin:0 auto 36px;
  line-height: 1.9; font-weight: 300; letter-spacing: 1px;
}
.hero-actions { position: relative; z-index: 2; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 100px; font-size: 14px; font-weight: 500;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(184,134,58,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,134,58,0.35); }
.btn-outline {
  background: transparent; color: var(--accent); border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: rgba(184,134,58,0.06); transform: translateY(-2px); }

/* Section Common */
.section { padding: 80px 24px; }
.section-inner { max-width: 1000px; margin:0 auto; }
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300; letter-spacing: 4px; color: var(--text); margin-bottom: 12px;
}
.section-title .line {
  width: 48px; height: 2px; background: var(--accent);
  margin: 14px auto; opacity: 0.5;
}
.section-title .subtitle {
  max-width: 520px; margin:0 auto; color: var(--text-light); font-size: 14px; font-weight: 300;
}

/* Story Section */
.story { background: #fff; padding: 80px 0; }
.story-inner { max-width: 1000px; margin:0 auto; padding:0 24px; }
.story-text p {
  margin-bottom: 20px; color: var(--text-light); font-size: 15px; line-height: 2; font-weight: 300;
}
.story-text .quote {
  font-family: 'Source Han Serif SC', 'Noto Serif SC', SimSun, serif;
  font-size: 18px; color: var(--accent-dim); border-left: 3px solid var(--accent-light);
  padding: 16px 24px; margin: 24px 0; background: #f8f5ed; border-radius: 0 10px 10px 0;
  font-weight: 400;
}
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px;
}
.story-grid img {
  width: 100%; height: 200px; object-fit: cover; border-radius: 10px;
}
.story-grid img:first-child { grid-column: 1 / -1; height: 220px; }

/* Timeline */
.timeline-section { background: #f8f5ed; }
.timeline {
  position: relative; max-width: 720px; margin:0 auto;
}
.timeline::before {
  content: ''; position: absolute; left: 28px; top:0; bottom:0; width: 1.5px;
  background: var(--accent-light); opacity: 0.3;
}
.timeline-item {
  position: relative; padding-left: 64px; margin-bottom: 36px;
}
.timeline-dot {
  position: absolute; left: 20px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid #f8f5ed;
}
.timeline-item .date {
  font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px;
}
.timeline-item h4 { font-size: 15px; color: var(--text); font-weight: 500; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; font-weight: 300; }

/* Stats */
.stats-section { background: linear-gradient(135deg, #f0e8d8, #f8f5ed); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-item .number {
  font-size: 2.4rem; font-weight: 700; color: var(--accent);
  letter-spacing: 2px;
}
.stat-item .label { font-size: 13px; color: var(--text-light); margin-top: 6px; font-weight: 300; }

/* Activities */
.activity-section { background: #fff; }
.activity-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.activity-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s;
}
.activity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.activity-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.activity-card .body { padding: 20px 22px; }
.activity-card .body h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.activity-card .body p { font-size: 13px; color: var(--text-light); line-height: 1.8; font-weight: 300; }
.activity-card .tag {
  display: inline-block; padding: 2px 10px; border-radius: 50px;
  background: #f0e8d8; color: var(--accent-dim); font-size: 11px; margin-top: 10px;
}

/* Gallery */
.gallery-section { background: var(--bg); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.gallery-grid a {
  border-radius: 10px; overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--border); display: block;
  transition: all 0.3s;
}
.gallery-grid a:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.footer {
  background: #1a1a2e; color: rgba(255,255,255,0.5);
  padding: 48px 24px 30px; text-align: center; font-size: 12px; line-height: 2;
}
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--accent-light); }

/* Responsive */
/* ===== NBBK Logo ===== */
.nbbk-logo {
  display: inline-flex; align-items: center; gap: 2px;
  font-weight: 900; letter-spacing: 0;
}
.nbbk-logo .n { color: #4a90d9; transform: skewX(-8deg); display: inline-block; }
.nbbk-logo .b1 { color: #4caf7a; transform: skewX(-8deg); display: inline-block; }
.nbbk-logo .b2 { color: #e8893a; transform: skewX(-8deg); display: inline-block; }
.nbbk-logo .k { color: #d4a84b; transform: skewX(-8deg); display: inline-block; }
.lang-switch { display:flex; align-items:center; gap:2px; margin-left:4px; font-size:12px; font-weight:600; }
.lang-switch a { padding:3px 8px; border-radius:6px; transition:all 0.2s; text-decoration:none; color:var(--text-light); font-size:12px; }
.lang-switch a:hover { background:#1a3a6b; color:#fff; }
.lang-switch a.active { background:#2c6cb0; color:#fff; }
.lang-switch .lang-divider { color:#ccc; font-size:10px; user-select:none; }
.nbbk-hero-icon { display:inline-flex; align-items:center; gap:4px; font-size:clamp(2rem,5vw,3.5rem); font-weight:900; letter-spacing:2px; margin-bottom:8px; text-shadow:0 2px 30px rgba(0,0,0,0.2); }
.nbbk-hero-icon .n { color:#4a90d9; transform:skewX(-6deg); display:inline-block; }
.nbbk-hero-icon .b1 { color:#4caf7a; transform:skewX(-6deg); display:inline-block; }
.nbbk-hero-icon .b2 { color:#e8893a; transform:skewX(-6deg); display:inline-block; }
.nbbk-hero-icon .k { color:#d4a84b; transform:skewX(-6deg); display:inline-block; }
.lang-mn { display: none; }
.mn-text { font-family: 'Noto Sans Mongolian', 'Mongolian Baiti', sans-serif; }
:root { --blue-mid: #2c6cb0; --blue: #1a3a6b; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .activity-cards { grid-template-columns: repeat(2,1fr); }
  .story-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { padding:0 12px; }
  .nav-logo { font-size:14px; }
  .nbbk-logo { font-size:16px!important; }
  .nav-links { display:none; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:rgba(255,255,255,0.98); padding:12px 16px; box-shadow:0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.show { display:flex; }
  .nav-links a { padding:10px 12px; font-size:14px; border-radius:6px; }
  .lang-switch { margin-left:0; justify-content:flex-start; padding:8px 0; }
  .menu-toggle { display:flex!important; }
  .hero { padding:100px 16px 60px; }
  .hero h1 { font-size:clamp(1.6rem,5vw,2.6rem); letter-spacing:2px; }
  .hero p { font-size:clamp(0.85rem,2.5vw,1rem); max-width:100%; margin:0 0 28px; }
  .hero-badge { font-size:10px; padding:4px 12px; letter-spacing:1px; }
  .nbbk-hero-icon { font-size:clamp(1.6rem,6vw,2.4rem); }
  .btn { padding:10px 20px; font-size:13px; }
  .story-grid { grid-template-columns:1fr 1fr; gap:4px; }
  .story-grid img { height:130px; }
  .story-grid img:first-child { height:160px; }
  .section { padding:50px 12px; }
  .section-title { margin-bottom:30px; }
  .section-title h2 { font-size:clamp(1.3rem,4vw,1.8rem); letter-spacing:2px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
  .stat-item .number { font-size:1.8rem; }
  .activity-cards { grid-template-columns:1fr; gap:14px; }
  .activity-card img { height:140px; }
  .activity-card .body { padding:14px 16px; }
  .gallery-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .timeline::before { left:16px; }
  .timeline-item { padding-left:40px; margin-bottom:24px; }
  .timeline-item .date { font-size:11px; }
  .timeline-dot { left:10px; width:10px; height:10px; }
  .footer { padding:32px 16px 20px; font-size:11px; line-height:1.8; }
  .lang-switch a { font-size:11px; padding:2px 6px; }
  .hero-badge { font-size:10px; padding:3px 10px; }
}
@media (max-width: 480px) {
  .hero { padding:90px 12px 50px; }
  .hero h1 { letter-spacing:1px; }
  .gallery-grid { grid-template-columns:1fr; }
  .story-grid { grid-template-columns:1fr; }
  .story-grid img { height:180px; }
  .story-grid img:first-child { height:180px; }
  .stats-grid { gap:8px; }
  .stat-item .number { font-size:1.5rem; }
  .stat-item .label { font-size:12px; }
  .activity-card { font-size:14px; }
  .nbbk-hero-icon { font-size:clamp(1.4rem,8vw,2rem); }
}
