@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/Oswald-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/Oswald-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Share Tech Mono";
  src: url("assets/fonts/ShareTechMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #070b16;
  --navy-2: #10182b;
  --navy-3: #18233b;
  --cream: #f6f1e6;
  --muted: #b8c0d4;
  --red: #e0182e;
  --red-hot: #ff3b3b;
  --blue: #2f6bff;
  --gold: #f5c518;
  --line: rgba(246, 241, 230, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html, body {
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--cream);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(224, 24, 46, 0.22), transparent 55%),
    radial-gradient(800px 480px at 110% 8%, rgba(47, 107, 255, 0.2), transparent 50%),
    radial-gradient(700px 500px at 50% 120%, rgba(224, 24, 46, 0.12), transparent 55%),
    var(--navy);
  line-height: 1.55;
}

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

.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0px,
    rgba(0, 0, 0, 0.16) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
}

a {
  color: #8eb4ff;
  text-underline-offset: 0.18em;
}

a:hover { color: #fff; }

.cashtag {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  letter-spacing: 0.02em;
}

.status-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 22, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.status-bar__inner {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0.7rem 1.25rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  align-items: center;
  justify-content: center;
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(224, 24, 46, 0.7);
  animation: pulse 1.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 24, 46, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(224, 24, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 24, 46, 0); }
}

.sep { color: rgba(246, 241, 230, 0.35); }

.ticker-inline { color: var(--cream); }

main {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 4rem;
}

.hero {
  text-align: center;
  padding: 2.4rem 0 1rem;
}

.kicker {
  margin: 0 0 1.2rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo {
  display: block;
  width: min(420px, 88vw);
  height: auto;
  margin: 0 auto 1.15rem;
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow: var(--shadow), 0 0 0 6px #0b1020, 0 0 0 8px var(--red);
  background: #fff;
}

.ticker {
  margin: 0 0 0.35rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 3px 3px 0 #8b1020, 0 0 24px rgba(224, 24, 46, 0.35);
}

.cursor {
  display: inline-block;
  width: 0.12em;
  height: 0.78em;
  margin-left: 0.12em;
  background: var(--gold);
  vertical-align: -0.05em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.tag-sub {
  max-width: 34rem;
  margin: 1rem auto 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
}

.ca-box {
  max-width: 42rem;
  margin: 0 auto 1.35rem;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow);
}

.ca-box__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: var(--navy-3);
  border-bottom: 1px solid var(--line);
}

.traffic {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #febc2e 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #28c840 4px, transparent 5px);
}

.ca-box__label {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ca-box__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 0.9rem 0.7rem;
}

#contract-address {
  flex: 1;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: clamp(0.7rem, 2.6vw, 0.95rem);
  color: #d6e4ff;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.4;
}

.copy-btn {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid rgba(246, 241, 230, 0.3);
  background: transparent;
  color: var(--cream);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: #fff;
  color: var(--navy);
  outline: none;
}

.copy-feedback {
  min-height: 1.2em;
  margin: 0 0.9rem 0.65rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #7dff9a;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 1rem;
  margin-top: 0.15rem;
}

.buy-btn,
.tg-btn {
  display: inline-block;
  padding: 0.95rem 1.7rem;
  text-decoration: none;
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.buy-btn {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 0 #8b1020, 0 14px 28px rgba(224, 24, 46, 0.28);
}

.tg-btn {
  background: #1b8ec9;
  color: #fff;
  box-shadow: 0 8px 0 #0f5f86, 0 14px 28px rgba(27, 142, 201, 0.28);
}

.buy-btn:hover,
.buy-btn:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #8b1020, 0 18px 32px rgba(224, 24, 46, 0.35);
}

.tg-btn:hover,
.tg-btn:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #0f5f86, 0 18px 32px rgba(27, 142, 201, 0.35);
}

.buy-btn:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #8b1020;
}

.tg-btn:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #0f5f86;
}

.buy-note {
  margin: 1rem 0 0;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

/* #link-x stays hidden until an official X account exists. */
.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.socials:not(:has(a:not([hidden]))) { display: none; }
.socials[hidden],
.socials a[hidden] { display: none !important; }

.panel {
  margin: 2rem auto 0;
  padding: 1.6rem 1.5rem 1.7rem;
  background: rgba(16, 24, 43, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
}

h2 {
  margin: 0 0 0.9rem;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.panel p { margin: 0 0 0.9rem; color: var(--muted); font-size: 1.05rem; }
.panel p:last-child { margin-bottom: 0; }

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

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem 0.2rem;
  border-top: 1px solid var(--line);
}

.steps li:first-child { border-top: 0; padding-top: 0.2rem; }

.step-num {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  color: var(--red);
  font-size: 1.15rem;
  padding-top: 0.15rem;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.steps p { margin: 0; }

.footer {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: #8b93a7;
  font-size: 0.86rem;
}

.footer p { margin: 0 0 0.85rem; }
.footer code {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: #c9d3ea;
  overflow-wrap: anywhere;
}

.footer__meta {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 600px) {
  .ca-box__row {
    flex-direction: column;
    align-items: stretch;
  }
  .copy-btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .buy-btn,
  .tg-btn { width: min(22rem, 100%); text-align: center; }
  .panel { padding: 1.25rem 1rem 1.35rem; }
  .status-bar__inner { font-size: 0.68rem; }
}
