* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 16px; }

body {
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #333;
  background: #f5f0f0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 动态渐变背景 */
.bg {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #FF4E50 0%, #FF6B35 25%, #F9D423 50%, #FF6B35 75%, #FF4E50 100%);
  background-size: 400% 400%;
  animation: bgShift 6s ease-in-out infinite;
}
@keyframes bgShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.overlay {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255,255,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(255,200,0,0.22) 0%, transparent 55%);
  pointer-events: none;
}
.floating-dots { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.dot {
  position: absolute; background: rgba(255,255,255,0.30);
  border-radius: 50%; animation: float 4s ease-in-out infinite;
}
.dot:nth-child(1) { width: 90px; height: 90px; top: 6%; left: 4%; }
.dot:nth-child(2) { width: 60px; height: 60px; top: 14%; right: 7%; animation-delay: .8s; }
.dot:nth-child(3) { width: 45px; height: 45px; bottom: 20%; left: 8%; animation-delay: 1.6s; }
.dot:nth-child(4) { width: 75px; height: 75px; bottom: 28%; right: 5%; animation-delay: 2.4s; }
.dot:nth-child(5) { width: 40px; height: 40px; top: 48%; left: 85%; animation-delay: 3.2s; }
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.08); }
}
.sparkle { position: absolute; font-size: 22px; opacity: .6; animation: spark 2s ease-in-out infinite; }
.sparkle:nth-child(6) { top: 9%; left: 22%; }
.sparkle:nth-child(7) { top: 11%; right: 16%; animation-delay: .5s; }
.sparkle:nth-child(8) { bottom: 32%; left: 14%; animation-delay: 1s; }
.sparkle:nth-child(9) { bottom: 36%; right: 10%; animation-delay: 1.5s; }
@keyframes spark {
  0%,100% { opacity: .3; transform: scale(.8) rotate(0); }
  50% { opacity: .8; transform: scale(1.3) rotate(15deg); }
}

.page {
  position: relative; z-index: 1;
  max-width: 750px; margin: 0 auto;
  padding: 44px 22px 40px;
}

/* 顶部 */
.hero { text-align: center; padding: 10px 0 26px; }
.tag {
  display: inline-block; padding: 8px 26px;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 30px;
  color: #fff; font-size: 15px; font-weight: 600;
  letter-spacing: 6px; margin-bottom: 20px;
}
.company {
  font-size: 46px; font-weight: 900; letter-spacing: 6px;
  color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.20);
}
.subtitle { margin-top: 8px; font-size: 15px; letter-spacing: 3px; color: rgba(255,255,255,0.92); text-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* 卡片 */
.job-card {
  background: rgba(255,255,255,0.96);
  border-radius: 26px; padding: 30px 26px 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
  margin-bottom: 20px;
}
.job-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.job-icon {
  width: 48px; height: 48px; flex: 0 0 48px;
  background: linear-gradient(135deg, #FF4E50, #FF6B35);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.job-title {
  font-size: 30px; font-weight: 900;
  background: linear-gradient(135deg, #FF4E50, #FF6B35);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.job-tag {
  background: #FFF0EC; color: #FF4E50;
  padding: 6px 14px; border-radius: 18px;
  font-size: 15px; font-weight: 600;
}
.divider { height: 2px; background: linear-gradient(90deg, transparent, #FFB3A0, transparent); margin: 18px 0; }
.reward-section { text-align: center; }
.reward-label { font-size: 16px; color: #999; letter-spacing: 3px; margin-bottom: 14px; }
.reward-steps { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: nowrap; }
.reward-step {
  flex: 1 1 0; min-width: 0;
  background: linear-gradient(135deg, #FFF5F3, #FFF0EC);
  border: 2px dashed #FFB3A0; border-radius: 18px;
  padding: 14px 8px; text-align: center;
}
.step-icon { font-size: 24px; margin-bottom: 4px; }
.step-title { font-size: 13px; color: #FF4E50; font-weight: 700; }
.step-amount {
  font-size: 26px; font-weight: 900;
  background: linear-gradient(135deg, #FF4E50, #FF6B35);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-desc { font-size: 11px; color: #999; margin-top: 4px; line-height: 1.5; }
.plus-sign { font-size: 26px; color: #FF4E50; font-weight: 900; animation: pulse 1.5s ease-in-out infinite; flex: 0 0 auto; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .7; } }
.total-banner {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #FF4E50, #FF6B35);
  border-radius: 16px; padding: 12px 16px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 26px rgba(255,78,80,0.4);
  white-space: nowrap;
}
.total-label { color: rgba(255,255,255,0.92); font-size: 14px; font-weight: 600; }
.total-amount { color: #fff; font-size: 34px; font-weight: 900; }
.total-unit { color: rgba(255,255,255,0.92); font-size: 15px; }

.cta-bar {
  background: rgba(255,255,255,0.96);
  border-radius: 22px; padding: 22px 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  text-align: center; margin-bottom: 26px;
}
.cta-title { font-size: 19px; font-weight: 700; color: #333; margin-bottom: 10px; }
.cta-sub { font-size: 22px; font-weight: 900; color: #FF4E50; margin-bottom: 4px; }
.cta-note { font-size: 13px; color: #999; }

/* 投递表单 */
.apply-section {
  background: rgba(255,255,255,0.97);
  border-radius: 26px; padding: 26px 22px 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
  margin-bottom: 20px;
}
.apply-title { font-size: 24px; font-weight: 900; color: #333; text-align: center; }
.apply-sub { font-size: 13px; color: #999; text-align: center; margin: 8px 0 22px; }

.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-size: 15px; font-weight: 600; color: #555; margin-bottom: 8px; }
.field-label em { color: #FF4E50; font-style: normal; }
.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  border: 1px solid #eee; border-radius: 12px;
  background: #FAFAFA;
  padding: 13px 14px; font-size: 16px; color: #333;
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s;
}
.field textarea { resize: none; }
.field input:focus, .field textarea:focus { border-color: #FF6B35; background: #fff; }

.file-picker {
  display: flex; align-items: center; gap: 10px;
  border: 2px dashed #FFB3A0; border-radius: 12px;
  background: #FFF8F6; padding: 14px;
  cursor: pointer;
}
.file-icon { font-size: 22px; }
.file-text { font-size: 14px; color: #999; word-break: break-all; }
.file-text.has-file { color: #FF4E50; font-weight: 600; }
.field-hint { font-size: 12px; color: #bbb; margin-top: 8px; line-height: 1.5; }

.submit-btn {
  width: 100%; border: none; border-radius: 40px;
  padding: 16px; margin-top: 8px;
  background: linear-gradient(135deg, #FF4E50, #FF6B35);
  color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 4px;
  box-shadow: 0 10px 26px rgba(255,78,80,0.45);
  cursor: pointer;
}
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.status {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  font-size: 14px; line-height: 1.6; text-align: center;
}
.status.success { background: #EAFBF0; color: #12A65F; }
.status.error { background: #FFF0EC; color: #E0442E; }
.status.info { background: #FFF7E6; color: #B87B00; }

.footer { text-align: center; font-size: 12px; color: rgba(255,255,255,0.85); padding: 6px 0 10px; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }

/* 小屏适配 */
@media (max-width: 400px) {
  .page { padding-left: 14px; padding-right: 14px; }
  .company { font-size: 40px; }
  .total-amount { font-size: 30px; }
  .reward-step { padding: 12px 6px; }
}
