﻿/* 叔叔不约 · buyueshushu.net.cn — 深色霓虹 */

:root {
  --night: #140b15;
  --night-2: #1c0f1f;
  --line: rgba(255, 196, 223, 0.14);
  --text: #fbe9f1;
  --muted: #b499a8;
  --rose: #ff5fa2;
  --rose-soft: #ff8fbe;
  --wrap: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(20, 11, 21, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 95, 162, 0.45);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--rose-soft); }

.nav-btn {
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rose);
  color: #2a0715;
  font-size: 13.5px;
  font-weight: 700;
}

.nav-btn:not([hidden]) { display: inline-flex; }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: 132px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 50% -8%, rgba(255, 95, 162, 0.24), transparent 68%),
    linear-gradient(180deg, #1b0d1e 0%, var(--night) 62%);
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.halo-a {
  width: 420px;
  height: 420px;
  top: 40px;
  left: -120px;
  background: rgba(255, 95, 162, 0.16);
}

.halo-b {
  width: 360px;
  height: 360px;
  top: 220px;
  right: -100px;
  background: rgba(147, 92, 255, 0.14);
}

.hero .wrap { position: relative; text-align: center; }

.pill {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.4px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 143, 190, 0.36);
  color: var(--rose-soft);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.16;
  letter-spacing: -1.4px;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(100deg, #ffd0e3, var(--rose) 55%, #b06bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn-main {
  align-items: center;
  height: 50px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff77b1, #d92a7d);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(217, 42, 125, 0.36);
  transition: transform 0.2s;
}

.btn-main:not([hidden]) { display: inline-flex; }

.btn-main:hover { transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

.btn-ghost:hover { border-color: rgba(255, 143, 190, 0.5); }

/* 三机斜排 */

.tri {
  position: relative;
  height: 460px;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.tri-shot {
  width: 208px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 160, 200, 0.22);
  background: #2a1327;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.tri-shot img { aspect-ratio: 300 / 440; object-fit: cover; }

.tri-c {
  z-index: 3;
  width: 244px;
  transform: translateY(-26px);
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 95, 162, 0.28);
}

.tri-l {
  z-index: 2;
  transform: translate(64px, 10px) rotate(-7deg);
  opacity: 0.9;
}

.tri-r {
  z-index: 2;
  transform: translate(-64px, 10px) rotate(7deg);
  opacity: 0.9;
}

/* ---------- 区头 ---------- */

.sec {
  max-width: 620px;
  margin-bottom: 34px;
}

.sec h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  letter-spacing: -0.7px;
}

.sec p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 为什么 ---------- */

.why {
  padding: 88px 0 76px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  padding: 32px 28px;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 143, 190, 0.4);
}

.why-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 95, 162, 0.14);
  color: var(--rose-soft);
  font-size: 16px;
}

.why-card h3 {
  margin-top: 18px;
  font-size: 20px;
}

.why-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 时机 ---------- */

.when {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(255, 95, 162, 0.06), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.when-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.when-tile {
  padding: 24px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid rgba(255, 95, 162, 0.5);
}

.when-tile h3 {
  font-size: 18px;
}

.when-tile p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 留言 ---------- */

.word {
  padding: 86px 0;
}

.word-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.word-card {
  padding: 26px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.word-card p {
  font-size: 14.5px;
  color: #e6cfda;
}

.word-card footer {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.word-card footer em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: #9d8091;
}

/* ---------- 下载 ---------- */

.get {
  padding: 20px 0 92px;
}

.get-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.get-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.8px;
}

.get-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.get-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.get-card {
  flex-direction: column;
  padding: 26px 24px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  transition: transform 0.22s, border-color 0.22s;
}

.get-card:not([hidden]) { display: flex; }

.get-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 143, 190, 0.45);
}

.get-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 95, 162, 0.14);
  font-size: 21px;
}

.get-card strong {
  margin-top: 16px;
  font-size: 18px;
}

.get-card em {
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.get-arrow {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rose-soft);
}

/* ---------- 页脚 ---------- */

.foot {
  padding: 36px 0 40px;
  border-top: 1px solid var(--line);
  background: #100814;
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.foot-brand span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.foot-brand em {
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: #9d8091;
}

.foot-nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.foot-nav a:hover { color: var(--rose-soft); }

.foot-copy {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #7d6373;
}

/* ---------- 出现动画 ---------- */

.pop {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pop.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-btn { margin-left: auto; }
  .hero { padding: 108px 0 30px; }
  .tri { height: 400px; }
  .tri-shot { width: 172px; }
  .tri-c { width: 206px; }
  .tri-l { transform: translate(52px, 8px) rotate(-7deg); }
  .tri-r { transform: translate(-52px, 8px) rotate(7deg); }
  .why-grid, .word-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .tri { height: 330px; }
  .tri-shot { width: 138px; border-radius: 20px; }
  .tri-c { width: 168px; }
  .tri-l { transform: translate(40px, 6px) rotate(-6deg); }
  .tri-r { transform: translate(-40px, 6px) rotate(6deg); }
  .when-grid { grid-template-columns: 1fr; }
  .why, .when, .word { padding: 60px 0; }
  .get { padding: 10px 0 64px; }
  .get-card { padding: 22px 20px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-nav { flex-wrap: wrap; gap: 14px; }
}

/* ---------- 404 ---------- */

.nope {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background:
    radial-gradient(620px 340px at 50% 0%, rgba(255, 95, 162, 0.22), transparent 70%),
    var(--night);
}

.nope-in { max-width: 440px; }

.nope-code {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--rose);
  font-weight: 700;
}

.nope h1 {
  margin-top: 16px;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.32;
}

.nope p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.nope .btn-main { margin-top: 30px; }
