/* ============================================================
   theme2026.css — 2026中山市工业设计大赛 全局样式系统
   ============================================================ */

:root {
  --primary: #2B7AE8;
  --primary-dark: #1255AD;
  --primary-deep: #0F3782;
  --primary-gradient: linear-gradient(135deg, #1255AD 0%, #2B7AE8 50%, #4A9EF7 100%);
  --bg-gradient: linear-gradient(180deg, #EBF3FE 0%, #F4F8FE 35%, #FFFFFF 70%);
  --bg-light: #F7F8FA;
  --text-primary: #0F1B3D;
  --text-secondary: #4A5568;
  --text-muted: #8A95AD;
  --text-placeholder: #B5BFCE;
  --border-color: #E2E8F0;
  --border-focus: #2B7AE8;
  --success: #52c41a;
  --error: #ff4d4f;
  --card-bg: #FFFFFF;
  --card-shadow: 0 12px 48px rgba(43, 122, 232, 0.12);
  --card-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 8px 30px rgba(43, 122, 232, 0.10);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 999px;
  --card-radius: 20px;
  --btn-radius: 8px;
  --nav-height: 70px;
  --section-gap: 80px;
  --input-height: 44px;
  --btn-height: 48px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  width: 100%; min-height: 100vh;
  font-family: var(--font-family); font-size: 14px;
  color: var(--text-primary); line-height: 1.6;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { list-style: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== 排版 ===== */
.section-title { font-size: 24px; font-weight: 600; color: var(--text-primary); padding-left: 14px; border-left: 4px solid var(--primary); }
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== 按钮 ===== */
.btn-primary, .btn-outline, .btn-pill, .btn-text { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; cursor: pointer; font-weight: 500; letter-spacing: 1px; transition: all var(--transition); white-space: nowrap; outline: none; }
.btn-primary { height: var(--btn-height); padding: 0 32px; border-radius: var(--radius-md); background: var(--primary-gradient); color: #fff; font-size: 16px; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(43,122,232,0.3); transform: translateY(-1px); color: #fff; }
.btn-primary:active { transform: translateY(0); }
.btn-outline { height: var(--btn-height); padding: 0 28px; border-radius: var(--radius-md); border: 1px solid var(--border-color); background: transparent; color: var(--text-secondary); font-size: 14px; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(43,122,232,0.04); }
.btn-pill { height: 36px; padding: 0 24px; border-radius: var(--radius-full); background: var(--primary-gradient); color: #fff; font-size: 14px; }
.btn-pill:hover { box-shadow: 0 4px 16px rgba(43,122,232,0.3); transform: translateY(-1px); color: #fff; }
.btn-text { background: transparent; color: var(--primary); font-size: 14px; padding: 0; height: auto; }
.btn-text:hover { color: var(--primary-dark); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 40px; font-size: 18px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; transition: color var(--transition); }
.form-input { width: 100%; height: var(--input-height); padding: 0 14px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 14px; color: var(--text-primary); background: #fff; outline: none; transition: all var(--transition); }
.input-wrapper .form-input { padding-left: 44px; }
.form-input::placeholder { color: var(--text-placeholder); }
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(43,122,232,0.1); }
.input-wrapper:focus-within .input-icon { color: var(--primary); }
.form-input.is-error { border-color: var(--error); }
.input-hint { font-size: 12px; color: #A8B0C0; margin-top: 4px; padding-left: 14px; }
.form-textarea { width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 14px; color: var(--text-primary); resize: vertical; outline: none; transition: all var(--transition); }
.form-textarea:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(43,122,232,0.1); }
.char-count { text-align: right; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-agreement { display: flex; align-items: flex-start; gap: 8px; }
.form-agreement input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.form-agreement label { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.form-agreement label a { color: var(--primary); }

/* ===== 卡片 ===== */
.card { background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--card-shadow-sm); border: 1px solid rgba(226,232,240,0.5); transition: all var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.card-select { background: var(--card-bg); border-radius: var(--radius-lg); border: 2px solid var(--border-color); padding: 24px 20px; text-align: center; cursor: pointer; transition: all var(--transition); }
.card-select:hover { border-color: var(--primary); box-shadow: var(--card-shadow-sm); }
.card-select.is-selected { border-color: var(--primary); background: rgba(43,122,232,0.04); position: relative; }
.card-select.is-selected::after { content: '✓'; position: absolute; top: 8px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ===== 表格 ===== */
.table-wrap { background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--card-shadow-sm); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table thead th { background: var(--bg-light); color: var(--text-secondary); font-size: 13px; font-weight: 500; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-color); }
.table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.table tbody tr:hover { background: rgba(43,122,232,0.03); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.tag-blue { color: var(--primary); background: rgba(43,122,232,0.08); }
.tag-red { color: var(--error); background: rgba(255,77,79,0.08); }

/* ===== 导航 ===== */
.top-nav { position: relative; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); padding: 0 60px; background: transparent; border-bottom: 1px solid transparent; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 48px; flex: 1; justify-content: center; }
.nav-menu a { font-size: 15px; color: var(--text-secondary); font-weight: 500; position: relative; transition: color var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: var(--primary); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-search-form { display: flex; align-items: center; }
.nav-search-input {
  width: 0; height: 34px;
  padding: 0; border: 0;
  font-size: 13px; color: var(--text-primary);
  background: transparent;
  outline: none; opacity: 0;
  transition: all 0.3s ease;
}
.nav-search-input.open {
  width: 170px; opacity: 1;
  padding: 0 14px;
  border: 1px solid var(--border-color); border-right: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  background: rgba(255,255,255,0.5);
}
.nav-search-input:focus { border-color: var(--primary); }
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-btn {
  width: 34px; height: 34px;
  border: 0; border-radius: 50%;
  background: transparent;
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.nav-search-btn svg { width: 18px; height: 18px; color: var(--text-secondary); }
.nav-search-btn:hover { background: rgba(43,122,232,0.08); }
.nav-search-btn:hover svg { color: var(--primary); }
/* 展开时按钮变方角贴合输入框 */
.nav-search-input.open + .nav-search-btn {
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border-color); border-left: none;
}
.nav-search-input:focus + .nav-search-btn { border-color: var(--primary); }
.nav-home-btn { display: flex; align-items: center; gap: 6px; padding: 8px 20px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 14px; color: var(--text-secondary); background: transparent; cursor: pointer; transition: all var(--transition); }
.nav-home-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(43,122,232,0.04); }
.nav-home-btn svg { width: 16px; height: 16px; }

/* 汉堡菜单按钮（默认隐藏，移动端显示） */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== 布局 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-gap) 0; }
.section-gray { padding: var(--section-gap) 0; background: var(--bg-light); }
.page-hero { background: var(--bg-gradient); padding: 60px 0; text-align: center; }
.page-hero-title { font-size: 36px; font-weight: 700; color: var(--text-primary); letter-spacing: 3px; }
.layout-split { display: flex; gap: 60px; align-items: flex-start; }
.layout-split > .col-left { flex: 1; min-width: 0; }
.layout-split > .col-right { flex: 0 0 380px; width: 380px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ===== 首页组件 ===== */
.hero-section { position: relative; background: var(--bg-gradient); padding: 80px 0 100px; overflow: hidden; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero-content { flex: 1; max-width: 560px; }
.hero-title { font-size: 48px; font-weight: 700; color: var(--text-primary); line-height: 1.2; letter-spacing: 3px; white-space: pre-line; }
.hero-subtitle { font-size: 20px; color: var(--text-secondary); margin-top: 20px; line-height: 1.5; }
.hero-desc { font-size: 14px; color: var(--text-muted); margin-top: 16px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; }
.countdown-section { padding: 0; margin-top: -40px; position: relative; z-index: 10; }
.countdown-inner { display: flex; align-items: center; justify-content: space-between; background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--card-shadow-sm); padding: 24px 36px; max-width: 1200px; margin: 0 auto; }
.countdown-label { font-size: 15px; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.countdown-digits { display: flex; gap: 8px; }
.countdown-digit { background: var(--text-primary); color: #fff; font-size: 28px; font-weight: 700; padding: 8px 14px; border-radius: 6px; line-height: 1; min-width: 52px; text-align: center; font-family: "SF Mono", "Menlo", "Consolas", monospace; }
.countdown-sep { font-size: 28px; font-weight: 700; color: var(--text-primary); line-height: 1; padding: 8px 2px; }
.countdown-unit { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 2px; }
.news-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border-color); transition: all var(--transition); }
.news-item:hover { padding-left: 8px; }
.news-item-title { font-size: 15px; color: var(--text-primary); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item-date { font-size: 13px; color: var(--text-muted); flex-shrink: 0; margin-left: 20px; }
.more-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--primary); transition: all var(--transition); }
.more-link:hover { gap: 8px; }
.more-link svg { width: 16px; height: 16px; }
.card-expert { text-align: center; padding: 32px 20px; }
.card-expert-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid rgba(43,122,232,0.1); }
.card-expert-name { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.card-expert-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.card-work { overflow: hidden; }
.card-work-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-work-body { padding: 16px; }
.card-work-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-work-award { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; background: rgba(43,122,232,0.08); color: var(--primary); }

/* ===== 页脚 ===== */
.site-footer {
  background: linear-gradient(180deg, #D6E8FA 0%, #E3F0FB 35%, #ECF4FC 100%);
  color: #555;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  position: relative;
}

/* 银色波浪 */
.footer-wave {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-wave .wave-back  { fill: rgba(255,255,255,0.50); }
.footer-wave .wave-front { fill: rgba(255,255,255,0.72); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

/* 品牌区块 */
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { width: 120px; height: auto; border-radius: 8px; flex-shrink: 0; }
.footer-brand-name { font-size: 17px; font-weight: 700; color: #111; line-height: 1.3; }
.footer-brand-slogan { font-size: 13px; color: #555; margin-top: 2px; }
.footer-brand-desc { font-size: 13px; color: #666; line-height: 1.6; }

/* 二维码 */
.footer-qr { display: flex; gap: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-item .qr-box {
  width: 76px; height: 76px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.footer-qr-item .qr-box img { width: 60px; height: 60px; object-fit: contain; }
.footer-qr-item span { font-size: 11px; color: #888; }

/* 列 */
.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* 组织机构 */
.footer-org-list p { margin-bottom: 8px; font-size: 13px; color: #555; }
.footer-org-list p b { color: #222; font-weight: 600; margin-right: 4px; }

/* 快速链接 */
.footer-links { display: flex; flex-wrap: wrap; }
.footer-links a {
  display: block;
  width: 50%;
  font-size: 13px;
  color: #555;
  padding: 3px 0;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--primary); }

/* 联系方式 */
.footer-contact p { margin-bottom: 8px; font-size: 13px; color: #555; }

/* 底部版权 */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* ===== 社交登录 ===== */
.social-section { text-align: center; }
.social-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; color: var(--text-muted); font-size: 13px; }
.social-divider::before, .social-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.social-icons { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: transparent; cursor: pointer; transition: all var(--transition); }
.social-btn:hover { transform: translateY(-2px); }
.social-btn svg { width: 30px; height: 30px; }

/* ===== 登录/注册布局 ===== */
.auth-page { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.auth-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: clamp(80px, 14vh, 200px) 40px 0; position: relative; z-index: 1; }
.auth-wrapper { display: flex; align-items: flex-start; width: 100%; max-width: 1200px; margin: 0 auto; gap: 60px; }
.brand-section { flex: 1 0 280px; display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; }
.brand-year { font-size: 96px; font-weight: 800; line-height: 1; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 2px; }
.brand-main-title { font-size: 46px; font-weight: 700; color: var(--text-primary); line-height: 1.2; letter-spacing: 3px; margin-top: -4px; white-space: nowrap; }
.brand-subtitle { font-size: 22px; font-weight: 600; color: var(--primary-dark); line-height: 1.4; letter-spacing: 1px; margin-top: 4px; }
.brand-desc { font-size: 14px; color: #708094; line-height: 1.9; max-width: 460px; margin-top: 8px; }
.brand-advantages { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.advantage-item { display: flex; align-items: flex-start; gap: 14px; }
.adv-icon-wrap { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(43,122,232,0.08); }
.adv-icon-wrap svg { width: 20px; height: 20px; }
.advantage-item h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.advantage-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.auth-card { flex: 0 0 400px; width: 400px; background: rgba(255,255,255,0.65); border-radius: var(--radius-xl); box-shadow: var(--card-shadow); padding: 48px 40px; border: 1px solid rgba(226,232,240,0.5); position: relative; z-index: 2; }
.auth-card-header { text-align: center; margin-bottom: 36px; }
.auth-card-title { font-size: 28px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; letter-spacing: 2px; }
.auth-card-subtitle { font-size: 13px; color: var(--text-muted); }
.auth-card-register { flex: 0 0 450px; width: 450px; max-width: 38%; padding: 40px 40px; background: rgba(255,255,255,0.65); }
.auth-card-register .auth-card-header { margin-bottom: 32px; }
.auth-card-register .auth-card-title { font-size: 26px; }
.password-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.password-header .form-label { margin-bottom: 0; }
.forgot-link { font-size: 13px; color: var(--text-muted); cursor: pointer; }
.forgot-link:hover { color: var(--primary); }
.verify-row { display: flex; gap: 12px; }
.verify-row .input-wrapper { flex: 1; }
.btn-verify { flex-shrink: 0; height: 44px; padding: 0 16px; border: 1px solid var(--primary); border-radius: var(--radius-md); background: rgba(43,122,232,0.04); color: var(--primary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn-verify:hover { background: var(--primary); color: #fff; }
.btn-submit { width: 100%; height: 48px; border: none; border-radius: var(--radius-md); background: var(--primary-gradient); color: #fff; font-size: 16px; font-weight: 500; cursor: pointer; transition: all var(--transition); letter-spacing: 2px; margin-top: 8px; margin-bottom: 24px; }
.btn-submit:hover { box-shadow: 0 8px 24px rgba(43,122,232,0.3); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.auth-link { text-align: center; font-size: 13px; color: var(--text-muted); }
.auth-link a { font-weight: 500; margin-left: 4px; }
.auth-footer { position: absolute; bottom: 20px; z-index: 2; font-size: 12px; color: rgba(255,255,255,0.65); letter-spacing: 0.5px; }

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .top-nav { padding: 0 40px; }
  .nav-menu { gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .top-nav { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 27, 61, 0.12);
    border-radius: 0 0 14px 14px;
    padding: 6px 0;
  }
  .top-nav.is-open .nav-menu { display: flex; }
  .nav-menu a {
    padding: 14px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu a:last-of-type { border-bottom: none; }
  .nav-menu a.active::after { display: none; }
  .nav-menu .nav-search-form { display: none; }
  .top-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .layout-split { flex-direction: column; gap: 40px; }
  .layout-split > .col-right { flex: 1 1 auto; width: 100%; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .auth-main { padding: 88px 24px 0; }
  .auth-wrapper { flex-direction: column; gap: 40px; align-items: center; }
  .brand-section { flex: 0 0 auto; align-items: center; text-align: center; padding-top: 0; }
  .brand-desc { max-width: 100%; }
  .brand-main-title { white-space: normal; font-size: 36px; }
  .brand-advantages { align-items: center; }
  .advantage-item { flex-direction: column; align-items: center; text-align: center; }
  .auth-card, .auth-card-register { flex: 0 0 auto; width: 90%; max-width: 420px; padding: 36px 28px; }
  .auth-footer { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}
@media (max-width: 480px) {
  .top-nav { padding: 0 16px; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 20px; }
  .page-hero-title { font-size: 28px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-year { font-size: 64px; }
  .brand-main-title { font-size: 28px; }
  .brand-subtitle { font-size: 16px; }
  .auth-card, .auth-card-register { padding: 32px 20px; }
}

/* ============================================================
   首页（2026 Redesign）
   ============================================================ */

/* ---- 顶部背景区：透出body的banner ---- */
.hero-bg {
  padding-bottom: 0;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 100px 80px 120px;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero-text { flex: 1; max-width: 560px; padding-top: 20px; }

.hero-year {
  font-size: 90px;
  font-weight: 800;
  line-height: 1;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 38px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
  letter-spacing: 1px;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 20px; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: var(--btn-radius, 8px);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 122, 232, 0.30);
  transform: translateY(-2px);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}
.btn-more::after { content: '›'; font-size: 18px; }

.hero-visual { flex: 0 0 380px; min-height: 440px; }

/* ---- Hero 下方：倒计时 + 功能卡 ---- */
.hero-bottom {
  position: relative;
  max-width: 1440px;
  margin: -80px auto 0;
  padding: 0 80px 0;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
  z-index: 10;
}

/* 倒计时卡片 */
.countdown-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.cd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.cd-head svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }

.cd-numbers {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}

.cd-block { display: flex; align-items: baseline; gap: 2px; }

.cd-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  line-height: 1;
}

.cd-unit { font-size: 16px; color: var(--text-muted); }

/* 功能卡 */
.features-row {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-content: center;
}

.feature-item {
  text-align: center;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EBF3FE 0%, #D6E6FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.feature-icon-wrap img { width: 32px; height: 32px; object-fit: contain; }

.feature-item:hover .feature-icon-wrap {
  background: var(--primary-gradient);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 122, 232, 0.25);
}
.feature-item:hover .feature-icon-wrap img { filter: brightness(0) invert(1); }

.feature-item h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); }

/* ---- 标语 ---- */
.slogan-section { text-align: center; padding: 60px 80px 80px; }

.slogan {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 4px;
}
.slogan .accent {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slogan-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 2px;
}

/* ---- 通用区块 ---- */
.section { max-width: 1200px; margin: 0 auto; padding: 0 80px 80px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
  border-left: none;
  padding-left: 0;
}
.section-title .bar {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--primary-gradient);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 12px;
}

.section-more { font-size: 14px; color: var(--primary); font-weight: 500; }
.section-more::after { content: ' ›'; }

/* ---- 赛事赛道 ---- */
.tracks-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.track-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 36px 16px 28px;
  text-align: center;
  box-shadow: var(--card-shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.track-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); color: inherit; }

.track-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #EBF3FE 0%, #D6E6FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.track-icon-wrap img { width: 38px; height: 38px; object-fit: contain; }

.track-card:hover .track-icon-wrap { background: var(--primary-gradient); }
.track-card:hover .track-icon-wrap img { filter: brightness(0) invert(1); }

.track-card h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); letter-spacing: 1px; }

/* ---- 赛事动态 ---- */
.news-list {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow-sm);
  overflow: hidden;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
  color: inherit;
  text-decoration: none;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: linear-gradient(90deg, rgba(43,122,232,0.04) 0%, transparent 100%); }
.news-item:hover .news-title { color: var(--primary); }

.news-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EBF3FE 0%, #D6E6FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-icon svg { width: 20px; height: 20px; color: var(--primary); }

.news-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.news-date {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-muted);
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
}

.news-item-empty { cursor: default; }
.news-item-empty:hover { background: transparent; }
.news-item-empty:hover .news-title { color: var(--text-muted); }

/* ---- 专家库 ---- */
.experts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.expert-card {
  display: block;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); }

.expert-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #EBF3FE, #D6E6FD);
  display: flex;
  align-items: center;
  justify-content: center;
}
.expert-avatar svg { width: 50%; height: 50%; color: var(--primary); opacity: 0.4; }

.expert-info { padding: 20px; text-align: center; }
.expert-info h4 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expert-info p { font-size: 13px; color: var(--text-muted); }

/* ---- 获奖作品 ---- */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.work-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); }

.work-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #EBF3FE, #D6E6FD);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-image svg { width: 48px; height: 48px; color: var(--primary); opacity: 0.3; }

.work-info { padding: 16px 20px; }
.work-info h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.work-info p { font-size: 13px; color: var(--text-muted); }

/* ---- 首页响应式 ---- */
@media (max-width: 1024px) {
  .hero { padding: 80px 40px 100px; }
  .hero-bottom { padding: 0 40px 0; grid-template-columns: 1fr; }
  .section { padding: 0 40px 60px; }
  .tracks-grid { grid-template-columns: repeat(3, 1fr); }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 80px 20px 80px; min-height: 500px; }
  .hero-year { font-size: 56px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .hero-visual { display: none; }
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .slogan-section { padding: 40px 20px 60px; }
  .slogan { font-size: 24px; letter-spacing: 2px; }
}