/* gibbyfarts.com :: geocities.css
   The "I can't believe I'm asking this" expansion pack. Everything below is
   pure CSS/JS -- no assets -- so a dumb static host can't break it. */

/* ---------------- animated construction stripes ---------------- */
.construction-banner {
  font-family: "Impact", sans-serif;
  font-size: clamp(14px, 4vw, 22px);
  color: #000;
  padding: 8px;
  text-shadow: 1px 1px 0 #fff;
  background: repeating-linear-gradient(45deg,
    #ffcc00 0 24px, #000 24px 48px);
  background-size: 68px 68px;
  animation: march 1s linear infinite;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
}
.construction-banner span {
  background: #ffcc00;
  padding: 2px 10px;
  border: 2px solid #000;
}
@keyframes march { to { background-position: 68px 0; } }

/* ---------------- "1,000,000th visitor" prize banner ---------------- */
.prize-banner {
  background: #ff0000;
  color: #fff800;
  font-family: "Impact", sans-serif;
  font-size: clamp(13px, 3.5vw, 18px);
  padding: 8px;
  cursor: pointer;
  border-bottom: 3px dashed #fff800;
  animation: prizeFlash 0.4s steps(2) infinite;
}
@keyframes prizeFlash { 50% { background: #0000ff; color: #00ff00; } }

/* ---------------- rainbow scrolling text ---------------- */
.rainbow {
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbowSlide 3s linear infinite;
  font-weight: bold;
}
@keyframes rainbowSlide { to { background-position: 200% center; } }

/* ---------------- animated rainbow divider (the GIF <hr>) ---------------- */
.hr-rainbow {
  height: 8px; border: 0; margin: 22px auto; width: 80%;
  background: repeating-linear-gradient(90deg,
    red 0 14px, orange 14px 28px, yellow 28px 42px, green 42px 56px,
    blue 56px 70px, violet 70px 84px);
  background-size: 84px 100%;
  animation: march 0.7s linear infinite;
}

/* ---------------- FARTSTER DANCE (hampster dance homage) ---------------- */
.fartster-zone { margin: 26px auto; }
.fartster {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  font-size: clamp(28px, 8vw, 52px); line-height: 1;
}
.fartster span { display: inline-block; animation: bop 0.5s ease-in-out infinite; }
.fartster span:nth-child(2n) { animation-delay: 0.12s; }
.fartster span:nth-child(3n) { animation-delay: 0.25s; }
.fartster span:nth-child(4n) { animation-delay: 0.37s; }
@keyframes bop { 0%,100%{transform:translateY(0) rotate(-6deg)} 50%{transform:translateY(-16px) rotate(6deg)} }

.anthem-btn {
  font-family: inherit; font-weight: bold; cursor: pointer; margin-top: 12px;
  font-size: clamp(13px, 3.5vw, 17px);
  padding: 10px 16px; color: #000;
  border: 4px outset #ff66ff;
  background: linear-gradient(180deg, #ff99ff, #ff33ff);
  box-shadow: 0 0 16px #ff00ff;
}
.anthem-btn:active { border-style: inset; }

/* ---------------- fake awards ---------------- */
.awards-zone { margin: 30px auto; max-width: 640px; padding: 0 14px; }
.awards { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.award {
  width: 150px; padding: 12px 8px; color: #000;
  background: radial-gradient(circle at 50% 0%, #fff3b0, #ffd000);
  border: 4px ridge #b8860b;
  font-size: 12px; font-weight: bold;
  box-shadow: 0 0 14px #ffd000;
  transform: rotate(-2deg);
}
.award:nth-child(even) { transform: rotate(2deg); }
.award .star { font-size: 26px; display: block; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- spinning NEW! badge ---------------- */
.spin-new {
  display: inline-block; background: red; color: #fff800; font-weight: bold;
  padding: 2px 6px; border-radius: 4px; font-size: 11px;
  animation: spin 1.5s linear infinite;
}

/* ---------------- webring nav ---------------- */
.webring {
  margin: 30px auto; max-width: 560px; padding: 12px;
  border: 4px double var(--cyber); background: #000;
}
.webring .ring-title { color: var(--gold); font-weight: bold; margin-bottom: 8px; }
.webring a {
  display: inline-block; margin: 4px; padding: 6px 10px;
  background: #222; color: var(--acid); border: 2px outset #444;
  text-decoration: none; font-weight: bold; font-size: 13px;
}
.webring a:active { border-style: inset; }

/* ---------------- fake popup window ---------------- */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.popup-window {
  width: min(90vw, 420px);
  background: #c0c0c0; color: #000; text-align: left;
  border: 3px outset #fff;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}
.popup-title {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff; font-weight: bold; padding: 4px 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.popup-title button {
  background: #c0c0c0; border: 2px outset #fff; font-weight: bold;
  width: 22px; height: 20px; cursor: pointer; line-height: 1;
}
.popup-body { padding: 16px; font-size: 14px; }
.popup-body .pop-ok {
  margin-top: 14px; padding: 6px 22px; border: 2px outset #fff;
  background: #c0c0c0; cursor: pointer; font-weight: bold;
}
.popup-body .pop-ok:active { border-style: inset; }

/* ---------------- cursor trail sparkles ---------------- */
.trail {
  position: fixed; pointer-events: none; z-index: 9998;
  font-size: 20px; transform: translate(-50%, -50%);
  animation: trailFade 0.8s ease-out forwards;
}
@keyframes trailFade {
  from { opacity: 1; }
  to { opacity: 0; transform: translate(-50%, -120%) scale(0.4); }
}

/* ---------------- falling poop rain ---------------- */
.rain {
  position: fixed; top: -40px; pointer-events: none; z-index: 1;
  font-size: 22px; animation: fall linear forwards;
  will-change: transform;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(360deg); }
}

/* ---------------- fake status bar ---------------- */
.statusbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: #c0c0c0; color: #000; border-top: 2px solid #fff;
  font-family: "MS Sans Serif", Tahoma, sans-serif; font-size: 12px;
  padding: 3px 6px; text-align: left;
  white-space: nowrap; overflow: hidden;
}
body { padding-bottom: 26px; } /* room for the status bar */

/* ---------------- "powered by" stack ---------------- */
.powered-by { color: #999; font-size: 11px; line-height: 1.8; margin-top: 12px; }
.powered-by b { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .trail, .rain { display: none !important; }
}
