﻿:root {
  --bg1: #12060f;
  --bg2: #200a1d;
  --bg3: #34132c;
  --panel: rgba(49, 18, 44, 0.76);
  --panel2: rgba(66, 24, 56, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff1f7;
  --muted: #ffd0df;
  --a1: #ff9f3f;
  --a2: #ff4ca5;
  --a3: #79ffd3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 520px at 8% -8%, rgba(255, 159, 63, 0.34), transparent 62%),
    radial-gradient(1100px 520px at 88% -4%, rgba(255, 76, 165, 0.3), transparent 62%),
    radial-gradient(900px 420px at 48% 106%, rgba(121, 255, 211, 0.2), transparent 68%),
    linear-gradient(160deg, var(--bg1), var(--bg2) 52%, var(--bg3));
  overflow-x: hidden;
}

.bg-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(rgba(255, 159, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 76, 165, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 45%, #000 28%, transparent 74%);
  animation: driftGrid 22s linear infinite;
}

.bg-gif {
  position: absolute;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  mix-blend-mode: screen;
  opacity: 0.32;
  filter: saturate(1.14) contrast(1.08);
}


.gif-a {
  width: 170px;
  top: 9%;
  left: 4%;
  animation: floatA 16s ease-in-out infinite alternate;
}

.gif-b {
  width: 192px;
  top: 56%;
  right: 8%;
  animation: floatB 19s ease-in-out infinite alternate;
}

.gif-c {
  width: 166px;
  top: 24%;
  right: 24%;
  animation: floatC 14s ease-in-out infinite alternate;
}

.gif-d {
  width: 208px;
  top: 72%;
  left: 16%;
  animation: floatD 18s ease-in-out infinite alternate;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.024),
    rgba(255, 255, 255, 0.024) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.42;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.2rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(30, 10, 26, 0.62);
  backdrop-filter: blur(8px);
  padding: 0.66rem 0.86rem;
}

.brand {
  display: grid;
  gap: 0.12rem;
}

.logo {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(125deg, #fff1dd, #ffb85d, #ff65af, #9cffdd);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s linear infinite alternate;
  white-space: nowrap;
}

.logo-sub {
  color: #ffd8e5;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.header-state {
  display: flex;
  gap: 0.34rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #ffe8f1;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  background: rgba(255, 255, 255, 0.04);
}

.header-pill.subtle {
  color: #ffd2e1;
  border-color: rgba(255, 76, 165, 0.28);
  background: rgba(255, 76, 165, 0.08);
}

.hero {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  background:
    linear-gradient(150deg, rgba(255, 159, 63, 0.15), rgba(255, 76, 165, 0.08) 42%, rgba(121, 255, 211, 0.12)),
    linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 16px 34px rgba(24, 6, 20, 0.45);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid rgba(255, 76, 165, 0.5);
  border-radius: 999px;
  background: rgba(255, 76, 165, 0.16);
  color: #ffe4f1;
  padding: 0.2rem 0.6rem;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8bffb8;
  box-shadow: 0 0 0 6px rgba(139, 255, 184, 0.2);
  animation: pulseDot 1.4s ease-out infinite;
}

h1 {
  margin: 0.7rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(125deg, #fff7e8, #ffbe69, #ff77b9, #7effd8);
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 10s linear infinite alternate;
}

.tagline {
  margin: 0.66rem 0 0;
  max-width: 70ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 0.82rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn {
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.38rem 0.84rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff8fb;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-primary {
  background: linear-gradient(125deg, rgba(255, 159, 63, 0.42), rgba(255, 76, 165, 0.4));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.section {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(45, 16, 40, 0.7);
  padding: 0.84rem;
}

.section-title {
  margin: 0 0 0.55rem;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe8f1;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.motion-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.62rem;
}

.motion-card h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #fff3f9;
}

.motion-card p {
  margin: 0.42rem 0 0;
  color: #ffd8e5;
  font-size: 0.78rem;
}

.rhythm-canvas-shell {
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 16px);
  border-radius: 10px;
  min-height: 94px;
  padding: 0.42rem;
}

.rhythm-canvas-shell canvas {
  display: block;
  width: 100%;
  height: 86px;
  border-radius: 8px;
}

.line-shell {
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem;
  min-height: 94px;
  display: flex;
  align-items: center;
}

.line-shell svg {
  width: 100%;
  height: 76px;
  overflow: visible;
}

.line-shell polyline {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(255, 76, 165, 0.44));
}

.heat-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.42rem;
}

.heat-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 0.42rem;
  align-items: center;
  font-size: 0.75rem;
  color: #ffe9f2;
}

.heat-row em {
  font-style: normal;
}

.heat-bar {
  border-radius: 999px;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.heat-bar i {
  display: block;
  height: 100%;
  width: 66%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  transition: width 0.28s ease;
}

.challenge-area {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.7rem;
}

.challenge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.boss-label {
  border: 1px solid rgba(255, 79, 165, 0.5);
  border-radius: 999px;
  background: rgba(255, 79, 165, 0.2);
  color: #ffe5f2;
  font-size: 0.76rem;
  padding: 0.16rem 0.56rem;
}

.state-text {
  font-size: 0.76rem;
  color: #ffd6e4;
}

.progress-bar-bg {
  margin: 0.7rem 0 0.62rem;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  transition: width 0.45s ease;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.78rem;
}

.stats span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.5rem;
  color: #ffe8f1;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.66rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff0f7;
}

.feature-card p {
  margin: 0.35rem 0 0;
  color: #ffd7e5;
  font-size: 0.79rem;
}

.feed {
  display: grid;
  gap: 0.4rem;
}

.feed-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.38rem 0.46rem;
  color: #ffebf3;
  font-size: 0.77rem;
}

.feed-tag {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 76, 165, 0.2);
  padding: 0.14rem 0.42rem;
  width: fit-content;
}

.manifest-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.62rem;
}

.manifest-card p {
  margin: 0;
  color: #ffdeea;
  font-size: 0.82rem;
}

footer {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(36, 12, 31, 0.72);
  padding: 0.78rem;
  text-align: center;
  color: #ffd4e3;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

footer a {
  color: #ffe7f1;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@keyframes driftGrid {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-34px, 34px, 0); }
}

@keyframes floatA {
  0% { transform: translate(0, 0); }
  100% { transform: translate(22px, 18px); }
}

@keyframes floatB {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-20px, -14px); }
}

@keyframes floatC {
  0% { transform: translate(0, 0); }
  100% { transform: translate(16px, -20px); }
}

@keyframes floatD {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-18px, 16px); }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(139, 255, 184, 0.3); }
  100% { box-shadow: 0 0 0 8px rgba(139, 255, 184, 0); }
}


@keyframes sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (max-width: 980px) {
  .motion-grid,
  .features,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 1.2rem);
  }

  .features,
  .motion-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .feed-row {
    grid-template-columns: 1fr;
  }

  .logo-sub {
    display: none;
  }

  .gif-c,
  .gif-d {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
