:root {
  --orange: #fc5902;
  --black: #000000;
  --ink: #111111;
  --white: #ffffff;
  --green: #00ff66;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(252, 89, 2, 0.42);
  --shadow-orange: 0 0 34px rgba(252, 89, 2, 0.5);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--black);
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(38px, 7vh, 64px) 18px 24px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    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: 42px 42px;
  mix-blend-mode: screen;
  opacity: 0.42;
}

.hero-collage {
  position: absolute;
  inset: -28vmax;
  z-index: -3;
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.7vw, 22px);
  transform: rotate(-8deg) scale(1.22);
}

.collage-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(clamp(230px, 26vw, 420px), 1fr));
  gap: clamp(10px, 1.7vw, 22px);
  animation: drift-left 30s linear infinite;
}

.collage-track-b {
  transform: translateX(-12%);
  animation: drift-right 36s linear infinite;
}

.collage-track img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(252, 89, 2, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  filter: saturate(1.15) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(252, 89, 2, 0.24), transparent 35%),
    rgba(0, 0, 0, 0.7);
}

.hero-content {
  width: min(100%, 920px);
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2.6vh, 22px);
  text-align: center;
}

.badge {
  margin: 0;
  padding: 10px 18px;
  color: var(--white);
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(252, 89, 2, 0.7), inset 0 0 18px rgba(252, 89, 2, 0.12);
  font-size: clamp(0.82rem, 2.5vw, 1rem);
  font-weight: 950;
  letter-spacing: 0;
  animation: badge-flicker 3.2s ease-in-out infinite;
}

.hero-card {
  width: min(470px, calc(100vw - 36px));
  min-height: clamp(230px, 36vw, 290px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(12px, 2.4vw, 18px);
  padding: clamp(16px, 3.8vw, 22px);
  background: var(--orange);
  border: 2px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-orange), 0 28px 100px rgba(0, 0, 0, 0.65);
  transform: rotate(-1.5deg);
  animation: hero-card-float 5.5s ease-in-out infinite;
}

.hero-peek {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.hero-peek:hover,
.hero-peek:focus-visible {
  color: var(--orange);
  transform: translateY(2px);
}

.logo {
  width: min(430px, 100%);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.36));
  animation: logo-pop 4.4s ease-in-out infinite;
}

.contract-callout {
  margin: 0;
  color: var(--green);
  text-shadow: 0 0 12px rgba(0, 255, 102, 0.65), 0 2px 0 var(--black);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 950;
}

.hero-stats,
.token-grid {
  width: min(100%, var(--container));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stat,
.token-card {
  min-width: 0;
  padding: 17px 18px;
  background: rgba(17, 17, 17, 0.84);
  border: 1px solid var(--line);
  box-shadow: 0 0 24px rgba(252, 89, 2, 0.1);
  backdrop-filter: blur(16px);
  animation: stat-breathe 4.8s ease-in-out infinite;
}

.mini-stat span,
.token-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-stat strong,
.token-card strong {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 2.7vw, 1.38rem);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--black);
  background: var(--orange);
  box-shadow: 0 0 28px rgba(252, 89, 2, 0.45);
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: button-shine 3.6s ease-in-out infinite;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px rgba(252, 89, 2, 0.72);
}

.button-ghost {
  color: rgba(255, 255, 255, 0.46);
  background: rgba(17, 17, 17, 0.7);
  border-color: rgba(255, 255, 255, 0.16);
  cursor: not-allowed;
}

.section-panel {
  padding: clamp(70px, 10vw, 120px) 18px;
}

.section-heading {
  width: min(100%, var(--container));
  margin: 0 auto clamp(28px, 5vw, 48px);
  text-align: center;
}

.section-heading h2,
.lore-content h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 1000;
}

.section-heading p,
.final-cta p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 750;
}

.bounties {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #050505 0%, #111111 48%, #050505 100%);
}

.bounties::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(252, 89, 2, 0.13) 42%, transparent 62%);
  transform: translateX(-100%);
  animation: section-scan 7s ease-in-out infinite;
}

.carousel {
  position: relative;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bounty-card {
  flex: 0 0 calc((100% - 36px) / 3);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 0 rgba(252, 89, 2, 0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bounty-card:nth-child(3n + 2),
.token-card:nth-child(2) {
  animation-delay: 120ms;
  transition-delay: 80ms;
}

.bounty-card:nth-child(3n),
.token-card:nth-child(3) {
  animation-delay: 240ms;
  transition-delay: 160ms;
}

.bounty-card:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: rgba(252, 89, 2, 0.85);
  box-shadow: 0 0 34px rgba(252, 89, 2, 0.44);
}

.bounty-card img {
  width: 100%;
  aspect-ratio: 1;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(252, 89, 2, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 34px rgba(252, 89, 2, 0.82);
}

.carousel-button span {
  transform: translateY(-2px);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 900;
}

.carousel-button-prev {
  left: -18px;
}

.carousel-button-next {
  right: -18px;
}

.lore {
  background:
    radial-gradient(circle at center top, rgba(252, 89, 2, 0.14), transparent 36%),
    #050505;
}

.lore-content {
  width: min(100%, 800px);
  margin: 0 auto;
  text-align: center;
}

.lore-content p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 3.1vw, 1.75rem);
  line-height: 1.45;
  font-weight: 750;
}

.lore-content span {
  color: var(--orange);
}

.lore-lines {
  color: var(--white) !important;
  line-height: 1.25 !important;
  font-weight: 1000 !important;
}

.token-info {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.token-info::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--green), transparent);
  animation: line-run 4.5s linear infinite;
}

.token-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  border-color: rgba(252, 89, 2, 0.68);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.token-card:hover {
  transform: translateY(-7px);
  border-color: var(--orange);
  box-shadow: 0 0 38px rgba(252, 89, 2, 0.26);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 13vw, 150px) 18px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(252, 89, 2, 0.18), transparent 28%, transparent 72%, rgba(0, 255, 102, 0.12)),
    var(--ink);
}

.final-cta-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.final-cta .button {
  margin-top: 28px;
  min-height: 62px;
  padding-inline: 34px;
  font-size: 1.12rem;
}

.button-pulse {
  animation: pulse 1.9s ease-in-out infinite;
}

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

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

.reveal-card {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.is-visible .reveal-card,
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-visible .bounty-card:hover {
  transform: translateY(-6px) scale(1.025);
}

.is-visible .token-card:hover {
  transform: translateY(-7px);
}

@keyframes drift-left {
  from {
    transform: translate3d(-2%, 0, 0);
  }

  to {
    transform: translate3d(-19%, -2.5%, 0);
  }
}

@keyframes drift-right {
  from {
    transform: translate3d(-18%, 0, 0);
  }

  to {
    transform: translate3d(3%, 2.5%, 0);
  }
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: rotate(-1.5deg) translateY(0);
  }

  50% {
    transform: rotate(1deg) translateY(-8px);
  }
}

@keyframes logo-pop {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes badge-flicker {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(252, 89, 2, 0.7), inset 0 0 18px rgba(252, 89, 2, 0.12);
  }

  48% {
    box-shadow: 0 0 34px rgba(252, 89, 2, 0.9), inset 0 0 22px rgba(0, 255, 102, 0.12);
  }

  52% {
    box-shadow: 0 0 18px rgba(252, 89, 2, 0.46), inset 0 0 12px rgba(252, 89, 2, 0.08);
  }
}

@keyframes button-shine {
  0%,
  38% {
    transform: translateX(0) skewX(-18deg);
  }

  70%,
  100% {
    transform: translateX(430%) skewX(-18deg);
  }
}

@keyframes stat-breathe {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(252, 89, 2, 0.1);
  }

  50% {
    box-shadow: 0 0 30px rgba(252, 89, 2, 0.23);
  }
}

@keyframes section-scan {
  0%,
  35% {
    transform: translateX(-100%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  75%,
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes line-run {
  from {
    transform: translateX(-45%);
  }

  to {
    transform: translateX(45%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 22px rgba(252, 89, 2, 0.5);
  }

  50% {
    box-shadow: 0 0 48px rgba(252, 89, 2, 0.92);
  }
}

@media (max-width: 900px) {
  .hero-stats,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .mini-stat,
  .token-card {
    text-align: left;
  }

  .bounty-card {
    flex-basis: 100%;
  }

  .carousel-button-prev {
    left: 8px;
  }

  .carousel-button-next {
    right: 8px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 46px;
  }

  .hero-collage {
    inset: -22vmax;
    transform: rotate(-9deg) scale(1.18);
  }

  .collage-track {
    grid-template-columns: repeat(8, minmax(130px, 1fr));
  }

  .hero-card {
    transform: rotate(-1deg);
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .carousel {
    width: min(100%, 430px);
  }

  .carousel-button {
    width: 42px;
    height: 42px;
  }
}

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