:root {
  --bg-deep:      #0a0d2e;          /* 海报深蓝紫底 */
  --bg-mid:       #131744;          /* 中层蓝紫 */
  --bg-light:     #1c2154;          /* 浅层蓝紫 */
  --bg-card:      rgba(20, 25, 70, 0.55);
  --gold:         #d4af6f;          /* 海报主金色 */
  --gold-light:   #e8c47d;          /* 浅金高光 */
  --gold-deep:    #b89456;          /* 暗金描边 */
  --text-main:    #ffffff;
  --text-soft:    #d8d9e8;
  --text-muted:   #8a8db0;
  --glass-border: rgba(212, 175, 111, 0.22);
  --gold-glow:    0 0 24px rgba(212, 175, 111, 0.35);
  --transition:   all 0.3s ease;
}

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

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at top, rgba(28, 33, 84, 0.6), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(19, 23, 68, 0.5), transparent 60%);
  position: relative;
  overflow-x: hidden;
}

/* 稀疏星点（海报右上角那种） */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    radial-gradient(1px 1px at 20% 12%, rgba(212,175,111,0.55), transparent),
    radial-gradient(1px 1px at 80% 8%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 90% 22%, rgba(212,175,111,0.5), transparent),
    radial-gradient(1px 1px at 12% 78%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 60% 88%, rgba(212,175,111,0.4), transparent);
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.7;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px 60px;
}

/* ===== 顶部 logo 行 ===== */
.brand-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  padding: 30px 0 24px;
  border-bottom: 1px solid rgba(212, 175, 111, 0.18);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* logo 透明背景，保留原 logo 字体颜色，比例参照海报 */
.brand-bar img {
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.12));
}

/* 星阙：海报上最大的主 logo */
.brand-bar img[src*="xingque"] {
  height: 76px;
  max-width: 300px;
}

/* 红星AI：海报中尺寸，比星阙明显小 */
.brand-bar img[src*="hongxing"] {
  height: 38px;
  max-width: 120px;
}

/* 群星引力 SVG（viewBox 仅含"群星引力"4字）：字高对齐红星AI字 */
.brand-bar img[src*="qunxing"] {
  height: 22px;
  max-width: 130px;
}

.brand-bar .x-sep {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.4;
}

/* ===== 海报 hero ===== */
.hero {
  position: relative;
  padding: 10px 0 36px;
}

.hero-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-date .day {
  font-family: 'Songti SC', 'Times New Roman', serif;
  font-size: 4.2rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
}

.hero-date .fri {
  font-size: 1rem;
  letter-spacing: 6px;
  color: var(--gold-light);
  font-weight: 600;
}

.hero-divider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 4px;
  color: var(--text-muted);
}

.hero-divider .left { color: rgba(212,175,111,0.45); }
.hero-divider .right { color: var(--gold-light); letter-spacing: 5px; }

.hero-title {
  font-family: 'Songti SC', 'STSong', serif;
  font-weight: 700;
  font-size: 2.9rem;
  letter-spacing: 4px;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 6px;
}

.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  font-family: 'Songti SC', 'STSong', serif;
  font-size: 1.45rem;
  letter-spacing: 8px;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 26px;
}

/* 三个核心数字 */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 30px;
}

.hero-stats .stat .num {
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
}

.hero-stats .sep {
  color: rgba(212, 175, 111, 0.3);
}

/* ===== 信息卡片：四角金色装饰 ===== */
.info-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 18, 56, 0.55), rgba(19, 23, 68, 0.7));
  border: 1px solid rgba(212, 175, 111, 0.22);
  padding: 30px 32px;
  margin-bottom: 30px;
  border-radius: 2px;
}

.info-card::before,
.info-card::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  opacity: 0.6;
}
.info-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.info-card::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.info-card .info-row {
  display: flex;
  gap: 18px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.info-card .info-label {
  color: var(--gold-light);
  letter-spacing: 8px;
  min-width: 76px;
  flex-shrink: 0;
}

.info-card .info-value {
  color: var(--text-soft);
  line-height: 1.7;
}

/* ===== 段落小标题 ===== */
.section-title {
  text-align: center;
  margin: 50px 0 24px;
  font-family: 'Songti SC', serif;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 8px;
  font-weight: 600;
  position: relative;
}

.section-title .en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 5px;
  color: var(--gold-deep);
  margin-top: 6px;
  font-weight: 400;
}

.section-title::before,
.section-title::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: rgba(212, 175, 111, 0.4);
  vertical-align: middle;
  margin: 0 18px;
}

/* ===== 投资机构 4 卡片 ===== */
.investors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.investor-card {
  position: relative;
  background: rgba(15, 18, 56, 0.5);
  border: 1px solid rgba(212, 175, 111, 0.20);
  padding: 22px 22px 24px;
  border-radius: 2px;
  transition: var(--transition);
}

.investor-card:hover {
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.investor-card .tag {
  display: inline-block;
  background: rgba(212, 175, 111, 0.12);
  border: 1px solid rgba(212, 175, 111, 0.4);
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.investor-card .no {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: 'Times New Roman', serif;
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 1px;
  font-style: italic;
}

.investor-card h4 {
  font-family: 'Songti SC', serif;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

.investor-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== 同步招募双卡 ===== */
.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.recruit-card {
  position: relative;
  background: rgba(15, 18, 56, 0.5);
  border: 1px solid rgba(212, 175, 111, 0.22);
  padding: 24px 24px 30px;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition);
}

.recruit-card:hover {
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.recruit-card .role {
  display: inline-block;
  background: rgba(212, 175, 111, 0.15);
  border: 1px solid rgba(212, 175, 111, 0.45);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 6px;
  padding: 4px 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

.recruit-card h4 {
  font-family: 'Songti SC', serif;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 14px;
  font-weight: 600;
}

.recruit-card ul li {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.recruit-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.recruit-card ul li strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ===== 报名说明 ===== */
.signup-block {
  background: linear-gradient(180deg, rgba(15, 18, 56, 0.6), rgba(19, 23, 68, 0.8));
  border: 1px solid rgba(212, 175, 111, 0.22);
  padding: 28px 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-radius: 2px;
}

.signup-block .info {
  flex: 1;
  min-width: 240px;
}

.signup-block h3 {
  font-family: 'Songti SC', serif;
  font-size: 1.6rem;
  letter-spacing: 10px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.signup-block .desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.signup-block .badge {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
}

.signup-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.signup-cta {
  /* 等宽等高：三按钮同尺寸 */
  flex: 1 1 130px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 130px;
  padding: 16px 20px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
}

.signup-cta .en {
  font-size: 0.65rem;
  letter-spacing: 5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  opacity: 0.85;
}

/* 主要（项目、观众）：实底金 */
.signup-cta.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1d3a;
  border: 1px solid var(--gold);
}

.signup-cta.primary .en {
  color: rgba(26, 29, 58, 0.7);
}

.signup-cta.primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

/* 次要（媒体）：金色描边，权重略低 */
.signup-cta.media {
  background: rgba(212, 175, 111, 0.10);
  border: 1px solid rgba(212, 175, 111, 0.55);
  color: var(--gold-light);
}

.signup-cta.media .en {
  color: var(--gold);
}

.signup-cta.media:hover {
  background: rgba(212, 175, 111, 0.20);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 111, 0.25);
  transform: translateY(-2px);
}

/* ===== Forms ===== */
.form-card {
  background: rgba(15, 18, 56, 0.55);
  border: 1px solid rgba(212, 175, 111, 0.22);
  padding: 32px;
  border-radius: 2px;
  margin-bottom: 24px;
}

h1.page-title {
  font-family: 'Songti SC', serif;
  font-size: 2.2rem;
  color: var(--gold);
  letter-spacing: 8px;
  text-align: center;
  margin: 18px 0 8px;
  font-weight: 700;
}

.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 4px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.92rem;
  letter-spacing: 2px;
}

label .required {
  color: #ff8585;
  margin-left: 4px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(10, 13, 46, 0.5);
  border: 1px solid rgba(212, 175, 111, 0.25);
  border-radius: 2px;
  color: #fff;
  font-size: 0.98rem;
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

textarea { resize: vertical; }

input:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 111, 0.2);
  background: rgba(10, 13, 46, 0.7);
}

input[type="file"]::-webkit-file-upload-button {
  background: var(--gold);
  color: #1a1d3a;
  border: none;
  padding: 8px 15px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  margin-right: 15px;
  transition: var(--transition);
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.role-option {
  position: relative;
  background: rgba(10, 13, 46, 0.5);
  border: 1px solid rgba(212, 175, 111, 0.25);
  padding: 16px;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.role-option:hover {
  border-color: var(--gold);
}

.role-option.active {
  background: rgba(212, 175, 111, 0.12);
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
}

.role-option .role-en {
  display: block;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 5px;
  margin-bottom: 4px;
}

.role-option .role-cn {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1d3a;
  border: none;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 6px;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-submit.loading {
  position: relative;
  color: transparent !important;
}

.btn-submit.loading::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  top: 50%; left: 50%;
  margin: -10px 0 0 -10px;
  border: 3px solid rgba(26, 29, 58, 0.3);
  border-top-color: #1a1d3a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Notice ===== */
.notice {
  background: rgba(255, 107, 107, 0.08);
  border-left: 3px solid #ff6b6b;
  padding: 12px 16px;
  margin-bottom: 22px;
  border-radius: 2px;
  color: #ff9d9d;
  font-size: 0.9rem;
}

.notice.gold {
  background: rgba(212, 175, 111, 0.08);
  border-left-color: var(--gold);
  color: var(--gold-light);
}

/* ===== Toast ===== */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(15, 18, 56, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--gold);
  color: #fff;
  padding: 14px 22px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 280px;
  max-width: 420px;
  display: flex;
  align-items: center;
  animation: toast-in 0.4s forwards;
}

.toast.error { border-left-color: #ff6b6b; }

@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}
.toast.hide { animation: toast-out 0.4s forwards; }

/* ===== Live indicator ===== */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gold-light);
  background: rgba(212, 175, 111, 0.10);
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

.dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212,175,111,0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(212,175,111,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212,175,111,0); }
}

/* ===== Utility ===== */
.back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  margin: 20px 0;
  font-size: 0.88rem;
  letter-spacing: 2px;
  transition: var(--transition);
}
.back-link:hover { color: var(--gold); }

.text-center { text-align: center; }
.muted { color: var(--text-muted); }

footer.site-footer {
  text-align: center;
  border-top: 1px solid rgba(212, 175, 111, 0.18);
  padding: 24px 0 8px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 5px;
}

footer.site-footer .en {
  color: rgba(212, 175, 111, 0.55);
  font-family: 'Inter', sans-serif;
  letter-spacing: 8px;
  margin-top: 6px;
  display: block;
  font-size: 0.7rem;
}

/* ===== Admin (沿用核心) ===== */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--glass-border); }
th { color: var(--gold); background: rgba(0,0,0,0.3); font-weight: bold; }
tr:hover { background: rgba(255,255,255,0.04); }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--glass-border); color: var(--text-muted); cursor: pointer; border-radius: 2px; }
.tab-btn.active, .tab-btn:hover { background: rgba(212,175,111,0.15); color: #fff; border-color: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .container { padding: 0 16px 50px; }
  .brand-bar { gap: 16px; padding: 22px 12px 18px; }
  .brand-bar img { height: 34px; max-width: 130px; }
  .hero-date .day { font-size: 3rem; }
  .hero-title { font-size: 1.8rem; letter-spacing: 2px; }
  .hero-subtitle { font-size: 1.05rem; letter-spacing: 4px; }
  .hero-stats { gap: 14px; font-size: 0.82rem; }
  .investors-grid, .recruit-grid { grid-template-columns: 1fr; }
  .info-card { padding: 22px 18px; }
  .info-card .info-label { letter-spacing: 4px; min-width: 56px; }
  .signup-block { flex-direction: column; align-items: stretch; }
  .signup-block h3 { letter-spacing: 6px; font-size: 1.3rem; }
  .form-card { padding: 22px 18px; }
  .section-title { font-size: 1.1rem; letter-spacing: 5px; margin: 36px 0 18px; }
  .section-title::before, .section-title::after { width: 28px; margin: 0 10px; }
}
