:root {
  --brand-start: #6c63ff;
  --brand-end: #ff6b81;
  --brand-accent: #ffc857;
  --ink: #1c1830;
  --ink-soft: #5c5772;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: #0f0c1d;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* ---------- Hero / animated gradient background ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  background-size: 250% 250%;
  animation: gradient-shift 10s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  filter: blur(40px);
  animation: blob-float 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.blob--a {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -40px;
  opacity: 0.16;
}

.blob--b {
  width: 260px;
  height: 260px;
  bottom: 40px;
  right: -60px;
  opacity: 0.14;
  animation-delay: -1.5s;
}

.blob--c {
  width: 140px;
  height: 140px;
  top: 220px;
  right: -30px;
  opacity: 0.12;
  animation-delay: -3s;
}

@keyframes blob-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(16px, 24px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 8vh 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100svh;
}

.hero-spacer {
  flex: 2;
}

.hero-spacer--grow {
  flex: 3;
}

/* ---------- Brand mark ---------- */

.brand-mark {
  --size: 128px;
  width: var(--size);
  height: var(--size);
  position: relative;
  opacity: 0;
  animation: mark-enter 500ms ease-out forwards;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.brand-mark:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 6px;
  border-radius: 50%;
}

.brand-mark:active {
  transform: scale(0.96);
}

@keyframes mark-enter {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.brand-mark .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    #fff 15%,
    var(--brand-accent) 50%,
    #fff 85%,
    transparent 100%
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 3px)
  );
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: ring-spin 8s linear infinite;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.brand-mark .badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.brand-mark .dot {
  position: absolute;
  width: 23.4%;
  height: 23.4%;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: dot-float 3s ease-in-out infinite;
}

.brand-mark .dot--a {
  background: var(--brand-start);
  opacity: 0.82;
  transform: translate(calc(-50% - var(--size) * 0.0625), calc(-50% - var(--size) * 0.039));
  animation-delay: 0s;
}

.brand-mark .dot--b {
  background: var(--brand-end);
  opacity: 0.82;
  transform: translate(calc(-50% + var(--size) * 0.0625), calc(-50% - var(--size) * 0.039));
  animation-delay: -1s;
}

.brand-mark .dot--c {
  background: var(--brand-accent);
  opacity: 0.82;
  transform: translate(-50%, calc(-50% + var(--size) * 0.0703));
  animation-delay: -2s;
}

@keyframes dot-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -6px;
  }
}

/* ---------- Hero text ---------- */

.hero-title {
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  opacity: 0;
  animation: text-enter 500ms 250ms ease-out forwards;
}

.hero-tagline {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  opacity: 0;
  animation: text-enter 500ms 400ms ease-out forwards;
}

@keyframes text-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Coming soon badge ---------- */

.coming-soon-badge {
  margin: 24px 0 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: badge-enter 500ms 600ms ease-out forwards, badge-glow 2.4s 1.1s ease-in-out infinite;
}

@keyframes badge-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badge-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  }
}

/* ---------- Sneak peek chips ---------- */

.sneak-peek {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 360px;
}

.sneak-peek li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  opacity: 0;
  animation: chip-enter 450ms ease-out forwards;
}

.sneak-peek li:nth-child(1) {
  animation-delay: 750ms;
}

.sneak-peek li:nth-child(2) {
  animation-delay: 850ms;
}

.sneak-peek li:nth-child(3) {
  animation-delay: 950ms;
}

.sneak-peek li:nth-child(4) {
  animation-delay: 1050ms;
}

@keyframes chip-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sneak-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sneak-dot--a {
  background: var(--brand-start);
}

.sneak-dot--b {
  background: var(--brand-end);
}

.sneak-dot--c {
  background: var(--brand-accent);
}

/* ---------- Footnote ---------- */

.hero-footnote {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  max-width: 320px;
  line-height: 1.5;
  opacity: 0;
  animation: text-enter 500ms 1150ms ease-out forwards;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero,
  .blob,
  .brand-mark,
  .brand-mark .ring,
  .brand-mark .dot,
  .hero-title,
  .hero-tagline,
  .coming-soon-badge,
  .sneak-peek li,
  .hero-footnote {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
