:root {
  --bg-primary: #12161e;
  --bg-secondary: #181d28;
  --bg-tertiary: #1e2433;
  --bg-card: rgba(28, 34, 48, 0.88);
  --bg-card-hover: rgba(38, 46, 64, 0.95);
  --gold: #d4a843;
  --gold-light: #f0cc6b;
  --gold-dark: #9a7520;
  --gold-glow: rgba(212, 168, 67, 0.3);
  --red: #c41e3a;
  --red-dark: #8b0000;
  --red-glow: rgba(196, 30, 58, 0.35);
  --purple: #6b3fa0;
  --purple-dark: #2d1b4e;
  --cyan: #4ecdc4;
  --text-white: #f5f0e8;
  --text-light: #d4ccba;
  --text-muted: #9a9080;
  --text-dim: #6a6058;
  --border-gold: rgba(212, 168, 67, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-display: 'Noto Serif SC', 'Georgia', 'SimSun', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 22, 30, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(18, 22, 30, 0.94);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  width: 100%; max-width: 1200px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900; color: var(--gold);
  letter-spacing: 4px;
  text-shadow: 0 0 30px var(--gold-glow);
  cursor: pointer;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  background: linear-gradient(135deg, rgba(212,168,67,0.1), transparent);
  position: relative;
}

.nav-links {
  display: flex; align-items: center; gap: 0; list-style: none;
}

.nav-link {
  padding: 10px 20px;
  font-size: 14px; font-weight: 500; letter-spacing: 1.5px;
  color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 24px; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
  display: flex; border: 1px solid var(--border-gold);
  border-radius: 22px; overflow: hidden;
}

.lang-btn {
  padding: 5px 14px; font-size: 12px; font-weight: 700;
  color: var(--text-dim); background: none; border: none;
  cursor: pointer; font-family: var(--font-body);
  letter-spacing: 0.5px; transition: all 0.3s;
}

.lang-btn:hover { color: var(--text-muted); }
.lang-btn.active { color: var(--gold); background: rgba(212,168,67,0.1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.hamburger span {
  width: 22px; height: 2px; background: var(--gold);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  filter: brightness(0.45) saturate(1.3);
  transform: scale(1.05);
  animation: heroBgZoom 20s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(196,30,58,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(107,63,160,0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(18,22,30,0.2) 0%, rgba(18,22,30,0.05) 40%, rgba(18,22,30,0.5) 80%, var(--bg-primary) 100%);
}

.hero-particles {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden; pointer-events: none;
}

.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold);
  animation: particleRise linear infinite;
  opacity: 0;
}

@keyframes particleRise {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  15% { opacity: 0.7; }
  85% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(30px); }
}

.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 40px 24px;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 24px; margin-bottom: 28px;
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 2px;
  font-size: 11px; letter-spacing: 6px;
  color: var(--gold); text-transform: uppercase;
  background: rgba(212,168,67,0.05);
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900; color: var(--gold);
  letter-spacing: 8px;
  text-shadow: 0 0 60px var(--gold-glow), 0 4px 30px rgba(0,0,0,0.6);
  margin-bottom: 12px;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero-subtitle {
  font-size: clamp(12px, 1.6vw, 17px);
  color: var(--text-light);
  letter-spacing: 6px; font-weight: 300;
  margin-bottom: 8px;
  animation: fadeUp 0.8s var(--ease-out) 0.6s both;
}

.hero-desc {
  font-size: clamp(11px, 1vw, 13px);
  color: var(--text-muted);
  max-width: 520px; margin: 0 auto 24px;
  line-height: 1.9;
  animation: fadeUp 0.8s var(--ease-out) 0.8s both;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 1s both;
}

.hero-hint {
  font-size: 12px; color: var(--text-dim); margin-top: 20px;
  animation: fadeUp 0.8s var(--ease-out) 1.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  border: 1px solid var(--border-gold);
  background: rgba(212,168,67,0.06);
  color: var(--gold); cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
}

.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover {
  background: rgba(212,168,67,0.12);
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-2px);
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a0a; border-color: var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a0a;
  box-shadow: 0 0 40px var(--gold-glow);
}

.btn-download {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-color: var(--red);
  color: #fff;
  padding: 15px 44px; font-size: 16px;
  box-shadow: 0 0 30px var(--red-glow);
}

.btn-download:hover {
  background: linear-gradient(135deg, var(--red), #e8294e);
  color: #fff;
  box-shadow: 0 0 50px var(--red-glow);
  border-color: #e8294e;
}

/* ===== STATS ===== */
.stats-bar {
  position: relative; z-index: 4;
  background: rgba(18, 22, 30, 0.92);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(20px);
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center; padding: 32px 16px;
  border-right: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover { background: rgba(212,168,67,0.03); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900; color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

.stat-label {
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 2px; margin-top: 4px;
}

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; position: relative; }

.section-dark { background: var(--bg-secondary); }

.section-alt { background: var(--bg-tertiary); }

.section-header {
  text-align: center; margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900; color: var(--gold);
  letter-spacing: 4px;
  text-shadow: 0 0 30px var(--gold-glow);
  margin-bottom: 12px;
}

.section-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 0 auto 16px;
}

.section-desc {
  font-size: 15px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  border-radius: 8px;
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px var(--gold-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  background: rgba(212,168,67,0.06);
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background: rgba(212,168,67,0.1);
  box-shadow: 0 0 20px var(--gold-glow);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--gold); letter-spacing: 2px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.8;
}

/* ===== NEWS ===== */
.news-list { max-width: 760px; margin: 0 auto; }

.news-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px; margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer; transition: all 0.3s var(--ease);
}

.news-item:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.news-date {
  flex-shrink: 0; text-align: center;
  padding: 10px 16px;
  border-right: 1px solid var(--border-subtle);
  min-width: 70px;
}

.news-day {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900; color: var(--gold);
}

.news-month {
  font-size: 11px; color: var(--text-dim); margin-top: 2px;
}

.news-info { flex: 1; }

.news-cat {
  display: inline-block;
  padding: 2px 10px; margin-bottom: 6px;
  border: 1px solid var(--border-gold);
  font-size: 10px; color: var(--gold); letter-spacing: 1px;
}

.news-title {
  font-size: 15px; font-weight: 500; color: var(--text-light);
  transition: color 0.3s;
}

.news-item:hover .news-title { color: var(--gold); }

.news-arrow {
  flex-shrink: 0; color: var(--text-dim);
  font-size: 18px; transition: all 0.3s;
}

.news-item:hover .news-arrow {
  color: var(--gold); transform: translateX(4px);
}

.news-more { text-align: center; margin-top: 40px; }

/* ===== PAGE HEADER ===== */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

.page-hero {
  padding: 100px 0 50px; text-align: center;
  position: relative; overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.3) saturate(1.3);
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,22,30,0.3), rgba(18,22,30,0.6), var(--bg-primary));
}

.page-hero .container { position: relative; z-index: 2; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900; color: var(--gold);
  letter-spacing: 6px;
  text-shadow: 0 0 30px var(--gold-glow);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 15px; color: var(--text-muted);
  max-width: 500px; margin: 0 auto;
}

/* ===== GAME IMG ===== */
.game-img-wrap {
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden; position: relative;
  background: var(--bg-card);
}

.game-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.game-img-wrap:hover img { transform: scale(1.05); }

.game-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(212,168,67,0.15);
  pointer-events: none;
}

/* ===== CLASS CARD ===== */
.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden; transition: all 0.4s var(--ease);
}

.class-card:hover {
  border-color: var(--border-gold);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 20px var(--gold-glow);
  transform: translateY(-4px);
}

.class-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.class-card-body { padding: 24px; }

.class-card-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  color: var(--gold); letter-spacing: 3px;
  margin-bottom: 4px;
}

.class-card-weapon {
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 1px; margin-bottom: 12px;
}

.class-card-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 16px;
}

.class-section-label {
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 2px; margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.class-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.class-tag {
  padding: 3px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.5px;
}

.skill-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}

.skill-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.3s;
}

.skill-item:hover {
  border-color: var(--border-gold);
  background: rgba(212,168,67,0.04);
}

.skill-icon {
  width: 28px; height: 28px; border-radius: 2px;
  flex-shrink: 0; object-fit: cover;
}

.skill-name {
  font-size: 12px; color: var(--text-light);
}

/* ===== FEATURE DETAIL ===== */
.feature-row {
  display: flex; gap: 40px; align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-row:last-child { border-bottom: none; }

.feature-row:nth-child(even) { flex-direction: row-reverse; }

.feature-row-text { flex: 1; min-width: 0; }

.feature-row-icon {
  font-size: 20px; margin-bottom: 12px;
  color: var(--gold);
}

.feature-row-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 900;
  color: var(--gold); letter-spacing: 2px;
  margin-bottom: 12px;
}

.feature-row-desc {
  font-size: 14px; color: var(--text-muted); line-height: 2;
}

.feature-row-img {
  flex: 1; min-width: 0;
  aspect-ratio: 16/10;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
}

.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding: 60px 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  color: var(--gold); letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.8; max-width: 280px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--gold); letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 13px; color: var(--text-dim);
  transition: all 0.3s;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-social {
  display: flex; gap: 10px; margin-top: 16px;
}

.social-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  color: var(--text-dim); font-size: 14px;
  transition: all 0.3s;
}

.social-btn:hover {
  color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.hero-about {
  margin-top: 28px;
  padding: 24px 32px;
  background: rgba(28, 34, 48, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s var(--ease-out) 1.4s both;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.hero-about-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-align: center;
}

.hero-about-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: center;
}

.hero-about-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-about-link {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-decoration: none;
}

.hero-about-link:hover {
  background: rgba(212, 168, 67, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

.hero-about-qq {
  background: rgba(18, 150, 219, 0.08);
  border-color: rgba(18, 150, 219, 0.3);
  color: #6cb8e6;
}

.hero-about-qq:hover {
  background: rgba(18, 150, 219, 0.15);
  border-color: #1296db;
  color: #3eb8f5;
  box-shadow: 0 0 12px rgba(18, 150, 219, 0.25);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}

.footer-copy { font-size: 12px; color: var(--text-dim); }

.footer-disclaimer {
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 11px; color: var(--text-dim);
  text-align: center; line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(18, 22, 30, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px;
    border-bottom: 1px solid var(--border-gold);
    transform: translateY(-120%); opacity: 0;
    transition: all 0.4s var(--ease);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0); opacity: 1;
    pointer-events: auto;
  }

  .nav-link { padding: 14px 20px; width: 100%; text-align: center; }

  .hamburger { display: flex; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-item:nth-child(2) { border-right: none; }

  .footer-main { grid-template-columns: 1fr 1fr; }

  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
  }

  .feature-row-img { width: 100%; }
}

@media (max-width: 767px) {
  :root { --nav-h: 56px; }

  .nav-logo { font-size: 17px; letter-spacing: 2px; }
  .nav-logo-icon { width: 30px; height: 30px; font-size: 14px; }

  .hero { min-height: 85vh; }
  .hero-title { letter-spacing: 4px; }
  .hero-subtitle { letter-spacing: 3px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .features-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 12px; }
  .stat-num { font-size: 24px; }

  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-desc { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .news-item { flex-direction: column; text-align: center; }
  .news-date { border-right: none; border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; width: 100%; }

  .section { padding: 60px 0; }

  .page-hero { padding: 80px 0 30px; }
}