:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: #10141b;
  --surface-soft: rgba(17, 23, 31, 0.78);
  --ink: #f4f7fa;
  --muted: #9aa8b5;
  --line: rgba(178, 213, 224, 0.16);
  --cyan: #55e6d4;
  --pink: #ff719b;
  --yellow: #f2d06b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 3px 4px);
}

.meteor-trail {
  position: fixed;
  inset: 0;
  z-index: 19;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.space-backdrop { position: absolute; inset: 0 0 auto; height: 820px; overflow: hidden; pointer-events: none; }
.space-backdrop::before {
  position: absolute; inset: 0; content: "";
  background:
    radial-gradient(circle at 78% 35%, rgba(85, 230, 212, .13), transparent 23%),
    radial-gradient(circle at 22% 18%, rgba(255, 113, 155, .1), transparent 22%),
    linear-gradient(180deg, #0d121b 0%, #080b10 72%, var(--bg) 100%);
}

.stars { position: absolute; inset: 0; opacity: .65; background-repeat: repeat; }
.stars-a { background-image: radial-gradient(#fff 0.7px, transparent 0.9px); background-size: 41px 41px; }
.stars-b { background-image: radial-gradient(var(--cyan) 0.8px, transparent 1px); background-size: 73px 73px; transform: translate(18px, 11px); }
.orbit { position: absolute; border: 1px solid rgba(85,230,212,.13); border-radius: 50%; }
.orbit-one { width: 620px; height: 620px; top: 65px; right: -110px; }
.orbit-two { width: 820px; height: 310px; top: 280px; right: -150px; transform: rotate(-16deg); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--cyan); border-radius: 6px;
  color: var(--cyan); font: 700 12px/1 ui-monospace, monospace;
  box-shadow: inset 0 0 20px rgba(85,230,212,.08), 0 0 18px rgba(85,230,212,.1);
}
.brand strong, .brand small { display: block; }
.brand strong { line-height: 1.2; }
.brand small { color: var(--muted); font: 600 9px/1.3 ui-monospace, monospace; }
.top-nav { display: flex; gap: 28px; }
.top-nav a { position: relative; color: var(--muted); font-size: 13px; }
.top-nav a::before { color: var(--cyan); content: "// "; }
.top-nav a:hover { color: var(--ink); }

main { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); gap: 64px;
  align-items: center; min-height: 700px; padding: 70px 0 80px;
}
.eyebrow { margin-bottom: 14px; color: var(--cyan); font: 700 11px/1.5 ui-monospace, monospace; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
h1 { margin-bottom: 24px; font-size: clamp(48px, 6.2vw, 84px); line-height: 1.08; letter-spacing: 0; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(244,247,250,.58); }
h2 { margin-bottom: 0; font-size: 34px; line-height: 1.25; letter-spacing: 0; }
.hero-text { max-width: 650px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 0 20px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 700; }
.button.primary { border-color: var(--cyan); background: var(--cyan); color: #07110f; box-shadow: 0 0 24px rgba(85,230,212,.16); }
.button.secondary { background: rgba(9,12,17,.48); color: var(--ink); }
.button:hover { transform: translateY(-2px); transition: transform 160ms ease; }

.hero-visual { position: relative; min-height: 440px; border: 1px solid var(--line); overflow: hidden; background: linear-gradient(145deg, rgba(19,27,37,.58), rgba(7,9,13,.18)); clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%); }
.hero-visual::before { position: absolute; inset: 0; content: ""; background: linear-gradient(rgba(85,230,212,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(85,230,212,.06) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, transparent, #000 28%, #000); }
.planet { position: absolute; top: 55%; left: 50%; width: 240px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 28%, #d7fff9 0 2%, #5bcec5 8%, #1d5a62 36%, #111823 68%); box-shadow: inset -30px -24px 50px #05070a, 0 0 52px rgba(85,230,212,.2); }
.planet::after { position: absolute; inset: 9% 15% auto 17%; height: 18%; border-top: 2px solid rgba(255,255,255,.22); border-radius: 50%; content: ""; transform: rotate(-20deg); }
.planet-glow { position: absolute; inset: -30%; border-radius: 50%; border: 1px solid rgba(85,230,212,.12); box-shadow: 0 0 70px rgba(85,230,212,.07); }
.planet-ring { position: absolute; top: 48%; left: -31%; width: 162%; height: 24%; border: 2px solid rgba(255,113,155,.65); border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 0 12px rgba(255,113,155,.25); }
.visual-label { position: absolute; color: var(--muted); font: 600 9px/1 ui-monospace, monospace; }
.label-top { top: 22px; left: 24px; }
.label-bottom { right: 24px; bottom: 22px; color: var(--pink); }
.crosshair { position: absolute; color: var(--cyan); font: 300 20px/1 monospace; }
.crosshair-a { top: 18%; right: 18%; } .crosshair-b { bottom: 18%; left: 16%; }

.section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-index { margin: 0; color: #52616c; font: 600 11px/1 ui-monospace, monospace; }
.post-grid { border-top: 1px solid var(--line); }
.post-card { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) 32px; gap: 22px; align-items: start; min-height: 210px; padding: 30px 14px; border-bottom: 1px solid var(--line); }
.post-card::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: 0; background: linear-gradient(90deg, rgba(85,230,212,.055), transparent 70%); transition: opacity 180ms ease; }
.post-card:hover::before { opacity: 1; }
.post-number { padding-top: 4px; color: var(--cyan); font: 700 11px/1 ui-monospace, monospace; }
.post-meta { display: flex; gap: 18px; color: #687783; font: 600 10px/1 ui-monospace, monospace; }
.post-card h3 { max-width: 760px; margin: 14px 0 9px; font-size: 24px; line-height: 1.3; }
.post-card p { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.post-arrow { padding-top: 4px; color: var(--muted); font-size: 20px; }
.post-card:hover .post-arrow { color: var(--pink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.tag { padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--cyan); font: 600 10px/1.5 ui-monospace, monospace; }
.about-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px; color: var(--muted); font-size: 17px; }
.about-layout p { padding-left: 18px; border-left: 2px solid var(--line); }
.about-layout p:first-child { border-color: var(--pink); }
.contact-section p { max-width: 760px; color: var(--muted); font-size: 17px; }
.site-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 42px; border-top: 1px solid var(--line); color: #65737d; font: 500 12px/1.7 ui-monospace, monospace; text-align: center; }
.site-footer p { margin-bottom: 6px; }
.filing-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 62px; }
  .hero-visual { min-height: 380px; }
  .about-layout { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 580px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .top-nav { width: 100%; justify-content: space-between; gap: 8px; }
  .top-nav a { font-size: 12px; }
  .hero { min-height: auto; padding: 48px 0 58px; }
  h1 { font-size: 43px; }
  .hero-text { font-size: 15px; }
  .hero-visual { min-height: 315px; }
  .planet { width: 180px; }
  .section { padding: 60px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .post-card { grid-template-columns: 34px minmax(0,1fr); gap: 8px; padding: 25px 4px; }
  .post-arrow { display: none; }
  .post-card h3 { font-size: 20px; }
  .post-meta { flex-wrap: wrap; gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .meteor-trail { display: none; }
}

/* Fuwari-inspired layout */
:root {
  --bg: #0b0d13;
  --surface: #151822;
  --surface-soft: rgba(21, 24, 34, 0.82);
  --line: rgba(210, 220, 235, 0.13);
  --cyan: #75dfd2;
  --pink: #f48fb1;
}

body {
  background:
    radial-gradient(circle at 12% 32%, rgba(244, 143, 177, .07), transparent 24%),
    radial-gradient(circle at 88% 65%, rgba(117, 223, 210, .06), transparent 26%),
    var(--bg);
}

.space-backdrop { height: 940px; opacity: .54; }
.site-header {
  width: min(1080px, calc(100% - 40px));
  margin-top: 14px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 16, 23, .7);
}
.brand-mark { border-radius: 50%; }
main { width: min(1080px, calc(100% - 40px)); }

.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 34px 0 28px;
}

.hero-banner {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13,16,31,.05), rgba(7,10,18,.28)),
    radial-gradient(circle at 72% 34%, rgba(117,223,210,.22), transparent 22%),
    linear-gradient(145deg, #20233d 0%, #343754 42%, #b06c91 100%);
  box-shadow: var(--shadow);
}

.hero-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 25%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 57% 12%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 83% 19%, #fff 0 1px, transparent 1.5px);
  background-size: 180px 160px;
  opacity: .65;
}

.sky-glow { position: absolute; width: 420px; height: 260px; right: 2%; top: 3%; border-radius: 50%; background: rgba(244,143,177,.2); filter: blur(70px); }
.moon { position: absolute; top: 68px; right: 12%; width: 116px; aspect-ratio: 1; border-radius: 50%; background: #f7eef2; box-shadow: 0 0 60px rgba(255,225,239,.45); }
.moon::after { position: absolute; width: 108%; height: 35%; left: -4%; top: 40%; content: ""; border-top: 7px solid rgba(117,223,210,.55); border-radius: 50%; transform: rotate(-12deg); }
.shooting-star { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, #fff); transform: rotate(-24deg); }
.star-one { top: 82px; left: 28%; width: 110px; }
.star-two { top: 150px; left: 48%; width: 68px; }
.city-line { position: absolute; inset: auto 0 0; height: 118px; opacity: .72; background: repeating-linear-gradient(90deg, #111522 0 28px, transparent 28px 34px, #171b28 34px 58px, transparent 58px 64px); clip-path: polygon(0 64%,4% 64%,4% 42%,8% 42%,8% 70%,13% 70%,13% 28%,17% 28%,17% 67%,22% 67%,22% 48%,27% 48%,27% 74%,32% 74%,32% 21%,37% 21%,37% 61%,43% 61%,43% 39%,49% 39%,49% 72%,55% 72%,55% 32%,61% 32%,61% 66%,68% 66%,68% 18%,74% 18%,74% 58%,80% 58%,80% 37%,86% 37%,86% 68%,92% 68%,92% 47%,100% 47%,100% 100%,0 100%); }

.banner-copy { position: absolute; z-index: 2; left: clamp(28px, 6vw, 72px); top: 47%; max-width: 540px; transform: translateY(-50%); text-shadow: 0 4px 24px rgba(8,10,18,.46); }
.banner-copy h1 { margin-bottom: 15px; font-size: clamp(42px, 5.6vw, 64px); }
.banner-copy h1 span { color: var(--ink); -webkit-text-stroke: 0; }
.banner-copy > p:last-child { color: rgba(255,255,255,.78); }

.profile-card {
  position: sticky;
  z-index: 3;
  top: 100px;
  display: block;
  width: 100%;
  margin: 50px 0 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(18, 22, 31, .86);
  box-shadow: 0 20px 55px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.avatar { position: relative; display: grid; place-items: center; width: 82px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, var(--cyan), #6472aa 55%, var(--pink)); color: #fff; font-size: 34px; font-weight: 800; }
.avatar-ring { position: absolute; inset: -5px; border: 1px dashed rgba(117,223,210,.65); border-radius: 50%; }
.profile-card .avatar { margin: 0 auto 17px; }
.profile-copy { text-align: center; }
.profile-kicker { margin-bottom: 3px; color: var(--cyan); font: 600 10px/1.4 ui-monospace, monospace; text-transform: uppercase; }
.profile-copy h2 { font-size: 25px; }
.profile-copy > p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.profile-stats { display: flex; justify-content: space-between; gap: 8px; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.profile-stats strong { margin-right: 4px; color: var(--ink); font-size: 15px; }
.profile-card .hero-actions { margin-top: 16px; }
.profile-card .button { min-height: 39px; padding: 0 15px; font-size: 12px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.content-layout .posts-section { border-top: 0; }
.section { padding: 72px 0; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border-top: 0; }
.post-card { display: grid; grid-template-columns: 1fr 28px; gap: 14px; min-height: 390px; padding: 0 0 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.post-cover { grid-column: 1 / -1; position: relative; display: grid; place-items: center; height: 155px; overflow: hidden; background: linear-gradient(145deg, #27334a, #72526e); }
.post-cover::before, .post-cover::after { position: absolute; content: ""; border-radius: 50%; }
.post-cover::before { width: 170px; aspect-ratio: 1; border: 1px solid rgba(117,223,210,.55); box-shadow: 0 0 30px rgba(117,223,210,.18); }
.post-cover::after { width: 110px; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%, #e4faf8, #6d9ca2 20%, #1c2534 70%); }
.cover-2 { background: linear-gradient(145deg, #333752, #966075); }
.cover-2::before { border-color: rgba(244,143,177,.7); transform: rotate(-25deg) scaleY(.36); }
.cover-3 { background: linear-gradient(145deg, #183a40, #454467); }
.post-cover span { position: absolute; z-index: 2; right: 15px; bottom: 10px; color: rgba(255,255,255,.44); font: 700 11px/1 ui-monospace, monospace; }
.post-number { display: none; }
.post-content { padding: 4px 0 0 22px; }
.post-card h3 { font-size: 20px; }
.post-card p { font-size: 14px; }
.post-arrow { padding-right: 16px; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(117,223,210,.38); transition: transform 180ms ease, border-color 180ms ease; }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-banner { min-height: 430px; }
  .banner-copy { top: 42%; }
  .moon { width: 80px; right: 8%; }
  .content-layout { grid-template-columns: 1fr; }
  .profile-card { position: relative; top: auto; width: 100%; margin: 18px 0 0; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .site-header, main, .site-footer { width: min(100% - 24px, 1080px); }
  .hero { min-height: 0; padding: 22px 0 52px; }
  .hero-banner { min-height: 430px; }
  .banner-copy { left: 23px; right: 23px; }
  .banner-copy h1 { font-size: 40px; }
  .profile-card { padding: 18px; }
  .avatar { width: 70px; }
  .profile-stats { gap: 12px; justify-content: space-between; }
  .profile-card .hero-actions { gap: 8px; }
  .profile-card .button { flex: 1; }
}
