/* =========================================================
   创意珈大赛官网 · 星晴蓝视觉规范 v2（无星点，纯渐变+柔光）
   ========================================================= */
:root {
  --primary: #387AFF;
  --primary-h: #559FFF;
  --primary-l: #66BDFF;
  --primary-d: #265BED;
  --canvas: #EDF0FF;
  --panel: #F8FAFE;
  --topbar: #17284A;
  --text: #1F2B43;
  --text2: #7C8AA5;
  --border: #E3E9F8;
  --grad-main: linear-gradient(135deg, #387AFF, #66BDFF);
  --shadow: 0 2px 12px rgba(56, 122, 255, .08);
  --shadow-h: 0 6px 24px rgba(56, 122, 255, .16);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 1em; height: 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 26px; border-radius: 10px; border: none; cursor: pointer;
  transition: transform .22s, box-shadow .22s, background .22s;
}
.btn svg { width: 17px; height: 17px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 8px; }
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: 0 4px 14px rgba(56, 122, 255, .35); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(56, 122, 255, .45); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--primary-d); box-shadow: 0 4px 14px rgba(15, 40, 90, .18); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(15, 40, 90, .26); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }

/* ---------- 顶栏 ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 60px;
  background: var(--topbar); transition: box-shadow .25s;
}
.topbar.scrolled { box-shadow: 0 4px 18px rgba(10, 22, 48, .35); }
.topbar-inner { height: 60px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--grad-main); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: #fff; font-size: 16px; letter-spacing: 1px; }
.brand-text em { color: rgba(255, 255, 255, .55); font-style: normal; font-size: 10.5px; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .8); font-size: 14px; transition: color .2s; position: relative; padding: 4px 0; }
.nav a:hover, .nav a.is-active { color: #99DDFF; }
.nav a.is-active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -4px; width: 16px; height: 3px; border-radius: 2px; background: var(--grad-main);
}
.topbar-cta { margin-left: 4px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: none; background: transparent;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: .25s; }

/* ---------- 移动端抽屉 ---------- */
.drawer {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: #fff; box-shadow: 0 12px 30px rgba(10, 22, 48, .16);
  padding: 12px 24px 22px; display: none;
}
.drawer a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 15px; }
.drawer .btn { margin-top: 16px; width: 100%; }
.drawer-mask {
  position: fixed; inset: 0; z-index: 98; background: rgba(15, 30, 60, .45);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
body.nav-open .drawer { display: block; animation: drawerIn .25s ease; }
body.nav-open .drawer-mask { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }
@keyframes drawerIn { from { transform: translateY(-8px); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 138px 0 110px;
  background:
    radial-gradient(1100px 700px at 88% -8%, rgba(255, 255, 255, .30), transparent 62%),
    radial-gradient(900px 640px at -8% 108%, rgba(153, 221, 255, .45), transparent 62%),
    linear-gradient(135deg, #1e62e8 0%, #3f8aff 45%, #8ec4ff 100%);
}
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px;
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 26px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(28px, 4.6vw, 46px); line-height: 1.35; font-weight: 700; letter-spacing: 1px; }
.hero-sub { margin-top: 18px; font-size: clamp(14px, 1.8vw, 17px); color: rgba(255, 255, 255, .88); }
.hero-chips { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px; padding: 9px 18px; font-size: 13.5px; color: #fff;
  backdrop-filter: blur(4px);
}
.chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-actions { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.hero-note { margin-top: 20px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }

/* ---------- KPI 数字条 ---------- */
.kpi { position: relative; z-index: 2; margin-top: -58px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi-card {
  border-radius: 14px; padding: 24px 22px; color: #fff;
  box-shadow: var(--shadow-h); display: flex; flex-direction: column; gap: 6px;
}
.k-blue   { background: linear-gradient(135deg, #387AFF, #66BDFF); }
.k-cyan   { background: linear-gradient(135deg, #18DADD, #52B4FF); }
.k-orange { background: linear-gradient(135deg, #F88A33, #FFC068); }
.k-green  { background: linear-gradient(135deg, #14C075, #7EE16F); }
.kpi-label { font-size: 13px; color: rgba(255, 255, 255, .9); }
.kpi-num { font-size: 32px; font-weight: 700; line-height: 1.2; }
.kpi-num i { font-style: normal; font-size: 15px; font-weight: 600; margin-left: 2px; }

/* ---------- 通用区块 ---------- */
.sec { padding: 76px 0; }
.sec-alt { background: linear-gradient(180deg, #EAF0FD 0%, var(--canvas) 100%); }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; font-weight: 600;
  color: var(--primary); background: rgba(56, 122, 255, .10);
  border: 1px solid rgba(56, 122, 255, .22); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 26px; font-weight: 700; }
.sec-head p { color: var(--text2); font-size: 14.5px; margin-top: 10px; }
.sec-note { text-align: center; color: var(--text2); font-size: 13px; margin-top: 26px; }

.card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(227, 233, 248, .7);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }

/* ---------- 大赛介绍 ---------- */
.intro-grid { max-width: 900px; margin: 0 auto; }
.intro-card { padding: 40px 46px; }
.intro-card p { color: #3D4B66; font-size: 15.5px; text-align: justify; }
.intro-card p + p { margin-top: 16px; }
.intro-card strong { color: var(--primary-d); }

/* ---------- 组织机构 ---------- */
.org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.org-card { padding: 28px 30px; }
.org-head { margin-bottom: 16px; }
.org-ico {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; border-radius: 8px; padding: 7px 14px;
}
.i-guide  { color: #265BED; background: rgba(56, 122, 255, .10); }
.i-host   { color: #0E9FB0; background: rgba(24, 218, 221, .12); }
.i-run    { color: #D97A16; background: rgba(248, 138, 51, .12); }
.i-support{ color: #0FA35F; background: rgba(20, 192, 117, .12); }
.org-card li { color: #3D4B66; font-size: 14.5px; padding: 6px 0 6px 18px; position: relative; }
.org-card li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #387AFF, #66BDFF);
}

/* ---------- 参赛条件 ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cond-card { padding: 32px 28px; text-align: center; }
.cond-ico {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 14px;
  background: rgba(56, 122, 255, .10); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.cond-ico svg { width: 26px; height: 26px; }
.cond-card h3 { font-size: 17px; margin-bottom: 10px; }
.cond-card p { color: var(--text2); font-size: 14px; }
.field-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.fchip {
  background: #fff; border: 1px solid rgba(56, 122, 255, .30); color: var(--primary-d);
  font-size: 14px; font-weight: 600; border-radius: 999px; padding: 9px 22px;
  box-shadow: var(--shadow);
}
.f-more { border-style: dashed; color: var(--text2); }
.cond-note {
  max-width: 640px; margin: 26px auto 0; display: flex; align-items: center; gap: 10px;
  color: #8A6116; background: #FFF7E8; border: 1px solid #F5DFAE;
  border-radius: 10px; padding: 13px 18px; font-size: 13.5px;
}
.cond-note svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- 赛程时间线 ---------- */
.timeline { max-width: 780px; margin: 0 auto; }
.tl-item { position: relative; padding: 0 0 36px 60px; }
.tl-item:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 32px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, #B4D5FF, rgba(180, 213, 255, 0));
}
.tl-dot {
  position: absolute; left: 6px; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-main); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(56, 122, 255, .14);
}
.tl-item h3 { font-size: 17px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.tl-time { font-size: 13px; font-weight: 600; color: var(--primary); background: rgba(56, 122, 255, .08); border-radius: 6px; padding: 3px 10px; }
.tl-item p { color: var(--text2); font-size: 14.5px; margin-top: 8px; }

/* ---------- 评审方式 ---------- */
.review-card { max-width: 860px; margin: 0 auto; padding: 38px 42px; }
.weight-bar {
  display: flex; height: 54px; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 26px;
}
.wb { display: flex; align-items: center; justify-content: center; letter-spacing: 1px; }
.wb-1 { width: 40%; background: var(--primary-d); }
.wb-2 { width: 60%; background: var(--grad-main); }
.review-rules { counter-reset: rule; }
.review-rules li { position: relative; padding: 10px 0 10px 34px; color: #3D4B66; font-size: 14.5px; }
.review-rules li::before {
  counter-increment: rule; content: counter(rule);
  position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 6px;
  background: rgba(56, 122, 255, .10); color: var(--primary);
  font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.review-rules strong { color: var(--primary-d); }

/* ---------- 奖励政策 ---------- */
.award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.award-card {
  border-radius: 14px; padding: 30px 20px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow-h);
}
.a1 { background: linear-gradient(135deg, #265BED, #387AFF); }
.a2 { background: linear-gradient(135deg, #18DADD, #52B4FF); }
.a3 { background: linear-gradient(135deg, #F88A33, #FFC068); }
.a4 { background: linear-gradient(135deg, #14C075, #7EE16F); }
.award-medal { font-size: 30px; opacity: .95; margin-bottom: 6px; }
.award-medal svg { width: 30px; height: 30px; }
.award-name { font-size: 19px; font-weight: 700; letter-spacing: 2px; }
.award-count { font-size: 13.5px; color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 3px 14px; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.support-card { padding: 30px 32px; }
.support-ico {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.support-ico svg { width: 24px; height: 24px; }
.s-blue   { background: rgba(56, 122, 255, .10);  color: #265BED; }
.s-cyan   { background: rgba(24, 218, 221, .12);  color: #0E9FB0; }
.s-orange { background: rgba(248, 138, 51, .12);  color: #D97A16; }
.s-green  { background: rgba(20, 192, 117, .12);  color: #0FA35F; }
.support-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.support-card p { color: var(--text2); font-size: 14px; text-align: justify; }

/* ---------- 下载横幅 ---------- */
.band {
  background:
    radial-gradient(700px 400px at 92% -20%, rgba(255, 255, 255, .28), transparent 60%),
    var(--grad-main);
  border-radius: 18px; color: #fff; padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(38, 91, 237, .28);
}
.band-text h2 { font-size: 24px; letter-spacing: 1px; }
.band-text p { margin-top: 10px; color: rgba(255, 255, 255, .88); font-size: 14.5px; max-width: 520px; }
.band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 20px; }
.contact-card { padding: 34px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact-ico {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 8px;
  background: rgba(56, 122, 255, .10); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-ico svg { width: 24px; height: 24px; }
.contact-label { font-size: 14px; color: var(--text2); }
.contact-tel { font-size: 23px; font-weight: 700; color: var(--primary-d); letter-spacing: 1px; }
.contact-tel:hover { color: var(--primary); }

/* ---------- 公告文章页 ---------- */
.art-main { padding-top: 60px; }
.art-hero {
  color: #fff; padding: 64px 0 46px;
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(255, 255, 255, .26), transparent 60%),
    linear-gradient(135deg, #1e62e8 0%, #3f8aff 50%, #8ec4ff 100%);
}
.crumb { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.art-hero h1 { font-size: clamp(22px, 3.4vw, 32px); line-height: 1.45; }
.article {
  max-width: 880px; margin: -14px auto 0; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 46px 54px 50px; position: relative;
}
.article h2 {
  font-size: 19px; margin: 34px 0 14px; padding-left: 14px; position: relative;
}
.article h2:first-child { margin-top: 0; }
.article h2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  border-radius: 2px; background: var(--grad-main);
}
.article p { color: #3D4B66; font-size: 15px; text-align: justify; margin-bottom: 10px; }
.article strong { color: var(--text); }
.art-note { color: var(--text2); font-size: 13.5px; }
.art-attach {
  margin-top: 36px; border: 1px dashed rgba(56, 122, 255, .45);
  background: var(--panel); border-radius: 12px; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.art-attach-t { font-weight: 700; font-size: 16px; color: var(--text); }
.art-attach-s { color: var(--text2); font-size: 13.5px; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--topbar); color: rgba(255, 255, 255, .78); margin-top: 20px; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 42px 24px 26px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-title { color: #fff; font-size: 15.5px; font-weight: 600; }
.foot-sub { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin-top: 6px; max-width: 560px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.foot-links a:hover { color: #99DDFF; }
.foot-beian {
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
  padding: 18px 24px 22px; font-size: 12.5px;
}
.foot-beian a { color: rgba(255, 255, 255, .55); }
.foot-beian a:hover { color: rgba(255, 255, 255, .85); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .nav, .topbar-cta { display: none; }
  .nav-toggle { display: flex; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .org-grid { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .band { padding: 36px 28px; }
  .article { padding: 32px 24px 36px; margin: 0 16px; }
}
@media (max-width: 640px) {
  .hero { padding: 116px 0 96px; }
  .hero h1 { font-size: 23px; }
  .kpi-num { font-size: 26px; }
  .kpi-card { padding: 18px 16px; }
  .sec { padding: 56px 0; }
  .award-grid { gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .intro-card { padding: 28px 22px; }
  .review-card { padding: 26px 20px; }
  .weight-bar { font-size: 12.5px; height: 46px; }
  .brand-text em { display: none; }
}
