:root {
  --bg: #050404;
  --panel: rgba(20, 18, 16, 0.68);
  --panel-strong: rgba(31, 27, 22, 0.88);
  --line: rgba(255, 190, 99, 0.18);
  --orange: #ff8a1c;
  --amber: #ffc56a;
  --cream: #fff1cc;
  --muted: #a99f90;
  --text: #fff8eb;
  --red: #ff3d2e;
  --green: #39ff9c;
  --shadow: 0 0 34px rgba(255, 122, 24, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 124, 24, 0.18), transparent 34rem),
    radial-gradient(circle at 8% 36%, rgba(255, 61, 46, 0.09), transparent 25rem),
    linear-gradient(180deg, #050404 0%, #090807 42%, #030303 100%);
  font-family: Inter, system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

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

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

#particle-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grain,
.scanline,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 20;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.58'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.scanline {
  z-index: 21;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, 0.05) 8px);
}

.cursor-glow {
  z-index: 1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 20%), rgba(255, 139, 32, 0.16), transparent 62%);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 198, 107, 0.22);
  border-radius: 999px;
  background: rgba(6, 6, 5, 0.68);
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.social-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding-left: 8px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 187, 95, 0.48);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(255, 163, 56, 0.58);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--amber);
}

.header-cta,
.btn {
  border: 1px solid rgba(255, 186, 94, 0.34);
  border-radius: 999px;
  font-weight: 900;
}

.header-cta {
  padding: 10px 15px;
  color: #170d05;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: var(--shadow);
}

.section-shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding-top: 112px;
  padding-bottom: 46px;
  align-items: center;
}

.hero::before {
  position: absolute;
  inset: 16% -12% 0;
  z-index: -1;
  content: "";
  background: radial-gradient(closest-side, rgba(255, 139, 32, 0.26), transparent 66%);
  filter: blur(14px);
}

.hero-orbit {
  position: absolute;
  right: 4%;
  top: 18%;
  width: min(640px, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 199, 112, 0.17);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero-orbit::before {
  inset: 12%;
  border: 1px dashed rgba(255, 138, 28, 0.22);
}

.hero-orbit::after {
  top: 9%;
  left: 48%;
  width: 12px;
  height: 12px;
  background: var(--amber);
  box-shadow: 0 0 22px var(--orange);
}

.hero-media {
  position: absolute;
  right: -6%;
  bottom: 5%;
  width: min(760px, 66vw);
  opacity: 0.94;
  filter: drop-shadow(0 38px 80px rgba(255, 114, 20, 0.25));
}

.hero-media img {
  border-radius: 4px;
  mask-image: radial-gradient(circle at 48% 50%, black 45%, rgba(0, 0, 0, 0.82) 63%, transparent 80%);
  animation: float 6s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 138, 28, 0.58);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 890px;
  font-size: clamp(3.45rem, 10vw, 8.9rem);
  line-height: 0.86;
  text-shadow: 0 0 28px rgba(255, 138, 28, 0.28);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.1rem;
}

.hero-subtitle {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--cream);
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 700;
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  min-width: 164px;
  padding: 15px 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover,
.social-row a:hover,
.community-card:hover,
.tiktok-card:hover,
.phase-card:hover,
.proof-card:hover {
  transform: translateY(-4px);
}

.btn.primary {
  color: #130b05;
  background: linear-gradient(135deg, #fff0b9, var(--orange) 58%, #ff4f1f);
  box-shadow: 0 0 38px rgba(255, 127, 28, 0.34);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 26px rgba(255, 161, 41, 0.08);
}

.stats-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
  width: min(720px, 100%);
  margin: 64px auto 0;
}

.stat-card,
.community-card,
.tiktok-card,
.phase-card,
.proof-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(31, 26, 21, 0.82), rgba(8, 8, 8, 0.72));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32), inset 0 0 34px rgba(255, 147, 35, 0.04);
  backdrop-filter: blur(16px);
}

.stat-card {
  min-height: 126px;
  padding: 22px;
  border-radius: 8px;
}

.stat-card span,
.phase-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 18px;
  color: var(--cream);
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 187, 95, 0.2);
  background: rgba(255, 138, 28, 0.07);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.marquee span {
  padding: 18px 28px;
  color: var(--amber);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  white-space: nowrap;
}

.split-section,
.community-section,
.tiktok-section,
.proofs,
.social-section {
  padding: 112px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.lore-heading h2 {
  max-width: 860px;
}

.copy-block {
  color: #ded4c2;
  font-size: 1.08rem;
  line-height: 1.85;
}

.lore-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(255, 190, 99, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 138, 28, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(31, 26, 21, 0.58), rgba(8, 8, 8, 0.38));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.26), inset 0 0 34px rgba(255, 147, 35, 0.035);
  backdrop-filter: blur(14px);
}

.lore-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lore-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  border: 1px solid rgba(255, 190, 99, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 138, 28, 0.06);
  box-shadow: 0 0 48px rgba(255, 138, 28, 0.18);
}

.lore-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 138, 28, 0.12));
  mix-blend-mode: screen;
}

.lore-visual img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.copy-block p {
  margin: 0;
}

.copy-block p + p {
  margin-top: 20px;
}

.community-grid,
.tiktok-grid,
.phase-grid,
.proof-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.community-card,
.tiktok-card,
.phase-card,
.proof-card {
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phase-card li,
.proof-card figcaption {
  color: var(--muted);
}

.community-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.community-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
}

.community-card::before {
  position: absolute;
  right: -52px;
  top: -76px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 138, 28, 0.32), transparent 68%);
  filter: blur(4px);
}

.community-card span,
.tiktok-card span {
  display: block;
  color: var(--amber);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.community-card h3 {
  max-width: 420px;
  margin-top: 42px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.community-card p {
  max-width: 430px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.contract-address {
  padding: 14px 16px;
  border: 1px solid rgba(255, 190, 99, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--cream) !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92rem !important;
  overflow-wrap: anywhere;
}

.community-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
}

.community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 186, 94, 0.34);
  border-radius: 999px;
  color: #160d05;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 0 34px rgba(255, 138, 28, 0.26);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.community-link.secondary-link {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 22px rgba(255, 138, 28, 0.08);
}

.community-link svg,
.community-link img {
  width: 18px;
  height: 18px;
}

.community-link svg {
  fill: currentColor;
}

.community-link img {
  border-radius: 50%;
  object-fit: cover;
}

.tiktok-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.tiktok-card {
  min-height: 640px;
  padding: 14px;
  overflow: hidden;
}

.tiktok-card > span {
  padding: 10px 10px 14px;
}

.tiktok-card .tiktok-embed {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-radius: 6px;
}

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

.phase-grid {
  grid-template-columns: repeat(3, 1fr);
}

.phase-card {
  padding: 24px;
}

.phase-card h3 {
  margin-top: 14px;
  min-height: 48px;
}

.phase-card ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.phase-card li {
  position: relative;
  padding-left: 22px;
}

.phase-card li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: ">";
}

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.proof-card {
  min-height: 260px;
  margin: 0;
  padding: 24px;
}

.proof-card blockquote {
  margin: 0;
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}

.proof-card figcaption {
  margin-top: 28px;
}

.social-section {
  text-align: center;
}

.social-section h2 {
  max-width: 780px;
  margin: 0 auto;
}

.social-row {
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 186, 94, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 20px rgba(255, 138, 28, 0.08), 0 0 28px rgba(255, 138, 28, 0.16);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-row svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  filter: drop-shadow(0 0 10px rgba(255, 138, 28, 0.72));
}

footer {
  padding: 34px 16px 52px;
  color: var(--amber);
  text-align: center;
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.reveal.is-visible.community-card:hover,
.reveal.is-visible.tiktok-card:hover,
.reveal.is-visible.phase-card:hover,
.reveal.is-visible.proof-card:hover {
  border-color: rgba(255, 190, 99, 0.42);
  box-shadow: 0 22px 80px rgba(255, 117, 23, 0.14), inset 0 0 34px rgba(255, 147, 35, 0.08);
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    order: -1;
    width: 112%;
    margin: 0 -6% -28px;
  }

  .hero-copy {
    margin-top: -28px;
  }

  .stats-grid,
  .community-grid,
  .tiktok-grid,
  .phase-grid,
  .proof-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .lore-panel {
    grid-template-columns: 1fr;
  }

  .lore-visual {
    order: -1;
    min-height: 0;
  }

  .lore-visual img {
    min-height: 260px;
  }

}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  .brand {
    padding: 0 4px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-actions,
  .social-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .social-row a {
    width: 100%;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    min-height: 104px;
    padding: 16px;
  }

  .stat-card strong {
    font-size: clamp(1.65rem, 13vw, 2.45rem);
  }

  .split-section,
  .community-section,
  .tiktok-section,
  .proofs,
  .social-section {
    padding: 78px 0;
  }
}
