/* ==========================================================================
   FURRYHACK 2019 LOW-BUDGET MINECRAFT CLIENT BASE STYLESHEET
   Clean, maintainable CSS producing intentionally terrible 2019 nostalgia.
   ========================================================================== */

:root {
  --font-comic: 'Comic Sans MS', 'Comic Neue', 'Chalkboard SE', 'Marker Felt', cursive;
  --font-pixel: 'Press Start 2P', 'Courier New', monospace;
  --font-mono: 'Courier New', Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 0 24px;
  font-family: var(--font-comic);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
  image-rendering: auto;
}

img {
  max-width: 100%;
  height: auto;
}

code {
  font-family: var(--font-mono);
  padding: 1px 5px;
  border: 1px dotted currentColor;
  font-size: 0.92em;
}

/* ---------- OUTDATED 2019 CSS ANIMATIONS ---------- */
@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes retroBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.12; }
}

@keyframes wobble {
  0%, 100% { transform: rotate(-3.5deg) translateY(0); }
  50% { transform: rotate(3.5deg) translateY(-6px); }
}

@keyframes wobbleRev {
  0%, 100% { transform: rotate(3.5deg) translateY(-4px); }
  50% { transform: rotate(-3.5deg) translateY(4px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bouncePaw {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.12); }
}

@keyframes bgTileDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 160px 160px, 0 0; }
}

@keyframes pawFall {
  0% { transform: translateY(-60px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(105vh) rotate(540deg); opacity: 0.15; }
}

@keyframes sparkleFade {
  0% { opacity: 0.95; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -80%) scale(0.3); }
}

@keyframes boopPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.22) rotate(-8deg); }
  70% { transform: scale(0.92) rotate(6deg); }
  100% { transform: scale(1); }
}

@keyframes overdriveHue {
  from { filter: hue-rotate(0deg) saturate(1.5); }
  to { filter: hue-rotate(360deg) saturate(1.5); }
}

.wobble-slow { animation: wobble 3.2s ease-in-out infinite; }
.wobble-slow-rev { animation: wobbleRev 3.4s ease-in-out infinite; }
.spin-paw { width: 28px; height: 28px; animation: spinSlow 4s linear infinite; }
.bounce-paw { width: 28px; height: 28px; animation: bouncePaw 1.1s ease-in-out infinite; }
.boop-bounce { animation: boopPop 0.35s ease !important; }

.blink-tag {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 5px 8px;
  background: #ffee00;
  color: #8f0000;
  border: 2px dashed #cc0000;
  animation: retroBlink 1.15s steps(2, start) infinite;
}

.blink-inline {
  display: inline-block;
  padding: 1px 4px;
  background: #ff0040;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  animation: retroBlink 0.7s steps(2, start) infinite;
}

/* ---------- MARQUEE TICKERS ---------- */
.marquee-bar {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px ridge #fff;
  border-bottom: 3px ridge #fff;
  padding: 7px 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.marquee-track {
  display: inline-flex;
  gap: 36px;
  padding-left: 100%;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------- PIXELATED 3D BEVELED BUTTONS ---------- */
.pixel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 12px;
  font-family: var(--font-comic);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: 3px outset #ffffff;
  border-radius: 0;
  box-shadow: 3px 3px 0 #000000;
  transition: transform 0.06s steps(2, end);
  user-select: none;
}

.pixel-btn:hover {
  transform: translate(-1px, -1px) scale(1.03);
}

.pixel-btn:active {
  border-style: inset;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000000;
}

.pixel-btn-big {
  font-size: 15px;
  padding: 11px 16px;
  border-width: 4px;
}

.mini-btn {
  font-size: 12px;
  padding: 5px 9px;
}

.btn-rainbow {
  background: linear-gradient(90deg, #ff0040, #ff8800, #ffee00, #00e640, #00c8ff, #b400ff, #ff0040);
  background-size: 300% 100%;
  animation: rainbowShift 3.5s linear infinite;
  color: #ffffff !important;
  text-shadow: 2px 2px 0 #000000;
}

.btn-warn {
  background: linear-gradient(180deg, #ffee00, #ffae00);
  color: #111111 !important;
  border: 4px dashed #111111;
  text-shadow: 1px 1px 0 #ffffff;
}

/* ---------- NAVIGATION BAR ---------- */
.retro-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 8px 10px;
  border-bottom: 4px double #ffffff;
}

.retro-nav {
  max-width: 1016px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

/* ---------- MAIN PAGE CONTAINER (1024x768 FRIENDLY!) ---------- */
.page-shell {
  max-width: 1004px;
  margin: 14px auto;
  padding: 0 10px;
}

.retro-box {
  padding: 16px;
  margin-bottom: 18px;
  border-width: 5px;
  border-style: ridge;
  position: relative;
}

.section-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  margin: -16px -16px 14px;
  border-bottom: 4px dashed;
}

.section-header-bar h2 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 13px;
  line-height: 1.5;
}

.section-intro {
  margin: 0 0 14px;
  font-size: 15px;
}

.paw-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 14px;
  font-family: var(--font-pixel);
  font-size: 10px;
  text-align: center;
}

.paw-divider img {
  width: 24px;
  height: 24px;
  animation: bouncePaw 1.6s ease-in-out infinite;
}

/* ---------- HERO SECTION ---------- */
.hero-top-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  gap: 14px;
  align-items: center;
}

.hero-center-col {
  text-align: center;
}

.paw-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wordart-kicker {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.5px;
}

.furryhack-logo {
  margin: 4px 0 8px;
  font-family: var(--font-pixel);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 6px auto 8px;
  font-size: 17px;
  max-width: 560px;
}

.hero-tagline {
  margin: 0 auto 14px;
  font-size: 14px;
  max-width: 560px;
}

.highlight-pill {
  display: inline-block;
  padding: 1px 7px;
  font-weight: 700;
  border: 2px dashed;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.stat-chip {
  padding: 6px 10px;
  border: 3px groove;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 105px;
}

.stat-chip strong {
  font-family: var(--font-pixel);
  font-size: 10px;
}

.stat-chip span {
  font-size: 11px;
}

.mascot-sticker {
  padding: 8px;
  border: 4px dashed;
  text-align: center;
  cursor: pointer;
}

.mascot-img {
  width: 156px;
  height: 156px;
  object-fit: cover;
  border: 3px outset #fff;
  display: block;
  margin: 0 auto 6px;
}

.sticker-caption {
  font-weight: 700;
  font-size: 13px;
}

.mini-credit {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 3px;
}

.sticker-parade {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 3px dotted;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.mini-sticker {
  text-align: center;
  padding: 6px;
  border: 3px outset;
}

.mini-sticker img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  display: block;
  margin: 0 auto 4px;
  border: 2px solid #000;
}

.mini-sticker span {
  font-size: 11px;
  font-weight: 700;
}

/* ---------- FEATURE SCREENSHOT SHOWCASES ---------- */
.feature-shot-layout,
.mainmenu-banner-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.feature-copy-box {
  padding: 12px;
  border: 3px dashed;
}

.feature-copy-box h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.retro-feature-list {
  margin: 8px 0 10px;
  padding-left: 18px;
  font-size: 14px;
}

.retro-feature-list li {
  margin-bottom: 6px;
}

.bweepy-art-buddy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px;
  border: 2px dotted currentColor;
  font-size: 12px;
  font-weight: 700;
}

.bweepy-art-buddy img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px outset #fff;
  flex-shrink: 0;
}

.shot-featured img {
  height: 290px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.shot-card {
  margin: 0;
  padding: 8px;
  border: 4px outset #ffffff;
  background: rgba(10, 6, 20, 0.88);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 5px 5px 0 #000000;
  transition: transform 0.1s steps(2, end);
}

.shot-card:hover {
  transform: scale(1.02) rotate(-0.3deg);
}

.shot-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
  border: 2px inset #777;
  margin-bottom: 7px;
}

.shot-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.shot-card figcaption span {
  font-size: 12px;
  opacity: 0.88;
}

/* ---------- OFFICIAL LOW-QUALITY TRAILER ---------- */
.trailer-layout {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 16px;
  align-items: start;
}

.trailer-side-art {
  text-align: center;
  padding: 10px;
  border: 3px dashed;
}

.trailer-side-art img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.85);
  border: 3px outset #fff;
  padding: 4px;
}

.side-caption {
  font-size: 12px;
  margin: 6px 0 12px;
}

.trailer-tv-bezel {
  position: relative;
  border: 6px ridge;
  background: #000;
  padding: 6px;
  box-shadow: 6px 6px 0 #000;
}

.hypercam-watermark {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border: 1px solid #000;
  pointer-events: none;
}

.video-aspect {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

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

.trailer-controls-bar {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fake-quality-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 13px;
}

.tiny-note {
  font-size: 12px;
  margin: 8px 0 0;
}

/* ---------- BWEEPY AI CLICKGUI SHOWCASE ---------- */
.bweepy-window {
  background: #100c1c;
  color: #f3e8ff;
  border: 4px outset #9d4edd;
  box-shadow: 6px 6px 0 #000;
}

.bweepy-titlebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  background: linear-gradient(90deg, #5a189a, #9d4edd, #00b4d8);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 3px solid #00f7ff;
}

.bweepy-live-badge {
  background: #000;
  color: #00ff88;
  padding: 2px 7px;
  font-size: 11px;
  border: 1px solid #00ff88;
}

.bweepy-body-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}

.bweepy-chat-pane {
  padding: 12px;
  border-right: 3px dashed #7b2cbf;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bweepy-preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.bweepy-chat-log {
  background: #080510;
  border: 3px inset #5a189a;
  padding: 10px;
  height: 230px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bweepy-msg {
  padding: 7px 9px;
  border-left: 4px solid;
  font-size: 13px;
}

.bweepy-msg-ai {
  background: rgba(157, 78, 221, 0.22);
  border-color: #00f7ff;
}

.bweepy-msg-user {
  background: rgba(0, 247, 255, 0.14);
  border-color: #ff4fd8;
}

.bweepy-sender {
  font-weight: 700;
  color: #00f7ff;
}

.bweepy-input-row {
  display: flex;
  gap: 6px;
}

.bweepy-input-row input {
  flex: 1;
  padding: 7px 10px;
  background: #06030c;
  color: #fff;
  border: 3px inset #9d4edd;
  font-family: var(--font-comic);
  font-size: 13px;
}

.bweepy-code-pane {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bweepy-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #00f7ff;
}

.bweepy-cat-gif {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 2px solid #00f7ff;
  background: #fff;
}

.bweepy-code-block {
  margin: 0;
  padding: 10px;
  background: #05020a;
  color: #7cffcb;
  border: 3px inset #00b4d8;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  height: 180px;
  overflow: auto;
  white-space: pre-wrap;
}

.bweepy-status-bar {
  background: #1d1035;
  border: 2px solid #00f7ff;
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ffee00;
}

.drawer-label {
  font-size: 11px;
  color: #c77dff;
  margin-bottom: 4px;
}

.bweepy-mod-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.bweepy-mod-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: #240046;
  border: 1px solid #c77dff;
  padding: 2px 7px;
  color: #fff;
}

.bweepy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff88;
  display: inline-block;
}

/* ---------- SPOTIFY HUD & MP3 PLAYER SHOWCASES ---------- */
.media-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showcase-panel {
  padding: 12px;
  border: 3px groove;
}

.showcase-panel h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.small-desc {
  margin: 0 0 10px;
  font-size: 13px;
}

/* Fake Minecraft 1.8.8 HUD Stage */
.mc-preview-stage {
  position: relative;
  height: 290px;
  background:
    linear-gradient(180deg, #5da9ff 0%, #8ed0ff 56%, #4da33b 56%, #3c822d 62%, #6d4c3d 62%, #52392d 100%);
  border: 4px inset #333;
  overflow: hidden;
  user-select: none;
}

.mc-watermark-top {
  position: absolute;
  top: 6px;
  left: 8px;
  font-family: var(--font-pixel);
  font-size: 10px;
  text-shadow: 2px 2px 0 #000;
  color: #fff;
}

.mc-rainbow-text {
  background: linear-gradient(90deg, #ff3366, #ffcc00, #33ff66, #00e5ff, #cc66ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 #000);
}

.mc-arraylist {
  position: absolute;
  top: 6px;
  right: 6px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.arr-item {
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 6px;
  margin-bottom: 1px;
  border-right: 3px solid currentColor;
}

.arr-item span { color: #ccc; font-weight: 400; }
.arr-1 { color: #ff4d6d; }
.arr-2 { color: #ffbe0b; }
.arr-3 { color: #38b000; }
.arr-4 { color: #00f5d4; }
.arr-5 { color: #9b5de5; }
.arr-6 { color: #f15bb5; }

.spotify-hud-widget {
  position: absolute;
  width: 280px;
  background: rgba(16, 16, 22, 0.94);
  color: #fff;
  border: 2px solid #1db954;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.75);
  z-index: 10;
}

.sp-drag-handle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 7px;
  background: #1db954;
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  cursor: grab;
}

.sp-drag-handle:active { cursor: grabbing; }

.sp-main-row {
  display: flex;
  gap: 8px;
  padding: 8px;
  align-items: center;
}

.sp-cover {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 2px solid #1db954;
  flex-shrink: 0;
}

.sp-meta {
  min-width: 0;
  flex: 1;
}

.sp-title {
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.sp-artist {
  font-size: 11px;
  color: #b3b3b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-bar-bg {
  height: 6px;
  background: #333;
  margin: 5px 0;
  border: 1px solid #000;
}

.sp-bar-fill {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, #1db954, #00f7ff);
}

.sp-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.sp-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #ccc;
}

.sp-btns {
  display: flex;
  gap: 3px;
}

.sp-btns button {
  background: #252535;
  color: #fff;
  border: 1px solid #555;
  padding: 2px 4px;
  font-size: 11px;
  cursor: pointer;
}

.sp-btns button.is-active {
  background: #1db954;
  color: #000;
}

.mc-hotbar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: rgba(30, 30, 30, 0.85);
  border: 2px solid #777;
}

.hb-slot {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555;
  font-size: 14px;
}

.hb-slot.active {
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.2);
}

/* Winamp / Local MP3 Player Showcase */
.winamp-shell {
  background: #1c1f2b;
  color: #d7ffdf;
  border: 4px outset #6d7599;
  padding: 10px;
  box-shadow: 5px 5px 0 #000;
}

.winamp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #002266, #4b0082, #006688);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.winamp-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #020804;
  border: 3px inset #555;
  padding: 8px;
  margin-bottom: 8px;
}

.winamp-now-wrap {
  min-width: 0;
  flex: 1;
}

.winamp-now {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: #00ff66;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winamp-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #00e5ff;
  margin-top: 3px;
}

.mp3-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  width: 68px;
  flex-shrink: 0;
}

.mp3-eq-bar {
  flex: 1;
  height: 20%;
  background: linear-gradient(180deg, #ff0055, #ffee00, #00ff66);
  transition: height 0.09s linear;
}

.winamp-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.vol-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin-left: auto;
}

.mp3-track-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp3-track-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  background: #0d1018;
  color: #a8ffcf;
  border: 1px solid #3c4666;
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.mp3-track-row:hover {
  background: #232a42;
}

.mp3-track-row.is-current {
  background: #003b22;
  border-color: #00ff66;
  color: #ffee00;
  font-weight: 700;
}

.mp3-track-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- MODULES GRID ---------- */
.modules-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mod-cat-box {
  padding: 12px;
  border: 3px dashed;
  display: flex;
  flex-direction: column;
}

.mod-cat-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.mod-cat-box ul {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13px;
  flex: 1;
}

.mod-cat-box li {
  margin-bottom: 5px;
}

.cat-art-preview {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border: 3px outset #fff;
  background: #fff;
}

/* ---------- RANDOM FURRY ARTWORK GALLERY ---------- */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.random-spotlight {
  margin-bottom: 16px;
  padding: 12px;
  border: 4px dashed;
}

.spotlight-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.spotlight-img-wrap img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border: 4px outset #fff;
  padding: 4px;
}

.spotlight-info {
  flex: 1;
  min-width: 240px;
}

.spotlight-info h3 {
  margin: 6px 0 4px;
  font-size: 20px;
}

.furry-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}

.art-card {
  border: 4px outset;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s steps(2, end);
}

.art-card:hover {
  transform: scale(1.03) rotate(-0.8deg);
}

.art-thumb-frame {
  position: relative;
  height: 160px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px inset #666;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 7px;
}

.art-thumb-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.art-cat-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #000;
  color: #ff0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
}

.art-meta h4 {
  margin: 0 0 3px;
  font-size: 14px;
}

.art-cap {
  margin: 0 0 6px;
  font-size: 12px;
  opacity: 0.9;
}

.art-credit {
  margin-top: auto;
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.lic-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 4px;
  border: 1px solid currentColor;
}

/* Artist Credits Table */
.credits-details {
  margin-top: 18px;
}

.credits-summary {
  list-style: none;
  width: 100%;
  justify-content: center;
}

.credits-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  border: 3px inset;
  padding: 10px;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 8px;
}

.credits-table th,
.credits-table td {
  border: 1px solid;
  padding: 5px 8px;
  text-align: left;
}

/* ---------- RETRO VISITOR COUNTER & 88x31 BADGES ---------- */
.counter-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  align-items: center;
}

.counter-panel,
.badges-panel {
  text-align: center;
  padding: 12px;
  border: 3px dotted;
}

.counter-panel h3,
.badges-panel h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.led-counter {
  display: inline-flex;
  gap: 4px;
  padding: 8px 12px;
  background: #060606;
  border: 4px inset #777;
  margin: 8px 0 10px;
}

.led-digit {
  display: inline-block;
  width: 24px;
  height: 34px;
  line-height: 34px;
  background: #140000;
  color: #ff2233;
  font-family: var(--font-pixel);
  font-size: 16px;
  text-shadow: 0 0 8px #ff2233;
  border: 1px solid #3a0000;
}

.badge-88x31-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
}

.badge-88 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 31px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  border: 2px outset #fff;
  text-decoration: none;
  box-shadow: 2px 2px 0 #000;
}

.b-rainbow { background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f); color: #000; }
.b-dark { background: #111; color: #0f0; }
.b-cyan { background: #003b46; color: #00f7ff; }
.b-yellow { background: #ffee00; color: #000; }
.b-pink { background: #ff4fd8; color: #fff; text-shadow: 1px 1px 0 #000; }
.b-green { background: #00a844; color: #fff; }
.b-purple { background: #6a00f4; color: #fff; }
.b-hazard { background: repeating-linear-gradient(45deg, #ff0, #ff0 6px, #000 6px, #000 12px); color: #fff; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }

/* ---------- FOOTER ---------- */
.retro-footer {
  max-width: 1004px;
  margin: 14px auto 0;
  padding: 16px 14px;
  text-align: center;
  border: 4px double;
}

.footer-paw-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-paw {
  width: 24px;
  height: 24px;
}

.best-viewed-text {
  font-family: var(--font-pixel);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.footer-links {
  margin: 6px 0;
  font-weight: 700;
}

.footer-meta {
  margin: 6px 0 0;
  font-size: 12px;
}

.secret-build-stamp {
  background: transparent;
  border: 1px dotted currentColor;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  margin-left: 4px;
}

/* ---------- OPTIONAL FLOATING RETRO MUSIC DOCK ---------- */
.retro-bgm-dock {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 3px outset #fff;
  box-shadow: 4px 4px 0 #000;
  max-width: calc(100vw - 24px);
}

.retro-bgm-track {
  font-family: var(--font-mono);
  font-size: 11px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.retro-bgm-dock input[type='range'] {
  width: 64px;
}

/* ---------- LIGHTBOX, PANIC OVERLAY & EASTER EGGS ---------- */
.art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.art-lightbox.is-open { display: flex; }

.lightbox-card {
  max-width: 640px;
  width: 100%;
  text-align: center;
  margin: 0;
}

.lb-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.lb-img-wrap img {
  max-height: 55vh;
  background: #fff;
  border: 4px outset #fff;
  padding: 6px;
}

.panic-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #ffffff;
  color: #111111;
  font-family: 'Times New Roman', Times, serif;
  display: none;
  padding: 40px 20px;
  overflow-y: auto;
}

.panic-overlay.is-open { display: block; }

.panic-paper {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 32px;
  line-height: 1.7;
}

.panic-return-btn {
  margin-top: 20px;
  padding: 10px 16px;
  font-family: var(--font-comic);
  font-weight: 700;
  cursor: pointer;
}

.egg-toast-host {
  position: fixed;
  left: 12px;
  bottom: 64px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.egg-toast {
  background: #140024;
  color: #fff;
  border: 4px ridge #ffee00;
  box-shadow: 5px 5px 0 #000;
  padding: 10px 12px;
  transition: opacity 0.4s ease;
}

.egg-toast.is-leaving { opacity: 0; }
.egg-toast-title { font-family: var(--font-pixel); font-size: 10px; color: #ffee00; margin-bottom: 5px; line-height: 1.4; }
.egg-toast-body { font-size: 13px; }

.falling-paw {
  position: fixed;
  top: -60px;
  z-index: 300;
  pointer-events: none;
  animation: pawFall linear forwards;
}

.cursor-paw-sparkle {
  position: fixed;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 180;
  animation: sparkleFade 0.65s ease-out forwards;
}

body.overdrive-mode {
  animation: overdriveHue 2.5s linear infinite;
}

body.crt-1024-mode .page-shell {
  max-width: 980px;
  border: 10px ridge #777;
  box-shadow: 0 0 0 6px #222, inset 0 0 40px rgba(0, 0, 0, 0.5);
}

body.crt-1024-mode::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 190;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.14) 0px,
    rgba(0, 0, 0, 0.14) 2px,
    transparent 2px,
    transparent 4px
  );
}

/* ---------- V2 COMING SOON (MAYBE.) PAGE ---------- */
.hazard-tape {
  background: repeating-linear-gradient(-45deg, #ffee00, #ffee00 18px, #111111 18px, #111111 36px);
  color: #ffffff;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  font-family: var(--font-pixel);
  font-size: 10px;
  text-align: center;
  padding: 10px 8px;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
}

.v2-banner-row {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.v2-mascot {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px ridge #ffee00;
  background: #fff;
  margin: 0 auto;
}

.v2-maybe-heading {
  font-family: var(--font-pixel);
  font-size: 16px;
  margin: 8px 0;
}

.maybe-pill {
  font-family: var(--font-comic);
  font-style: italic;
  font-size: 20px;
  padding: 2px 8px;
  background: #ffee00;
  color: #000;
  border: 2px dashed #f00;
}

.v2-countdown-box {
  margin: 18px 0;
  padding: 14px;
  text-align: center;
  border: 4px dashed #ffee00;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.v2-countdown-label {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: #ffee00;
  margin-bottom: 8px;
}

.v2-countdown-digits {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: #00ff88;
  text-shadow: 0 0 8px #00ff88;
  margin-bottom: 10px;
  line-height: 1.6;
}

.v2-leaks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.v2-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  font-size: 13px;
}

.v2-form input,
.v2-form select {
  padding: 6px 8px;
  font-family: var(--font-comic);
  border: 3px inset #999;
}

.v2-waitlist-result {
  margin-top: 10px;
  font-size: 13px;
}

.v2-prog-track {
  height: 28px;
  background: #111;
  border: 3px inset #888;
  overflow: hidden;
}

.v2-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff0040, #ffee00, #00ff66, #00f7ff);
  color: #000;
  font-weight: 700;
  line-height: 24px;
  padding-left: 8px;
  white-space: nowrap;
  transition: width 0.5s ease;
}

/* ---------- RESPONSIVE FALLBACK FOR SMALL SCREENS ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .feature-shot-layout,
  .mainmenu-banner-row,
  .screenshots-grid,
  .trailer-layout,
  .bweepy-body-grid,
  .media-two-col,
  .modules-showcase-grid,
  .counter-grid,
  .v2-banner-row,
  .v2-leaks-grid {
    grid-template-columns: 1fr;
  }
  .sticker-parade {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
  .bweepy-chat-pane {
    border-right: 0;
    border-bottom: 3px dashed #7b2cbf;
  }
}
