:root {
  --bg: #07050d;
  --panel: rgba(17, 11, 30, 0.72);
  --text: #f5efff;
  --muted: #a49aad;
  --purple: #b96cff;
  --violet: #7d4dff;
  --pink: #e7a6ff;
  --line: rgba(206, 158, 255, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
button, a { font: inherit; }
button { color: inherit; }

.page-shell {
  isolation: isolate;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px clamp(24px, 5vw, 78px) 24px;
  background:
    radial-gradient(circle at 74% 45%, rgba(127, 60, 255, 0.15), transparent 31%),
    radial-gradient(circle at 17% 78%, rgba(193, 82, 255, 0.09), transparent 25%),
    var(--bg);
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: radial-gradient(rgba(255,255,255,.22) .7px, transparent .7px);
  background-size: 4px 4px;
  mask-image: linear-gradient(120deg, transparent 15%, black 55%, transparent 95%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .23;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 76%, transparent);
}
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-left { width: 360px; height: 360px; left: -220px; bottom: -170px; border: 1px solid rgba(185,108,255,.22); box-shadow: 0 0 100px rgba(146, 62, 255, .25); }
.ambient-right { width: 650px; height: 650px; right: -390px; top: 8%; border: 1px solid rgba(185,108,255,.12); box-shadow: 0 0 140px rgba(119, 62, 255, .21); }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-header { position: relative; z-index: 2; justify-content: center; min-height: 24px; }
.header-status { position: static; display: flex; gap: 10px; align-items: center; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); animation: pulse 2s ease-in-out infinite; }

.hero { flex: 1; width: min(1240px, 100%); margin: 0 auto; display: grid; place-items: center; }
.hero-copy { position: relative; z-index: 3; min-width: 0; padding: 68px 0; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; color: #c5a9d9; }
.eyebrow-line { width: 38px; height: 1px; background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.status-chip { display: inline-flex; gap: 10px; align-items: center; margin-top: 62px; padding: 8px 13px; border: 1px solid rgba(204, 156, 255, .34); border-radius: 100px; color: var(--pink); font-size: 10px; letter-spacing: .16em; background: rgba(107, 47, 173, .1); }
.chip-icon { font-size: 13px; line-height: 0; }
h1 { display: block; width: 100%; margin: 24px 0 18px; max-width: 100%; white-space: nowrap; font-size: clamp(40px, 5.2vw, 82px); line-height: 1.12; letter-spacing: -.08em; font-weight: 600; background: linear-gradient(120deg, #fff 5%, #e4bdff 42%, #9f5cff 90%); color: transparent; background-clip: text; -webkit-background-clip: text; transition: opacity .2s ease, transform .5s var(--ease); }
.language-switcher { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 36px; }
.language-dot { width: 7px; height: 7px; padding: 0; border: 1px solid #9874ae; border-radius: 50%; background: transparent; cursor: pointer; transition: all .3s ease; }
.language-dot:hover, .language-dot:focus-visible { outline: none; transform: scale(1.5); border-color: var(--pink); }
.language-dot.is-active { width: 24px; border-radius: 10px; border-color: var(--pink); background: var(--pink); box-shadow: 0 0 13px rgba(231, 166, 255, .8); }

.hero-art { position: relative; z-index: 1; width: min(34vw, 460px); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; width: 47%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(159, 76, 255, .38), rgba(62, 16, 112, .1) 58%, transparent 71%); filter: blur(17px); }
.orbit { position: absolute; border: 1px solid rgba(205, 151, 255, .38); border-radius: 50%; transform: rotate(-30deg); }
.orbit-one { inset: 12%; border-left-color: transparent; border-bottom-color: rgba(218, 159, 255, .8); animation: rotate 18s linear infinite; }
.orbit-two { inset: 24%; border-top-color: transparent; border-right-color: rgba(145, 76, 255, .9); transform: rotate(48deg); animation: rotate-reverse 13s linear infinite; }
.orbit-three { inset: 5%; border-style: dashed; opacity: .34; animation: rotate 32s linear infinite; }
.art-core { position: relative; width: 38%; aspect-ratio: 1; border: 1px solid rgba(239, 197, 255, .8); border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(249, 214, 255, .7), rgba(171, 91, 255, .65) 26%, rgba(91, 32, 175, .7) 72%); box-shadow: 0 0 34px rgba(153, 80, 255, .8), inset 0 0 30px rgba(255, 255, 255, .2); transform: rotate(-12deg); animation: core-breathe 4s ease-in-out infinite; }
.art-core::before, .art-core::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; }
.art-core::before { inset: 9px; }
.art-core::after { inset: 24%; border-color: rgba(255,255,255,.24); }
.art-cross { position: absolute; width: 62%; height: 1px; background: linear-gradient(90deg, transparent, var(--pink), transparent); transform: rotate(-32deg); box-shadow: 0 0 14px var(--purple); }
.coordinate { position: absolute; line-height: 1.7; color: #917ea4; font-size: 9px; }
.coordinate-top { top: 15%; right: 3%; text-align: right; }
.coordinate-bottom { bottom: 15%; left: 1%; }

.site-footer { border-top: 1px solid rgba(212, 171, 245, .15); padding-top: 17px; color: #766a7e; font-size: 9px; }
.footer-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 7px var(--violet); }

@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
@keyframes rotate { to { transform: rotate(330deg); } }
@keyframes rotate-reverse { to { transform: rotate(-312deg); } }
@keyframes core-breathe { 50% { box-shadow: 0 0 54px rgba(174, 97, 255, .96), inset 0 0 30px rgba(255, 255, 255, .27); } }

html:lang(en) h1 { font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -.045em; }
html:lang(ja) h1 { font-size: clamp(40px, 5.7vw, 82px); letter-spacing: -.06em; }

@media (max-width: 760px) {
  .page-shell { padding: 22px 20px 19px; }
  .header-status { font-size: 8px; letter-spacing: .1em; }
  .hero { display: grid; place-items: center; }
  .hero-copy { width: 100%; padding: 52px 0 0; }
  h1 { width: 100%; font-size: clamp(36px, 11vw, 70px); max-width: 100%; letter-spacing: -.09em; }
  html:lang(en) h1 { font-size: clamp(24px, 7.2vw, 46px); letter-spacing: -.035em; }
  html:lang(ja) h1 { font-size: clamp(30px, 9.5vw, 60px); letter-spacing: -.06em; }
  .hero-art { display: none; }
  .site-footer { font-size: 8px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
