/* ==========================================================================
   TAMC 2026 — 站点样式（合并自原 google-fonts.css 与页面内联 <style>）
   Tailwind 由 tailwindcss-cdn.js 在运行时提供，此处仅放字体与自定义组件样式。
   ========================================================================== */

/* --------------------------------------------------------------------------
   字体（Google Fonts：Inter / Playfair Display）
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuOKfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKd3vUDQ.ttf) format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKebukDQ.ttf) format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiukDQ.ttf) format('truetype');
}

/* --------------------------------------------------------------------------
   基础
   -------------------------------------------------------------------------- */
html {
  font-family: 'Inter', sans-serif;
}

/* --------------------------------------------------------------------------
   导航链接（下划线动效）
   -------------------------------------------------------------------------- */
.nav-link {
  position: relative;
  color: #374151;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7A1A2E;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #7A1A2E;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   标题
   -------------------------------------------------------------------------- */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.accent-bar {
  width: 3rem;
  height: 3px;
  background: #7A1A2E;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   卡片
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid #F0EAEB;
  border-radius: 0.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(122, 26, 46, 0.10);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   骨架屏加载动画
   -------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg, #F5F5F5 25%, #EBEBEB 50%, #F5F5F5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 0.375rem;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* --------------------------------------------------------------------------
   移动端菜单
   -------------------------------------------------------------------------- */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero 遮罩
   -------------------------------------------------------------------------- */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.55) 100%);
}

/* --------------------------------------------------------------------------
   CFP 白色面板 —— hover 时强调色辉光
   -------------------------------------------------------------------------- */
.cfp-panel {
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.cfp-panel:hover {
  box-shadow: 0 8px 40px rgba(122, 26, 46, 0.18), 0 0 0 1px rgba(122, 26, 46, 0.10);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   主题标签 —— hover 时填充强调色
   -------------------------------------------------------------------------- */
.topic-pill {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, font-weight 0.18s ease;
}

.topic-pill:hover {
  background-color: #7A1A2E;
  border-color: #7A1A2E;
  color: #ffffff;
  font-weight: 700;
}
