:root {
  --bg: #05070d;
  --panel: rgba(9, 17, 31, 0.78);
  --panel-strong: rgba(15, 28, 48, 0.92);
  --text: #f5f8ff;
  --muted: #a7b7cc;
  --line: rgba(100, 220, 255, 0.2);
  --cyan: #00d9ff;
  --blue: #126dff;
  --silver: #d7dde8;
  --steel: #65748a;
  --warning: #f4d27a;
  --radius: 8px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Orbitron", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 217, 255, 0.22), transparent 32rem),
    linear-gradient(135deg, #03050a 0%, #081529 45%, #02040a 100%);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    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: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

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

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

.chain-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(3, 7, 14, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(0, 217, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 90px) clamp(18px, 6vw, 84px);
}

.hero-copy,
.wallet-copy,
.section-heading {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.8rem, 8vw, 8.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(0, 217, 255, 0.45);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-text,
.wallet-copy p,
.feature-card p,
.timeline p,
.legal-grid p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions,
.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.wallet-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #001019;
  background: linear-gradient(135deg, var(--cyan), var(--silver));
  box-shadow: 0 0 28px rgba(0, 217, 255, 0.32);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div,
.feature-card,
.legal-grid article,
.timeline article,
.supply-panel,
.wallet-device {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics dt {
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 7px 0 0;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(48vw, 560px);
}

.hero-visual img {
  width: min(82vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 44px rgba(0, 217, 255, 0.46), 0 32px 90px rgba(0, 0, 0, 0.62);
  animation: floatToken 5s ease-in-out infinite;
}

.orbital-ring {
  position: absolute;
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: 50%;
}

.ring-one {
  width: min(90vw, 560px);
  height: min(90vw, 560px);
  animation: spin 18s linear infinite;
}

.ring-two {
  width: min(70vw, 430px);
  height: min(70vw, 430px);
  border-style: dashed;
  animation: spin 12s linear infinite reverse;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 84px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) 1.3fr;
  gap: 28px;
}

.feature-grid,
.legal-grid,
.timeline {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.legal-grid article,
.timeline article {
  padding: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #001019;
  background: var(--cyan);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
}

.wallet-section {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-block: 1px solid var(--line);
}

.wallet-device {
  padding: 18px;
  background: linear-gradient(160deg, rgba(16, 30, 52, 0.96), rgba(3, 7, 14, 0.96));
}

.wallet-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.wallet-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.75;
}

.wallet-device img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
}

.wallet-balance {
  margin: 18px 0;
  padding: 18px;
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wallet-balance span,
.supply-panel span,
.wallet-feed span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.wallet-balance strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.wallet-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.wallet-actions button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
}

.wallet-feed {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.wallet-feed p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
}

.security-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.security-list div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
}

.security-list strong,
.security-list span {
  display: block;
}

.security-list span {
  margin-top: 6px;
  color: var(--muted);
}

.tokenomics-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) 1.25fr;
  gap: 18px;
  margin-top: 24px;
}

.supply-panel {
  display: grid;
  align-content: center;
  padding: 28px;
  min-height: 260px;
}

.supply-panel strong {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
}

.supply-panel em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.allocation-list {
  display: grid;
  gap: 12px;
}

.allocation-list div {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.allocation-list div::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--size);
  content: "";
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.26), transparent);
}

.allocation-list span,
.allocation-list strong {
  position: relative;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.timeline article span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.disclaimer {
  margin-top: 18px;
  padding: 18px;
  color: #fff7d7;
  background: rgba(244, 210, 122, 0.11);
  border: 1px solid rgba(244, 210, 122, 0.36);
  border-radius: var(--radius);
  line-height: 1.65;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(20px, 5vw, 56px);
  padding: clamp(26px, 5vw, 54px);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
  font-family: var(--font-display);
}

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

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

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .wallet-section,
  .tokenomics-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 75px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(3, 7, 14, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero-metrics,
  .feature-grid,
  .timeline,
  .legal-grid,
  .wallet-actions {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .cta-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
