:root {
  --home-void: #050713;
  --home-space: #0b1030;
  --home-panel: rgba(10, 14, 39, 0.68);
  --home-panel-strong: rgba(12, 17, 48, 0.9);
  --home-cyan: #2ee8ff;
  --home-violet: #8c6cff;
  --home-magenta: #ff4fd8;
  --home-lime: #b9ff66;
  --home-ink: #f7f9ff;
  --home-muted: rgba(216, 222, 241, 0.7);
  --home-soft: rgba(197, 206, 232, 0.48);
  --home-line: rgba(133, 174, 255, 0.2);
  --home-line-soft: rgba(133, 174, 255, 0.11);
  --home-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
  --home-glow: 0 0 56px rgba(85, 92, 255, 0.2);
  --home-radius: 24px;
  --home-radius-lg: 36px;
  --home-max: 1240px;
  --home-display: "Arial Black", "SF Pro Display", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --home-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI Variable", "Microsoft YaHei UI", sans-serif;
  --home-data: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --pointer-x: 50%;
  --pointer-y: 32%;
}

html[data-theme="light"] {
  --home-void: #e9efff;
  --home-space: #d7e1ff;
  --home-panel: rgba(248, 250, 255, 0.68);
  --home-panel-strong: rgba(250, 252, 255, 0.9);
  --home-cyan: #007f9b;
  --home-violet: #6148db;
  --home-magenta: #c3269d;
  --home-lime: #537d14;
  --home-ink: #101528;
  --home-muted: rgba(33, 42, 72, 0.74);
  --home-soft: rgba(45, 56, 91, 0.52);
  --home-line: rgba(65, 80, 137, 0.23);
  --home-line-soft: rgba(65, 80, 137, 0.13);
  --home-shadow: 0 34px 100px rgba(59, 72, 125, 0.2);
  --home-glow: 0 0 46px rgba(97, 72, 219, 0.14);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body.home-v2,
body.home-v2.night {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--home-ink);
  font-family: var(--home-body);
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(70, 60, 208, 0.2), transparent 27rem),
    radial-gradient(circle at 8% 12%, rgba(46, 232, 255, 0.11), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(255, 79, 216, 0.11), transparent 30rem),
    linear-gradient(145deg, var(--home-void), var(--home-space) 56%, #080a21) !important;
  background-attachment: fixed !important;
}

html[data-theme="light"] body.home-v2 {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(97, 72, 219, 0.14), transparent 27rem),
    radial-gradient(circle at 8% 12%, rgba(0, 127, 155, 0.1), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(195, 38, 157, 0.08), transparent 30rem),
    linear-gradient(145deg, var(--home-void), var(--home-space) 58%, #edf2ff) !important;
}

body.home-v2::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(141, 168, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 168, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 88% 74% at 50% 20%, #000 22%, transparent 82%);
}

body.home-v2::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.home-v2 a {
  color: inherit;
  text-decoration: none;
}

.home-shell,
.site-footer {
  position: relative;
  z-index: 2;
}

.home-shell {
  width: min(var(--home-max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 10px 16px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-ink);
  color: var(--home-void);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared navigation: quiet glass instrument panel. */
.home-v2 .wb-nav {
  top: 18px;
  left: 50%;
  right: auto;
  width: min(1080px, calc(100% - 28px));
  min-height: 58px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: rgba(6, 8, 24, 0.7);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  backdrop-filter: blur(30px) saturate(150%);
  transform: translateX(-50%);
  transition: width 220ms ease, min-height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

html[data-theme="light"] .home-v2 .wb-nav {
  background: rgba(245, 248, 255, 0.75);
  box-shadow: 0 18px 64px rgba(59, 72, 125, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.home-v2.is-scrolled .wb-nav {
  width: min(960px, calc(100% - 28px));
  min-height: 54px;
  background: rgba(6, 8, 24, 0.88);
}

html[data-theme="light"] .home-v2.is-scrolled .wb-nav {
  background: rgba(245, 248, 255, 0.9);
}

.home-v2 .wb-nav-inner {
  min-height: inherit;
}

.home-v2 .wb-nav a:not(.wb-brand),
.home-v2 .wb-nav .wb-brand {
  color: var(--home-muted);
}

.home-v2 .wb-nav a:not(.wb-brand):hover,
.home-v2 .wb-nav a.active {
  color: var(--home-ink);
  background: rgba(140, 108, 255, 0.14);
}

.home-v2 .wb-brand-mark {
  border-color: rgba(46, 232, 255, 0.22);
  box-shadow: 0 0 28px rgba(46, 232, 255, 0.18);
}

/* Hero */
.home-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(520px, 1.22fr);
  grid-template-rows: 1fr auto;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: clamp(112px, 13vh, 146px) 0 34px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 610px;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.hero-kicker,
.hero-label,
.eyebrow,
.stat-card span,
.card-index,
.update-list time,
.live-indicator,
.console-readout,
.signal-channels span,
.hero-metadata dt,
.maker-portrait > span,
.footer-brand span {
  font-family: var(--home-data) !important;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker,
.eyebrow {
  margin: 0;
  color: var(--home-soft);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-lime);
}

.live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  animation: signalPulse 1.8s ease-in-out infinite;
}

.hero-label {
  margin: 22px 0 0;
  color: var(--home-cyan);
}

.home-page .hero-copy h1 {
  margin: 18px 0 22px;
  color: var(--home-ink);
  font-family: var(--home-display) !important;
  font-size: clamp(54px, 6.4vw, 96px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.home-page .hero-copy h1 span,
.home-page .hero-copy h1 strong {
  display: block;
  font: inherit;
}

.home-page .hero-copy h1 strong {
  color: transparent;
  background: linear-gradient(100deg, var(--home-ink) 5%, var(--home-cyan) 44%, var(--home-violet) 72%, var(--home-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 46px rgba(94, 89, 255, 0.16);
}

.hero-lede {
  max-width: 560px;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.72;
}

.hero-slogan {
  margin: 14px 0 0;
  color: var(--home-soft);
  font-family: var(--home-data) !important;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.hero-actions,
.form-actions,
.qq-actions,
.welcome-mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.primary-action,
.text-action,
.mini-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--home-ink);
  cursor: pointer;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-action {
  border-color: rgba(46, 232, 255, 0.38);
  background: linear-gradient(112deg, rgba(46, 232, 255, 0.94), rgba(140, 108, 255, 0.92));
  color: #050713;
  font-weight: 800;
  box-shadow: 0 14px 38px rgba(82, 100, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .primary-action {
  color: #fff;
}

.primary-action:hover,
.text-action:hover,
.mini-btn:hover,
.contact-method:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 232, 255, 0.52);
  background-color: rgba(46, 232, 255, 0.08);
}

.hero-metadata {
  margin: 34px 0 0;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--home-line-soft);
}

.hero-metadata div {
  min-width: 0;
}

.hero-metadata dt {
  color: var(--home-soft);
}

.hero-metadata dd {
  margin: 4px 0 0;
  color: var(--home-muted);
  font-size: 12px;
  white-space: nowrap;
}

.home-page .hero-visual {
  position: relative;
  min-height: min(72vh, 720px);
  overflow: hidden;
  overflow: clip;
  border: 1px solid rgba(92, 132, 255, 0.2);
  border-radius: 0;
  background:
    radial-gradient(circle at 52% 46%, rgba(140, 108, 255, 0.16), transparent 22%),
    radial-gradient(circle at 42% 54%, rgba(46, 232, 255, 0.08), transparent 42%);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  clip-path: polygon(5% 0, 100% 0, 100% 92%, 94% 100%, 0 100%, 0 6%);
  contain: paint;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.hero-visual::before {
  inset: 0;
  background: linear-gradient(90deg, var(--home-space), transparent 8%, transparent 92%, var(--home-space));
  opacity: 0.45;
}

.hero-visual::after {
  top: 0;
  left: 0;
  width: 66px;
  height: 1px;
  background: var(--home-cyan);
  box-shadow: 0 0 22px var(--home-cyan);
}

#soundfield-canvas,
.visual-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#soundfield-canvas {
  z-index: 1;
  display: block;
}

.visual-grid {
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(140, 168, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 168, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, #000 8%, transparent 72%);
  transform: perspective(700px) rotateX(60deg) scale(1.35) translateY(22%);
  transform-origin: center bottom;
}

.visual-glass-orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(151, 170, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: min(68%, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 80px rgba(46, 232, 255, 0.08), 0 0 100px rgba(140, 108, 255, 0.08);
  animation: orbitTurn 24s linear infinite;
}

.orbit-two {
  width: min(45%, 340px);
  aspect-ratio: 1;
  border-color: rgba(255, 79, 216, 0.2);
  border-left-style: dashed;
  transform: translate(-50%, -50%) rotate(36deg);
  animation: orbitTurnReverse 16s linear infinite;
}

.signal-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: clamp(128px, 20vw, 188px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid rgba(46, 232, 255, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 38%, rgba(247, 249, 255, 0.3), transparent 8%),
    radial-gradient(circle, rgba(140, 108, 255, 0.32), rgba(6, 8, 24, 0.78) 66%);
  color: var(--home-ink);
  text-align: center;
  box-shadow: 0 0 50px rgba(46, 232, 255, 0.16), 0 0 110px rgba(140, 108, 255, 0.24), inset 0 0 34px rgba(255, 79, 216, 0.14);
  transform: translate(-50%, -50%);
}

.signal-core::before,
.signal-core::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(46, 232, 255, 0.12);
  border-radius: 50%;
  animation: coreBreathe 3.4s ease-in-out infinite;
}

.signal-core::after {
  inset: -26px;
  border-color: rgba(255, 79, 216, 0.08);
  animation-delay: -1.2s;
}

.signal-core span,
.signal-core strong {
  display: block;
  font-family: var(--home-data) !important;
}

.signal-core span {
  color: var(--home-cyan);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.signal-core strong {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.console-readout {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 22px;
  display: grid;
  gap: 3px;
  color: var(--home-soft);
}

.console-readout strong {
  color: var(--home-cyan);
  font: 600 13px/1 var(--home-data) !important;
  letter-spacing: 0.1em;
}

.signal-channels {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 66px;
  width: min(260px, 46%);
  display: grid;
  gap: 8px;
}

.signal-channels a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--home-line-soft);
  border-radius: 10px;
  padding: 10px 13px;
  background: rgba(6, 8, 24, 0.56);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

html[data-theme="light"] .signal-channels a {
  background: rgba(248, 250, 255, 0.68);
}

.signal-channels a:hover,
.signal-channels a:focus-visible {
  transform: translateX(-6px);
  border-color: var(--signal-color, var(--home-cyan));
  background: color-mix(in srgb, var(--signal-color, var(--home-cyan)) 12%, var(--home-panel-strong));
}

.signal-channels a[data-signal="ai"] { --signal-color: var(--home-cyan); }
.signal-channels a[data-signal="music"] { --signal-color: var(--home-magenta); }
.signal-channels a[data-signal="create"] { --signal-color: var(--home-violet); }

.signal-channels span {
  color: var(--home-soft);
  font-size: 8px;
}

.signal-channels strong {
  color: var(--signal-color);
  font: 800 13px/1 var(--home-data) !important;
  letter-spacing: 0.08em;
}

.visual-status {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 18px;
  display: flex;
  gap: 14px;
  color: var(--home-soft);
  font: 10px/1 var(--home-data) !important;
  letter-spacing: 0.08em;
}

.hero-next-hint {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--home-soft);
  font: 10px/1 var(--home-data) !important;
  letter-spacing: 0.14em;
}

.hero-next-hint i {
  position: relative;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--home-violet), var(--home-cyan));
}

.hero-next-hint i::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--home-cyan);
  box-shadow: 0 0 12px var(--home-cyan);
  animation: travelSignal 2.4s ease-in-out infinite;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes orbitTurn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitTurnReverse {
  to { transform: translate(-50%, -50%) rotate(-324deg); }
}

@keyframes coreBreathe {
  0%, 100% { opacity: 0.32; transform: scale(0.96); }
  50% { opacity: 0.88; transform: scale(1.04); }
}

@keyframes travelSignal {
  0%, 100% { right: calc(100% - 4px); opacity: 0.25; }
  50% { right: 0; opacity: 1; }
}

/* Content system */
.explore-section,
.stats-section,
.maker-section,
.updates-section,
.bottle-section,
.contact-section {
  padding: clamp(82px, 10vw, 138px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 44px;
  align-items: end;
}

.section-heading h2,
.maker-copy h2,
.contact-card h2,
.welcome-mail-dialog h2 {
  margin: 10px 0 14px;
  color: var(--home-ink);
  font-family: var(--home-display) !important;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p,
.explore-card p,
.update-list p,
.contact-card p,
.maker-copy > p,
.bottle-status,
.bottle-item time,
.welcome-mail-dialog p,
.welcome-mail-status {
  color: var(--home-muted);
}

.section-heading--split > p {
  margin: 0 0 12px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.explore-card,
.stat-card,
.update-list li,
.bottle-form,
.bottle-item,
.contact-card,
.maker-portrait,
.qq-dialog,
.welcome-mail-dialog {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 48%), var(--home-panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  backdrop-filter: blur(28px) saturate(135%);
}

html[data-theme="light"] .explore-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .update-list li,
html[data-theme="light"] .bottle-form,
html[data-theme="light"] .bottle-item,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .maker-portrait,
html[data-theme="light"] .qq-dialog,
html[data-theme="light"] .welcome-mail-dialog {
  box-shadow: 0 18px 60px rgba(59, 72, 125, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.home-v2 [data-liquid] .liquid-warp {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-v2 [data-liquid] .liquid-edge {
  opacity: 0.52;
  background: linear-gradient(120deg, rgba(46, 232, 255, 0.42), rgba(140, 108, 255, 0.1) 52%, rgba(255, 79, 216, 0.28));
}

.explore-card {
  grid-column: span 3;
  min-height: 224px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 260ms ease, box-shadow 260ms ease;
}

.explore-card--feature {
  grid-column: span 6;
  min-height: 330px;
}

.explore-card--wide {
  grid-column: span 8;
  min-height: 350px;
}

.explore-card--wide + .explore-card {
  grid-column: span 4;
  min-height: 350px;
}

.explore-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  right: -100px;
  bottom: -120px;
  border-radius: 50%;
  background: var(--channel-color, var(--home-violet));
  opacity: 0.08;
  filter: blur(26px);
  transition: opacity 260ms ease, transform 420ms ease;
}

.explore-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--channel-color, var(--home-cyan)) 52%, transparent);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.3), 0 0 46px color-mix(in srgb, var(--channel-color, var(--home-violet)) 15%, transparent);
}

.explore-card:hover::before {
  opacity: 0.17;
  transform: scale(1.24);
}

.explore-card[data-channel="ai"] { --channel-color: var(--home-cyan); }
.explore-card[data-channel="music"] { --channel-color: var(--home-magenta); }
.explore-card[data-channel="create"] { --channel-color: var(--home-violet); }
.explore-card[data-channel="earth"] { --channel-color: #5a8cff; }
.explore-card[data-channel="poem"] { --channel-color: #d5a5ff; }
.explore-card[data-channel="play"] { --channel-color: var(--home-lime); }
.explore-card[data-channel="journal"] { --channel-color: #ffb86a; }
.explore-card[data-channel="community"] { --channel-color: #ff789f; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-head i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--home-line-soft);
  border-radius: 50%;
  color: var(--channel-color);
  font-style: normal;
  transition: transform 220ms ease, background 220ms ease;
}

.explore-card:hover .card-head i {
  transform: rotate(45deg);
  background: color-mix(in srgb, var(--channel-color) 12%, transparent);
}

.card-index {
  color: var(--channel-color);
}

.card-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.explore-card h3 {
  margin: 36px 0 10px;
  color: var(--home-ink);
  font-family: var(--home-display) !important;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.explore-card p {
  margin: 0;
}

.card-frequency {
  position: absolute;
  right: 28px;
  bottom: 24px;
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  opacity: 0.55;
}

.card-frequency i {
  width: 3px;
  height: 32%;
  border-radius: 3px;
  background: var(--home-cyan);
  box-shadow: 0 0 10px rgba(46, 232, 255, 0.45);
  animation: frequencyDance 1.5s ease-in-out infinite alternate;
}

.card-frequency i:nth-child(2n) { height: 82%; animation-delay: -0.7s; }
.card-frequency i:nth-child(3n) { height: 52%; animation-delay: -1.1s; }
.card-frequency i:nth-child(4n) { height: 100%; animation-delay: -0.35s; }

.vinyl-signal {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 128px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 79, 216, 0.22);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 8px, rgba(255, 79, 216, 0.11) 9px 10px);
  opacity: 0.72;
  animation: vinylTurn 12s linear infinite;
}

.vinyl-signal::before,
.vinyl-signal::after,
.vinyl-signal span {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.vinyl-signal::before {
  width: 42%;
  aspect-ratio: 1;
  background: rgba(255, 79, 216, 0.14);
}

.vinyl-signal::after {
  width: 8px;
  height: 8px;
  background: var(--home-magenta);
  box-shadow: 0 0 18px var(--home-magenta);
}

.topography-lines {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 68%;
  overflow: hidden;
  opacity: 0.45;
}

.topography-lines i {
  position: absolute;
  right: -16%;
  bottom: -42%;
  width: 128%;
  aspect-ratio: 2 / 1;
  border: 1px solid rgba(140, 108, 255, 0.42);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.topography-lines i:nth-child(2) { inset: auto -6% -27% auto; width: 108%; }
.topography-lines i:nth-child(3) { inset: auto 2% -12% auto; width: 88%; }
.topography-lines i:nth-child(4) { inset: auto 12% 3% auto; width: 68%; }
.topography-lines i:nth-child(5) { inset: auto 22% 18% auto; width: 48%; }

@keyframes frequencyDance {
  to { height: 88%; opacity: 0.4; }
}

@keyframes vinylTurn {
  to { transform: rotate(360deg); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.stat-card {
  min-height: 168px;
  padding: 24px 18px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card strong {
  display: block;
  margin-top: 16px;
  color: var(--home-ink);
  font-family: var(--home-display) !important;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}

.stat-card small {
  display: block;
  margin-top: 12px;
  color: var(--home-soft);
  font-size: 11px;
  line-height: 1.45;
}

.maker-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.maker-portrait {
  min-height: 440px;
  border-radius: 160px 160px 26px 26px;
  background: linear-gradient(180deg, rgba(140, 108, 255, 0.18), rgba(8, 10, 30, 0.8));
}

.maker-portrait::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(46, 232, 255, 0.14);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

.maker-portrait img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
  opacity: 0.86;
}

.maker-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 19, 0.86)), linear-gradient(120deg, rgba(46, 232, 255, 0.13), transparent 40%, rgba(255, 79, 216, 0.12));
  pointer-events: none;
}

.maker-portrait > span {
  position: absolute !important;
  z-index: 4 !important;
  left: 30px;
  bottom: 26px;
  color: var(--home-cyan);
}

.portrait-scan {
  position: absolute !important;
  z-index: 3 !important;
  inset: 0;
  background: linear-gradient(transparent, rgba(46, 232, 255, 0.13), transparent);
  background-size: 100% 22%;
  animation: portraitScan 6s linear infinite;
  pointer-events: none;
}

.maker-copy {
  max-width: 760px;
}

.maker-copy h2 span {
  color: var(--home-magenta);
}

.maker-copy > p {
  max-width: 650px;
  font-size: clamp(17px, 1.6vw, 21px);
}

.maker-copy .text-action {
  margin-top: 22px;
}

@keyframes portraitScan {
  from { background-position: 0 -120%; }
  to { background-position: 0 140%; }
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-list li {
  min-height: 260px;
  padding: 24px;
}

.update-list li::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-violet);
  box-shadow: 0 0 18px var(--home-violet);
}

.update-list strong {
  display: block;
  margin-top: 34px;
  color: var(--home-ink);
  font-size: 21px;
  line-height: 1.35;
}

.bottle-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(340px, 1fr);
  gap: 18px;
  align-items: start;
}

.bottle-form {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.bottle-form label,
.welcome-mail-form label {
  color: var(--home-ink);
  font-weight: 700;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.bottle-name,
.bottle-form textarea,
.welcome-mail-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--home-line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--home-ink);
  padding: 13px 14px;
  font: inherit;
}

html[data-theme="light"] .bottle-name,
html[data-theme="light"] .bottle-form textarea,
html[data-theme="light"] .welcome-mail-form input[type="email"] {
  background: rgba(255, 255, 255, 0.58);
}

.bottle-name { min-height: 48px; }
.bottle-form textarea { min-height: 136px; resize: vertical; }

.bottle-name::placeholder,
.bottle-form textarea::placeholder,
.welcome-mail-form input::placeholder {
  color: var(--home-soft);
}

.form-actions {
  align-items: center;
  justify-content: space-between;
}

.form-actions span {
  color: var(--home-soft);
  font-size: 13px;
}

.bottle-list {
  display: grid;
  gap: 12px;
}

.bottle-item {
  padding: 20px;
}

.bottle-item p {
  margin: 0;
  color: var(--home-ink);
}

.bottle-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--home-soft);
  font-size: 13px;
}

.bottle-author { color: var(--home-cyan); }

.bottle-like,
.bottle-delete {
  min-height: 36px;
  border: 1px solid var(--home-line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--home-muted);
  padding: 0 11px;
  cursor: pointer;
}

.bottle-like.is-liked { color: var(--home-magenta); }
.bottle-list-actions { display: flex; justify-content: center; }

.contact-card {
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.contact-method {
  min-height: 102px;
  border: 1px solid var(--home-line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--home-ink);
  display: grid;
  place-items: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-method span {
  color: var(--home-cyan);
  font-family: var(--home-data) !important;
  font-size: 13px;
}

.qq-modal,
.welcome-mail-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 3, 12, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.qq-modal.is-open,
.welcome-mail-modal.is-open { display: flex; }

.qq-dialog,
.welcome-mail-dialog {
  width: min(440px, 100%);
  padding: 26px;
}

.qq-dialog { text-align: center; }

.qq-dialog img {
  width: min(240px, 100%);
  aspect-ratio: 1;
  border-radius: 18px;
}

.qq-dialog p { margin: 14px 0 0; color: var(--home-ink); }
.qq-dialog small { display: block; margin-top: 4px; color: var(--home-muted); }
.qq-actions { justify-content: center; margin-top: 18px; }
.welcome-mail-dialog { position: relative; }

.welcome-mail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--home-line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-muted);
  cursor: pointer;
}

.welcome-mail-dialog h2 { margin-right: 44px; font-size: 30px; }
.welcome-mail-form { display: grid; gap: 12px; }

.welcome-mail-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--home-muted) !important;
  font-size: 14px;
}

.welcome-mail-consent input { margin-top: 5px; }
.welcome-mail-status.is-error,
.bottle-status.is-error { color: #ff9db9; }
.welcome-mail-status.is-ok,
.bottle-status.is-ok { color: #7cf9d1; }

.site-footer {
  width: min(var(--home-max), calc(100% - 40px));
  margin: 20px auto max(28px, env(safe-area-inset-bottom, 0px));
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
}

.footer-brand {
  display: grid;
}

.footer-brand strong {
  color: var(--home-ink);
  font: 800 15px/1.2 var(--home-data) !important;
  letter-spacing: 0.08em;
}

.footer-brand span { margin-top: 5px; color: var(--home-soft); font-size: 9px; }
.site-footer > a { justify-self: end; color: var(--home-cyan); font: 10px/1 var(--home-data) !important; letter-spacing: 0.08em; }

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity 720ms cubic-bezier(.2,.8,.2,1), transform 720ms cubic-bezier(.2,.8,.2,1), filter 720ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.home-v2 :focus-visible {
  outline: 2px solid var(--home-cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--home-cyan) 18%, transparent);
}

@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: minmax(300px, 0.9fr) minmax(430px, 1.1fr);
    gap: 24px;
  }

  .home-page .hero-copy h1 { font-size: clamp(52px, 7.6vw, 78px); }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-card:nth-child(3) { border-right: 0; }
  .stat-card:nth-child(-n + 3) { border-bottom: 1px solid var(--home-line); }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 84px; }

  .home-shell,
  .site-footer { width: min(100% - 28px, 720px); }

  .home-v2 .wb-nav {
    top: max(10px, env(safe-area-inset-top, 0px));
    width: calc(100% - 20px);
    min-height: 56px;
    border-radius: 16px;
  }

  .home-v2.is-scrolled .wb-nav { width: calc(100% - 20px); }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 112px;
  }

  .hero-copy { grid-row: 1; max-width: 690px; }
  .home-page .hero-visual { grid-row: 2; min-height: 590px; border-color: var(--home-line); }
  .hero-visual::after { left: 50%; transform: translateX(-50%); }
  .hero-next-hint { grid-row: 3; margin-top: 4px; }

  .section-heading--split,
  .maker-section { grid-template-columns: 1fr; }

  .section-heading--split { gap: 14px; }
  .section-heading--split > p { max-width: 620px; }

  .explore-card,
  .explore-card--feature,
  .explore-card--wide,
  .explore-card--wide + .explore-card { grid-column: span 6; min-height: 260px; }

  .maker-portrait {
    width: min(420px, 76vw);
    min-height: 480px;
    justify-self: center;
  }

  .maker-portrait img { min-height: 480px; }
  .update-list { grid-template-columns: 1fr; }
  .update-list li { min-height: 0; }
  .bottle-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body.home-v2 { font-size: 15px; }

  body.home-v2::before {
    background-size: 46px 46px;
    opacity: 0.3;
  }

  .home-shell,
  .site-footer { width: calc(100% - 24px); }

  .home-hero {
    gap: 22px;
    padding-top: 98px;
    padding-bottom: 12px;
  }

  .hero-kicker-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-label { margin-top: 18px; }
  .home-page .hero-copy h1 { margin-top: 14px; font-size: clamp(38px, 11vw, 48px); letter-spacing: -0.07em; }
  .home-page .hero-copy h1 span,
  .home-page .hero-copy h1 strong { white-space: nowrap; }
  .hero-lede { font-size: 17px; line-height: 1.68; }
  .hero-actions { display: grid; grid-template-columns: 1fr 0.72fr; }
  .hero-actions .primary-action,
  .hero-actions .text-action { width: 100%; padding-inline: 12px; }

  .hero-metadata { display: none; }

  .home-page .hero-visual { min-height: 450px; }
  .signal-core { width: 126px; top: 43%; }
  .orbit-one { width: 78%; top: 43%; }
  .orbit-two { width: 52%; top: 43%; }
  .signal-channels { right: 10px; bottom: 58px; width: calc(100% - 20px); grid-template-columns: repeat(3, 1fr); }
  .signal-channels a { min-height: 58px; display: grid; place-content: center; text-align: center; padding: 8px 5px; }
  .signal-channels span { display: none; }
  .visual-status { right: 12px; bottom: 20px; left: 12px; justify-content: center; gap: 12px; }
  .console-readout { top: 14px; left: 14px; }
  .hero-next-hint { margin-top: -12px; }

  .explore-section,
  .stats-section,
  .maker-section,
  .updates-section,
  .bottle-section,
  .contact-section { padding: 76px 0; }

  .section-heading { margin-bottom: 24px; }
  .section-heading h2,
  .maker-copy h2,
  .contact-card h2 { font-size: clamp(36px, 11vw, 52px); }

  .explore-grid { grid-template-columns: 1fr; }
  .explore-card,
  .explore-card--feature,
  .explore-card--wide,
  .explore-card--wide + .explore-card { grid-column: auto; min-height: 238px; padding: 21px; }
  .explore-card--feature,
  .explore-card--wide { min-height: 300px; }
  .card-frequency { right: 20px; }
  .vinyl-signal { width: 106px; opacity: 0.55; }
  .topography-lines { width: 72%; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-height: 144px; padding: 20px 14px; border-bottom: 1px solid var(--home-line); }
  .stat-card:nth-child(2n) { border-right: 0; }
  .stat-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .stat-card:nth-child(3) { border-right: 1px solid var(--home-line); }
  .stat-card strong { font-size: 38px; }

  .maker-portrait { width: min(100%, 360px); min-height: 430px; border-radius: 130px 130px 24px 24px; }
  .maker-portrait img { min-height: 430px; }

  .contact-card { padding: 22px; }
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-method { min-height: 88px; }

  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > #site-stats { grid-column: 1 / -1; grid-row: 2; }
  .site-footer > a { grid-column: 2; grid-row: 1; }
}

@media (max-width: 380px) {
  .hero-actions { grid-template-columns: 1fr; }
  .hero-metadata { grid-template-columns: 1fr; }
  .hero-metadata div:last-child { grid-column: auto; }
  .home-page .hero-visual { min-height: 420px; }
  .visual-status span:nth-child(2) { display: none; }
  .contact-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-item { opacity: 1; transform: none; filter: none; transition: none; }
  .live-indicator i,
  .orbit-one,
  .orbit-two,
  .signal-core::before,
  .signal-core::after,
  .hero-next-hint i::after,
  .card-frequency i,
  .vinyl-signal,
  .portrait-scan { animation: none !important; }
  .primary-action,
  .text-action,
  .mini-btn,
  .explore-card,
  .contact-method,
  .signal-channels a { transition: none; }
}
