/* ===========================================================
   RAGE COMICS — ragecomics.fun
   Faithful static rebuild of officialragecomics.com
   Design tokens lifted 1:1 from the original Tailwind build.
   =========================================================== */

:root {
  /* Brand palette sampled from the RageComics logo: red brush + black ink on white */
  --background: #ffffff;
  --foreground: #111111;
  --muted-foreground: #6b6b6b;
  --border: #ededed;                 /* faint grid line */
  --rage-red: #E11710;               /* the brush red */

  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Comic Neue", "Comic Sans MS", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.5;
  /* 40px ruled-paper grid overlay, exactly like the original */
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-position: -1px -1px;
  background-size: 40px 40px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* belt-and-braces against tilt/shadow overflow on phones */
}

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

/* ---- comic primitives -------------------------------------------------- */
.comic-border    { border: 4px solid #000; box-shadow: 8px 8px #000; background: #fff; }
.comic-border-sm { border: 3px solid #000; box-shadow: 4px 4px #000; }

.font-display {
  font-family: var(--font-display);
  font-weight: 400;          /* Bangers ships at one weight */
  letter-spacing: .05em;
}

.text-stroke {
  -webkit-text-stroke: 2px #000;
  text-shadow: 4px 4px #000;
}

.bg-red    { background-color: var(--rage-red); color: #fff; }
.bg-black  { background-color: #000; color: #fff; }
.bg-white  { background-color: #fff; }

a { color: inherit; }

/* ======================================================================= */
/* HERO                                                                     */
/* ======================================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 1.5rem;
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 64rem;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  transform: rotate(-3deg);
  background-color: var(--rage-red);
  color: #fff;
  padding: .25rem 1rem;
  margin-bottom: .75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .15em;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1;
  font-size: 3.75rem;
  color: var(--rage-red);
}
.hero-sub {
  max-width: 42rem;
  margin: .75rem auto 0;
  font-size: 1rem;
}
.hero-wordmark {
  display: block;
  width: 100%;
  max-width: 60rem;
  margin: 1rem auto 0;
  line-height: 0;
}
/* ---- animated banner stage ---- */
.banner-stage {
  position: relative;
  display: block;
  width: 100%;
  transform-origin: center;
  animation: slamIn .9s cubic-bezier(.2,.9,.25,1.5) .15s both;
}
.banner-rays {
  position: absolute;
  left: 50%; top: 50%;
  width: 138%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,.10) 0deg 1.5deg, transparent 1.5deg 7deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 28%, transparent 64%);
          mask: radial-gradient(circle at 50% 50%, #000 28%, transparent 64%);
  animation: raysSpin 26s linear infinite;
}
.banner-frame {
  position: relative;
  z-index: 1;
  display: block;
  padding: .5rem;
  overflow: hidden;
  transform: rotate(-1deg);
  animation: bannerIdle 5s ease-in-out 1.1s infinite;
}
.banner-img { display: block; width: 100%; height: auto; }
.banner-sheen {
  position: absolute;
  top: -10%; left: 0;
  width: 55%; height: 120%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.6) 50%, transparent 100%);
  transform: translateX(-200%) skewX(-12deg);
  mix-blend-mode: screen;
  animation: sheen 6.5s ease-in-out 1.7s infinite;
}
.sticker {
  position: absolute;
  z-index: 2;
  display: grid; place-items: center;
  width: 74px; height: 74px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; line-height: 1; color: #fff;
  background: var(--rage-red);
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  pointer-events: none;
}
.sticker-1 { top: -26px; left: -22px;
  animation: stickerPop .5s 1.5s both, stickerWiggle 2.6s ease-in-out 2.1s infinite; }
.sticker-2 { bottom: -22px; right: -16px; background: #000;
  animation: stickerPop .5s 1.85s both, stickerWiggle 3.1s ease-in-out 2.4s infinite; }

@keyframes slamIn {
  0%   { transform: scale(.4) rotate(-14deg); opacity: 0; }
  60%  { transform: scale(1.06) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes raysSpin {
  from { transform: translate(-50%,-50%) rotate(0); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes bannerIdle {
  0%,100% { transform: rotate(-1deg) translateY(0); }
  25% { transform: rotate(-1.4deg) translateY(-6px); }
  50% { transform: rotate(-1deg) translateY(0); }
  82% { transform: rotate(-1deg) translate(0,0); }
  85% { transform: rotate(-2.6deg) translate(-5px,2px); }
  88% { transform: rotate(.6deg) translate(5px,-2px); }
  91% { transform: rotate(-1.8deg) translate(-4px,1px); }
  94% { transform: rotate(-1deg) translate(0,0); }
}
@keyframes sheen {
  0%   { transform: translateX(-200%) skewX(-12deg); }
  16%  { transform: translateX(260%) skewX(-12deg); }
  100% { transform: translateX(260%) skewX(-12deg); }
}
@keyframes stickerPop {
  0%   { transform: scale(0) rotate(-30deg); }
  70%  { transform: scale(1.2) rotate(8deg); }
  100% { transform: scale(1) rotate(-8deg); }
}
@keyframes stickerWiggle {
  0%,100% { transform: scale(1) rotate(-8deg); }
  50% { transform: scale(1.06) rotate(6deg); }
}

/* staggered hero intro */
.hero-badge { animation: fadeDown .6s ease both; }
.hero-sub   { animation: fadeUp .6s ease .8s both; }
.hero-ctas  { animation: fadeUp .6s ease 1s both; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px) rotate(-3deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-3deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) { .sticker { display: none; } }

/* ---- real working button bar (replaces the banner's baked-in icon strip) ---- */
.banner-nav {
  display: flex;
  width: 100%;
  max-width: 56rem;
  margin: 1rem auto 0;
  background: #000;
  border: 3px solid #000;
  box-shadow: 4px 4px #000;
  overflow: hidden;
  animation: fadeUp .6s ease .6s both;
}
.bnav {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem .5rem;
  background: #000;
  color: #fff;
  border: 0;
  border-right: 2px solid #2a2a2a;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .98rem;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.bnav:last-child { border-right: 0; }
.bnav svg { width: 22px; height: 22px; flex: none; fill: var(--rage-red); }
.bnav:hover, .bnav:focus-visible { background: var(--rage-red); color: #fff; outline: none; }
.bnav:hover svg, .bnav:focus-visible svg { fill: #fff; }
.bnav:active { transform: translateY(1px); }
@media (max-width: 640px) {
  .banner-nav { flex-wrap: wrap; }
  .bnav {
    flex: 1 1 50%;
    flex-direction: column;
    gap: .3rem;
    text-align: center;
    line-height: 1.1;
    border-bottom: 2px solid #2a2a2a;
    font-size: .82rem;
    padding: .65rem .4rem;
  }
  .bnav svg { width: 24px; height: 24px; }
  .bnav:nth-child(2) { border-right: 0; }
  .bnav:nth-child(3), .bnav:nth-child(4) { border-bottom: 0; }
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}
.btn {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: .05em;
  padding: .5rem 1.25rem;
  text-decoration: none;
  transition: transform .15s ease;
}
.btn-red   { transform: rotate(-2deg); background-color: var(--rage-red); color: #fff; }
.btn-white { transform: rotate(1deg);  background-color: #fff; }
.btn:hover { transform: rotate(0deg); }

/* ======================================================================= */
/* LORE                                                                     */
/* ======================================================================= */
.lore {
  display: flex;
  align-items: center;
  min-height: 100vh;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  background: #fff;
  padding: 3rem 1.5rem;
}
.lore-inner { max-width: 64rem; margin: 0 auto; width: 100%; }
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .05em;
  font-size: 3rem;
  margin-bottom: 3rem;
}
.lore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* shrinkable column so long tokens can't overflow */
  gap: 1.5rem;
}
.card {
  padding: 1.5rem;
  min-width: 0;
  overflow-wrap: break-word;                /* break r/fffff… instead of forcing width */
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .05em;
  font-size: 1.875rem;
  margin-bottom: .75rem;
}
.card p, .card ul { font-size: 1rem; }
.card ul { list-style: none; }
.card ul li { margin-bottom: .5rem; }
.rot-n1 { transform: rotate(-1deg); }
.rot-p1 { transform: rotate(1deg); }
.read-more {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #000;
  padding: .5rem 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: .05em;
  text-decoration: none;
  border: 3px solid #000;
  box-shadow: 4px 4px #000;
  transition: transform .15s ease, box-shadow .15s ease;
}
.read-more:hover { transform: translate(4px, 4px); box-shadow: 0 0 #000; }

/* ======================================================================= */
/* GALLERY                                                                  */
/* ======================================================================= */
.gallery { padding: 5rem 1.5rem; }
.gallery-inner { max-width: 72rem; margin: 0 auto; }
.gallery-sub {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 3rem;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.tile {
  width: 100%;
  background: #fff;
  padding: 1rem;
  border: 4px solid #000;
  box-shadow: 8px 8px #000;
  transition: transform .2s ease;
}
.tile:hover { transform: rotate(0deg) !important; }
.tile-img {
  display: flex;
  height: 16rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.tile-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.tile figcaption {
  margin-top: 1rem;
  border-top: 4px solid #000;
  padding-top: .75rem;
  text-align: center;
}
.tile-name {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .05em;
  font-size: 1.5rem;
}
.tile-quote { font-size: 1rem; color: var(--muted-foreground); }

/* ======================================================================= */
/* FOOTER                                                                   */
/* ======================================================================= */
.site-footer {
  border-top: 4px solid #000;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.site-footer .footer-rage {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .05em;
  font-size: 1.875rem;
  color: var(--rage-red);
}

/* white sign-off band carrying the logo, just above the black footer */
.brand-signoff {
  background: #fff;
  border-top: 4px solid #000;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.brand-signoff img {
  width: 100%;
  max-width: 16rem;
  height: auto;
  margin: 0 auto;
}
.site-footer p { margin-top: .5rem; }
.footer-fine {
  max-width: 46rem;
  margin: 1rem auto 0;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.5;
  opacity: .6;
}

/* ======================================================================= */
/* RESPONSIVE                                                               */
/* ======================================================================= */
@media (min-width: 640px) {
  .hero-badge { font-size: 1.25rem; }
  .hero-title { font-size: 6rem; }
  .hero-sub   { font-size: 1.125rem; }
  .tile { width: calc(50% - 1rem); }
}
@media (min-width: 768px) {
  .hero-title    { font-size: 8rem; }
  .section-title { font-size: 4.5rem; }
  .lore-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.span-2   { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .tile { width: calc(33.333% - 1.334rem); }
}

/* ======================================================================= */
/* RAGE STRIPS                                                              */
/* ======================================================================= */
.strips { padding: 5rem 1.5rem; border-top: 4px solid #000; }
.strips-inner { max-width: 60rem; margin: 0 auto; }

.strip {
  position: relative;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 8px 8px #000;
  margin: 0 auto 3.25rem;
  max-width: 52rem;
}
.strip-title {
  background: #000;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .06em;
  font-size: 1.6rem;
  padding: .35rem 1rem;
}
.strip-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #000;          /* shows through as comic gutters */
  border-top: 4px solid #000;
}
.panel {
  position: relative;
  background: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel-cap {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.25;
  padding: .45rem .6rem;
  border-bottom: 2px solid #000;
  background: #fff;
}
.panel.punch .panel-cap { background: var(--rage-red); color: #fff; }
.panel-art {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6rem;
}
.panel-art img { max-height: 132px; width: auto; }

/* action / speed lines behind a panic beat */
.panel.rays .panel-art {
  background:
    repeating-conic-gradient(from 0deg at 50% 55%, #000 0deg 2.2deg, transparent 2.2deg 9deg);
}
.panel.rays .panel-art img { background: #fff; border-radius: 50%; padding: 4px; }

/* halftone dots behind the meltdown */
.panel.dots .panel-art {
  background-color: #fff;
  background-image: radial-gradient(#000 1.6px, transparent 1.7px);
  background-size: 12px 12px;
}
.panel.dots .panel-art img { background: #fff; border-radius: 50%; padding: 4px; }

/* starburst punch word */
.boom {
  position: absolute;
  right: 4px; bottom: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--rage-red);
  -webkit-text-stroke: 1.5px #000;
  text-shadow: 2px 2px #000;
  transform: rotate(-8deg);
  pointer-events: none;
}

/* "NEW!" star badge on a strip */
.starburst {
  position: absolute;
  top: -16px; right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  background: var(--rage-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  transform: rotate(12deg);
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

/* ======================================================================= */
/* SMASH FOR RAGE                                                           */
/* ======================================================================= */
.generator { padding: 5rem 1.5rem; border-top: 4px solid #000; background: #fff; }
.generator-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.rage-machine { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.rage-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 30rem;
  padding: 1.75rem;
  background: #fff;
  background-image: radial-gradient(#0001 1.4px, transparent 1.5px);
  background-size: 14px 14px;
}
#rageFace { width: 150px; height: 150px; }
.bubble {
  position: relative;
  background: #fff;
  border: 3px solid #000;
  border-radius: 14px;
  padding: .7rem 1rem;
  font-weight: 700;
  font-size: 1.02rem;
  max-width: 24rem;
}
.bubble::after {           /* speech-bubble tail */
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-bottom-color: #000;
}
.bubble::before {
  content: "";
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: #fff;
  z-index: 1;
}
#rageBtn { font-size: 1.4rem; cursor: pointer; }
#rageBtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px #000; }
.rage-counter { font-weight: 700; font-size: .9rem; color: var(--muted-foreground); }

/* ---- animations ---- */
@keyframes shake {
  0%,100% { transform: translate(0,0); }
  15% { transform: translate(-7px, 3px) rotate(-.6deg); }
  30% { transform: translate(7px, -3px) rotate(.6deg); }
  45% { transform: translate(-6px, -2px) rotate(-.4deg); }
  60% { transform: translate(6px, 2px) rotate(.4deg); }
  75% { transform: translate(-4px, 1px); }
}
body.shake { animation: shake .45s ease; }
@keyframes pop {
  0% { transform: scale(.6) rotate(-8deg); }
  60% { transform: scale(1.18) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
#rageFace.pop { animation: pop .4s ease; }
@keyframes wiggle {
  0%,100% { transform: rotate(0); }
  25% { transform: rotate(-9deg) scale(1.05); }
  75% { transform: rotate(9deg) scale(1.05); }
}
.wiggle { animation: wiggle .35s ease; }

/* strips on phones: keep the 2x2 comic grid, just tighten it */
@media (max-width: 640px) {
  .strip-title { font-size: 1.3rem; }
  .panel { min-height: 128px; }
  .panel-cap { font-size: .72rem; padding: .35rem .45rem; }
  .panel-art { padding: .45rem; }
  .panel-art img { max-height: 92px; }
  .boom { font-size: 1.1rem; }
  .starburst { width: 54px; height: 54px; font-size: .85rem; top: -12px; right: -10px; }
}
/* only collapse to a single column on very narrow screens */
@media (max-width: 380px) {
  .strip-panels { grid-template-columns: 1fr; }
}

/* ======================= PHONE OPTIMISATION ======================= */
@media (max-width: 640px) {
  .hero { padding: 1.1rem .85rem; }
  .hero-badge { font-size: .92rem; padding: .2rem .8rem; }
  .hero-sub { font-size: .98rem; margin-top: .6rem; }
  .hero-ctas { gap: .55rem; margin-top: .9rem; }
  .btn { font-size: 1rem; padding: .5rem 1rem; }

  .section-title { font-size: 2.4rem; margin-bottom: 1.6rem; }
  .gallery-sub { font-size: 1.02rem; margin-bottom: 1.6rem; }
  .strips, .generator, .gallery, .lore, .buy { padding: 3rem 1rem; }

  .load-rage { font-size: 2rem; padding: .85rem 1.4rem 1.15rem; }
  .pump-btn { font-size: 1.5rem; padding: .8rem 1.2rem; }
  .pump-pill { font-size: 1.25rem; }
  #caText { font-size: .66rem; }
  .jup-wrap { padding: .35rem; }

  /* cast: 2-up grid instead of one full-width tile per row */
  .gallery-grid { gap: .8rem; }
  .tile { width: calc(50% - .4rem); padding: .55rem; }
  .tile-img { height: 9rem; }
  .tile-name { font-size: 1.25rem; }
  .tile-quote { font-size: .88rem; }

  /* lore cards a touch tighter */
  .lore { display: block; min-height: 0; }
  .lore-grid { gap: 1rem; }
  .card { padding: 1.15rem; }
  .card h3 { font-size: 1.55rem; }

  /* roomier interactive bits */
  .rage-stage { padding: 1.25rem; }
  #rageFace { width: 124px; height: 124px; }
  .bubble { font-size: .95rem; }
}

/* ======================================================================= */
/* BUY $RAGE                                                                */
/* ======================================================================= */
.btn-buy {
  background: var(--rage-red);
  color: #fff;
  animation: buyBtnPulse 1.6s ease-in-out infinite;
}
@keyframes buyBtnPulse {
  0%,100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(-2deg) scale(1.07); }
}
.btn-buy:hover { transform: rotate(0) scale(1.07); }

.buy {
  padding: 5rem 1.5rem;
  border-top: 4px solid #000;
  background: #fff;
  background-image: radial-gradient(#0000000d 1.4px, transparent 1.5px);
  background-size: 16px 16px;
  text-align: center;
}
.buy-inner { max-width: 40rem; margin: 0 auto; }

/* the big animated LOAD RAGE button */
.load-rage {
  position: relative;
  display: inline-block;
  margin: .5rem 0 1.5rem;
  padding: 1.05rem 2.4rem 1.35rem;
  background: var(--rage-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.7rem;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  border: 5px solid #000;
  box-shadow: 8px 8px #000;
  overflow: hidden;
  cursor: pointer;
  animation: ragePulse 1.5s ease-in-out infinite;
}
.load-rage-label { position: relative; z-index: 2; }
/* sheen sweep across the button */
.load-rage::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-220%) skewX(-14deg);
  animation: rageSheen 2.2s ease-in-out infinite;
  z-index: 1;
}
/* charging "rage meter" along the bottom */
.load-rage-meter {
  position: absolute; left: 0; bottom: 0; height: 9px; width: 100%;
  background: rgba(0,0,0,.28); z-index: 2;
}
.load-rage-meter::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: #000;
  animation: rageCharge 1.9s ease-in-out infinite;
}
.load-rage:hover { animation: rageShake .28s ease-in-out infinite; }
@keyframes ragePulse {
  0%,100% { transform: scale(1) rotate(-1deg); box-shadow: 8px 8px #000, 0 0 0 0 rgba(225,23,16,0); }
  50%     { transform: scale(1.05) rotate(1deg); box-shadow: 8px 8px #000, 0 0 30px 6px rgba(225,23,16,.55); }
}
@keyframes rageShake {
  0%,100% { transform: translate(0,0) scale(1.05); }
  25% { transform: translate(-3px,1px) scale(1.05); }
  75% { transform: translate(3px,-1px) scale(1.05); }
}
@keyframes rageSheen {
  0% { transform: translateX(-220%) skewX(-14deg); }
  55%,100% { transform: translateX(320%) skewX(-14deg); }
}
@keyframes rageCharge {
  0% { width: 0; }
  70% { width: 100%; }
  100% { width: 100%; opacity: .35; }
}

/* the two buy buttons side by side */
.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin: .5rem 0 1.5rem;
}
.load-rage { margin: 0; }            /* spacing now handled by .buy-buttons */
.buy-tag {
  position: absolute;
  top: -12px; right: -10px;
  z-index: 3;
  background: #000; color: #fff;
  font-family: var(--font-body); font-weight: 700;
  font-size: .62rem; letter-spacing: .12em;
  padding: .12rem .45rem;
  transform: rotate(4deg);
}
/* pump.fun button — green, comic-styled */
.pump-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.5rem;
  background: #4ed94e;                /* pump.fun green */
  color: #06320a;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  border: 5px solid #000;
  box-shadow: 8px 8px #000;
  transform: rotate(1deg);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pump-btn:hover { transform: rotate(0) translate(2px, 2px); box-shadow: 4px 4px #000; }
.pump-pill { font-size: 1.5rem; }
.pump-dot { color: #06320a; }

/* contract-address chip */
.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: .45rem .6rem;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px #000;
}
.ca-label {
  font-family: var(--font-display); font-weight: 400;
  background: #000; color: #fff; padding: .12rem .55rem; letter-spacing: .05em;
}
#caText { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; word-break: break-all; }
.ca-copy {
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  background: var(--rage-red); color: #fff; border: 2px solid #000;
  padding: .12rem .7rem; cursor: pointer; letter-spacing: .05em;
}
.ca-copy:active { transform: translateY(1px); }

/* embedded Jupiter swap widget */
.jup-wrap { max-width: 480px; margin: 0 auto; background: #fff; padding: .5rem; }
#jupiter-plugin { min-height: 568px; }
.jup-fallback {
  display: flex; align-items: center; justify-content: center;
  min-height: 568px;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--rage-red);
  text-decoration: none; padding: 1.5rem; text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
