:root {
  --brand: #1857b8;
  --brand-2: #2f7fe0;
  --brand-dark: #0e2751;
  --gold: #c99a2e;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #1c2430;
  --text-2: #5b6675;
  --text-3: #97a1b0;
  --line: #e6eaf1;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-dark));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 17px; }
.brand-text span { font-size: 12px; color: var(--text-3); }
.main-nav { display: flex; gap: 26px; font-size: 15px; }
.main-nav a { color: var(--text-2); padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ===== Expo Banner ===== */
.expo-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #0e2751;
}
.expo-banner[hidden], .cloud-expo-float[hidden] { display: none; }
.expo-banner picture, .expo-banner img { width: 100%; height: 100%; display: block; }
.expo-banner img { object-fit: cover; }
.expo-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,14,32,.78) 0%, rgba(6,14,32,.45) 45%, rgba(6,14,32,.1) 100%);
  display: flex; align-items: center;
}
.banner-content { width: 100%; }
.banner-badge {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  color: #cfe3ff; border: 1px solid rgba(120,170,255,.5);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 14px;
}
.expo-banner__title {
  font-size: 40px; line-height: 1.25; margin: 0 0 10px;
  color: #fff; font-weight: 700;
  background: linear-gradient(90deg, #ffffff 30%, #ffe9a8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.expo-banner__subtitle { font-size: 18px; color: #a8c8f0; margin: 0 0 26px; }
.expo-banner__cta { display: flex; gap: 14px; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 32px; border-radius: 8px;
  font-size: 16px; font-weight: 600; transition: transform .2s, box-shadow .2s;
}
.cta--signup { background: linear-gradient(135deg, #ff9d3d, #f06a1d); color: #fff; box-shadow: 0 6px 18px rgba(240,106,29,.35); }
.cta--visit { background: rgba(47,127,224,.92); color: #fff; box-shadow: 0 6px 18px rgba(47,127,224,.35); }
.cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.banner-ab { margin-top: 14px; font-size: 12px; color: rgba(190,214,245,.75); }

/* ===== Main layout ===== */
.site-main { display: grid; grid-template-columns: 1fr 330px; gap: 20px; padding: 22px 20px 40px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.panel-title { font-size: 17px; margin: 0; position: relative; padding-left: 12px; }
.panel-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--brand); }
.panel-more { font-size: 13px; color: var(--text-3); }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list .tag { flex: none; font-size: 12px; color: var(--brand); background: #eaf2fe; border-radius: 4px; padding: 1px 8px; }
.news-list .ttl { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list .ttl:hover { color: var(--brand); }
.news-list .date { flex: none; font-size: 12px; color: var(--text-3); }
.news-list .loading, .member-list .loading { color: var(--text-3); justify-content: center; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #fbfcfe; }
.mini-card h4 { margin: 0 0 6px; font-size: 14px; color: var(--brand-dark); }
.mini-card p { margin: 0; font-size: 12.5px; color: var(--text-2); }

.member-list { list-style: none; margin: 0; padding: 0; }
.member-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.member-list .logo { width: 34px; height: 34px; border-radius: 8px; background: #eaf2fe; color: var(--brand); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.member-list .info { flex: 1; min-width: 0; }
.member-list .nm { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-list .meta { font-size: 12px; color: var(--text-3); }
.member-list .badge { font-size: 11px; color: var(--gold); border: 1px solid #f0e2bd; background: #fdf8ec; border-radius: 4px; padding: 1px 6px; flex: none; }

.side-expo-desc { font-size: 13px; color: var(--text-2); margin: 0 0 12px; }
.btn-block { display: block; text-align: center; height: 40px; line-height: 40px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 600; }
.btn-block:hover { background: var(--brand-dark); }

/* ===== Footer ===== */
.site-footer { background: #16202e; color: #b7c2d0; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 20px; }
.footer-col strong { color: #fff; display: block; margin-bottom: 8px; font-size: 14px; }
.footer-col p { margin: 0 0 6px; font-size: 12.5px; color: #8a97a8; }

/* ===== Floating expo entry ===== */
.cloud-expo-float {
  position: fixed;
  right: 24px; bottom: 180px;
  width: 60px; height: 60px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  cursor: pointer; opacity: .78; z-index: 900;
  transition: opacity .3s, transform .3s, box-shadow .3s;
}
.cloud-expo-float .float-icon { width: 100%; height: 100%; border-radius: 50%; display: block; }
.cloud-expo-float:hover { opacity: 1; transform: scale(1.07); box-shadow: 0 8px 28px rgba(24,87,184,.45); }
.float-tip {
  position: absolute; right: 72px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap; padding: 8px 14px; border-radius: 8px;
  background: rgba(15,23,42,.88); color: #fff; font-size: 13px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.cloud-expo-float:hover .float-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.cloud-expo-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(90px); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .site-main { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .expo-banner { height: 300px; }
  .expo-banner__title { font-size: 24px; }
  .expo-banner__subtitle { font-size: 14px; margin-bottom: 18px; }
  .cta { height: 40px; padding: 0 20px; font-size: 14px; }
  .cards { grid-template-columns: 1fr; }
  .cloud-expo-float { width: 50px; height: 50px; right: 16px; bottom: 100px; }
  .float-tip { display: none; }
}

/* ===== 导航领票按钮 ===== */
.nav-cta {
  background: linear-gradient(135deg, #f0a020, #e07b10) !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.nav-cta:hover { filter: brightness(1.06); }

/* ===== 观众领票弹窗 ===== */
.ticket-modal {
  position: fixed; inset: 0; background: rgba(10, 18, 32, .55);
  display: flex; align-items: center; justify-content: center; z-index: 900;
}
.ticket-modal[hidden] { display: none; }
.ticket-box {
  width: 420px; max-width: 92vw; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.ticket-box header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid #e6eaf1;
}
.ticket-box header h3 { margin: 0; font-size: 17px; }
.ticket-x { border: 0; background: transparent; font-size: 24px; color: #97a1b0; cursor: pointer; line-height: 1; }
.ticket-body { padding: 18px 22px 22px; }
.ticket-tip {
  font-size: 12.5px; color: #5b6675; background: #f2f7ff;
  border-radius: 8px; padding: 10px 12px; margin: 0 0 16px; line-height: 1.7;
}
.ticket-body label { display: block; font-size: 13px; color: #5b6675; margin-bottom: 12px; }
.ticket-body input, .ticket-body select {
  width: 100%; height: 40px; margin-top: 6px; padding: 0 12px;
  border: 1px solid #e6eaf1; border-radius: 8px; font-size: 14px; font-family: inherit;
}
.ticket-body input:focus, .ticket-body select:focus { outline: none; border-color: #2f7fe0; }
.ticket-submit {
  width: 100%; height: 44px; border: 0; border-radius: 10px; margin-top: 6px;
  background: linear-gradient(135deg, #1857b8, #0e2751); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.ticket-submit:hover { filter: brightness(1.08); }
.ticket-result { margin-top: 14px; }
.tk-ok { background: #e8f7f0; color: #1a9e6a; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.tk-ok code { background: rgba(0, 0, 0, .06); padding: 1px 6px; border-radius: 4px; }

/* ===== 导航锚点平滑滚动 ===== */
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 78px; }

/* ===== 整宽内容带：协会介绍 / 阳光治理 / 低空安防 ===== */
.band { padding: 46px 0; border-top: 1px solid var(--line); }
.band--alt { background: #f7fafd; }
.band-title { font-size: 24px; margin: 0 0 6px; color: var(--text-1); }
.band-sub { color: var(--text-3); font-size: 13.5px; margin: 0 0 22px; }
.band-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.band-text p { font-size: 14px; line-height: 2; color: var(--text-2); margin: 0 0 12px; }
.band-text b { color: var(--brand); }
.band-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.band-stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.band-stat .v { font-size: 24px; font-weight: 700; color: var(--brand); }
.band-stat .l { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 .mini-card p, .cards--4 .mini-card p { line-height: 1.75; }
.cards .mini-card a { color: var(--brand); }

@media (max-width: 900px) {
  .band-cols { grid-template-columns: 1fr; gap: 22px; }
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .band { padding: 32px 0; }
}
