/* Citizen Vigilante ($VIGILANTE) - comic/noir Solana meme theme */
:root {
  color-scheme: dark;
  --black: #07080a;
  --panel: #0e0f13;
  --panel-2: #14161c;
  --red: #c10f1c;
  --red-glow: #ff2230;
  --crimson: #8a0a13;
  --silver: #c9ccd4;
  --steel: #6b7280;
  --ink: #e9ebef;
  --muted: #9aa0ab;
  --gold: #e7b54a;
  --comic: "Bangers", Impact, fantasy;
  --display: "Anton", Impact, sans-serif;
  --body: "Oswald", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0.98)),
    url("vigil1.jpg") center / cover fixed no-repeat;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.65) 1px, transparent 1.5px);
  background-size: 7px 7px;
}

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

button {
  font: inherit;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 4px;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

.btn-red {
  background: linear-gradient(180deg, var(--red-glow), var(--red));
  color: #fff;
  box-shadow: 0 6px 22px rgba(193, 15, 28, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-red:hover,
.btn-red:focus-visible {
  box-shadow: 0 8px 30px rgba(255, 34, 48, 0.72);
}

.btn-ghost {
  border-color: var(--steel);
  background: rgba(255, 255, 255, 0.035);
  color: var(--silver);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--red-glow);
  color: #fff;
  box-shadow: 0 6px 22px rgba(193, 15, 28, 0.32);
}

.btn-mini {
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  clip-path: none;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(193, 15, 28, 0.35);
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.96), rgba(7, 8, 10, 0.62));
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.brand-token {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 34, 48, 0.75);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3b1016, #08090b 70%);
  color: #fff;
  font-family: var(--display);
  filter: drop-shadow(0 2px 6px rgba(193, 15, 28, 0.55));
}

.brand span:last-child {
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.brand em {
  color: var(--red-glow);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  position: relative;
  padding: 0.2rem 0;
  color: var(--silver);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red-glow);
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-buy {
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: var(--display);
  letter-spacing: 1px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("vigil1.jpg") center 22% / cover no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(193, 15, 28, 0.32), transparent 54%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.52) 0%, rgba(7, 8, 10, 0.84) 58%, var(--black) 100%);
}

.halftone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: screen;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1.4px);
  background-size: 7px 7px;
}

.slash {
  position: absolute;
  width: min(60vw, 520px);
  height: 22px;
  background: rgba(193, 15, 28, 0.52);
  transform: rotate(-16deg);
  filter: blur(0.2px);
}

.slash-one {
  top: 20%;
  left: -10%;
}

.slash-two {
  right: -12%;
  bottom: 22%;
  background: rgba(231, 181, 74, 0.36);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 94%);
  padding: 6rem 1rem 4rem;
}

.hero-logo {
  width: min(220px, 50vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 5px solid rgba(255, 34, 48, 0.8);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 34, 48, 0.32), transparent 42%),
    linear-gradient(135deg, rgba(7, 8, 10, 0.8), rgba(20, 22, 28, 0.95));
  color: #fff;
  font-family: var(--display);
  font-size: clamp(3.8rem, 12vw, 7rem);
  letter-spacing: 1px;
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.35), 0 8px 34px rgba(193, 15, 28, 0.65);
  animation: floaty 5s ease-in-out infinite;
}

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

.hero-title {
  color: #fff;
  font-family: var(--comic);
  font-size: clamp(3.2rem, 11vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 2px;
  text-shadow: 4px 4px 0 var(--crimson), 7px 7px 0 rgba(0, 0, 0, 0.68);
}

.hero-title span {
  display: block;
  color: var(--red-glow);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45);
}

.ticker-badge {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.4rem 1.4rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 4px;
}

.hero-tagline {
  margin-bottom: 0.7rem;
  color: var(--silver);
  font-family: var(--display);
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  font-style: italic;
  text-shadow: 0 2px 10px #000;
}

.hero-copy {
  max-width: 48rem;
  margin: 0 auto 2rem;
  color: rgba(233, 235, 239, 0.82);
  font-size: 1.16rem;
}

.hero-cta,
.socials,
.join-buttons,
.chart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-cta {
  margin-bottom: 2.2rem;
}

.social {
  min-width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0 0.8rem;
  border: 1px solid rgba(201, 204, 212, 0.34);
  border-radius: 50%;
  background: rgba(14, 15, 19, 0.72);
  color: var(--silver);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-pump {
  width: auto;
  border-radius: 999px;
  text-transform: lowercase;
}

.social-pump span {
  color: var(--red-glow);
}

.social:hover,
.social:focus-visible {
  transform: translateY(-3px);
  border-color: var(--red-glow);
  color: #fff;
  outline: none;
  box-shadow: 0 0 22px rgba(193, 15, 28, 0.44);
}

.copy-social.is-copied,
.btn-mini.is-copied {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--red-glow);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-title {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title span {
  color: var(--red-glow);
}

.centered,
.section-subtitle {
  text-align: center;
}

.section-subtitle {
  margin: -0.2rem auto 2.5rem;
  color: var(--silver);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
}

.about {
  background: linear-gradient(180deg, var(--black), var(--panel));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.comic-frame {
  position: relative;
  padding: 0.7rem;
  border: 4px solid #fff;
  background: #07080a;
  box-shadow: 12px 12px 0 var(--crimson), 0 14px 40px rgba(0, 0, 0, 0.6);
  transform: rotate(-2deg);
}

.comic-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: contrast(1.15) saturate(0.72);
}

.comic-pow {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  padding: 0.25rem 0.8rem;
  border: 3px solid #111;
  background: var(--gold);
  color: #111;
  font-family: var(--comic);
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 1px;
  transform: rotate(7deg);
}

.lead {
  margin-bottom: 0.8rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.about-text p,
.chart p,
.risk-note {
  margin-bottom: 1rem;
  color: var(--silver);
  font-size: 1.12rem;
}

.muted {
  color: var(--muted) !important;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.6rem;
  border: 1px solid rgba(255, 34, 48, 0.45);
  background: rgba(255, 34, 48, 0.45);
}

.stat {
  min-height: 5.8rem;
  display: grid;
  place-items: center;
  background: rgba(7, 8, 10, 0.76);
  text-align: center;
}

.stat strong {
  color: var(--red-glow);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--silver);
  font-weight: 700;
  text-transform: uppercase;
}

.how {
  background:
    linear-gradient(180deg, rgba(14, 15, 19, 0.98), rgba(7, 8, 10, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 34, 48, 0.09) 0 2px, transparent 2px 12px);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  position: relative;
  min-height: 16.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(201, 204, 212, 0.18);
  background: linear-gradient(180deg, rgba(20, 22, 28, 0.94), rgba(10, 11, 14, 0.94));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.step-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-top: 4px solid var(--red);
}

.step-num {
  display: inline-block;
  margin-bottom: 2.6rem;
  color: var(--red-glow);
  font-family: var(--display);
  font-size: 1.45rem;
}

.step-card h3 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.step-card p {
  color: var(--muted);
  font-size: 1rem;
}

.ca-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 34, 48, 0.42);
  background: rgba(7, 8, 10, 0.74);
}

.ca-box span {
  color: var(--red-glow);
  font-family: var(--display);
  letter-spacing: 1.5px;
}

.ca-box code {
  min-width: 0;
  color: #fff;
  font-family: Consolas, "SFMono-Regular", monospace;
  overflow-wrap: anywhere;
}

.chart {
  background: linear-gradient(180deg, var(--black), #101116);
}

.chart-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(20rem, 1.28fr);
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(201, 204, 212, 0.16);
  background:
    linear-gradient(135deg, rgba(193, 15, 28, 0.24), transparent 42%),
    rgba(14, 15, 19, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.chart-copy {
  align-self: start;
}

.chart-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 2px solid rgba(255, 34, 48, 0.44);
  border-radius: 4px;
  background: #050608;
  box-shadow: 10px 10px 0 var(--crimson), 0 16px 42px rgba(0, 0, 0, 0.62);
}

.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-actions {
  grid-column: 1 / -1;
  justify-content: center;
  padding-top: 0.5rem;
}

.join {
  min-height: 72vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(193, 15, 28, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.72), rgba(7, 8, 10, 0.96)),
    url("vigil1.jpg") center / cover no-repeat;
  text-align: center;
}

.join-inner {
  max-width: 880px;
}

.join-tagline {
  margin-bottom: 1.6rem;
  color: var(--silver);
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
}

.risk-note {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1rem;
  border: 1px solid rgba(231, 181, 74, 0.42);
  background: rgba(7, 8, 10, 0.7);
  color: rgba(233, 235, 239, 0.76);
  font-size: 0.98rem;
}

.footer {
  border-top: 1px solid rgba(193, 15, 28, 0.34);
  background: #050608;
}

.footer-inner {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--muted);
}

.footer strong,
.footer a {
  color: #fff;
  font-family: var(--display);
  letter-spacing: 1px;
}

.footer a {
  color: var(--red-glow);
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid rgba(193, 15, 28, 0.35);
    background: rgba(7, 8, 10, 0.97);
  }

  .nav-links.is-open a {
    padding: 1rem clamp(1rem, 4vw, 2.5rem);
    border-top: 1px solid rgba(201, 204, 212, 0.1);
  }

  .about-grid,
  .chart-panel {
    grid-template-columns: 1fr;
  }

  .chart-frame {
    min-height: 460px;
  }

  .chart-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 9.5rem;
    font-size: 0.95rem;
    line-height: 1.05;
  }

  .hero-inner {
    padding-top: 7rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-cta,
  .join-buttons,
  .chart-actions {
    align-items: stretch;
  }

  .chart-frame {
    min-height: 420px;
    box-shadow: 6px 6px 0 var(--crimson), 0 12px 32px rgba(0, 0, 0, 0.58);
  }

  .socials {
    gap: 0.6rem;
  }

  .steps-grid,
  .stat-strip,
  .ca-box {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 13rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
