:root {
  --bg: #050708;
  --panel: rgba(13, 18, 21, 0.78);
  --panel-strong: rgba(16, 23, 27, 0.94);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4f0df;
  --muted: #9aa2a7;
  --yellow: #f4c305;
  --red: #ff2b2b;
  --cyan: #12f7f7;
  --magenta: #e827d9;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(18, 247, 247, 0.18), transparent 30rem),
    radial-gradient(circle at 78% 18%, rgba(232, 39, 217, 0.18), transparent 27rem),
    radial-gradient(circle at 48% 92%, rgba(255, 43, 43, 0.14), transparent 30rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

main {
  max-width: 100%;
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
picture {
  max-width: 100%;
}

.noise,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  z-index: 9;
  opacity: 0.22;
  background-image:
    repeating-radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px);
  mix-blend-mode: overlay;
}

.scanline {
  z-index: 10;
  background: linear-gradient(to bottom, transparent 0 50%, rgba(18, 247, 247, 0.06) 50% 51%, transparent 51% 100%);
  background-size: 100% 7px;
  animation: scan 8s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(255, 43, 43, 0.32);
}

.socials,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.social-link,
.primary-button,
.ghost-button,
.contract-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.social-link {
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(5, 7, 8, 0.62);
  color: var(--muted);
  font-size: 0.88rem;
}

.social-link:hover,
.ghost-button:hover {
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: 0 0 28px rgba(18, 247, 247, 0.16);
  transform: translateY(-2px);
}

.social-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  width: min(1480px, calc(100% - 2rem));
  min-height: min(820px, calc(100vh - 86px));
  margin: 0 auto 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow), 0 0 70px rgba(232, 39, 217, 0.18);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.06);
  animation: slowZoom 15s ease-in-out infinite alternate;
}

.hero-art::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.3), rgba(5, 7, 8, 0.08) 42%, rgba(5, 7, 8, 0.62)),
    linear-gradient(0deg, rgba(5, 7, 8, 0.78), transparent 44%, rgba(5, 7, 8, 0.12));
}

.hero-art::after {
  position: absolute;
  inset: 12%;
  z-index: -1;
  content: "";
  border-radius: 34px;
  background: linear-gradient(135deg, var(--cyan), var(--red), var(--yellow));
  filter: blur(46px);
  opacity: 0.22;
  animation: pulseGlow 3.8s ease-in-out infinite;
}

.ufo {
  position: absolute;
  width: 74px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.9), transparent 12px),
    linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  filter: drop-shadow(0 0 16px rgba(18, 247, 247, 0.75));
  opacity: 0.88;
}

.ufo::after {
  position: absolute;
  inset: 18px 14px auto;
  height: 52px;
  content: "";
  background: linear-gradient(to bottom, rgba(18, 247, 247, 0.22), transparent);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
}

.ufo-one {
  top: 10%;
  right: 10%;
  animation: floatUfo 6s ease-in-out infinite;
}

.ufo-two {
  bottom: 12%;
  left: 9%;
  width: 54px;
  opacity: 0.62;
  animation: floatUfo 7.5s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  margin-left: auto;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(13, 18, 21, 0.88), rgba(5, 7, 8, 0.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Bangers, Inter, sans-serif;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.75), 0 0 28px rgba(255, 43, 43, 0.2);
}

h1 {
  margin-bottom: 1.1rem;
  color: var(--yellow);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
}

h1 span {
  display: block;
  color: #d8d8d8;
}

h2 {
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.lead,
.story-card p,
.radar-copy p,
.join-section p,
.site-footer {
  color: var(--muted);
  line-height: 1.75;
}

.contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.6rem 0;
  padding: 1rem;
  border: 1px solid rgba(18, 247, 247, 0.28);
  border-radius: 20px;
  background: rgba(18, 247, 247, 0.06);
  box-shadow: inset 0 0 24px rgba(18, 247, 247, 0.06);
}

.contract-card > div {
  min-width: 0;
}

.contract-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contract-card code {
  display: block;
  max-width: 34ch;
  overflow: hidden;
  color: var(--cyan);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.contract-card button,
.primary-button {
  border: 0;
  color: #100c00;
  background: linear-gradient(135deg, var(--yellow), #ff7b00);
  box-shadow: 0 12px 26px rgba(244, 195, 5, 0.2);
  cursor: pointer;
}

.contract-card button {
  flex: 0 0 auto;
  padding: 0 1rem;
}

.primary-button {
  padding: 0 1.3rem;
}

.ghost-button {
  padding: 0 1.3rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.primary-button:hover,
.contract-card button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(244, 195, 5, 0.3);
}

.ticker {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 1rem 0;
}

.ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  color: var(--red);
  font-family: Bangers, Inter, sans-serif;
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(255, 43, 43, 0.32);
  animation: marquee 28s linear infinite;
}

.ticker-track span {
  flex: 0 0 auto;
  padding: 0 1rem;
}

.story-section,
.radar-section,
.join-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 760px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story-card {
  position: relative;
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.story-card::before {
  position: absolute;
  inset: -45% auto auto -35%;
  width: 220px;
  height: 220px;
  content: "";
  border-radius: 50%;
  background: var(--red);
  filter: blur(54px);
  opacity: 0.14;
}

.story-card span {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--yellow);
  font-family: Bangers, Inter, sans-serif;
  font-size: 3.4rem;
}

.radar-section {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.radar {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(18, 247, 247, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 20%, rgba(18, 247, 247, 0.08) 21% 22%, transparent 23% 42%, rgba(18, 247, 247, 0.08) 43% 44%, transparent 45% 64%, rgba(18, 247, 247, 0.08) 65% 66%, transparent 67%),
    linear-gradient(rgba(18, 247, 247, 0.15), rgba(18, 247, 247, 0.15)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(18, 247, 247, 0.15), rgba(18, 247, 247, 0.15)) 0 50% / 100% 1px no-repeat,
    rgba(7, 18, 20, 0.66);
  box-shadow: inset 0 0 55px rgba(18, 247, 247, 0.12), 0 0 45px rgba(18, 247, 247, 0.08);
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  inset: 50% 50% 0 0;
  background: linear-gradient(45deg, rgba(18, 247, 247, 0.42), transparent 65%);
  transform-origin: 100% 0;
  animation: sweep 4s linear infinite;
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
  animation: ping 2s ease-out infinite;
}

.dot-one {
  top: 32%;
  left: 62%;
}

.dot-two {
  top: 61%;
  left: 40%;
  animation-delay: 0.4s;
}

.dot-three {
  top: 44%;
  left: 24%;
  animation-delay: 0.8s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.stats div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--yellow);
  font-size: 1.9rem;
  font-weight: 900;
}

.stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.join-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 43, 43, 0.26);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.1), rgba(18, 247, 247, 0.08)), var(--panel-strong);
  box-shadow: var(--shadow);
}

.join-section picture,
.join-section img {
  display: block;
  width: 100%;
}

.join-section img {
  border-radius: 22px;
  object-fit: cover;
}

.join-section h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.join-section p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

#toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(18, 247, 247, 0.4);
  border-radius: 16px;
  background: rgba(5, 7, 8, 0.9);
  color: var(--cyan);
  box-shadow: 0 0 26px rgba(18, 247, 247, 0.18);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  to {
    transform: translateY(7px);
  }
}

@keyframes pulseGlow {
  50% {
    opacity: 0.35;
    transform: scale(1.03);
  }
}

@keyframes floatUfo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  50% {
    transform: translate3d(18px, -16px, 0) rotate(5deg);
  }
}

@keyframes slowZoom {
  to {
    transform: scale(1.04);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  70%,
  100% {
    box-shadow: 0 0 0 24px rgba(255, 43, 43, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(720px, calc(100% - 1rem));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .radar-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(920px, calc(100% - 1rem));
    min-height: 76vh;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .radar {
    width: min(380px, 100%);
    margin: 0 auto;
  }

  .join-section picture {
    width: min(220px, 100%);
  }
}

@media (max-width: 620px) {
  .brand {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .contract-card,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .contract-card button {
    width: 100%;
  }

  .site-header {
    position: relative;
    padding-top: 0.6rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0.5rem;
  }

  .social-link {
    min-height: 42px;
    padding: 0.55rem;
    font-size: 0;
  }

  .social-logo {
    width: 28px;
    height: 28px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(100% - 0.75rem, 430px);
    min-height: auto;
    margin-top: 0.5rem;
    padding: 0;
    border-radius: 22px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-art {
    position: relative;
    inset: auto;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow), 0 0 44px rgba(232, 39, 217, 0.16);
  }

  .hero-art img {
    object-position: center;
    animation: none;
  }

  .hero-art::before {
    background:
      linear-gradient(0deg, rgba(5, 7, 8, 0.42), transparent 42%),
      linear-gradient(90deg, rgba(5, 7, 8, 0.12), transparent 55%);
  }

  .ufo {
    transform: scale(0.78);
  }

  .ufo-one {
    top: 8%;
    right: 8%;
  }

  .ufo-two {
    bottom: 16%;
    left: 8%;
  }

  .hero-copy {
    width: calc(100% - 1rem);
    max-height: none;
    margin: -2.8rem auto 0;
    padding: 1rem;
    overflow: visible;
    background: linear-gradient(145deg, rgba(13, 18, 21, 0.94), rgba(5, 7, 8, 0.88));
  }

  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.65rem, 13vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.1rem);
  }

  .lead,
  .story-card p,
  .radar-copy p,
  .join-section p {
    line-height: 1.55;
  }

  .contract-card {
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.75rem;
  }

  .contract-card code {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .story-section,
  .radar-section,
  .join-section {
    width: calc(100% - 1rem);
    padding: 3rem 0;
  }

  .join-section {
    justify-items: center;
    text-align: center;
  }

  .story-card {
    min-height: auto;
  }

  .story-card span {
    margin-bottom: 1.5rem;
  }

  .hero-copy,
  .story-card,
  .join-section {
    border-radius: 22px;
  }

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

  .join-section picture {
    width: min(220px, 72vw);
    margin: 0 auto;
  }

  .join-section img {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
  }

  .join-section .primary-button {
    max-width: 260px;
  }
}
