@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Poiret+One&display=swap');

:root {
  --red: #ff0000;
  --pink: #ff1493;
  --ink: #261717;
  --bg: #150d0d;
  --panel: rgba(49, 28, 32, 0.74);
  --panel2: rgba(66, 27, 38, 0.74);
  --line: rgba(255, 130, 160, 0.22);
  --txt: #fff3f4;
  --dim: #e6cbd0;
  --r: 28px;
  --sans: "Didact Gothic", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --deco: "Poiret One", "Didact Gothic", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 18% 12%, rgba(255, 0, 0, 0.55), transparent 68%),
    radial-gradient(42% 38% at 82% 8%, rgba(255, 20, 147, 0.5), transparent 70%),
    radial-gradient(45% 45% at 68% 78%, rgba(255, 20, 147, 0.34), transparent 72%),
    radial-gradient(40% 50% at 26% 88%, rgba(255, 70, 20, 0.32), transparent 70%),
    conic-gradient(from 200deg at 60% 40%, rgba(255, 0, 0, 0.28), rgba(255, 20, 147, 0.3), rgba(120, 20, 60, 0.24), rgba(255, 0, 0, 0.28));
  background-size: 200% 200%, 200% 200%, 180% 180%, 200% 200%, 160% 160%;
  filter: saturate(1.2) blur(28px);
  opacity: 0.62;
  animation: drift 11s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 190, 210, 0.07) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 190, 210, 0.06) 0 1px, transparent 1px 92px);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 100%);
  opacity: 0.5;
}

@keyframes drift {
  0% { background-position: 0% 0%, 100% 0%, 60% 100%, 0% 100%, 0% 0%; }
  100% { background-position: 40% 30%, 60% 25%, 25% 60%, 45% 60%, 100% 100%; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(21, 13, 13, 0.8);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}

.mast-bar {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mast-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 62px;
}

.wing {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.wing-left { justify-self: start; }
.wing-right { justify-self: end; }

.wing a,
.drop summary,
.base-nav a,
.base-legal a,
.side-list a,
.rail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  font-size: 16px;
  line-height: 1.3;
  border-radius: 999px;
  color: var(--dim);
  transition: color 0.25s, background 0.25s;
}

.wing a:hover,
.wing a:focus-visible,
.side-list a:hover,
.side-list a:focus-visible,
.base-nav a:hover,
.base-nav a:focus-visible,
.base-legal a:hover,
.base-legal a:focus-visible {
  color: #fff;
  background: rgba(255, 20, 147, 0.2);
}

.rail a:hover,
.rail a:focus-visible {
  color: #fff;
  background: rgba(255, 0, 0, 0.35);
}

.brand {
  font-family: var(--deco);
  font-size: 1.22rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
  padding: 0.55rem 0.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(96deg, #fff 8%, #ff9ab8 48%, var(--pink) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.drop { position: relative; }

.drop summary {
  cursor: pointer;
  list-style: none;
  gap: 0.4rem;
}

.drop summary::-webkit-details-marker { display: none; }

.drop summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}

.drop[open] summary { color: #fff; background: rgba(255, 20, 147, 0.22); }
.drop[open] summary::after { transform: rotate(225deg) translateY(-2px); }

.drop-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 13rem;
  padding: 0.5rem;
  border-radius: 20px;
  background: rgba(35, 18, 22, 0.97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--line);
  display: grid;
  gap: 0.1rem;
}

.drop-list a { width: 100%; border-radius: 12px; }

.seek {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.4rem;
  padding: 0.2rem 0.2rem 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}

.seek input {
  width: 6.5rem;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--txt);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.seek input::placeholder { color: #ccb1b7; }

.seek button {
  min-height: 38px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, var(--red), var(--pink));
}

.rail {
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { display: none; }

.rail menu {
  display: flex;
  gap: 0.35rem;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.35rem 1rem;
  white-space: nowrap;
}

.rail a {
  min-height: 40px;
  padding: 0 0.9rem;
  font-size: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}

.stage {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.6rem 1rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 1.5rem;
  align-items: start;
}

.hero {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 8rem);
  padding: 3rem 1.4rem;
  border-radius: var(--r);
  background: radial-gradient(120% 130% at 8% 10%, rgba(255, 0, 0, 0.34), transparent 58%), radial-gradient(110% 120% at 92% 84%, rgba(255, 20, 147, 0.32), transparent 62%), #1c1012;
  scroll-margin-top: 8rem;
}

.hero-aura {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(30% 34% at 70% 24%, rgba(255, 20, 147, 0.55), transparent 70%),
    radial-gradient(28% 30% at 24% 70%, rgba(255, 60, 0, 0.5), transparent 70%);
  background-size: 200% 200%;
  filter: saturate(1.25) blur(20px);
  animation: drift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.ghost {
  position: absolute;
  right: -4%;
  bottom: 2%;
  font-family: var(--deco);
  font-size: clamp(4.5rem, 19vw, 15rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 150, 180, 0.34);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 44ch;
}

.kicker {
  margin: 0 0 0.6rem;
  font-family: var(--deco);
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  color: #ffb6c9;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--deco);
  font-size: clamp(2.15rem, 8.2vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
  word-break: break-word;
  background: linear-gradient(110deg, #ffffff 4%, #ffc2d4 42%, var(--pink) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 44px rgba(255, 20, 147, 0.28);
}

.lede {
  margin: 0;
  font-size: 1.03rem;
  color: var(--dim);
  max-width: 40ch;
}

.sheet { min-width: 0; }

.sheet > div {
  scroll-margin-top: 8.5rem;
  margin: 0 0 1.1rem;
  padding: 1.7rem 1.4rem;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.sheet > div:nth-child(even) { background: var(--panel2); }

.sheet > div:last-child { margin-bottom: 0; }

.sheet h2,
.side h2 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.32rem, 3.4vw, 1.72rem);
  line-height: 1.32;
  letter-spacing: 0.02em;
  color: #fff;
}

.sheet h3 {
  margin: 1.4rem 0 0.3rem;
  font-size: 1.12rem;
  color: #ffc0d1;
}

.sheet p { margin: 0.75rem 0; color: #f4dde1; }

.sheet ul,
.sheet ol { padding-left: 1.3rem; color: #f4dde1; }

.sheet li { margin: 0.35rem 0; }

.sheet a { color: #ffb3c8; text-decoration: underline; text-underline-offset: 3px; }

.sheet strong { color: #fff; }

hr {
  border: 0;
  height: 1px;
  margin: 0.7rem 0 1.1rem;
  background: linear-gradient(90deg, var(--pink), rgba(255, 0, 0, 0.45) 45%, transparent);
}

.side {
  position: sticky;
  top: 8.75rem;
  padding: 1.3rem 1rem;
  border-radius: var(--r);
  background: rgba(38, 23, 23, 0.86);
  box-shadow: inset 0 0 0 1px var(--line);
}

.side-list {
  display: grid;
  gap: 0.15rem;
}

.side-list a {
  width: 100%;
  border-radius: 14px;
  font-size: 16px;
}

.base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.4rem;
  max-width: 1220px;
  margin: 0 auto;
  padding: 2.2rem 1.2rem 3rem;
  font-size: 16px;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.base-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.base-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.base-logo img,
.mark-box {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--red), var(--pink));
}

.base-name {
  font-family: var(--deco);
  letter-spacing: 0.14em;
  color: #ffd3e0;
}

.base-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.base-nav a { font-size: 16px; border-radius: 12px; }

.base-form {
  display: flex;
  gap: 0.3rem;
  padding: 0.2rem 0.2rem 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}

.base-form input {
  width: 8.5rem;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--txt);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.base-form input::placeholder { color: #c9aeb5; }

.base-form button {
  min-height: 38px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, var(--pink), var(--red));
}

.base-legal {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 16px;
}

.fade {
  opacity: 0;
  transform: translateY(16px);
}

.fade.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

@media (max-width: 940px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: 3; }
  .hero { min-height: calc(100svh - 7.5rem); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wing-left { display: none; }
  .mast-nav { min-height: 58px; }
  .brand { font-size: 1.06rem; letter-spacing: 0.1em; }
  .seek { display: none; }
  .stage { padding: 1rem 0.75rem 2rem; }
  .hero { padding: 2rem 1rem; }
  .sheet > div { padding: 1.35rem 1rem; }
  .base { padding: 1.8rem 0.9rem 2.4rem; }
  .base-legal { margin-left: 0; width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before,
  .hero-aura { animation: none; }
  .fade { opacity: 1; transform: none; transition: none; }
  .ghost { transform: none !important; }
}

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