@import url("https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400;500;600;700&display=swap");

:root {
  --ink: #080d03;
  --deep: #142400;
  --deep-2: #1e3500;
  --green: #8cff00;
  --acid: #b8ff2c;
  --paper: #f7ffeb;
  --line: rgba(158, 255, 35, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 280px;
  background: var(--deep);
  color: var(--paper);
  font-family: "Kode Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-x: hidden;
}

button, a { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 42%, rgba(119, 255, 0, 0.09), transparent 25rem),
    radial-gradient(circle at 92% 66%, rgba(132, 255, 0, 0.08), transparent 30rem),
    linear-gradient(180deg, #1a2e00 0%, #142400 100%);
}

.ambient-grid {
  position: absolute;
  inset: 38vw 0 0;
  z-index: -3;
  opacity: 0.36;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 76%, transparent);
  animation: grid-drift 24s linear infinite;
}

.ambient-glow {
  position: absolute;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.15;
  background: var(--green);
  animation: glow-float 10s ease-in-out infinite alternate;
}

.ambient-glow-one { top: 47rem; left: -18rem; }
.ambient-glow-two { right: -20rem; bottom: 5rem; animation-delay: -4s; }

.floating-pixels {
  position: absolute;
  inset: 44rem 0 0;
  z-index: -1;
  pointer-events: none;
}

.floating-pixels span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--acid);
  box-shadow: 0 0 12px var(--green);
  opacity: 0;
  animation: pixel-rise 9s linear infinite;
}

.floating-pixels span:nth-child(1) { left: 6%; top: 9%; animation-delay: -1s; }
.floating-pixels span:nth-child(2) { left: 15%; top: 48%; animation-delay: -7s; }
.floating-pixels span:nth-child(3) { left: 24%; top: 22%; animation-delay: -4s; }
.floating-pixels span:nth-child(4) { left: 33%; top: 72%; animation-delay: -8s; }
.floating-pixels span:nth-child(5) { left: 41%; top: 18%; animation-delay: -3s; }
.floating-pixels span:nth-child(6) { left: 49%; top: 59%; animation-delay: -5s; }
.floating-pixels span:nth-child(7) { left: 57%; top: 32%; animation-delay: -9s; }
.floating-pixels span:nth-child(8) { left: 65%; top: 82%; animation-delay: -2s; }
.floating-pixels span:nth-child(9) { left: 73%; top: 12%; animation-delay: -6s; }
.floating-pixels span:nth-child(10) { left: 81%; top: 52%; animation-delay: -4s; }
.floating-pixels span:nth-child(11) { left: 92%; top: 27%; animation-delay: -8s; }
.floating-pixels span:nth-child(12) { left: 11%; top: 88%; animation-delay: -5s; }
.floating-pixels span:nth-child(13) { left: 53%; top: 91%; animation-delay: -7s; }
.floating-pixels span:nth-child(14) { left: 87%; top: 74%; animation-delay: -1s; }

.hero {
  position: relative;
  width: 100%;
  height: max(42.77vw, 530px);
  min-height: 530px;
  max-height: 780px;
  overflow: hidden;
  background: #697b2a;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: hero-breathe 10s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 50, 0, 0.86) 0 20%, rgba(15, 25, 0, 0.08) 31%, transparent 66%),
    linear-gradient(90deg, rgba(4, 8, 0, 0.16), transparent 36%, rgba(5, 8, 0, 0.08));
}

.hero-header {
  position: relative;
  z-index: 2;
  width: min(100% - 56px, 1500px);
  height: 20%;
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.hero h1 {
  margin: 0;
  color: #050900;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.085em;
  text-align: center;
  text-shadow: 0 0 2px #a7ff19, 0 0 8px #8cff00, 0 0 18px rgba(115, 255, 0, 0.8);
  animation: title-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(232, 255, 209, 0.72);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-kicker-right { justify-content: flex-end; text-align: right; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.hero-scan {
  position: absolute;
  inset: 20% 0 auto;
  height: 2px;
  z-index: 3;
  opacity: 0.7;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 18px rgba(140, 255, 0, 0.75);
  animation: scan 7s ease-in-out infinite;
}

.contract-wrap {
  position: relative;
  z-index: 10;
  width: min(100% - 40px, 1030px);
  margin: -42px auto 0;
}

.contract-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 11px 16px 11px 22px;
  color: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 19px;
  background: linear-gradient(100deg, #78ed00, #9cff00 58%, #70df00), var(--green);
  box-shadow: 0 0 0 1px rgba(124, 255, 0, 0.7), 0 0 28px rgba(109, 255, 0, 0.52), 0 18px 45px rgba(4, 13, 0, 0.42);
  animation: bar-in 0.75s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.contract-address {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: clamp(0.83rem, 1.35vw, 1.18rem);
  font-weight: 700;
  line-height: 1.2;
}

.ca-label { color: rgba(7, 12, 0, 0.58); font-size: 0.58rem; letter-spacing: 0.18em; }
.ca-short { display: none; }

.copy-button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
  height: 50px !important;
  border: 2px solid var(--ink) !important;
  color: var(--ink) !important;
  background: #fafff4 !important;
  box-shadow: 3px 3px 0 var(--ink) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

.copy-button {
  min-width: 140px;
  border-radius: 13px !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.copy-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }

.copy-button:hover, .icon-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink) !important;
  background: #dfffad !important;
}

.social-buttons { display: flex; gap: 10px; }
.icon-button { width: 50px !important; padding: 0 !important; border-radius: 50% !important; }
.icon-button svg { width: 22px; height: 22px; fill: currentColor; }

.story {
  position: relative;
  width: min(100% - 56px, 1420px);
  margin: 0 auto;
  padding: 146px 0 110px;
}

.section-eyebrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 70px;
  color: rgba(225, 255, 198, 0.58);
  font-size: 0.67rem;
  letter-spacing: 0.17em;
}

.eyebrow-line { height: 1px; background: linear-gradient(90deg, var(--line), rgba(140, 255, 0, 0.05)); }
.story-heading { position: relative; text-align: center; }

.ticker {
  position: absolute;
  inset: -58px 0 auto;
  margin: 0;
  color: transparent;
  font-size: clamp(4.8rem, 10vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 1px rgba(144, 255, 0, 0.11);
  user-select: none;
}

.story h2 {
  position: relative;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.06;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.34);
}

.tagline {
  position: relative;
  margin: 22px 0 0;
  color: rgba(244, 255, 235, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.015em;
}

.tagline span { color: var(--acid); text-shadow: 0 0 18px rgba(140, 255, 0, 0.35); }

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 72px;
  margin-top: 86px;
}

.journey-segment { position: relative; min-width: 0; }

.journey-card {
  position: relative;
  margin: 0;
  aspect-ratio: 1.48 / 1;
  overflow: hidden;
  border: 1px solid rgba(220, 255, 191, 0.58);
  border-radius: 24px;
  background: #0a0f05;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translateY(0);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.journey-card:hover {
  transform: translateY(-10px);
  border-color: var(--acid);
  box-shadow: 0 24px 70px rgba(66, 135, 0, 0.26), 0 0 0 1px rgba(140, 255, 0, 0.2);
}

.journey-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.journey-card:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.04); }
.card-overlay { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(5, 10, 1, 0.9)); }

.card-meta {
  position: absolute;
  inset: auto 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-transform: uppercase;
}

.card-meta span { color: var(--acid); font-size: 0.7rem; letter-spacing: 0.14em; }
.card-meta strong { font-size: clamp(0.65rem, 0.85vw, 0.82rem); letter-spacing: 0.05em; }

.journey-arrow {
  position: absolute;
  top: 50%;
  right: -65px;
  width: 58px;
  transform: translateY(-50%);
  color: var(--acid);
  filter: drop-shadow(0 0 8px rgba(140, 255, 0, 0.65));
  animation: arrow-push 1.8s ease-in-out infinite;
}

.journey-arrow svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.journey-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 55px;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.caption-bracket { color: var(--green); text-shadow: 0 0 14px var(--green); }

.site-footer {
  width: min(100% - 56px, 1420px);
  margin: 0 auto;
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(176, 255, 101, 0.2);
  color: rgba(225, 255, 199, 0.54);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.site-footer p { margin: 0; text-align: center; }
.site-footer > span { text-align: right; }
.footer-mark { color: var(--acid); font-size: 1rem; font-weight: 700; text-shadow: 0 0 12px rgba(140, 255, 0, 0.5); }

@keyframes grid-drift { to { background-position: 72px 72px; } }
@keyframes glow-float { to { transform: translate3d(4rem, 3rem, 0) scale(1.12); } }
@keyframes pixel-rise {
  0% { transform: translateY(80px); opacity: 0; }
  15%, 72% { opacity: 0.72; }
  100% { transform: translateY(-240px); opacity: 0; }
}
@keyframes hero-breathe { to { transform: scale(1.018); } }
@keyframes title-in {
  from { opacity: 0; transform: translateY(-18px); letter-spacing: 0.18em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: 0.085em; }
}
@keyframes status-pulse { 50% { opacity: 0.42; transform: scale(0.72); } }
@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50% { transform: translateY(25vw); opacity: 0.72; }
}
@keyframes bar-in {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes arrow-push {
  0%, 100% { transform: translate(-4px, -50%); opacity: 0.55; }
  50% { transform: translate(5px, -50%); opacity: 1; }
}

@media (max-width: 1050px) {
  .hero { height: 560px; }
  .hero-image { object-position: 38% center; }
  .hero-header { grid-template-columns: 1fr auto; }
  .hero-kicker-right { display: none; }
  .hero h1 { justify-self: end; }
  .journey-grid { gap: 46px; }
  .journey-arrow { right: -44px; width: 40px; }
}

@media (max-width: 780px) {
  .hero { height: 560px; }
  .hero-image { object-position: 28% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(24, 43, 0, 0.92) 0 20%, rgba(11, 20, 0, 0.08) 36%, rgba(8, 13, 0, 0.18)),
      linear-gradient(90deg, transparent, rgba(5, 9, 0, 0.12));
  }
  .hero-header { width: min(100% - 32px, 720px); grid-template-columns: 1fr; justify-items: center; gap: 8px; }
  .hero-kicker { display: none; }
  .hero h1 { justify-self: center; font-size: clamp(1.48rem, 6vw, 2.5rem); letter-spacing: 0.05em; }
  .contract-wrap { width: min(100% - 28px, 600px); margin-top: -58px; }
  .contract-card { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 13px; }
  .contract-address { padding-left: 4px; }
  .ca-full { display: none; }
  .ca-short { display: inline; }
  .social-buttons { grid-column: 1 / -1; justify-content: center; padding-top: 2px; }
  .icon-button { width: 46px !important; height: 46px !important; }
  .story { width: min(100% - 34px, 640px); padding: 126px 0 86px; }
  .section-eyebrow { margin-bottom: 58px; }
  .journey-grid { grid-template-columns: 1fr; gap: 72px; max-width: 560px; margin: 70px auto 0; }
  .journey-arrow {
    top: auto;
    right: 50%;
    bottom: -55px;
    width: 44px;
    transform: translateX(50%) rotate(90deg);
    animation: arrow-down 1.8s ease-in-out infinite;
  }
  .journey-caption { margin-top: 58px; }
  .site-footer { width: min(100% - 34px, 640px); grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer > span { text-align: center; }
  @keyframes arrow-down {
    0%, 100% { transform: translate(50%, -4px) rotate(90deg); opacity: 0.55; }
    50% { transform: translate(50%, 5px) rotate(90deg); opacity: 1; }
  }
}

@media (max-width: 430px) {
  .hero { height: 510px; min-height: 510px; }
  .hero-image { object-position: 22% center; }
  .contract-wrap { width: calc(100% - 20px); }
  .contract-card { grid-template-columns: minmax(0, 1fr) 108px; border-radius: 16px; }
  .contract-address { font-size: 0.75rem; }
  .copy-button { min-width: 108px; height: 46px !important; padding: 0 11px !important; font-size: 0.78rem !important; }
  .copy-button svg { display: none; }
  .story { width: calc(100% - 28px); padding-top: 118px; }
  .section-eyebrow { gap: 12px; margin-bottom: 50px; font-size: 0.54rem; }
  .story h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .tagline { line-height: 1.7; }
  .journey-grid { gap: 65px; margin-top: 56px; }
  .journey-card { border-radius: 18px; }
  .card-meta { inset: auto 14px 12px; }
  .journey-caption { gap: 10px; font-size: 0.93rem; }
}
@media (max-width: 560px) {
  .contract-card { grid-template-columns: 1fr;  text-align: center; }
      .ca-short {
        font-size: 10px;
    }
    
}
@media (max-width: 320px) {
  .hero h1 { font-size: 1.22rem; }
  .contract-card { grid-template-columns: 1fr; }
  .contract-address { align-items: center; text-align: center; }
  .copy-button { width: 100%; }
  .social-buttons { grid-column: auto; }
}

@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;
  }
}
