/* ============================================================
   $VLAD — THE GREEN ARROW  ·  comic-book meme site remake
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --ink: oklch(12% 0.03 150);
  --hood: oklch(72% 0.28 140);
  --hood-deep: oklch(55% 0.24 145);
  --paper: oklch(98% 0.02 100);
  --blood: oklch(55% 0.24 25);
  --radius: 0.625rem;
  --maxw: 80rem;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: inherit;
}
ol,
ul,
menu {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- BASE ---------- */
html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
body {
  background-color: var(--paper);
  color: var(--ink);
  background-image:
    radial-gradient(oklch(15% 0.05 150 / 0.08) 1px, transparent 1px),
    radial-gradient(oklch(72% 0.28 140 / 0.06) 1px, transparent 1px);
  background-position: 0 0, 11px 11px;
  background-size: 22px 22px, 40px 40px;
  font-family: "Patrick Hand", "Comic Sans MS", cursive;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  letter-spacing: 0.03em;
  font-family: "Bangers", Impact, sans-serif;
}

/* ---------- FONT HELPERS ---------- */
.bangers {
  letter-spacing: 0.04em;
  font-family: "Bangers", sans-serif;
}
.marker {
  font-family: "Permanent Marker", cursive;
}
.rock {
  font-family: "Rock Salt", cursive;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
.page {
  min-height: 100vh;
  overflow-x: hidden;
}
.section {
  padding-block: 4rem;
}

/* ---------- PANEL (the core comic frame) ---------- */
.panel {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 0 var(--ink);
  position: relative;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
a.panel:hover,
button.panel:hover {
  box-shadow: 10px 10px 0 0 var(--ink);
  animation: 0.5s wobble;
  transform: translate(-2px, -2px) rotate(0) scale(1.02) !important;
}
a.panel:active,
button.panel:active,
.panel.clicked {
  animation: 0.35s pop;
  box-shadow: 2px 2px 0 0 var(--ink) !important;
  transform: translate(4px, 4px) scale(0.96) !important;
}

/* ---------- HALFTONE ---------- */
.halftone {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image: radial-gradient(var(--ink) 1.2px, transparent 1.5px);
  background-size: 6px 6px;
}

/* ============================================================
   TICKER  (OLD running words line — kept for reference)
   ============================================================ */
/*
.ticker-bar {
  border-block: 4px solid var(--ink);
  background: var(--ink);
  color: var(--hood);
  overflow: hidden;
}
.ticker {
  display: flex;
  white-space: nowrap;
  font-size: 1.25rem;
  padding-block: 0.5rem;
  animation: 40s linear infinite ticker;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  flex-shrink: 0;
}
.t-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.t-item i {
  color: var(--hood-deep);
  font-style: normal;
}
*/

/* ---------- NEW: plain lime green line ---------- */
.ticker-bar {
  background-color: #32CD32; /* lime green */
  height: 8px;
  width: 100%;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo {
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
}
.nav-sub {
  font-size: 0.875rem;
}
.nav-links {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.nav-link {
  padding: 0.25rem 0.75rem;
  background: #fff;
  transition: background 0.15s;
}
.nav-link:hover {
  background: var(--hood);
}
.nav-link-buy {
  background: var(--hood);
}

/* ============================================================
   HEADER / HERO
   ============================================================ */
.header {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.issue-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  transform: rotate(-4deg);
}
.hero-title {
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.85;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.hero-title span {
  display: block;
  transition: transform 0.3s;
}
.hero-the {
  color: var(--hood-deep);
  -webkit-text-stroke: 3px var(--ink);
}
.hero-arrow {
  color: var(--hood);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 8px 8px 0 var(--ink);
  font-size: clamp(3rem, 11vw, 8.5rem);
  white-space: nowrap;
  animation: 4s ease-in-out infinite hue-pulse;
}
.hero-title:hover .hero-the {
  transform: translate(-6px) rotate(-2deg);
}
.hero-title:hover .hero-arrow {
  transform: translate(6px) rotate(2deg);
}
.hero-tag {
  font-size: 1.125rem;
}
@media (min-width: 48rem) {
  .hero-tag {
    font-size: 1.25rem;
  }
}
.hero-desc {
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  max-width: 36rem;
  line-height: 1.375;
}
@media (min-width: 48rem) {
  .hero-desc {
    font-size: 1.5rem;
  }
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.btn-buy,
.btn-x,
.btn-community {
  font-size: 1.5rem;
  padding: 0.75rem 1.5rem;
}
.btn-buy {
  background: var(--hood);
  transform: rotate(-2deg);
}
.btn-x {
  background: #fff;
  transform: rotate(1.5deg);
}
.btn-community {
  background: #2aabee;
  color: #fff;
  transform: rotate(-1.5deg);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  font-size: 0.875rem;
}
.tag {
  padding: 0.25rem 0.5rem;
  background: #fff;
}
.tag-hood {
  background: var(--hood);
}
.break-all {
  word-break: break-all;
}

/* hero art */
.hero-art {
  position: relative;
}
.hero-frame {
  padding: 0.5rem;
  background: #fff;
  transform: rotate(2deg);
}
.hero-img {
  width: 100%;
}
.hood-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
}
.badge-text {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  transform: rotate(-12deg);
}
.quote-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
}
.quote-text {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transform: rotate(-6deg);
}
.quote-ARROW {
  color: var(--blood);
  font-size: 1.125rem;
}

/* ============================================================
   ELON BAND
   ============================================================ */
.elon-band {
  border-block: 4px solid var(--ink);
  background: var(--hood);
}
.elon-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.5rem;
}
@media (min-width: 48rem) {
  .elon-inner {
    flex-direction: row;
  }
}
.elon-quote {
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
}
@media (min-width: 48rem) {
  .elon-quote {
    font-size: 2.25rem;
  }
}
.wavy {
  text-decoration: underline wavy;
}
.elon-link {
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 1.125rem;
  white-space: nowrap;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title {
  font-size: 3.75rem;
  color: var(--ink);
}
@media (min-width: 48rem) {
  .section-title {
    font-size: 6rem;
  }
}
.mascot-title {
  text-shadow: 6px 6px 0 var(--hood);
}
.section-sub {
  font-size: 1.125rem;
  max-width: 28rem;
}

/* ============================================================
   MASCOTS
   ============================================================ */
.mascot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .mascot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  padding: 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card-1 {
  transform: rotate(-1.2deg);
}
.card-2 {
  transform: rotate(1.5deg);
}
.card-3 {
  transform: rotate(-0.8deg);
  position: relative;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-coinbase {
  background: #0052ff;
}
.avatar-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
}
.avatar-base {
  background: #fff;
}
.avatar-eth {
  font-size: 1.5rem;
  color: var(--hood-deep);
}
.avatar-vlad {
  background: #fff;
}
.avatar-tri {
  font-size: 1.5rem;
  color: var(--hood-deep);
}
.card-stat {
  font-size: 1.875rem;
}
.card-h {
  font-size: 1.875rem;
}
.card-p {
  font-size: 1.125rem;
}
.tier {
  display: inline-block;
  font-size: 0.875rem;
  border: 2px dashed var(--ink);
  padding: 0.25rem 0.5rem;
  align-self: flex-start;
}
.tier-link:hover {
  background: #fff;
}
.card-new {
  position: absolute;
  top: -1rem;
  right: -1rem;
}
.new-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  transform: rotate(8deg);
}

/* ============================================================
   LORE / ORIGIN
   ============================================================ */
.lore-section {
  background: var(--ink);
  color: var(--paper);
  border-block: 4px solid var(--ink);
}
.lore-inner {
  padding-block: 4rem;
}
.lore-title {
  font-size: 3.75rem;
  color: var(--hood);
  margin-bottom: 2rem;
  -webkit-text-stroke: 2px var(--paper);
}
@media (min-width: 48rem) {
  .lore-title {
    font-size: 6rem;
  }
}
.lore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .lore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.lore-frame {
  padding: 0.5rem;
  background: #000;
}
.lore-frame img {
  width: 100%;
}
.lore-cap {
  color: var(--hood);
  padding: 0.75rem;
  font-size: 1.125rem;
}
.frame-1 {
  transform: rotate(-1.5deg);
}
.frame-2 {
  transform: rotate(1.5deg);
}
.frame-splash {
  transform: rotate(-0.5deg);
}
@media (min-width: 48rem) {
  .frame-splash {
    grid-column: span 2 / span 2;
  }
}
.frame-3 {
  transform: rotate(1deg);
}
.frame-4 {
  transform: rotate(-1deg);
}
.lore-callout {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--hood);
  color: var(--ink);
  transform: rotate(-0.5deg);
}
.callout-text {
  font-size: 1.875rem;
  line-height: 1.25;
}
@media (min-width: 48rem) {
  .callout-text {
    font-size: 3rem;
  }
}
.callout-blood {
  color: var(--blood);
}
.callout-sub {
  font-size: 1.125rem;
  margin-top: 0.5rem;
}
.underline {
  text-decoration: underline;
}

/* ============================================================
   PROPHECY
   ============================================================ */
.prophecy-title {
  margin-bottom: 2rem;
  text-shadow: 6px 6px 0 var(--hood);
}
.prophecy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 48rem) {
  .prophecy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.prophecy-card {
  padding: 1.25rem;
  background: #fff;
  display: block;
  transition: background 0.15s;
}
.prophecy-card:hover {
  background: var(--hood);
}
.prophecy-quote {
  font-size: 1.25rem;
  line-height: 1.375;
}
.prophecy-link {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--hood-deep);
}
.pc1,
.pc3,
.pc5 {
  transform: rotate(-1.2deg);
}
.pc2,
.pc4,
.pc6 {
  transform: rotate(1.4deg);
}

/* ============================================================
   BUY
   ============================================================ */
.buy-section {
  border-block: 4px solid var(--ink);
  background: var(--hood);
}
.buy-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 4rem;
}
@media (min-width: 48rem) {
  .buy-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
.buy-title {
  font-size: 3.75rem;
  line-height: 1;
  color: var(--ink);
  text-shadow: 6px 6px 0 var(--paper);
}
@media (min-width: 48rem) {
  .buy-title {
    font-size: 6rem;
  }
}
.buy-sub {
  font-size: 1.25rem;
  margin-top: 1rem;
}
.buy-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.5rem;
}
.buy-step {
  padding: 1rem;
  background: #fff;
  color: var(--ink);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--hood);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-1,
.step-3 {
  transform: rotate(0.6deg);
}
.step-2,
.step-4 {
  transform: rotate(-0.6deg);
}

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}
@media (min-width: 48rem) {
  .archive-title {
    font-size: 4.5rem;
  }
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 48rem) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.archive-frame {
  padding: 0.5rem;
  background: #fff;
}
.archive-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.af1 {
  transform: rotate(-1deg);
}
.af2 {
  transform: rotate(0deg);
}
.af3 {
  transform: rotate(1deg);
}
.af4 {
  transform: rotate(-1deg);
}
.af5 {
  transform: rotate(0deg);
}
.af6 {
  transform: rotate(1deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--hood);
  border-top: 4px solid var(--ink);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2.5rem;
}
@media (min-width: 48rem) {
  .footer-inner {
    flex-direction: row;
  }
}
.footer-brand {
  font-size: 1.875rem;
}
.footer-disclaimer {
  font-size: 0.875rem;
  color: var(--paper);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 0.5rem;
}
.footer-link {
  padding: 0.25rem 0.75rem;
}
.fl1 {
  background: var(--hood);
  color: var(--ink);
}
.fl2 {
  background: #fff;
  color: var(--ink);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden-sm {
  display: none;
}
@media (min-width: 40rem) {
  .hidden-sm {
    display: inline;
  }
}
.hidden-md {
  display: none;
}
@media (min-width: 48rem) {
  .hidden-md {
    display: block;
  }
}

/* ============================================================
   SOUND TOGGLE
   ============================================================ */
.sound-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 10000;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hood);
  color: var(--ink);
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.sound-toggle:hover {
  box-shadow: 10px 10px 0 0 var(--ink);
  transform: translate(-2px, -2px) rotate(0) scale(1.02) !important;
}
.sound-toggle:active {
  box-shadow: 2px 2px 0 0 var(--ink) !important;
  transform: translate(4px, 4px) scale(0.96) !important;
}
.sound-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}
/* show the "on" icon by default, hide the "off" icon */
.sound-toggle .icon-sound-off {
  display: none;
}
.sound-toggle .icon-sound-on {
  display: block;
}
/* when muted, swap which icon is visible */
.sound-toggle.is-muted .icon-sound-on {
  display: none;
}
.sound-toggle.is-muted .icon-sound-off {
  display: block;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes shake {
  0%,
  to {
    transform: translate(0) rotate(0);
  }
  25% {
    transform: translate(-2px, 1px) rotate(-0.5deg);
  }
  50% {
    transform: translate(2px, -1px) rotate(0.5deg);
  }
  75% {
    transform: translate(-1px, 2px) rotate(-0.3deg);
  }
}
/* OLD running words line animation (kept for reference)
@keyframes ticker {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}
*/
@keyframes wobble {
  0%,
  to {
    transform: rotate(var(--r, 0deg));
  }
  25% {
    transform: rotate(calc(var(--r, 0deg) - 2deg)) scale(1.03);
  }
  75% {
    transform: rotate(calc(var(--r, 0deg) + 2deg)) scale(1.03);
  }
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.92);
  }
  70% {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}
@keyframes burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.2);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.4);
  }
}
@keyframes particle {
  0% {
    opacity: 1;
    transform: translate(0) scale(1);
  }
  to {
    transform: translate(var(--tx, 0), var(--ty, 0)) scale(0.3);
    opacity: 0;
  }
}
@keyframes float-y {
  0%,
  to {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-8px) rotate(var(--r, 0deg));
  }
}
@keyframes hue-pulse {
  0%,
  to {
    filter: hue-rotate();
  }
  50% {
    filter: hue-rotate(25deg) saturate(1.2);
  }
}
@keyframes marquee-flash {
  0%,
  to {
    color: var(--hood);
  }
  50% {
    color: var(--blood);
  }
}

.float {
  animation: 3.2s ease-in-out infinite float-y;
}
.hue {
  animation: 4s ease-in-out infinite hue-pulse;
}
.shake {
  animation: 0.4s infinite shake;
}
.blood-flash {
  animation: 1.2s ease-in-out infinite marquee-flash;
}

/* ---------- TILT (image frames) ---------- */
.tilt {
  transition: transform 0.3s, box-shadow 0.3s;
}
.tilt:hover {
  box-shadow: 14px 14px 0 0 var(--ink);
  transform: rotate(0) scale(1.03) !important;
}

/* ---------- CLICK BURST ---------- */
.click-burst {
  pointer-events: none;
  z-index: 9999;
  border: 4px solid var(--hood);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: 0.55s ease-out forwards burst;
  position: fixed;
}
.click-burst.b2 {
  border-color: var(--ink);
  animation-duration: 0.7s;
}
.spark {
  pointer-events: none;
  z-index: 9999;
  color: var(--ink);
  text-shadow: 2px 2px 0 var(--hood);
  font-family: "Bangers", sans-serif;
  font-size: 22px;
  animation: 0.7s ease-out forwards particle;
  position: fixed;
  transform: translate(-50%, -50%);
}

/* ---------- RESPONSIVE HERO GRID ---------- */
@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .hero-text {
    grid-column: span 7 / span 7;
  }
  .hero-art {
    grid-column: span 5 / span 5;
  }
}