/* ==========================================================================
   FUTURE — nftfuture.fun (teaser)
   Hand-written stylesheet. No frameworks, no CDN, no external fonts.
   Design variables mirrored from the main site so the brand reads identically.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design variables
   -------------------------------------------------------------------------- */
:root {
  --cream: #faf7ee;
  --cream-deep: #f4efe1;
  --white: #ffffff;
  --ink: #10182b;
  --beige: #ede6d2;
  --visor: #12141b;
  --green: #35c24a;
  --green-dark: #2aa83e;

  --ink-80: rgba(16, 24, 43, 0.8);
  --ink-65: rgba(16, 24, 43, 0.65);
  --ink-50: rgba(16, 24, 43, 0.5);
  --ink-18: rgba(16, 24, 43, 0.18);
  --ink-10: rgba(16, 24, 43, 0.1);
  --ink-06: rgba(16, 24, 43, 0.06);

  --green-tint: rgba(53, 194, 74, 0.1);
  --green-tint-strong: rgba(53, 194, 74, 0.18);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --fs-sm: 0.875rem;
  --fs-xs: 0.775rem;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;

  --r-sm: 10px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 43, 0.04),
    0 2px 8px rgba(16, 24, 43, 0.04);
  --shadow-md: 0 2px 4px rgba(16, 24, 43, 0.04),
    0 14px 34px rgba(16, 24, 43, 0.07);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft warm vignette so the cream never reads flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--white) 0%, transparent 62%),
    radial-gradient(90% 60% at 50% 112%, var(--cream-deep) 0%, transparent 70%);
}

p {
  margin: 0;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--green-tint-strong);
}

/* --------------------------------------------------------------------------
   3. Ambient drift — soft green bokeh on cream
   -------------------------------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 30%,
    rgba(53, 194, 74, 0.17),
    rgba(53, 194, 74, 0) 72%
  );
  filter: blur(1px);
  will-change: transform, opacity;
  animation: drift 26s ease-in-out infinite alternate;
}

.ambient__orb--a {
  width: 170px;
  height: 170px;
  top: 14%;
  left: 9%;
  opacity: 0.5;
}
.ambient__orb--b {
  width: 110px;
  height: 110px;
  top: 68%;
  left: 15%;
  opacity: 0.4;
  animation-duration: 34s;
  animation-delay: -6s;
}
.ambient__orb--c {
  width: 200px;
  height: 200px;
  top: 11%;
  right: 8%;
  opacity: 0.42;
  animation-duration: 30s;
  animation-delay: -12s;
}
.ambient__orb--d {
  width: 84px;
  height: 84px;
  top: 74%;
  right: 13%;
  opacity: 0.45;
  animation-duration: 22s;
  animation-delay: -3s;
}
.ambient__orb--e {
  width: 56px;
  height: 56px;
  top: 41%;
  left: 4%;
  opacity: 0.32;
  animation-duration: 38s;
  animation-delay: -18s;
}
.ambient__orb--f {
  width: 68px;
  height: 68px;
  top: 31%;
  right: 4%;
  opacity: 0.32;
  animation-duration: 28s;
  animation-delay: -9s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(26px, -34px, 0) scale(1.12);
  }
}

/* --------------------------------------------------------------------------
   4. Topbar
   -------------------------------------------------------------------------- */
.topbar {
  padding: var(--s5) var(--s5) 0;
}

.topbar__domain {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* --------------------------------------------------------------------------
   5. Stage
   -------------------------------------------------------------------------- */
.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s5);
  padding: var(--s6) var(--s5);
}

/* Emblem ------------------------------------------------------------------ */
.emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(148px, 30vmin, 248px);
  aspect-ratio: 1;
}

.emblem__glow {
  position: absolute;
  inset: -34%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 194, 74, 0.26) 0%,
    rgba(53, 194, 74, 0.11) 42%,
    rgba(53, 194, 74, 0) 70%
  );
  animation: halo 6.5s ease-in-out infinite;
  will-change: transform, opacity;
}

.emblem__img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 34px rgba(16, 24, 43, 0.16));
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes halo {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

/* Wordmark ---------------------------------------------------------------- */
.wordmark {
  margin: 0;
  font-size: clamp(2.5rem, 11vw, 4.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  color: var(--ink);
}

.tagline {
  max-width: 34ch;
  font-size: clamp(1.02rem, 3.6vw, 1.3rem);
  font-weight: 500;
  color: var(--ink-65);
  letter-spacing: -0.005em;
}

/* Chips ------------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-65);
  background: var(--white);
  border: 1px solid var(--ink-10);
  padding: 7px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.chip--live {
  color: var(--green-dark);
  background: var(--green-tint);
  border-color: var(--green-tint-strong);
  box-shadow: none;
}

.chip__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.chip__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Social ------------------------------------------------------------------ */
.social {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s1);
  padding: 11px 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-18);
  background: transparent;
  color: var(--ink-80);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: color 0.16s ease, border-color 0.16s ease,
    background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.social:hover,
.social:focus-visible {
  color: var(--green-dark);
  border-color: var(--green);
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.social__glyph {
  flex: none;
}

/* --------------------------------------------------------------------------
   6. Footnote
   -------------------------------------------------------------------------- */
.footnote {
  padding: var(--s5) var(--s5) var(--s6);
  font-size: var(--fs-xs);
  line-height: 1.75;
  color: var(--ink-50);
}

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  .stage {
    gap: var(--s4);
    padding: var(--s5) var(--s4);
  }
  .topbar {
    padding: var(--s4) var(--s4) 0;
  }
  .footnote {
    padding: var(--s4);
  }
  .chips {
    gap: var(--s2);
  }
  .ambient__orb--a,
  .ambient__orb--c {
    width: 130px;
    height: 130px;
  }
}

@media (max-height: 620px) and (min-width: 421px) {
  .stage {
    gap: var(--s4);
  }
  .emblem {
    width: clamp(120px, 22vmin, 180px);
  }
}

/* --------------------------------------------------------------------------
   8. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .emblem__glow {
    opacity: 0.9;
  }
}
