/* MoneyCracker launch page: black into violet, a mint app icon, a heavy white wordmark. */
:root {
  --black: #000;
  --violet: #5b3fff;
  --violet-deep: #2c1fae;
  --mint: #1ef08c;
  --white: #fff;
  --muted: rgba(255, 255, 255, .62);
  --font: 'Archivo', 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box }
html { background: var(--black) }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  font-family: var(--font); color: var(--white);
  background: linear-gradient(to bottom, var(--black) 0%, var(--black) 40%, var(--violet-deep) 76%, var(--violet) 100%) fixed;
}

.stage {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: 24px 16px 40px;
}

/* The film sits in the black part of the page; "lighten" drops its black background so no box shows. */
.film { width: min(92vw, 620px, calc(54vh * 4 / 3)); aspect-ratio: 4 / 3; margin-bottom: -28px }
.film video, .film .still { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; animation: fade 1.2s ease both }
.film .still { display: none }

.logo { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 18px); animation: rise .9s cubic-bezier(.2, .8, .2, 1) both }
.mark { width: clamp(64px, 15vw, 104px); height: auto; flex: none; filter: drop-shadow(0 10px 30px rgba(30, 240, 140, .25)) }
.mark .tile { fill: var(--mint) }
.mark .ink { fill: var(--black) }
.word {
  font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125;
  font-size: clamp(30px, 7.4vw, 50px); line-height: .9; letter-spacing: -.005em; text-transform: uppercase;
}

.soon {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  animation: rise .9s .15s cubic-bezier(.2, .8, .2, 1) both;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: blink 1.6s ease-in-out infinite }

.foot {
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px)); text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

@keyframes rise { from { opacity: 0; transform: translateY(14px) } }
@keyframes fade { from { opacity: 0 } }
@keyframes blink { 50% { opacity: .3 } }
@media (prefers-reduced-motion: reduce) {
  .logo, .soon, .dot, .film .still { animation: none }
  .film video { display: none }
  .film .still { display: block }
}
