/* ==========================================================================
   锦州冬季THP · 展会官网 —— 全站样式
   这是一个独立站点，不依赖梦魂系统的任何样式文件。
   ========================================================================== */

/* ---------------------------------------------------------------- 基础 */
:root {
  --bg: #14102a;
  --bg2: #1e1840;
  --card: #26204d;
  --card2: #2f285c;
  --text: #f3eefe;
  --muted: #b6aedc;
  --accent: #8f7bff;
  --accent2: #b14dff;
  --ice: #9ecbff;
  --ice-soft: rgba(158, 203, 255, .16);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #0d0a1f; }

body {
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* 全屏背景图：用 fixed 定位的伪元素实现（iOS Safari 对 background-attachment: fixed 支持不好） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13, 10, 31, .58), rgba(13, 10, 31, .58)),
    url("/static/img/bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

a { color: inherit; }

/* ---------------------------------------------------------------- 布局 */
.ex-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------------------------------------------------------------- 顶部导航 */
.ex-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 10, 31, .80);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ex-nav-inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ex-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.ex-brand-mark { color: var(--ice); font-size: 18px; }

.ex-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ex-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.ex-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.ex-links a.active { color: #fff; background: var(--ice-soft); }
.ex-links a.ext::after { content: " ↗"; font-size: 11px; opacity: .7; }

.ex-menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}

/* 手机上导航收进汉堡菜单 */
@media (max-width: 760px) {
  .ex-menu-btn { display: block; }
  .ex-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 12px 14px;
    background: rgba(13, 10, 31, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .ex-links.open { display: flex; }
  .ex-links a { padding: 12px; font-size: 15px; }
}

/* ---------------------------------------------------------------- 主体 */
.ex-main { flex: 1; }
.ex-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------------------------------------------------------------- 主视觉 */
.ex-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 18px 56px;
}
/* 月光光晕：纯 CSS，不用图片、不做动画 */
.ex-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -180px;
  width: 460px;
  height: 460px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 203, 255, .20), rgba(158, 203, 255, 0) 68%);
  pointer-events: none;
}
.ex-hero-inner { position: relative; }

.ex-hero-kicker {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--ice);
  opacity: .8;
  margin-bottom: 18px;
}
.ex-hero-title {
  margin: 0;
  font-size: clamp(30px, 7.5vw, 54px);
  font-weight: 900;
  letter-spacing: 5px;
  color: #fff;
  text-shadow: 0 0 28px rgba(158, 203, 255, .32);
}
.ex-hero-sub {
  margin: 16px 0 0;
  font-size: clamp(17px, 4.2vw, 26px);
  font-weight: 600;
  letter-spacing: 9px;
  color: #cfd9ff;
}
/* 分隔纹样 */
.ex-orn {
  position: relative;
  margin: 26px auto 0;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(158, 203, 255, .55), transparent);
}
.ex-orn::after {
  content: "❄";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--ice);
}
.ex-hero-meta {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  opacity: .85;
}

/* ---------------------------------------------------------------- 区块 */
.ex-section { padding: 30px 0; }
.ex-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.ex-section-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 2px;
}
.ex-section-head .ex-en {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  opacity: .55;
  text-transform: uppercase;
}

/* 展会简介 */
.ex-about {
  background: rgba(38, 32, 77, .62);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 20px 22px;
  line-height: 1.9;
  color: #ded9f5;
}
.ex-about p { margin: 0 0 12px; }
.ex-about p:last-child { margin-bottom: 0; }
.ex-about .ex-tip { font-size: 13px; color: var(--muted); opacity: .82; }

/* 预留内容卡 */
.ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 12px;
}
.ex-card {
  background: rgba(38, 32, 77, .50);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 18px;
  scroll-margin-top: 84px;
}
.ex-card .ex-card-icon { font-size: 22px; }
.ex-card h3 { margin: 10px 0 6px; font-size: 16px; letter-spacing: 1px; }
.ex-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.ex-soon {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ice);
  border: 1px solid var(--ice-soft);
  border-radius: 999px;
  padding: 2px 10px;
  text-decoration: none;
}
a.ex-soon:hover { background: var(--ice-soft); color: #fff; }

/* 公告条 */
.ex-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 26px;
  background: rgba(158, 203, 255, .07);
  border: 1px solid var(--ice-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: #dbe4ff;
  line-height: 1.7;
}

/* ---------------------------------------------------------------- 页脚 */
.ex-footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(13, 10, 31, .60);
}
.ex-footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 18px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.ex-footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; }
.ex-footer-links a { color: var(--muted); text-decoration: none; }
.ex-footer-links a:hover { color: #fff; }

@media (max-width: 760px) {
  .ex-hero { padding: 52px 18px 40px; }
  .ex-footer-inner { flex-direction: column; align-items: flex-start; }
  .ex-footer-links { margin-left: 0; }
}
