/* ========================================
   Nexus Runner 统一主题样式
   Primary: #003fad (深蓝)
   Accent: #39FF14 (全站唯一荧光绿)
   ======================================== */

/* === 字体导入 === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Noto+Serif:wght@400;700&family=Inter:wght@300;400;500;600&family=Public+Sans:wght@400;600;700&display=swap');

/* === 全局字体 === */
body {
    font-family: 'Inter', sans-serif !important;
    color: #1a1a1a;
}

/* === 大标题统一：Playfair Display === */
h1 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

h2, h3 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 700 !important;
}

h4, h5, h6 {
    font-family: 'Noto Serif', serif !important;
}

.font-headline,
.font-serif,
.serif-font {
    font-family: 'Playfair Display', serif !important;
}

.font-body,
p,
li {
    font-family: 'Inter', sans-serif !important;
}

.font-label,
button {
    font-family: 'Public Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
}

/* === 导航栏 === */
nav {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

nav > div > a:first-child,
nav a.text-blue-600,
nav a[href="index.html"]:first-child {
    color: #003fad !important;
    font-family: 'Noto Serif', serif !important;
    font-weight: 700 !important;
}

nav a {
    font-family: 'Noto Serif', serif !important;
}

/* === 主色调：深蓝 #003fad === */
.text-primary,
.text-blue-600,
.text-\[\#094cb2\],
.text-\[\#2d6ed8\],
.text-\[\#0F2540\],
.text-blue-900 {
    color: #003fad !important;
}

.bg-primary,
.bg-blue-600,
.bg-\[\#094cb2\],
.bg-\[\#2d6ed8\],
.bg-\[\#000d1a\] {
    background-color: #003fad !important;
}

.border-primary,
.border-blue-600,
.border-\[\#094cb2\] {
    border-color: #003fad !important;
}

/* ==============================================
   ✅ 全站所有绿色 → 强制统一为 #39FF14
   包含：绿色、浅绿、青绿、teal、emerald、lime、薄荷绿
   ============================================== */
.text-green-50,
.text-green-100,
.text-green-200,
.text-green-300,
.text-green-400,
.text-green-500,
.text-green-600,
.text-green-700,
.text-emerald-300,
.text-emerald-400,
.text-emerald-500,
.text-lime-300,
.text-lime-400,
.text-lime-500,
.text-teal-200,
.text-teal-300,
.text-teal-400,
.text-teal-500,
.text-\[\#5eead4\],
.text-\[\#43E0B7\],
.text-\[\#32CD32\],
.text-tertiary,
.text-tertiary-container {
    color: #39FF14 !important;
}

.bg-green-50,
.bg-green-100,
.bg-green-200,
.bg-green-300,
.bg-green-400,
.bg-green-500,
.bg-green-600,
.bg-green-700,
.bg-emerald-300,
.bg-emerald-400,
.bg-emerald-500,
.bg-lime-300,
.bg-lime-400,
.bg-lime-500,
.bg-teal-200,
.bg-teal-300,
.bg-teal-400,
.bg-teal-500,
.bg-\[\#5eead4\],
.bg-\[\#43E0B7\],
.bg-\[\#32CD32\],
.bg-tertiary,
.bg-tertiary-container {
    background-color: #39FF14 !important;
}

.border-green-300,
.border-green-400,
.border-green-500,
.border-emerald-400,
.border-emerald-500,
.border-lime-400,
.border-teal-300,
.border-teal-400,
.border-\[\#5eead4\],
.border-\[\#43E0B7\],
.border-tertiary-container {
    border-color: #39FF14 !important;
}

/* SVG 图标所有绿色统一 */
svg [fill*="green"],
svg [stroke*="green"],
svg [fill*="emerald"],
svg [stroke*="emerald"],
svg [fill*="teal"],
svg [stroke*="teal"],
svg [fill*="lime"],
svg [stroke*="lime"],
svg [fill*="#5eead4"],
svg [stroke*="#5eead4"],
svg [fill*="#39FF14"] {
    fill: #39FF14 !important;
    stroke: #39FF14 !important;
}

/* === 按钮统一 === */
a[class*="bg-primary"],
button[class*="bg-primary"] {
    background-color: #003fad !important;
    color: #ffffff !important;
    font-family: 'Public Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
}

/* === 图标 === */
.material-symbols-outlined {
    color: #003fad !important;
}

[class*="bg-primary"] .material-symbols-outlined,
[class*="bg-blue"] .material-symbols-outlined {
    color: #ffffff !important;
}

.text-tertiary .material-symbols-outlined {
    color: #39FF14 !important;
}

/* === 保留颜色：不影响背景/白色/灰色 === */
.text-white,
.text-on-primary,
.text-gray-300,
.text-slate-50 {
    color: #ffffff !important;
}

.text-gray-400,
.text-gray-500,
.text-gray-600,
.text-slate-400,
.text-slate-500,
.text-slate-600,
.text-on-surface-variant {
    color: #6b7280 !important;
}

.text-gray-900,
.text-on-surface,
.text-on-background {
    color: #1a1a1a !important;
}

/* === 表单 === */
input:focus,
textarea:focus,
select:focus {
    border-color: #003fad !important;
    outline-color: #003fad !important;
}

/* === 背景 === */
.bg-white,
.bg-surface,
.bg-surface-container-lowest {
    background-color: #ffffff !important;
}

.bg-slate-50,
.bg-gray-50,
.bg-background,
.bg-surface-container-low {
    background-color: #fafafa !important;
}