:root {
  --acid: #cdff00;
  --acid-soft: #e4ff73;
  --ink: #03100d;
  --deep: #061a17;
  --paper: #f2f5e9;
  --line: rgba(205, 255, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #061512;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -5;
  background-image: url("images/hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: slow-breathe 13s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(2, 11, 10, 0.96) 0%, rgba(2, 12, 10, 0.72) 34%, rgba(2, 12, 10, 0.06) 68%),
    linear-gradient(180deg, rgba(0, 11, 9, 0.45) 0%, transparent 28%, transparent 68%, rgba(1, 9, 8, 0.9) 100%),
    radial-gradient(circle at 78% 48%, rgba(205, 255, 0, 0.08), transparent 26%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(205, 255, 0, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 255, 0, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 80px, 1440px);
  margin-inline: auto;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(205, 255, 0, 0.65);
  border-radius: 12px;
  box-shadow: 0 0 26px rgba(205, 255, 0, 0.22);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.brand__name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand__ticker {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.network-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(3, 16, 13, 0.44);
  backdrop-filter: blur(12px);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

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

.hero__content {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: max(40px, calc((100vw - 1440px) / 2));
  width: min(640px, 51vw);
  transform: translateY(-46%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.21em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.78;
}

.headline__small {
  margin-left: 6px;
  font-size: clamp(34px, 4.2vw, 66px);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.headline__big {
  position: relative;
  color: var(--acid);
  font-size: clamp(66px, 8.4vw, 132px);
  font-weight: 950;
  letter-spacing: -0.092em;
  text-shadow:
    0 0 28px rgba(205, 255, 0, 0.27),
    0 4px 0 #476100;
}

.headline__big::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(205, 255, 0, 0.28);
  transform: translate(7px, 8px);
}

.intro {
  margin: 30px 0 26px 5px;
  color: rgba(242, 245, 233, 0.7);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.65;
  letter-spacing: 0.025em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 4px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-3px);
}

.button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.button--primary {
  min-width: 188px;
  border-color: var(--acid);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 8px 32px rgba(205, 255, 0, 0.15);
}

.button--primary:hover {
  background: var(--acid-soft);
}

.button--glass {
  background: rgba(5, 18, 15, 0.54);
  backdrop-filter: blur(12px);
}

.button--glass:hover {
  border-color: rgba(205, 255, 0, 0.72);
  color: var(--acid);
  background: rgba(205, 255, 0, 0.07);
}

.button__arrow {
  font-size: 17px;
  transition: transform 0.35s var(--ease);
}

.button:hover .button__arrow {
  transform: translate(3px, -3px);
}

.button__icon {
  color: var(--acid);
  font-size: 17px;
  line-height: 1;
}

.button__icon--x {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.token-card {
  position: absolute;
  right: max(40px, calc((100vw - 1440px) / 2));
  bottom: 76px;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 15px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(205, 255, 0, 0.32);
  border-radius: 5px;
  background: rgba(3, 16, 13, 0.46);
  backdrop-filter: blur(15px);
}

.token-card__label {
  grid-column: 1 / -1;
  color: rgba(242, 245, 233, 0.63);
  font-family: "Courier New", monospace;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.15em;
}

.token-card__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), transparent);
}

.token-card__ticker {
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  height: 39px;
  overflow: hidden;
  border-top: 1px solid rgba(205, 255, 0, 0.28);
  background: rgba(3, 16, 13, 0.78);
  backdrop-filter: blur(10px);
}

.marquee__track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  color: rgba(242, 245, 233, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  animation: marquee 23s linear infinite;
}

.marquee__track i {
  color: var(--acid);
  font-style: normal;
}

.rain {
  position: absolute;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.11;
  background-image: repeating-linear-gradient(105deg, transparent 0 21px, rgba(205, 255, 0, 0.45) 22px, transparent 23px 45px);
  background-size: 260% 260%;
  transform: rotate(2deg);
  animation: rain-shift 9s linear infinite;
  mask-image: linear-gradient(to right, transparent, black 35%, black);
}

.cursor-glow {
  position: fixed;
  z-index: 20;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(205, 255, 0, 0.1), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

.toast {
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 44px);
  padding: 14px 17px;
  border: 1px solid rgba(205, 255, 0, 0.45);
  border-radius: 5px;
  color: var(--paper);
  background: rgba(3, 16, 13, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  transition: all 0.38s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.toast__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.9s var(--ease) forwards;
}

.reveal--delay {
  animation-delay: 0.12s;
}

.reveal--delay-2 {
  animation-delay: 0.24s;
}

.reveal--delay-3 {
  animation-delay: 0.36s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-breathe {
  from { transform: scale(1.035); }
  to { transform: scale(1.085); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

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

@keyframes rain-shift {
  to { background-position: 70% 100%; }
}

@media (max-width: 900px) {
  .nav {
    width: calc(100% - 40px);
    padding-top: 20px;
  }

  .hero__image {
    background-position: 65% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 11, 10, 0.94) 0%, rgba(2, 11, 10, 0.72) 54%, rgba(2, 11, 10, 0.25) 100%),
      linear-gradient(180deg, rgba(0, 11, 9, 0.35) 0%, transparent 35%, rgba(1, 9, 8, 0.92) 100%);
  }

  .hero__content {
    left: 24px;
    width: min(610px, calc(100vw - 48px));
  }

  .headline__big {
    font-size: clamp(62px, 13vw, 105px);
  }

  .token-card {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 13px;
  }

  .brand__ticker,
  .network-pill span:last-child {
    display: none;
  }

  .network-pill {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .hero__image {
    background-position: 70% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(2, 11, 10, 0.44) 0%, rgba(2, 11, 10, 0.12) 31%, rgba(2, 11, 10, 0.72) 58%, rgba(1, 9, 8, 0.98) 100%),
      linear-gradient(90deg, rgba(2, 11, 10, 0.34), rgba(2, 11, 10, 0.06));
  }

  .hero__content {
    top: auto;
    right: 20px;
    bottom: 72px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
  }

  .headline__small {
    font-size: clamp(28px, 9.8vw, 43px);
  }

  .headline__big {
    font-size: clamp(52px, 16.8vw, 76px);
    letter-spacing: -0.1em;
  }

  .intro {
    margin-top: 24px;
    margin-bottom: 20px;
    font-size: 12px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .button {
    min-height: 48px;
    padding: 0 13px;
    font-size: 9px;
  }

  .button--primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .marquee {
    height: 34px;
  }

  .toast {
    right: 16px;
    top: 16px;
  }
}

@media (max-height: 710px) and (max-width: 600px) {
  .hero__content {
    bottom: 52px;
  }

  .intro {
    display: none;
  }

  .headline__big {
    font-size: clamp(50px, 15vw, 68px);
  }
}

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