:root {
  --bg: #030504;
  --bg-elevated: #0a100c;
  --ink: #e8ffe8;
  --muted: #8fb89a;
  --green: #39ff14;
  --green-hot: #b8ff6a;
  --green-deep: #0d3d18;
  --green-mid: #1aff4d;
  --stroke: rgba(57, 255, 20, 0.28);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.grain,
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
}

.grain {
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.scanlines {
  opacity: 0.04;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.45) 2px,
    rgba(0, 0, 0, 0.45) 3px
  );
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(to bottom, rgba(3, 5, 4, 0.85), transparent);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.wordmark-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.55);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--green);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.65);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  padding: 6.5rem 1.25rem 3.5rem;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: banner-drift 18s ease-in-out infinite alternate;
  filter: saturate(1.15) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, transparent 10%, rgba(3, 5, 4, 0.35) 55%, rgba(3, 5, 4, 0.92) 100%),
    linear-gradient(to top, rgba(3, 5, 4, 0.98) 0%, rgba(3, 5, 4, 0.55) 38%, rgba(3, 5, 4, 0.2) 70%, rgba(3, 5, 4, 0.55) 100%);
}

.aura-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  mix-blend-mode: screen;
}

.hero-content {
  width: min(720px, 100%);
  text-align: center;
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-stage {
  position: relative;
  width: min(240px, 52vw);
  margin: 0 auto 1.35rem;
  aspect-ratio: 1;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: logo-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.55))
    drop-shadow(0 0 42px rgba(26, 255, 77, 0.35));
}

.aura-ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.35);
  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.25),
    inset 0 0 30px rgba(57, 255, 20, 0.12);
  animation: aura-pulse 2.8s ease-out infinite;
}

.aura-ring--delayed {
  inset: -22%;
  animation-delay: 1.1s;
  opacity: 0.7;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: var(--ink);
  text-shadow:
    0 0 24px rgba(57, 255, 20, 0.55),
    0 0 60px rgba(26, 255, 77, 0.28);
  animation: brand-glow 3.2s ease-in-out infinite;
}

.ticker {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  letter-spacing: 0.22em;
  font-weight: 400;
  color: var(--green);
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.75);
}

.tagline {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 500;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #031005;
  box-shadow:
    0 0 0 1px rgba(184, 255, 106, 0.35),
    0 0 28px rgba(57, 255, 20, 0.45);
}

.btn-primary:hover {
  background: var(--green-hot);
  box-shadow:
    0 0 0 1px rgba(184, 255, 106, 0.55),
    0 0 40px rgba(57, 255, 20, 0.65);
}

.btn-ghost {
  background: rgba(3, 5, 4, 0.45);
  border-color: var(--stroke);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.25);
}

.ca-section,
.about {
  width: min(880px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 1rem;
}

.ca-section {
  border-top: 1px solid rgba(57, 255, 20, 0.12);
}

.ca-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: var(--green);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.ca-value {
  flex: 1 1 260px;
  padding: 0.9rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.btn-copy {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--ink);
}

.btn-copy:not(:disabled):hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ca-hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.ca-hint code {
  color: var(--green-hot);
}

.about h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
}

.about p {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.link-list a {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
  transition: color 0.2s ease;
}

.link-list a:hover {
  color: var(--green-hot);
}

.site-footer {
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes banner-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(0, -1.5%, 0);
  }
}

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

@keyframes aura-pulse {
  0% {
    transform: scale(0.86);
    opacity: 0.85;
  }
  70% {
    opacity: 0.15;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes brand-glow {
  0%,
  100% {
    text-shadow:
      0 0 18px rgba(57, 255, 20, 0.45),
      0 0 48px rgba(26, 255, 77, 0.2);
  }
  50% {
    text-shadow:
      0 0 28px rgba(57, 255, 20, 0.75),
      0 0 70px rgba(26, 255, 77, 0.4);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .nav-links {
    gap: 0.9rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 5.5rem 1rem 2.75rem;
    place-items: end stretch;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .ca-section,
  .about {
    width: calc(100% - 2rem);
    padding-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-banner {
    transform: none;
  }
}
