/* 陆吾落地通 - 山海经神兽 · 昆仑守御 */

:root {
  --ink: #1a1814;
  --ink-soft: #3d3832;
  --muted: #6b6359;
  --paper: #f5f1eb;
  --paper-warm: #ebe5dc;
  --jade: #2d5a4a;
  --jade-light: #3d7a64;
  --gold: #8b6914;
  --gold-soft: #b8922e;
  --cinnabar: #a63d2e;
  --cinnabar-soft: #c45c4a;
  --border: rgba(45, 90, 74, 0.12);
  --shadow: 0 4px 24px rgba(26, 24, 20, 0.06);
  --shadow-hover: 0 8px 32px rgba(26, 24, 20, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

/* 背景：远山与云气意象 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(45, 90, 74, 0.03) 0%, transparent 40%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-warm) 50%, var(--paper) 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(45, 90, 74, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

/* Header - 印章/题额感 */
.header {
  text-align: center;
  animation: fadeDown 0.8s ease-out;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  display: inline-block;
  padding: 0.25em 0.5em;
  border-bottom: 2px solid var(--jade);
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--gold-soft);
  opacity: 0.6;
}

.tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-family: "Noto Sans SC", sans-serif;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  width: 100%;
  max-width: 420px;
}

.hero {
  text-align: center;
  background: rgba(245, 241, 235, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  animation: fadeUp 0.8s ease-out 0.15s both;
  position: relative;
}

/* 四角淡纹 - 古典框饰 */
.hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(45, 90, 74, 0.08);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

.hero:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 90, 74, 0.18);
}

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

/* 玉璧形图标 - 昆仑礼器意象 */
.hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.35rem;
  border: 2px solid var(--jade);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(45, 90, 74, 0.06) 0%, rgba(139, 105, 20, 0.04) 100%);
  color: var(--jade);
  position: relative;
}

.hero-icon::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  opacity: 0.7;
}

.hero-text {
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 0.65rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.copyright {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.beian {
  font-size: 0.8rem;
  color: var(--muted);
}

.beian a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.beian a:hover {
  color: var(--jade);
  text-decoration: underline;
}

@media (min-width: 480px) {
  .logo {
    font-size: 2.15rem;
    letter-spacing: 0.22em;
  }
  .hero {
    padding: 3rem 2.5rem;
  }
  .hero-icon {
    width: 72px;
    height: 72px;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .hero-icon::before {
    width: 24px;
    height: 24px;
  }
  .hero-text {
    font-size: 1.5rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
}
