/* ============================================================
 * 某211高校人工智能学院官网 - 自定义样式
 * 设计方案一：智启未来·AI视界
 * 深蓝紫渐变 + 玻璃拟态 + 科技感
 * 纯 CSS 实现，无 JS 重依赖，加载快
 * ============================================================ */

/* ============ 设计变量 ============ */
:root {
  /* 主色：AI 科技蓝 */
  --ai-blue: #1A5FCD;
  --ai-blue-deep: #0A2463;
  /* 辅色：未来紫 */
  --future: #8B5CF6;
  --future-deep: #6C3CE1;
  /* 辅色：数据青 */
  --cyan: #00D4FF;
  --cyan-deep: #06B6D4;
  /* 强调：霓虹青 */
  --neon: #00FF88;
  /* 中性 */
  --ink-950: #0A0E1A;
  --ink-900: #1A1A2E;
  --ink-800: #1E293B;
  --text: #E8EDF5;
  --text-muted: #94A3B8;

  /* 玻璃拟态 */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 16px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #0A2463 0%, #1A1A2E 45%, #2D1B69 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 字体类 */
.font-display {
  font-family: 'Orbitron', -apple-system, 'PingFang SC', sans-serif;
  letter-spacing: 0.02em;
}
.font-mono { font-family: 'JetBrains Mono', 'Consolas', monospace; }

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

ul, ol { list-style: none; }

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

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(10,14,26,0.6); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ai-blue), var(--future));
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--cyan), var(--neon)); }

/* ============ 容器 ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ 玻璃拟态工具类 ============ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.37), inset 0 1px 0 rgba(255,255,255,0.08);
  border-radius: 16px;
}

.glass-nav {
  background: rgba(10,14,26,0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 渐变文字 */
.text-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--future) 50%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 霓虹按钮 */
.btn-neon {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--ai-blue), var(--future-deep));
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0,212,255,0.35);
  border: none;
  cursor: pointer;
}
.btn-neon:hover {
  color: #fff;
  box-shadow: 0 0 32px rgba(0,255,136,0.6), 0 0 64px rgba(0,212,255,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  color: var(--text);
  border-radius: 999px;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s;
}
.site-header.scrolled { padding: 12px 0; }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled { background: var(--glass-nav); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}
.brand-logo {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ai-blue), var(--future));
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0,212,255,0.4);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: rgba(232,237,245,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ---- 二级下拉菜单 ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.25s;
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 170px;
  margin-top: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  background: rgba(10, 20, 45, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 120;
}
.nav-sub a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.nav-sub a:hover { background: rgba(0,212,255,0.12); color: #fff; }
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.nav-toggle { display: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    padding: 16px;
    margin-top: 8px;
    border-radius: 12px;
    background: rgba(10, 20, 45, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,212,255,0.18);
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-links.open a { padding: 10px 14px; }
  /* 移动端二级菜单：静态展开、缩进显示，不用 hover 浮层 */
  .nav-links.open .nav-item { flex-direction: column; align-items: stretch; }
  .nav-links.open .nav-caret { display: none; }
  .nav-links.open .nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    margin: 2px 0 6px 12px;
    padding: 4px;
    background: rgba(0,212,255,0.06);
    border: none;
    border-left: 2px solid rgba(0,212,255,0.3);
    border-radius: 0 8px 8px 0;
    box-shadow: none;
  }
}

/* ============ 板块通用 ============ */
.section {
  position: relative;
  padding: 96px 0;
}
.section-full {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
}

.section-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: rgba(0,212,255,0.8);
  text-align: center;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  text-align: center;
  margin: 8px 0 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ============ 首屏 Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 120px;
}
/* ============ Hero Swiper 轮播图（纯背景） ============ */
/* 注意：swiper-bundle.min.css 在本文件之后加载，且其 .swiper{position:relative} 与 .hero-swiper 特异性相同，
   故这里用 .hero .hero-swiper（双类）提高特异性，确保 absolute 定位不被覆盖，否则容器高度会塌缩为 0 */
.hero .hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-swiper .swiper-wrapper,
.hero .hero-swiper .swiper-slide {
  height: 100%;
}
/* 每个 slide 的背景（无图时用不同色调渐变兜底） */
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 默认渐变背景（image 字段为空时显示） */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.25) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,0.28) 0%, transparent 45%),
    linear-gradient(135deg, #0A2463 0%, #1A1A2E 50%, #2D1B69 100%);
}
.hero-slide:nth-child(2) {
  background-image:
    radial-gradient(circle at 80% 20%, rgba(139,92,246,0.30) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(0,212,255,0.22) 0%, transparent 45%),
    linear-gradient(135deg, #1A1A2E 0%, #2D1B69 50%, #0A2463 100%);
}
.hero-slide:nth-child(3) {
  background-image:
    radial-gradient(circle at 50% 30%, rgba(0,255,136,0.18) 0%, transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(139,92,246,0.25) 0%, transparent 45%),
    linear-gradient(135deg, #2D1B69 0%, #0A2463 50%, #1A1A2E 100%);
}
.hero-slide:nth-child(4) {
  background-image:
    radial-gradient(circle at 70% 50%, rgba(0,212,255,0.28) 0%, transparent 45%),
    radial-gradient(circle at 30% 30%, rgba(0,255,136,0.15) 0%, transparent 45%),
    linear-gradient(135deg, #0A2463 0%, #2D1B69 50%, #1A1A2E 100%);
}
/* slide 暗色叠加层（让白字更清晰） */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.35) 0%, rgba(10,14,26,0.65) 100%);
}
/* 轮播点击跳转链接：铺满整张 slide；z-index 低于箭头/分页(10)，且在 swiper 层叠上下文内，不遮挡外层 hero-content 按钮 */
.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

/* Swiper 分页指示器（底部小圆点）—— 在 ↓ 滚动提示上方，避免重叠；z-index 高于 hero-content */
.hero-pagination {
  z-index: 10 !important;
  bottom: 84px !important;
}
.hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s;
}
.hero .swiper-pagination-bullet-active {
  background: var(--neon);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(0,255,136,0.7);
}

/* Swiper 左右箭头 —— z-index 高于 hero-content */
.hero-arrow {
  z-index: 10 !important;
}
.hero .swiper-button-prev,
.hero .swiper-button-next {
  color: var(--neon);
  background: rgba(0,0,0,0.35);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  --swiper-navigation-size: 18px;
}
.hero .swiper-button-prev::after,
.hero .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}
.hero .swiper-button-prev { left: 24px; }
.hero .swiper-button-next { right: 24px; }

/* 兼容旧引用（若模板里还有 .hero-bg） */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,255,136,0.08) 0%, transparent 50%);
}
/* 网格线背景 */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 3; max-width: 800px; width: 100%; }
.hero-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(0,212,255,0.9);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.hero-title .cursor {
  display: inline-block;
  width: 4px; height: 0.9em;
  background: var(--neon);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-subtitle {
  font-size: 17px;
  color: rgba(232,237,245,0.9);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 核心数据卡片：文档流内紧跟标题/按钮下方，与文字层作为一个整体垂直居中 */
.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  width: calc(100% - 48px);
  margin: 48px auto 0;
}
.stat-card {
  padding: 20px 12px;
  text-align: center;
}
.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--neon);
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
}

/* 滚动提示：完全静止，悬停只变颜色，不动画，避免抖动 */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 28px;
  text-decoration: none;
  transition: color 0.3s;
  animation: none;
}
.scroll-hint:hover {
  color: var(--neon);
}

/* ============ Bento 网格（学院概览） ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}
.about-intro { padding: 32px; }
.about-intro h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
}
.about-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bento-item {
  padding: 24px;
  transition: all 0.3s;
}
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,212,255,0.35);
}
.bento-icon {
  width: 32px; height: 32px;
  color: var(--cyan);
  margin-bottom: 16px;
}
.bento-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.bento-label { color: var(--text); font-size: 14px; margin-top: 4px; }
.bento-desc { color: var(--text-muted); font-size: 12px; margin-top: 4px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============ 卡片网格（科研/师资） ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,212,255,0.35);
}
/* 光效扫过 */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.card:hover::before { transform: translateX(100%); }

.card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.card-tag {
  padding: 2px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  background: rgba(0,212,255,0.1);
  border-radius: 999px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* 师资卡片 */
.faculty-card { text-align: center; }
.faculty-avatar {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--ai-blue), var(--future));
}
.faculty-title {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: var(--neon);
  background: rgba(0,255,136,0.1);
  border-radius: 999px;
  margin: 4px 0 8px;
}
.faculty-field { color: var(--cyan); font-size: 13px; }
.faculty-achievement { color: var(--text-muted); font-size: 12px; margin-top: 8px; }

/* ============ 时间轴（人才培养） ============ */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ai-blue), var(--future), var(--neon));
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px; top: 28px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(0,255,136,0.6);
}
.timeline-stage {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}
.timeline-degree { color: var(--neon); font-size: 14px; margin-bottom: 8px; }
.timeline-desc { color: var(--text-muted); font-size: 13px; }

/* 课程标签云 */
.course-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.course-tag {
  padding: 6px 16px;
  border: 1px solid rgba(0,212,255,0.3);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s;
}
.course-tag:hover {
  transform: scale(1.1);
  border-color: var(--neon);
  color: var(--neon);
}

/* ============ 新闻列表 ============ */
.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.news-list { display: flex; flex-direction: column; gap: 16px; }
/* 首页双栏布局里的新闻缩略图稍小 */
.news-layout .news-thumb { width: 160px; height: 110px; }
.news-item {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
  transition: all 0.3s;
  border-radius: 16px;
}
.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.news-thumb {
  flex-shrink: 0;
  width: 220px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.news-item:hover .news-thumb img { transform: scale(1.06); }
.news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: var(--future);
  background: rgba(139,92,246,0.2);
  border-radius: 999px;
  margin-right: 8px;
}
.news-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.news-title {
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  margin: 10px 0 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-item:hover .news-title { color: var(--neon); }
.news-summary {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-more {
  display: inline-block;
  font-size: 12px;
  color: var(--cyan);
}

@media (max-width: 640px) {
  .news-item { flex-direction: column; gap: 14px; }
  .news-thumb { width: 100%; height: 180px; }
}

/* 活动日历 */
.events-list { display: flex; flex-direction: column; }
.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.event-date {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(26,95,205,0.4), rgba(139,92,246,0.4));
  text-align: center;
}
.event-day {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.event-month { font-size: 10px; color: var(--text-muted); }

@media (max-width: 768px) {
  .news-layout { grid-template-columns: 1fr; }
}

/* ============ 合作伙伴跑马灯 ============ */
.marquee {
  overflow: hidden;
  padding: 24px;
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 18s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 联系卡片三栏 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { padding: 24px; transition: all 0.3s; }
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,255,136,0.4);
}
.contact-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #fff;
  margin: 12px 0;
}
.contact-card p { color: var(--text-muted); font-size: 14px; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text);
}
.contact-list svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

/* ============ 页脚 ============ */
.site-footer {
  margin-top: 80px;
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,14,26,0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a, .footer-col li {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ 列表页通用 ============ */
.page-banner {
  padding: 140px 0 60px;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  margin-bottom: 12px;
}
.page-banner p { color: var(--text-muted); }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}
.pagination .active { background: var(--ai-blue); color: #fff; border-color: var(--ai-blue); }

/* ============ 详情页 ============ */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}
.article-header { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.article-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}
.article-meta { color: var(--text-muted); font-size: 13px; }
.article-meta span { margin-right: 16px; }
.article-content { color: var(--text); line-height: 1.8; }
.article-content p { margin-bottom: 16px; }
/* 封面图：整宽展示 */
.article-content > img:first-child {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 24px;
}
/* 正文内图片自适应，防溢出 */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  display: block;
}
.article-content iframe,
.article-content table,
.article-content pre {
  max-width: 100%;
  overflow-x: auto;
}

/* ============ 滚动揭示（配合 JS） ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 无障碍：减少动效 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
