/* === SECTION SEPARATOR === */
.separator {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cab-phosphor-dim);
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  height: 0;
  border-top: 3px dashed currentColor;
  opacity: 0.7;
}

.separator-mark {
  font-size: 10px;
  letter-spacing: 6px;
  line-height: 1;
  white-space: nowrap;
  color: var(--cab-phosphor);
  text-shadow: 0 0 6px rgba(159, 232, 112, 0.5);
}

/* === VARIABLES === */
:root {
  --cream:       #F5F0E8;
  --cream-dark:  #EDE8DC;
  --path:        #C8B89A;
  --grass:       #8FA870;
  --grass-dark:  #7D9B62;
  --terracotta:  #C4622D;
  --sage:        #7D9B6C;
  --gold:        #D4A627;
  --brown:       #8B5E3C;
  --ink:         #2C1A0F;
  --muted:       #8B7355;
  --hero-bg:     #05060f;
  --space-1:     #0a0d20;
  --space-2:     #141838;
  --font:        'Press Start 2P', monospace;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 20% 15%, rgba(90, 40, 140, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 60%, rgba(40, 90, 170, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 95%, rgba(150, 50, 120, 0.22) 0%, transparent 55%),
    var(--hero-bg);
  background-attachment: fixed;
  color: var(--cream);
  overflow-x: hidden;
  position: relative;
}

/* === GALAXY STAR FIELD === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%,  #fff,                 transparent 50%),
    radial-gradient(1px 1px at 47% 73%,  #fff,                 transparent 50%),
    radial-gradient(1px 1px at 78% 25%,  rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1.5px 1.5px at 30% 55%, #fff,              transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 88%, rgba(180,210,255,0.9), transparent 50%),
    radial-gradient(1px 1px at 65% 12%,  rgba(255,220,180,0.85), transparent 50%),
    radial-gradient(2px 2px at 18% 82%,  rgba(255,255,255,0.95), transparent 50%);
  background-size:
    180px 180px,
    220px 220px,
    260px 260px,
    320px 320px,
    400px 400px,
    240px 240px,
    520px 520px;
  background-repeat: repeat;
  animation: twinkle 6s ease-in-out infinite;
  opacity: 0.85;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 0.55; }
}

/* keep page content above the star field */
.hero, section, .footer, .separator { position: relative; z-index: 1; }

/* === SHARED COMPONENTS === */

.pixel-box {
  border: 4px solid var(--cab-phosphor);
  box-shadow:
    inset 0 0 0 2px var(--cab-phosphor-dim),
    0 0 22px rgba(159, 232, 112, 0.18);
}

.dialog-box {
  background: var(--cream-dark);
  border: 4px solid var(--cab-phosphor);
  box-shadow:
    inset 0 0 0 2px var(--cab-phosphor-dim),
    0 0 22px rgba(159, 232, 112, 0.18);
  padding: 24px 28px;
  font-size: 10px;
  line-height: 2.2;
  color: var(--ink);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  color: var(--cab-phosphor);
  border: 3px solid var(--cab-phosphor);
  padding: 6px 14px;
  margin-bottom: 28px;
  letter-spacing: 2px;
  transform: rotate(-1.5deg);
  opacity: 0.95;
  text-shadow: 0 0 6px rgba(159, 232, 112, 0.45);
  box-shadow: 0 0 14px rgba(159, 232, 112, 0.18);
}

/* === ANIMATIONS === */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

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

@keyframes shimmer {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.4) drop-shadow(0 0 8px currentColor); }
  100% { filter: brightness(1); }
}

.blink { animation: blink 1.2s step-end infinite; }

/* ===================== */
/*    HERO SECTION       */
/* ===================== */

/* === ARCADE CABINET PALETTE === */
:root {
  --cab-body:      #C4622D;
  --cab-body-dk:   #8B3F18;
  --cab-body-lt:   #E08249;
  --cab-trim:      #2C1A0F;
  --cab-screen:    #0D2818;
  --cab-phosphor:  #9FE870;
  --cab-phosphor-dim: #5BAF4A;
  --cab-yellow:    #E8B83A;
  --cab-red:       #D43A2A;
  --cab-blue:      #3A6BB8;
  --cab-green:     #4FAE5C;
}

.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(74, 36, 130, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 40%, rgba(36, 60, 130, 0.25) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 24px 24px;
}

/* arcade floor */
.arcade-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 38px,
      rgba(120, 80, 200, 0.45) 38px,
      rgba(120, 80, 200, 0.45) 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 38px,
      rgba(80, 140, 220, 0.35) 38px,
      rgba(80, 140, 220, 0.35) 40px
    );
  transform: perspective(420px) rotateX(55deg);
  transform-origin: top center;
  opacity: 0.85;
  z-index: 0;
}

/* ===== CABINET ===== */
.arcade-cabinet {
  position: relative;
  z-index: 2;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  filter: drop-shadow(0 30px 0 rgba(0,0,0,0.35));
}

/* curved side flanks */
.arcade-cabinet::before,
.arcade-cabinet::after {
  content: '';
  position: absolute;
  top: 60px;
  bottom: 0;
  width: 38px;
  background: var(--cab-body-dk);
  border: 5px solid var(--cab-trim);
  box-shadow: inset 0 0 0 2px var(--cab-body);
  z-index: -1;
}
.arcade-cabinet::before {
  left: -32px;
  border-radius: 60% 12px 18px 60% / 28% 12px 18px 28%;
  border-right: none;
}
.arcade-cabinet::after {
  right: -32px;
  border-radius: 12px 60% 60% 18px / 12px 28% 28% 18px;
  border-left: none;
}

/* ----- Bezel + Screen ----- */
.cab-bezel {
  background: var(--cab-body);
  border: 5px solid var(--cab-trim);
  border-bottom: none;
  padding: 22px 22px 26px;
  border-radius: 16px 16px 0 0;
  box-shadow:
    inset 5px 0 0 var(--cab-body-lt),
    inset -5px 0 0 var(--cab-body-dk),
    inset 0 5px 0 var(--cab-body-lt);
  position: relative;
}

/* speaker grilles */
.cab-bezel::before,
.cab-bezel::after {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 10px;
  background-image:
    radial-gradient(circle, var(--cab-trim) 35%, transparent 36%);
  background-size: 10px 10px;
  background-repeat: repeat-y;
  opacity: 0.7;
}
.cab-bezel::before { left: 8px; }
.cab-bezel::after  { right: 8px; }

.cab-screen {
  position: relative;
  background: var(--cab-screen);
  border: 6px solid var(--cab-trim);
  border-radius: 14px;
  padding: 38px 30px 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.7),
    inset 0 0 0 2px #1a3a25;
}

.cab-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      rgba(0, 0, 0, 0.22) 2px,
      rgba(0, 0, 0, 0.22) 3px
    );
  z-index: 3;
}

/* CRT glass curvature glow */
.cab-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  z-index: 2;
  pointer-events: none;
}

.cab-screen-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.cab-screen .hero-eyebrow {
  font-size: 7px;
  color: var(--cab-phosphor-dim);
  letter-spacing: 3px;
  margin-bottom: 22px;
  text-shadow: 0 0 6px rgba(159, 232, 112, 0.5);
}

.cab-screen .hero-title {
  font-size: clamp(26px, 5vw, 44px);
  color: var(--cab-phosphor);
  text-shadow:
    0 0 8px rgba(159, 232, 112, 0.75),
    0 0 18px rgba(159, 232, 112, 0.4);
  line-height: 1.5;
  margin-bottom: 22px;
  letter-spacing: 6px;
}

.cab-screen .hero-subtitle {
  font-size: clamp(8px, 1.3vw, 10px);
  color: var(--cab-phosphor);
  letter-spacing: 4px;
  margin-bottom: 16px;
  text-shadow: 0 0 6px rgba(159, 232, 112, 0.5);
}

.cab-screen .hero-tagline {
  font-size: 7px;
  color: var(--cab-phosphor-dim);
  letter-spacing: 1px;
  margin-bottom: 28px;
  line-height: 2;
  text-shadow: 0 0 4px rgba(159, 232, 112, 0.35);
}

.cab-screen .hero-press {
  font-size: 8px;
  color: var(--cab-yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(232, 184, 58, 0.6);
}

/* screen corner shims */
.cab-screen-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--cab-trim);
  z-index: 4;
}
.cab-screen-corner--tl { top: -6px; left: -6px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.cab-screen-corner--tr { top: -6px; right: -6px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.cab-screen-corner--bl { bottom: -6px; left: -6px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.cab-screen-corner--br { bottom: -6px; right: -6px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* ----- Control deck ----- */
.cab-deck {
  background: var(--cab-body);
  border: 5px solid var(--cab-trim);
  padding: 22px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  border-radius: 0 0 10px 10px;
  box-shadow:
    inset 5px 0 0 var(--cab-body-lt),
    inset -5px 0 0 var(--cab-body-dk),
    inset 0 -8px 0 var(--cab-body-dk);
  position: relative;
}

.cab-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-left: 40px;
}

/* joystick */
.joystick {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  margin-top: -16px;
}

.joystick-base {
  position: absolute;
  inset: 0;
  background: var(--cab-trim);
  border-radius: 50%;
  box-shadow:
    inset 0 -5px 0 #000,
    inset 0 5px 0 #4a3020,
    0 5px 0 rgba(0,0,0,0.4);
}

.joystick-stick {
  position: absolute;
  left: 50%;
  bottom: 32%;
  width: 13px;
  height: 48px;
  background: linear-gradient(90deg, #1a1a1a 0%, #555 50%, #1a1a1a 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.joystick-ball {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ff6b3d 0%, var(--cab-red) 45%, #8a1a10 100%);
  transform: translateX(-50%);
  box-shadow:
    inset 0 -4px 0 #6b0f08,
    0 5px 0 rgba(0,0,0,0.45);
}

/* buttons */
.cab-buttons {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 36px 18px;
  flex-shrink: 0;
  margin-top: -22px;
}

.arc-btn {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--cab-trim);
  border-radius: 50%;
  box-shadow:
    inset 0 -4px 0 #000,
    0 5px 0 rgba(0,0,0,0.5);
  transition: transform 0.08s, box-shadow 0.08s;
}

.arc-btn-top {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--btn-color);
  box-shadow:
    inset 0 -6px 0 var(--btn-shadow),
    inset 0 4px 0 var(--btn-highlight),
    inset 4px 0 0 rgba(255,255,255,0.12);
}

.arc-btn-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font);
  font-size: 7px;
  color: #FFF1D6;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 0 var(--cab-trim);
  white-space: nowrap;
}

.arc-btn--red    { --btn-color: #E8463A; --btn-shadow: #8a1a10; --btn-highlight: #ff7d6b; }
.arc-btn--yellow { --btn-color: #F0C544; --btn-shadow: #8a6a10; --btn-highlight: #ffe48a; }
.arc-btn--blue   { --btn-color: #4A82D6; --btn-shadow: #1d3f7a; --btn-highlight: #8ab4ff; }
.arc-btn--green  { --btn-color: #5DC76E; --btn-shadow: #1d6a30; --btn-highlight: #a8eaa8; }

.arc-btn:hover {
  transform: translateY(2px);
  box-shadow:
    inset 0 -2px 0 #000,
    0 3px 0 rgba(0,0,0,0.5);
}
.arc-btn:active {
  transform: translateY(4px);
  box-shadow: inset 0 -1px 0 #000;
}

/* ----- Coin panel ----- */
.cab-coin-panel {
  align-self: center;
  background: var(--cab-trim);
  border: 4px solid #000;
  padding: 12px 28px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 220px;
  box-shadow: inset 0 0 0 2px #4a3020;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}

.cab-coin-panel:hover {
  transform: translateY(2px);
  box-shadow:
    inset 0 0 0 2px #6a4830,
    0 0 18px rgba(232, 184, 58, 0.35);
}

.cab-coin-panel:hover .cab-coin-label {
  animation: none;
  color: #FFE48A;
  text-shadow: 0 0 10px rgba(232, 184, 58, 0.9);
}

.cab-coin-panel:active {
  transform: translateY(4px);
}

.cab-coin-slot {
  width: 90px;
  height: 12px;
  background: #000;
  border: 2px solid #6a4830;
  border-radius: 2px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.9);
}

.cab-coin-label {
  font-family: var(--font);
  font-size: 7px;
  color: var(--cab-yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(232, 184, 58, 0.5);
  animation: blink 2s step-end infinite;
}

/* responsive */
@media (max-width: 520px) {
  .arcade-cabinet { width: min(420px, 88vw); }
  .cab-deck {
    padding: 18px 16px 24px;
    gap: 18px;
  }
  .cab-controls { gap: 16px; padding-left: 16px; }
  .joystick { width: 70px; height: 70px; margin-top: -8px; }
  .joystick-stick { height: 32px; width: 10px; }
  .joystick-ball { width: 28px; height: 28px; top: -7px; }
  .cab-buttons { gap: 28px 12px; margin-top: -12px; }
  .arc-btn { width: 48px; height: 48px; }
  .arc-btn-label { font-size: 6px; bottom: -18px; letter-spacing: 1px; }
  .cab-coin-panel { width: 180px; padding: 10px 20px; }
  .arcade-cabinet::before,
  .arcade-cabinet::after { width: 22px; }
  .arcade-cabinet::before { left: -18px; }
  .arcade-cabinet::after  { right: -18px; }
}

/* ========================= */
/*   ABOUT / TRAINER CARD    */
/* ========================= */

.about-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

.trainer-card {
  max-width: 680px;
}

.trainer-card-header {
  background: var(--cab-phosphor);
  color: var(--cab-screen);
  font-size: 11px;
  padding: 12px 18px;
  letter-spacing: 3px;
  text-shadow: 0 0 4px rgba(13, 40, 24, 0.4);
}

.trainer-card-main {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: var(--cream-dark);
  color: var(--ink);
  border-top: none;
  flex-wrap: wrap;
}

.trainer-photo {
  flex-shrink: 0;
}

.trainer-photo img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: top;
  image-rendering: pixelated;
  border: 4px solid var(--ink);
  display: block;
  filter: saturate(0.65) sepia(0.25);
}

.trainer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.trainer-field {
  font-size: 10px;
  line-height: 2;
  color: var(--ink);
}

.trainer-field .label {
  color: var(--muted);
  display: inline-block;
  min-width: 85px;
}

/* ======================== */
/*      LORE SECTION        */
/* ======================== */

.lore-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.lore-box {
  max-width: 680px;
}

.lore-box p {
  margin-bottom: 16px;
}

.lore-box p:last-child {
  margin-bottom: 0;
}

/* ======================== */
/*   JOURNEY / QUEST LOG    */
/* ======================== */

.journey-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

.journey-intro {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 2;
}

.quest-log {
  max-width: 680px;
  overflow: hidden;
}

.quest-entry {
  border-bottom: 3px solid var(--ink);
}

.quest-entry:last-child {
  border-bottom: none;
}

.quest-header {
  width: 100%;
  background: var(--cream-dark);
  border: none;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: background 0.1s;
}

.quest-header:hover {
  background: var(--path);
}

.quest-entry.open > .quest-header {
  background: var(--cab-phosphor);
  color: var(--cab-screen);
}

.quest-id {
  font-size: 8px;
  color: var(--muted);
  flex-shrink: 0;
  width: 28px;
}

.quest-entry.open .quest-id {
  color: rgba(13, 40, 24, 0.65);
}

.quest-name {
  font-size: 10px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quest-years {
  font-size: 8px;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.quest-entry.open .quest-years {
  color: rgba(245, 240, 232, 0.55);
}

.quest-badge {
  font-size: 8px;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.quest-entry.active .quest-badge {
  color: var(--gold);
}

.quest-entry.open .quest-badge {
  color: var(--cream);
}

.quest-entry.active.open .quest-badge {
  color: var(--gold);
}

.quest-chevron {
  font-size: 11px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.15s;
}

.quest-entry.open .quest-chevron {
  transform: rotate(90deg);
  color: var(--cream);
}

.quest-body {
  background: var(--cream);
  padding: 16px 20px 20px;
  border-top: 3px solid var(--ink);
}

.quest-role {
  font-size: 10px;
  color: var(--terracotta);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.quest-desc {
  font-size: 10px;
  line-height: 2.2;
  color: var(--ink);
}

.quest-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 10px;
  line-height: 2;
  color: var(--ink);
}

.quest-bullets li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.quest-bullets li:last-child {
  margin-bottom: 0;
}

.quest-bullets li::before {
  content: '\25B6';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 7px;
  line-height: 2.5;
}

.quest-rewards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.quest-rewards-label {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
}

.quest-reward-tag {
  font-size: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 5px 10px;
  letter-spacing: 0.5px;
}

/* ========================= */
/*   BADGES / GYM SECTION    */
/* ========================= */

.badges-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

.badges-intro {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 2;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 32px 20px;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
  position: relative;
}

.badge-shape {
  width: 76px;
  height: 76px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s, transform 0.15s;
}

.badge:hover .badge-shape {
  filter: brightness(1.25) drop-shadow(0 0 10px currentColor);
  transform: scale(1.1) rotate(6deg);
}

.badge-gem {
  width: 28px;
  height: 28px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: rgba(255, 255, 255, 0.45);
}

.badge-label {
  font-size: 8px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.8;
}

.badge-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--muted);
  padding: 10px 14px;
  font-size: 8px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 3px 3px 0 var(--muted);
  pointer-events: none;
}

.badge:hover .badge-tooltip {
  display: block;
}

/* Badge type colors */
.badge-fire   .badge-shape { background: #C4622D; }
.badge-ground .badge-shape { background: #C8A87A; }
.badge-grass  .badge-shape { background: #7D9B6C; }
.badge-water  .badge-shape { background: #7AAFC2; }
.badge-elec   .badge-shape { background: #D4A627; }
.badge-rock   .badge-shape { background: #8B5E3C; }
.badge-dark   .badge-shape { background: #5C4033; }
.badge-champ  .badge-shape { background: #C8960C; }

.badge-fire   { color: #C4622D; }
.badge-ground { color: #C8A87A; }
.badge-grass  { color: #7D9B6C; }
.badge-water  { color: #7AAFC2; }
.badge-elec   { color: #D4A627; }
.badge-rock   { color: #8B5E3C; }
.badge-dark   { color: #5C4033; }
.badge-champ  { color: #C8960C; }

/* =================== */
/*       FOOTER        */
/* =================== */

.footer {
  background: var(--hero-bg);
  color: var(--cream);
  padding: 72px 24px;
  text-align: center;
  margin-top: 40px;
}

.footer-save {
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 36px;
  letter-spacing: 4px;
  animation: shimmer 3s ease-in-out infinite;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--path);
  text-decoration: none;
  font-size: 8px;
  border: 2px solid var(--path);
  padding: 8px 14px;
  transition: background 0.1s, color 0.1s;
  letter-spacing: 1px;
}

.footer-links a:hover {
  background: var(--path);
  color: var(--ink);
}

.footer-copy {
  font-size: 5px;
  color: var(--muted);
  letter-spacing: 2px;
}
