:root {
  --navy-0: #020814;
  --navy-1: #06142c;
  --navy-2: #0a1f4a;
  --royal: #0d3d8f;
  --royal-2: #1760d4;
  --ice: #eef4ff;
  --mist: #9eb4d8;
  --line: rgba(170, 200, 255, 0.16);
  --sun: #ff7a00;
  --gold: #ffd54a;
  --glass: rgba(6, 18, 44, 0.62);
  --display: "Sora", "Segoe UI", sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--sans);
  background: var(--navy-0);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(23, 96, 212, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 12%, rgba(255, 122, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #031028 0%, #020814 100%);
}

.stage-grid {
  position: absolute;
  inset: -8%;
  background-image:
    linear-gradient(rgba(140, 180, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(58deg) scale(1.35);
  transform-origin: center top;
  animation: gridDrift 28s linear infinite;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

.stage-sphere {
  position: absolute;
  inset: 8% 12% auto;
  height: 52vh;
  border-radius: 50%;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 26px,
      rgba(186, 212, 255, 0.05) 26px 27px
    );
  filter: blur(0.2px);
  opacity: 0.55;
  animation: spherePulse 10s ease-in-out infinite;
}

.stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.stage-glow-a {
  width: 42vw;
  height: 42vw;
  left: -8vw;
  top: 18vh;
  background: rgba(19, 74, 168, 0.35);
}

.stage-glow-b {
  width: 30vw;
  height: 30vw;
  right: -6vw;
  bottom: 8vh;
  background: rgba(255, 122, 0, 0.16);
}

.stage-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(2, 8, 20, 0.78) 100%),
    repeating-radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 3px);
}

#tapeField {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.preload {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #020814;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preload.is-out {
  opacity: 0;
  visibility: hidden;
}

.preload-mark {
  text-align: center;
}

.preload-arrow {
  width: 180px;
  height: 98px;
}

.preload-arrow path {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 1.2s ease forwards;
}

.preload-mark p {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.is-on {
  background: rgba(4, 14, 32, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 213, 74, 0.35), 0 0 18px rgba(255, 122, 0, 0.35);
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}

.brand small {
  display: block;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 28, 64, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.icon-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.icon-link[data-link="x"] img,
.btn[data-link="x"] img,
.head-link[data-link="x"] img {
  filter: none;
}

.icon-link[data-link="dexscreener"] img,
.btn[data-link="dexscreener"] img,
.head-link[data-link="dexscreener"] img,
.chart-wait img {
  filter: none;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 213, 74, 0.5);
}

.buy-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sun), var(--gold));
  color: #1a0d00;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.28);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  align-content: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
}

.sheet {
  position: fixed;
  inset: 72px 16px auto;
  z-index: 39;
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 14, 32, 0.94);
}

.sheet.is-open {
  display: flex;
}

.sheet a {
  font-family: var(--display);
}

main,
.foot {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 6vw 90px;
  overflow: hidden;
}

.hero-reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-reel.is-live {
  opacity: 0.18;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.portrait {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.portrait-ring,
.portrait-ring.delay {
  position: absolute;
  inset: -6%;
  border: 1px solid rgba(255, 213, 74, 0.28);
  border-radius: 36px;
  animation: ringBreathe 6s ease-in-out infinite;
}

.portrait-ring.delay {
  inset: -12%;
  border-color: rgba(140, 180, 255, 0.2);
  animation-delay: -2s;
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 10px rgba(8, 24, 56, 0.55),
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(255, 122, 0, 0.18);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.portrait-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 213, 74, 0.16), transparent);
  animation: scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.orbit {
  position: absolute;
  padding: 6px 10px;
  border: 1px solid rgba(186, 212, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 16, 40, 0.72);
  color: #d7e6ff;
  font-family: var(--mono);
  font-size: 11px;
  backdrop-filter: blur(8px);
  animation: float 5.5s ease-in-out infinite;
}

.o1 { top: 8%; right: -6%; color: #8cffb4; }
.o2 { bottom: 18%; right: -10%; animation-delay: -1.2s; }
.o3 { top: 28%; left: -12%; animation-delay: -2s; }
.o4 { bottom: 6%; left: 4%; color: var(--gold); animation-delay: -3s; }

.kicker {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 12px 0 10px;
}

.word {
  display: block;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.45),
    0 0 22px rgba(255, 255, 255, 0.28);
}

.sym {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 16px;
}

.thesis {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
}

.lede {
  max-width: 560px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.7;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.ca-box span {
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca-box code {
  flex: 1;
  overflow: hidden;
  color: #dce8ff;
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-box button {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 213, 74, 0.14);
  color: var(--gold);
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.btn-sun {
  background: linear-gradient(135deg, var(--sun), var(--gold));
  color: #1a0d00;
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.28);
}

.btn-sun[data-link="x"] img {
  filter: brightness(0);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(8, 22, 52, 0.55);
}

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

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
}

.pills li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
}

.sweep {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 34vh;
  pointer-events: none;
  opacity: 0.8;
}

.sweep path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.1s 0.4s ease forwards;
}

.section {
  padding: 90px 6vw;
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 36px;
}

.idx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.head-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  font-size: 13px;
}

.head-link img {
  width: 16px;
  height: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.brief,
.spark-card,
.facts,
.ticket,
.terminal,
.press {
  border: 1px solid var(--line);
  background: rgba(6, 18, 44, 0.58);
  backdrop-filter: blur(14px);
}

.brief {
  padding: 32px;
  border-radius: 24px;
}

.brief h3,
.ticket-body h3,
.press h3 {
  font-family: var(--display);
  margin-bottom: 12px;
}

.brief p,
.ticket-body p,
.press p,
.spark-card p {
  color: var(--mist);
  line-height: 1.75;
}

.brief p + p {
  margin-top: 14px;
}

.brief blockquote {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 2px solid var(--sun);
  color: var(--ice);
  font-family: var(--display);
}

.about-side {
  display: grid;
  gap: 16px;
}

.spark-card {
  padding: 20px;
  border-radius: 20px;
}

.spark-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
}

.spark-top b {
  color: #8cffb4;
}

.spark {
  width: 100%;
  height: 110px;
  margin: 8px 0;
}

.spark-line {
  fill: none;
  stroke: url(#none);
  stroke: #ffb43a;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(255, 122, 0, 0.55));
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}

.spark-card.is-on .spark-line {
  animation: draw 1.6s ease forwards;
}

.facts {
  list-style: none;
  padding: 8px 18px;
  border-radius: 20px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.facts li:last-child {
  border-bottom: 0;
}

.facts span {
  color: var(--mist);
  font-family: var(--mono);
  font-size: 12px;
}

.blotter {
  display: grid;
  gap: 14px;
  list-style: none;
}

.ticket {
  display: grid;
  grid-template-columns: 72px 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ticket:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 213, 74, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.ticket::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sun), var(--gold));
}

.ticket-no {
  font-family: var(--display);
  font-size: 28px;
  color: rgba(255, 213, 74, 0.8);
}

.ticket-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.ticket-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ticket-icon.sol img {
  width: 34px;
  height: 34px;
}

.ticket-body a {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
}

.terminal {
  border-radius: 22px;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 28, 0.8);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d4d6e;
}

.dots i:first-child { background: #ff7a00; }
.dots i:nth-child(2) { background: #ffd54a; }

.terminal-bar p {
  flex: 1;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.live {
  color: #8cffb4;
  font-family: var(--mono);
  font-size: 11px;
}

.live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #8cffb4;
  box-shadow: 0 0 10px #8cffb4;
  animation: pulse 1.4s ease-in-out infinite;
}

.terminal-body {
  position: relative;
  height: 640px;
  background: #0b1220;
}

.terminal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-wait {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  text-align: center;
  gap: 12px;
  color: var(--mist);
  background: rgba(6, 14, 28, 0.86);
}

.chart-wait.is-on {
  display: grid;
}

.chart-wait img {
  width: 42px;
  margin: 0 auto;
}

.press {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 28px;
  overflow: hidden;
}

.press-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #06142c;
}

.press .btn img {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
}

.press figcaption {
  padding: 36px 32px;
  display: grid;
  align-content: center;
}

.press h3 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.press .hero-actions {
  margin-top: 22px;
}

.foot {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 6vw 64px;
  text-align: center;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a:hover {
  color: var(--gold);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sun), var(--gold));
  color: #1a0d00;
  font-family: var(--display);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 56px; }
}

@keyframes spherePulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.03); }
}

@keyframes ringBreathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 980px) {
  .nav-links,
  .buy-chip {
    display: none;
  }

  .burger {
    display: grid;
  }

  .hero-layout,
  .about-grid,
  .press {
    grid-template-columns: 1fr;
  }

  .head-link {
    display: none;
  }

  .ticket {
    grid-template-columns: 48px 56px 1fr;
  }

  .terminal-body {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 14px;
  }

  .hero {
    padding: 104px 18px 70px;
  }

  .section {
    padding: 70px 18px;
  }

  .orbit {
    display: none;
  }

  .word {
    font-size: 48px;
  }

  .ca-box {
    flex-wrap: wrap;
  }

  .ticket {
    grid-template-columns: 1fr;
  }

  .press figcaption {
    padding: 24px 20px 28px;
  }
}

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