:root {
  --bg: #0b0503;
  --fire1: #ff3d00;
  --fire2: #ff9100;
  --fire3: #ffd54f;
  --text: #fbe9e7;
  --muted: #c9a99f;
  --card: rgba(30, 10, 5, 0.85);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background:
    radial-gradient(ellipse at 50% 0%, #5a1200 0%, transparent 60%),
    radial-gradient(ellipse at 50% 110%, #7a1d00 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Rubik", system-ui, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

body.shake { animation: shake 0.5s; }

@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-10px, 6px); }
  40% { transform: translate(10px, -6px); }
  60% { transform: translate(-8px, -4px); }
  80% { transform: translate(8px, 4px); }
}

/* Sparks */
#sparks { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.spark {
  position: absolute;
  bottom: -10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fire3);
  box-shadow: 0 0 8px 2px var(--fire2);
  animation: rise linear forwards;
}
@keyframes rise {
  to { transform: translate(var(--dx), -110vh); opacity: 0; }
}

#flash {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: #fff; opacity: 0;
}
#flash.on { animation: flash 0.6s; }
@keyframes flash {
  0% { opacity: 0.9; } 15% { opacity: 0; } 25% { opacity: 0.6; } 100% { opacity: 0; }
}

/* Hero */
.hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: 48px 16px 24px;
}
.title {
  font-family: "Metal Mania", Impact, fantasy;
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 0.95;
  margin: 0 0 28px;
  color: var(--fire2);
}
.title .g {
  background: linear-gradient(180deg, var(--fire3) 0%, var(--fire2) 45%, var(--fire1) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 61, 0, 0.7));
  animation: flicker 3s infinite;
}
.title .q {
  display: inline-block;
  animation: flicker 3s infinite, wobble 1.2s infinite;
}
@keyframes flicker {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 61, 0, 0.7)); }
  50% { filter: drop-shadow(0 0 34px rgba(255, 145, 0, 0.95)); }
  52% { filter: drop-shadow(0 0 6px rgba(255, 61, 0, 0.4)); }
}
@keyframes wobble {
  0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg) scale(1.1); }
}

.pp-wrap {
  position: relative;
  width: min(320px, 80vw); aspect-ratio: 1;
  margin: 0 auto;
  cursor: pointer;
}
.pp {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--fire2);
  box-shadow: 0 0 40px 8px rgba(255, 61, 0, 0.6), inset 0 0 20px #000;
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}
.pp-wrap:hover .pp { transform: scale(1.04) rotate(-2deg); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px 8px rgba(255, 61, 0, 0.6); }
  50% { box-shadow: 0 0 70px 18px rgba(255, 145, 0, 0.8); }
}

/* Lasers originate at the eyes (~47% / 56% x, ~19% y on the image) */
.laser {
  position: absolute;
  top: 19%;
  height: 8px;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff, #ff1744 30%, rgba(255, 23, 68, 0));
  box-shadow: 0 0 16px 6px rgba(255, 23, 68, 0.8);
  transform-origin: left center;
  pointer-events: none;
  z-index: 40;
}
.laser.l1 { left: 47%; transform: rotate(160deg); }
.laser.l2 { left: 56%; transform: rotate(20deg); }
.pp-wrap.firing .laser { animation: beam 1.1s ease-out; }
@keyframes beam {
  0% { width: 0; opacity: 1; }
  40% { width: 150vw; opacity: 1; }
  100% { width: 150vw; opacity: 0; }
}

.aka { font-size: 1.3rem; margin: 22px 0 4px; }
.aka strong { color: var(--fire2); }
.hint { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Cards */
main {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  gap: 28px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255, 110, 40, 0.35);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 61, 0, 0.15);
}
.card h2 {
  font-family: "Metal Mania", Impact, fantasy;
  font-weight: 400;
  font-size: 2.2rem;
  margin: 0 0 8px;
  color: var(--fire2);
}
.card p { color: var(--muted); margin: 0 0 18px; }

button {
  font: 900 1.1rem "Rubik", sans-serif;
  letter-spacing: 1px;
  color: #1a0500;
  background: linear-gradient(180deg, var(--fire3), var(--fire2));
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  cursor: pointer;
  box-shadow: 0 4px 0 #a33a00, 0 0 20px rgba(255, 145, 0, 0.5);
  transition: transform 0.08s;
}
button:active { transform: translateY(3px); box-shadow: 0 1px 0 #a33a00; }
button.danger { background: linear-gradient(180deg, #ff5252, #d50000); color: #fff; box-shadow: 0 4px 0 #7f0000, 0 0 20px rgba(255, 23, 68, 0.6); }

/* Wanted poster */
.wanted {
  background: #e8d3a2;
  color: #3b2410;
  border: 10px double #5d3a1a;
  font-family: Georgia, serif;
  transform: rotate(-1.5deg);
}
.wanted-head { font: 400 clamp(3rem, 12vw, 5rem)/1 "Metal Mania", Georgia, serif; letter-spacing: 6px; }
.wanted-sub { font-weight: 700; letter-spacing: 4px; margin-bottom: 14px; }
.wanted-img {
  width: min(240px, 70%); aspect-ratio: 1; object-fit: cover;
  filter: sepia(1) contrast(1.2) brightness(0.9);
  border: 4px solid #3b2410;
}
.wanted-name { font-size: 1.5rem; font-weight: 700; margin: 10px 0; }
.wanted h3 { margin: 10px 0 6px; }
.wanted ul { text-align: left; display: inline-block; margin: 0; padding-left: 22px; }
.wanted li { margin: 4px 0; }
.reward {
  margin-top: 18px; font-size: 1.3rem; font-weight: 700;
  border-top: 2px dashed #5d3a1a; padding-top: 12px;
}

/* Gauge */
.gauge { position: relative; width: 260px; max-width: 100%; height: 140px; margin: 0 auto; overflow: hidden; }
.gauge-arc {
  position: absolute; left: 0; top: 0;
  width: 260px; height: 260px; border-radius: 50%;
  background: conic-gradient(from 270deg, #4caf50 0deg, #ffeb3b 60deg, #ff9100 120deg, #d50000 180deg, transparent 180deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
  mask: radial-gradient(circle, transparent 58%, #000 59%);
}
.needle {
  position: absolute; left: 50%; bottom: 0;
  width: 4px; height: 115px; margin-left: -2px;
  background: #fff; border-radius: 2px;
  transform-origin: bottom center;
  transform: rotate(-90deg);
  transition: transform 1.6s cubic-bezier(.3, 1.6, .5, 1);
  box-shadow: 0 0 8px #fff;
}
.gauge-center { position: absolute; left: 50%; bottom: -12px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--fire2); }
.gauge-val { font: 900 2.6rem "Rubik", sans-serif; margin-top: 10px; color: var(--fire3); }
.gauge-msg { min-height: 1.5em; margin-bottom: 16px; font-weight: 700; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; text-align: left; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 0; bottom: 0; width: 2px; background: var(--fire1); }
.timeline li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; margin-bottom: 18px; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 66px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--fire2); box-shadow: 0 0 8px var(--fire1); }
.timeline .yr { font-weight: 900; color: var(--fire2); text-align: right; }

/* Excuse */
.excuse {
  font-size: 1.5rem; font-style: italic;
  min-height: 3em; margin: 0 0 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fire3);
}
.excuse.pop { animation: pop 0.3s; }
@keyframes pop { 0% { transform: scale(0.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Counter */
.counter { font: 900 4rem "Rubik", sans-serif; color: #ff5252; line-height: 1; }
.counter-label { color: var(--muted); margin-bottom: 18px; }
.report-msg { margin-top: 14px; min-height: 1.5em; font-weight: 700; }

/* Reviews */
.reviews { display: grid; gap: 14px; text-align: left; }
.review { background: rgba(0, 0, 0, 0.35); border-radius: 12px; padding: 14px 16px; }
.review .who { font-weight: 700; }
.review .stars { color: var(--fire3); letter-spacing: 2px; }
.review .txt { color: var(--muted); margin-top: 4px; }

footer {
  position: relative; z-index: 1;
  text-align: center; padding: 40px 16px 60px;
  color: var(--muted);
}

@media (max-width: 520px) {
  .card { padding: 22px 16px; }
  .timeline::before { left: 56px; }
  .timeline li { grid-template-columns: 46px 1fr; }
  .timeline li::after { left: 52px; }
}
