:root {
  --red: #c7352f;
  --red-dark: #9f241f;
  --ink: #2b2521;
  --muted: #6f6862;
  --line: #eadbd0;
  --cream: #fff8ef;
  --paper: #fffdf8;
  --green: #0d7a5f;
  --shadow: 0 18px 45px rgba(84, 45, 32, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fffaf3;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--red);
  font-size: 26px;
}

.brand small {
  color: #34464c;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.badge {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #4d4944;
}

.nav a:hover { color: var(--red); }

.primary-btn, .secondary-btn, .ghost-btn {
  border: 0;
  border-radius: 8px;
  padding: 14px 24px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.primary-btn {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 28px rgba(199, 53, 47, .24);
}

.primary-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.secondary-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary-btn:hover {
  color: var(--red);
  border-color: var(--red);
}

.ghost-btn {
  background: transparent;
  border: 1px solid #d9b8a8;
  color: var(--red-dark);
}

.ghost-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 205, 117, .18), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(199, 53, 47, .18), transparent 22%),
    linear-gradient(135deg, #112e2b 0%, #173a34 48%, #6f3029 100%);
  color: #fffdf8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(242, 203, 126, .75) 0 1px, transparent 1.6px),
    linear-gradient(110deg, transparent 0 58%, rgba(255,255,255,.08) 58.2% 58.7%, transparent 59%);
  background-size: 90px 90px, 100% 100%;
  opacity: .42;
}

.map-line {
  position: absolute;
  right: 3vw;
  top: 12vh;
  width: min(56vw, 760px);
  height: 64vh;
  border: 2px dotted rgba(230, 174, 84, .42);
  border-radius: 44% 58% 38% 42%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 0 10px rgba(230, 174, 84, .2));
}

.star {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
  left: var(--x);
  top: var(--y);
  box-shadow: 0 0 16px var(--c), 0 0 30px rgba(255,255,255,.4);
  animation: pulse 3.8s ease-in-out infinite;
}

.landmark-star {
  z-index: 2;
  border: 0;
  padding: 0;
}

.landmark-star::after {
  content: attr(data-landmark);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) scale(.92);
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(240, 196, 110, .45);
  border-radius: 999px;
  background: rgba(8, 25, 25, .86);
  color: #ffe7b0;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.landmark-star:hover,
.landmark-star:focus {
  transform: scale(1.65);
  outline: none;
}

.landmark-star:hover::after,
.landmark-star:focus::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .78; }
  50% { transform: scale(1.35); opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 15vh 24px 56px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(229, 196, 124, .55);
  border-radius: 999px;
  color: #ffe6a7;
  padding: 9px 14px;
  background: rgba(18, 45, 40, .55);
  font-weight: 800;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #40c98e;
  box-shadow: 0 0 0 6px rgba(64, 201, 142, .18);
}

h1 {
  max-width: 720px;
  margin: 34px 0 24px;
  font-size: clamp(50px, 8vw, 104px);
  line-height: .98;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: #f0c46e;
}

.hero p {
  max-width: 620px;
  color: #e8ddd1;
  font-size: 22px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.perks { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 46px; }
.perk {
  color: #fff;
  border: 1px solid rgba(143, 193, 203, .48);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(10, 30, 43, .45);
  font-weight: 700;
}

.section {
  padding: 88px 6vw;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.eyebrow {
  color: var(--red-dark);
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin: 0;
}

.section-head p { color: var(--muted); max-width: 420px; line-height: 1.8; }

.filters {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  margin-bottom: 22px;
}

.input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  outline: none;
}

.input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199, 53, 47, .08);
}

.job-list {
  display: grid;
  gap: 20px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.job-card:hover { box-shadow: var(--shadow); }
.job-title { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.mark {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f7eadf;
  color: #8b1f16;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
}

.job-meta { color: var(--muted); }
.salary { color: #d14d31; font-size: 22px; font-weight: 900; white-space: nowrap; }
.job-text {
  margin-top: 18px;
  color: #5c544e;
  line-height: 1.8;
  white-space: pre-line;
}

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  background: #f0f3ef;
  color: #47605c;
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.step strong {
  display: block;
  color: var(--red);
  font-size: 30px;
  margin-bottom: 12px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.footer {
  padding: 36px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fffdf8;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(13, 18, 16, .62);
}

.modal.open { display: flex; }
.dialog {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fffdf8;
  border-radius: 14px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.landmark-dialog {
  background: #071623;
  color: #fff;
  border: 1px solid rgba(240, 196, 110, .25);
}

.landmark-dialog .close { color: #fff; }

.landmark-visual {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.42)),
    var(--landmark-bg, linear-gradient(135deg, #8a4d2c, #d6a55a));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  position: relative;
}

.landmark-visual::after {
  content: "高清景点图接入位";
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(255,255,255,.86);
  font-weight: 800;
  letter-spacing: .08em;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
}

.detail-block { margin: 22px 0; }
.detail-block h3 { margin: 0 0 10px; }
.detail-text { white-space: pre-line; line-height: 1.9; color: #514943; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.hint { color: var(--muted); font-size: 14px; line-height: 1.6; }
.error { color: var(--red); font-weight: 700; margin-top: 12px; }
.success { color: var(--green); font-weight: 800; margin-top: 12px; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}
.admin-side {
  background: #251f1c;
  color: #fff;
  padding: 24px;
}
.admin-side .brand { color: #fff; margin-bottom: 28px; }
.admin-side button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 8px 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  border-radius: 8px;
  padding: 12px;
}
.admin-side button.active, .admin-side button:hover { background: var(--red); border-color: var(--red); }
.admin-main { padding: 28px; overflow: auto; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 20px;
}
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid #eee2d8; padding: 12px; text-align: left; vertical-align: top; }
th { background: #fff7ee; white-space: nowrap; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.small-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 8px 10px;
}
.small-btn:hover { border-color: var(--red); color: var(--red); }
.danger:hover { background: var(--red); color: #fff; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #112e2b, #6f3029);
}
.login-card {
  width: min(420px, 100%);
  background: #fffdf8;
  border-radius: 12px;
  padding: 30px;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff7ee; border-radius: 8px; padding: 18px; }
.stat strong { display: block; font-size: 28px; color: var(--red); }

@media (max-width: 820px) {
  .topbar { padding: 0 18px; height: auto; min-height: 68px; gap: 10px; }
  .nav { display: none; }
  .brand { font-size: 22px; }
  .hero-inner { padding-top: 10vh; }
  .map-line { opacity: .35; width: 88vw; right: -26vw; }
  .filters, .job-card, .steps, .faq-grid, .form-grid, .admin-shell, .stat-grid { grid-template-columns: 1fr; }
  .salary { white-space: normal; }
  .section { padding: 64px 20px; }
  .section-head { display: block; }
  .dialog { padding: 24px; }
}
