:root {
  --bg: #85ee7a;
  --green: #40b900;
  --green-deep: #227700;
  --green-soft: rgba(44, 177, 0, 0.28);
  --text: #f5fff0;
  --ink: #103500;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 42%, rgba(230, 255, 199, 0.52), transparent 34rem),
    linear-gradient(180deg, #9aff91 0%, var(--bg) 48%, #5fd642 100%);
  font-family: "Inter", system-ui, sans-serif;
}

a {
  color: inherit;
}

.market-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 255, 218, 0.5), transparent 22rem),
    radial-gradient(circle at 80% 12%, rgba(246, 255, 218, 0.34), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(23, 141, 0, 0.18));
  filter: blur(1px);
}

.arrow-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.arrow-field span {
  position: absolute;
  left: var(--x);
  bottom: -24vh;
  width: clamp(3.4rem, 7vw, 6.6rem);
  height: var(--height);
  border: clamp(0.35rem, 0.8vw, 0.7rem) solid rgba(43, 141, 0, 0.48);
  border-top: 0;
  background: linear-gradient(180deg, rgba(230, 255, 183, 0.42), rgba(51, 182, 0, 0.64));
  box-shadow:
    inset 0 0 18px rgba(239, 255, 205, 0.45),
    0 0 18px rgba(44, 132, 0, 0.38);
  filter: blur(0.2px);
  animation: arrow-rise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.arrow-field span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% - 0.2rem);
  width: 0;
  height: 0;
  border-left: clamp(2.7rem, 5.8vw, 5.3rem) solid transparent;
  border-right: clamp(2.7rem, 5.8vw, 5.3rem) solid transparent;
  border-bottom: clamp(4.5rem, 9vw, 8.2rem) solid rgba(82, 187, 20, 0.64);
  filter:
    drop-shadow(0 0 8px rgba(36, 128, 0, 0.42))
    drop-shadow(0 0 18px rgba(221, 255, 168, 0.32));
  transform: translateX(-50%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(128, 238, 112, 0.95), rgba(128, 238, 112, 0));
}

nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

nav a,
.button {
  border: 1px solid rgba(120, 255, 145, 0.38);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: #efffe9;
  background: rgba(21, 104, 0, 0.54);
  box-shadow: 0 0 28px rgba(236, 255, 221, 0.24);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

nav a:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 255, 145, 0.8);
  box-shadow: 0 0 34px rgba(47, 255, 95, 0.3);
}

.hero {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.8rem 0 0;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.45rem);
  margin-top: clamp(7rem, 18vh, 11rem);
}

h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3.6rem, 11vw, 8.2rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 rgba(25, 93, 0, 0.55),
    0 0 22px rgba(246, 255, 230, 0.72),
    0 0 48px rgba(38, 167, 0, 0.35);
}

.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid rgba(245, 255, 235, 0.78);
  border-radius: 999px;
  padding: 0.92rem 1.25rem;
  color: var(--ink);
  background: rgba(237, 255, 222, 0.86);
  box-shadow:
    0 0 0 7px rgba(48, 166, 0, 0.13),
    0 0 32px rgba(246, 255, 230, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.9rem, 1.8vw, 1.12rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ca-box:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 8px rgba(48, 166, 0, 0.18),
    0 0 42px rgba(246, 255, 230, 0.75);
}

.ca-box span {
  color: var(--green-deep);
}

.ca-value {
  color: #061b00;
}

.apu-card {
  position: fixed;
  left: 50%;
  bottom: -1px;
  z-index: 5;
  margin: 0;
  width: min(50rem, 82vw);
  filter: drop-shadow(0 0 24px rgba(240, 255, 220, 0.38));
  transform: translateX(-50%);
}

.apu-card::before {
  content: "";
  position: absolute;
  inset: 12% 4% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 255, 116, 0.28), transparent 62%);
  filter: blur(14px);
}

.apu-card img {
  display: block;
  width: 100%;
  max-height: 47svh;
  object-fit: contain;
  margin-inline: auto;
}

.tweet-cloud {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.tweet {
  position: absolute;
  width: min(19vw, 260px);
  border-radius: 14px;
  opacity: 0;
  filter:
    drop-shadow(0 0 14px rgba(223, 255, 197, 0.8))
    drop-shadow(0 0 34px rgba(41, 148, 0, 0.34));
  animation: tweet-fade 30s ease-in-out infinite;
}

.tweet-1 {
  top: 29%;
  left: 2%;
  animation-delay: 0s;
}

.tweet-2 {
  top: 43%;
  left: 4%;
  animation-delay: -5s;
}

.tweet-3 {
  right: 3%;
  top: 29%;
  animation-delay: -10s;
}

.tweet-4 {
  right: 4%;
  top: 43%;
  animation-delay: -15s;
}

.tweet-5 {
  left: 3%;
  top: 57%;
  animation-delay: -20s;
}

.tweet-6 {
  right: 5%;
  top: 57%;
  animation-delay: -25s;
}

@keyframes arrow-rise {
  from {
    transform: translate3d(-0.6rem, 16vh, 0);
    opacity: 0;
  }

  15%,
  78% {
    opacity: 1;
  }

  to {
    transform: translate3d(0.6rem, -120vh, 0);
    opacity: 0;
  }
}

@keyframes tweet-fade {
  0%,
  8% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  14%,
  30% {
    opacity: 0.9;
    transform: translateY(0) scale(1);
  }

  38%,
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
  }
}

@media (max-width: 980px) {
  .tweet {
    width: min(34vw, 240px);
  }

  .tweet-2,
  .tweet-4,
  .tweet-5,
  .tweet-6 {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    padding-inline: 1rem;
  }

  nav {
    flex-direction: row;
    align-items: center;
  }

  nav a {
    padding: 0.62rem 0.72rem;
    font-size: 0.68rem;
  }

  .hero {
    width: min(100% - 1rem, 34rem);
    padding-top: 5rem;
  }

  .hero-copy {
    margin-top: clamp(7.5rem, 19vh, 10rem);
  }

  .tweet {
    width: min(42vw, 190px);
  }

  .tweet-1,
  .tweet-3 {
    top: 54%;
    bottom: auto;
  }

  .tweet-5,
  .tweet-6 {
    display: none;
  }
}
