/* 98看片站 · Y2K 霓虹单页皮 */

:root {
  --bg: #08140d;
  --bg2: #0f2416;
  --panel: #0e2416;
  --panel2: #122b1b;
  --ink: #dbffe6;
  --dim: #9dd4b3;
  --neon: #69ff69;
  --cyan: #00ffff;
  --pink: #ff63d4;
  --chrome: linear-gradient(135deg, #ffffff 0%, #b6ffd4 28%, #7ef0ff 46%, #ffffff 62%, #ffd7f6 80%, #c8ffde 100%);
  --dock-h: 92px;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 0 calc(var(--dock-h) + 18px);
  background:
    radial-gradient(circle at 10% 4%, rgba(0, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(255, 99, 212, 0.15), transparent 40%),
    radial-gradient(circle at 50% 104%, rgba(105, 255, 105, 0.13), transparent 52%),
    var(--bg);
  color: var(--ink);
  font-family: "Didact Gothic", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(105, 255, 105, 0.5) 0 1px, transparent 1.5px);
  background-size: 150px 150px, 230px 230px;
  background-position: 0 0, 74px 116px;
}

main,
.foot {
  position: relative;
  z-index: 1;
}

a {
  color: var(--cyan);
}

a:hover {
  color: var(--neon);
}

/* 眉题 */
small {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.32em;
  color: var(--pink);
}

small + h2,
small + h3 {
  margin-top: 0.3rem;
}

/* 底部固定条 */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(16, 42, 26, 0.95), rgba(7, 19, 12, 0.99));
  border-top: 1px solid rgba(0, 255, 255, 0.45);
  box-shadow: 0 -16px 34px -20px #000, inset 0 0 0 1px rgba(105, 255, 105, 0.08);
  backdrop-filter: blur(10px);
}

.dock-brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 2px;
  color: var(--neon);
  text-decoration: none;
  font-family: "Poiret One", "Didact Gothic", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(105, 255, 105, 0.7);
}

.dock-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
}

.dock nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 10px), transparent 100%);
}

.dock nav::-webkit-scrollbar {
  display: none;
}

.dock-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 2px 0;
  list-style: none;
  white-space: nowrap;
}

.dock-list a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.dock-list a:hover,
.dock-list a.is-on {
  color: #06190d;
  background: rgba(105, 255, 105, 0.85);
  border-color: var(--cyan);
}

.dock-list a.is-on .dot,
.dock-list a:hover .dot {
  background: #06190d;
  box-shadow: none;
}

.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 0 9px var(--cyan);
}

.dock-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--chrome);
  color: #06190d;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.55);
  transition: transform 0.18s, box-shadow 0.18s;
}

.dock-cta:hover {
  color: #06190d;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 99, 212, 0.7);
}

/* 首屏 */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70vh;
  min-height: 70svh;
  padding: 96px 20px 72px;
  overflow: hidden;
  text-align: center;
}

.hero-art {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-art--bare {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 99, 212, 0.45), transparent 46%),
    radial-gradient(circle at 72% 62%, rgba(0, 255, 255, 0.4), transparent 50%),
    linear-gradient(160deg, #12391f, #091a10 70%);
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.06);
  transform-origin: center;
  will-change: transform;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 13, 0.6), rgba(8, 20, 13, 0.78) 62%, var(--bg) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 190px;
  height: 190px;
  left: 5%;
  top: 16%;
  opacity: 0.45;
  background: radial-gradient(circle at 32% 28%, #ffffff, #69ff69 46%, rgba(0, 255, 255, 0.28) 74%, transparent 80%);
  filter: blur(2px);
}

.hero::after {
  width: 120px;
  height: 120px;
  right: 8%;
  bottom: 14%;
  opacity: 0.42;
  background: radial-gradient(circle at 30% 30%, #ffffff, #ff63d4 52%, transparent 78%);
  filter: blur(2px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  margin: 0;
  font-family: "Poiret One", "Didact Gothic", system-ui, sans-serif;
  font-size: clamp(2.4rem, 8.4vw, 5.4rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(105, 255, 105, 0.75), 0 0 64px rgba(0, 255, 255, 0.45);
}

.hero-sub {
  max-width: 54ch;
  margin: 18px auto 0;
  color: var(--dim);
  font-size: 16px;
}

/* 正文区 */
.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 26px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 0;
}

.content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.content > article {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(105, 255, 105, 0.14), 0 22px 46px -34px #000;
  scroll-margin-top: 24px;
}

.content > article:nth-child(even) {
  background: var(--panel2);
}

.content h2 {
  margin: 0 0 0.55rem;
  font-family: "Poiret One", "Didact Gothic", system-ui, sans-serif;
  font-size: 1.62rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--neon);
  text-shadow: 0 0 14px rgba(105, 255, 105, 0.35);
}

.content h3 {
  margin: 1.3rem 0 0.5rem;
  font-family: "Poiret One", "Didact Gothic", system-ui, sans-serif;
  font-size: 1.24rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--cyan);
}

.content p {
  margin: 0.75em 0;
}

.content ul,
.content ol {
  margin: 0.8em 0;
  padding-left: 1.35em;
}

.content li {
  margin: 0.35em 0;
}

.content li::marker {
  color: var(--neon);
}

.content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: var(--radius);
}

.content figure {
  margin: 1em 0;
}

.content blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 99, 212, 0.09);
  color: var(--ink);
}

.content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.content th,
.content td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(105, 255, 105, 0.2);
}

.content code {
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(0, 255, 255, 0.13);
  font-size: 15px;
}

/* 右侧栏 */
.rail {
  position: sticky;
  top: 22px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: linear-gradient(162deg, #14311f, #0c2114);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.2);
}

.rail-title {
  margin: 0 0 12px;
  font-family: "Poiret One", "Didact Gothic", system-ui, sans-serif;
  font-size: 1.24rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cyan);
}

.rail-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: block;
  padding: 10px 9px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
}

.rail-list a:hover {
  padding-left: 14px;
  background: rgba(105, 255, 105, 0.14);
  color: var(--neon);
}

/* 页脚 */
.foot {
  max-width: 1180px;
  margin: 46px auto 0;
  padding: 30px 20px 26px;
  border-top: 1px solid rgba(0, 255, 255, 0.28);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.foot dl {
  margin: 0;
}

.foot dt {
  margin-bottom: 9px;
  font-size: 16px;
  letter-spacing: 0.26em;
  color: var(--pink);
}

.foot dd {
  margin: 0 0 6px;
  color: var(--dim);
  font-size: 16px;
  word-break: break-word;
}

.foot dd a {
  color: var(--dim);
  text-decoration: none;
}

.foot dd a:hover {
  color: var(--neon);
  text-decoration: underline;
}

.subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.sub-label {
  font-size: 16px;
  letter-spacing: 0.26em;
  color: var(--cyan);
}

.subscribe input {
  flex: 1 1 210px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(0, 255, 255, 0.38);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.4);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
}

.subscribe input::placeholder {
  color: #7fb094;
}

.subscribe input:focus {
  outline: 2px solid var(--neon);
  outline-offset: 1px;
}

.subscribe button {
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--chrome);
  color: #06190d;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(105, 255, 105, 0.5);
  transition: transform 0.18s, box-shadow 0.18s;
}

.subscribe button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.7);
}

.subscribe button:disabled {
  opacity: 0.75;
  cursor: default;
}

.copy {
  margin: 24px 0 0;
  text-align: center;
  color: var(--dim);
  font-size: 16px;
}

@media (max-width: 900px) {
  .content-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .rail {
    position: static;
  }

  .foot-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 64vh;
    padding: 82px 16px 58px;
  }

  .hero::before {
    width: 130px;
    height: 130px;
    left: -14px;
    top: 10%;
  }

  .hero::after {
    width: 88px;
    height: 88px;
    right: -10px;
  }

  .content-shell {
    padding: 6px 14px 0;
  }

  .content > article {
    padding: 22px 17px;
  }

  .foot {
    padding: 26px 14px 22px;
  }

  .dock {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .dock-brand {
    font-size: 16px;
  }

  .dock-cta {
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
