:root {
  --ink: #1f1b1a;
  --paper: #f7f1e9;
  --accent: #d9773a;
  --accent-deep: #a6401d;
  --sea: #2d4f5d;
  --glow: rgba(217, 119, 58, 0.25);
  --card: rgba(255, 255, 255, 0.88);
  --border: rgba(31, 27, 26, 0.15);
  --shadow: 0 18px 40px rgba(31, 27, 26, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fce7d6, #f1e7da 40%, #e4ecf2 100%);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: "STKaiti", "Kaiti SC", "Songti SC", serif;
  letter-spacing: 0.02em;
}

.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 60px 8vw 80px;
  align-items: center;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: floatIn 0.8s ease;
}

.hero-card h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 12px 0 16px;
}

.subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(217, 119, 58, 0.16);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 27, 26, 0.12);
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), #f2b27a);
  color: #fff;
  border: none;
}

.button.ghost {
  background: transparent;
  border: 1px dashed var(--accent);
  color: var(--accent-deep);
}

.meta {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: #5f524f;
}

.admin-entry {
  margin-top: 18px;
}

.admin-link {
  font-size: 0.8rem;
  color: #7a6b67;
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.admin-link:hover {
  opacity: 0.8;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  animation: drift 7s ease-in-out infinite;
}

.orb-a {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #f4a261, #e76f51 70%);
  top: 10%;
  left: 10%;
}

.orb-b {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #8ecae6, #219ebc 70%);
  bottom: 5%;
  right: 12%;
  animation-delay: -2s;
}

.orb-c {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #ffddd2, #e29578 70%);
  top: 30%;
  right: 35%;
  animation-delay: -4s;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 6vw 80px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.section {
  margin: 26px 0;
  border-top: 1px solid rgba(31, 27, 26, 0.08);
  padding-top: 20px;
}

.section h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.question {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 27, 26, 0.08);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  display: block;
}

.field input {
  width: 100%;
}

.question-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.options {
  display: grid;
  gap: 8px;
}

.options label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
}

input[type="text"],
input[type="password"],
textarea, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(45, 79, 93, 0.1);
  color: var(--sea);
  display: none;
}

.stats-grid {
  display: grid;
  gap: 18px;
}

.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.section-card {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 27, 26, 0.1);
  box-shadow: 0 12px 26px rgba(31, 27, 26, 0.12);
  display: grid;
  gap: 10px;
  align-items: start;
}

.section-title {
  font-weight: 600;
  font-size: 1rem;
}

.section-count {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: radial-gradient(circle at 30% 30%, #fff, #fde6d2 65%);
  border: 4px solid rgba(217, 119, 58, 0.55);
  box-shadow: inset 0 4px 10px rgba(217, 119, 58, 0.18);
}

.section-hint {
  font-size: 0.85rem;
  color: #6b5f5b;
}

.stat-block {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 27, 26, 0.1);
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 27, 26, 0.08);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f2b27a);
}

.small {
  font-size: 0.9rem;
  color: #5f524f;
}

@keyframes drift {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

@keyframes floatIn {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 680px) {
  .hero-card {
    padding: 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
