:root {
  --gold: #e31937;
  --gold-bright: #ff4d5a;
  --gold-deep: #8f1020;
  --cream: #f4f6f8;
  --fur: #c8ccd2;
  --fur-dark: #7a808a;
  --ink: #e8edf2;
  --ink-soft: #9aa3ad;
  --card: rgba(16, 18, 24, 0.72);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --red: #e31937;
  --red-hot: #ff2a3c;
  --red-deep: #7a0d18;
  --steel: #c5ccd4;
  --steel-dark: #2a3038;
  --void: #05060a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Chakra Petch", system-ui, sans-serif;
  color: var(--ink);
  background: var(--void);
}

.site-frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background-color: #2a2e34;
  background-image:
    radial-gradient(900px 420px at 18% 8%, rgba(227, 25, 55, 0.22) 0%, transparent 58%),
    radial-gradient(700px 380px at 88% 18%, rgba(255, 60, 80, 0.1) 0%, transparent 55%),
    radial-gradient(1100px 520px at 50% 100%, rgba(180, 12, 28, 0.16) 0%, transparent 60%),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.14) 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.1) 72%,
      rgba(255, 255, 255, 0.06) 100%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.09) 0px,
      rgba(255, 255, 255, 0.09) 1px,
      rgba(0, 0, 0, 0.08) 1px,
      rgba(0, 0, 0, 0.08) 2px
    ),
    linear-gradient(180deg, #3a3f46 0%, #2c3036 50%, #232228 100%);
}

.stars,
.stars-2 {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stars {
  background-image:
    radial-gradient(1px 1px at 8% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 18%, #ffe8ea 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 14%, #cfd8e0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 91% 42%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 14% 72%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 86%, #ffd0d4 50%, transparent 51%),
    radial-gradient(1px 1px at 56% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 81%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 70%, #cfd8e0 50%, transparent 51%);
  opacity: 0.85;
  animation: star-drift 28s linear infinite;
}

.stars-2 {
  background-image:
    radial-gradient(1px 1px at 18% 24%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 52%, #ffb3b8 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 96% 88%, #fff 50%, transparent 51%);
  opacity: 0.55;
  animation: star-drift 46s linear infinite reverse;
}

.cyber-grid {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8%;
  height: 48%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(227, 25, 55, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 204, 212, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(420px) rotateX(58deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 78%);
  opacity: 0.55;
}

.brush-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.metal-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0 1px,
      transparent 1px 2px
    ),
    linear-gradient(180deg, #9aa3ad, #6a727c);
  filter: url("#steel-brush");
}

.metal-shine {
  pointer-events: none;
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 42%;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 230, 232, 0.28) 50%,
    rgba(227, 25, 55, 0.18) 58%,
    transparent 72%
  );
  filter: blur(8px);
  animation: metal-gleam 9s ease-in-out infinite;
}

@keyframes metal-gleam {
  0% { transform: translateX(-10%) skewX(-16deg); opacity: 0.15; }
  35% { opacity: 0.85; }
  70% { opacity: 0.35; }
  100% { transform: translateX(280%) skewX(-16deg); opacity: 0.1; }
}

@keyframes star-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-40px); }
}

@media (prefers-reduced-motion: reduce) {
  .metal-shine { animation: none; opacity: 0.45; transform: translateX(40%) skewX(-16deg); }
  .stars, .stars-2 { animation: none; }
}

.topbar, main, .closing, .bottom-shot, footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: 720px;
  width: calc(100% - 44px);
  margin: 0 auto;
  padding: 18px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand strong {
  font-family: "Michroma", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #f4f7fb;
  text-shadow:
    0 0 12px rgba(227, 25, 55, 0.45),
    0 1px 0 #1a1e24;
}

.brand em {
  font-style: normal;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(227, 25, 55, 0.55);
}

.coin-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  border: 2px solid #e8edf2;
  box-shadow:
    0 0 0 1px #8a1020,
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(227, 25, 55, 0.55),
    inset 0 0 12px rgba(255, 80, 90, 0.25);
  background: #1a0a0e;
}

.social-nav {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 2px solid #c5ccd4;
  background: linear-gradient(180deg, #2a3038, #101318);
  color: #f2f5f8;
  text-decoration: none;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 0 16px rgba(227, 25, 55, 0.2);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pill-dl:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3a1018, #14080c);
  box-shadow: 0 0 22px rgba(227, 25, 55, 0.45);
}

.pill-dl svg {
  display: block;
  flex-shrink: 0;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid #c5ccd4;
  background: linear-gradient(180deg, #2a3038, #101318);
  color: #f2f5f8;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(227, 25, 55, 0.18);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.icon-link svg {
  display: block;
}

.icon-tg svg {
  transform: translate(1px, 0);
}

.icon-fomo {
  overflow: hidden;
}

.fomo-mark {
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: url("./fomo-mask.png") center / contain no-repeat;
  mask: url("./fomo-mask.png") center / contain no-repeat;
}

.icon-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3a1018, #14080c);
  box-shadow: 0 0 22px rgba(227, 25, 55, 0.45);
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 22px 12px;
  text-align: center;
}

h1 {
  font-family: "Audiowide", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.25rem, 4.2vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 auto 26px;
  width: 100%;
  text-align: center;
  color: #f4f7fb;
  -webkit-text-fill-color: #f4f7fb;
  text-shadow:
    0 0 18px rgba(227, 25, 55, 0.45),
    0 1px 0 #8f1020,
    0 2px 0 #2a0a10,
    0 3px 10px rgba(0, 0, 0, 0.55);
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-shot {
  margin: 0 auto 28px;
  max-width: 720px;
  overflow: hidden;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(227, 25, 55, 0.35),
    0 0 40px rgba(227, 25, 55, 0.18);
  border: 2px solid #c5ccd4;
  background: #12080c;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.trade-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 2px solid #c5ccd4;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Audiowide", "Chakra Petch", sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-gold {
  color: #fff7f8;
  background: linear-gradient(180deg, #ff5a66, #e31937 42%, #8f1020);
  box-shadow: 0 8px 18px rgba(142, 16, 32, 0.55), 0 0 24px rgba(227, 25, 55, 0.45);
}

.btn-outline {
  color: #f2f5f8;
  background: linear-gradient(180deg, rgba(197, 204, 212, 0.22), rgba(16, 18, 24, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.stats {
  max-width: 920px;
  margin: 0 auto 36px;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-box,
.telemetry,
.ca-card,
.closing-panel,
.hero-shot {
  position: relative;
  border-radius: 8px;
}

.telemetry,
.ca-card {
  background-color: rgba(12, 14, 18, 0.86);
  background-image:
    linear-gradient(rgba(227, 25, 55, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 204, 212, 0.14) 1px, transparent 1px);
  background-size: 20px 20px;
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #c5ccd4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(227, 25, 55, 0.08);
}

.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 18px 16px;
  text-align: center;
  backdrop-filter: none;
}

.telemetry .card + .card {
  border-left: 1px solid rgba(197, 204, 212, 0.28);
}

.card .label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}

.card strong {
  font-size: 1.15rem;
  font-family: "Audiowide", "Chakra Petch", sans-serif;
  letter-spacing: 0.06em;
}

.ca-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid #c5ccd4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ca-card .label {
  margin: 0;
  grid-column: auto;
}

.ca-card code {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: clamp(0.7rem, 2.4vw, 0.92rem);
  word-break: break-all;
  color: #d7dee6;
}

.copy-btn {
  border: 2px solid #c5ccd4;
  border-radius: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #e31937, #8f1020);
  color: #fff7f8;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn:hover { background: linear-gradient(180deg, #ff2a3c, #7a0d18); }

.closing {
  max-width: 1080px;
  margin: 0 auto 28px;
  padding: 0 22px;
}

.closing-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  background-color: #090b10;
  background-image:
    linear-gradient(rgba(227, 25, 55, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 204, 212, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid #c5ccd4;
  box-shadow: var(--shadow), 0 0 28px rgba(227, 25, 55, 0.16);
}

.bottom-shot {
  width: 100%;
  margin: 0;
  min-height: 100%;
}

.bottom-shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: none;
  object-fit: cover;
  object-position: center 45%;
}

footer {
  background: transparent;
  color: #c8ccd2;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-left: 1px solid rgba(197, 204, 212, 0.2);
}

.disclaimer {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #b4bcc6;
}

.disclaimer strong { color: var(--gold-bright); }

.foot-note {
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a929c;
  font-family: "Space Mono", ui-monospace, monospace;
}

@media (max-width: 720px) {
  .telemetry { grid-template-columns: 1fr; }
  .telemetry .card + .card { border-left: 0; border-top: 1px solid rgba(197, 204, 212, 0.28); }
  .ca-card { grid-template-columns: 1fr auto; }
  .ca-card .label { grid-column: 1 / -1; }
  .closing-panel { grid-template-columns: 1fr; }
  footer { border-left: 0; border-top: 1px solid rgba(197, 204, 212, 0.2); }
  .topbar { grid-template-columns: 1fr; justify-items: center; }
  .social-nav { justify-self: center; }
  .coin-logo { width: 72px; height: 72px; }
  .btn { min-width: 46%; }
  h1 span { white-space: normal; }
}
