/* =====================================================
   DarkStar's Cyber Dimension - Cascading Style Sheet
   CSS is the FUTURE!!! (doesnt work in Netscape 3 tho)
   ===================================================== */

blink { animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 50% { visibility: hidden; } }

img { image-rendering: pixelated; }
a img { border-color: #00ffff; }

/* ---------- WordArt (like in Microsoft Word!!) ---------- */
.wordart {
  display: inline-block; white-space: nowrap; color: transparent;
  font-family: Impact, "Arial Black", sans-serif; font-size: 56px; line-height: 1.08; letter-spacing: 1px;
  padding: 4px 10px 12px;
  filter: drop-shadow(1px 1px 0 #000) drop-shadow(2px 2px 0 #1a0066) drop-shadow(2px 2px 0 #0d0033) drop-shadow(0 0 6px rgba(255,255,255,.3));
  transform: perspective(520px) rotateX(16deg);
}
.wordart, .wordart .wl {
  background-image: linear-gradient(180deg, #ff1a1a 0%, #ff9900 22%, #ffff00 42%, #33ff33 60%, #00ccff 80%, #cc33ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px #000;
}
.wordart.chrome, .wordart.chrome .wl { background-image: linear-gradient(180deg, #ffffff 0%, #d6dcef 42%, #4b5578 50%, #8f9cc4 68%, #f4f6ff 100%); }
.wordart.gold, .wordart.gold .wl { background-image: linear-gradient(180deg, #fff6b3 0%, #ffd200 42%, #9a5b00 52%, #ffcc33 72%, #fff0a0 100%); }
.wordart.waved { background-image: none; -webkit-text-stroke: 0; }
.wordart .wl { display: inline-block; color: transparent; animation: wave 1.8s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wordart.small { font-size: 40px; }

/* ---------- flaming text ---------- */
.flame {
  font: 46px Impact, "Arial Black", sans-serif; letter-spacing: 6px; color: #fff3a8;
  text-shadow: 0 0 3px #fff, 0 -3px 6px #ffee44, 0 -7px 10px #ffaa00, 0 -12px 16px #ff5500, 0 -18px 26px #cc0000;
  animation: flicker .13s infinite alternate;
}
@keyframes flicker {
  to { text-shadow: 0 0 4px #fff, 1px -4px 7px #ffee44, -1px -9px 12px #ffaa00, 1px -15px 18px #ff5500, -1px -22px 30px #cc0000; }
}
a.enter { text-decoration: none; }
a.enter:hover .flame { color: #ffffff; }

/* ---------- cursor sparkles (Dynamic Drive style) ---------- */
.sparkle {
  position: fixed; left: 0; top: 0; width: 7px; height: 7px; pointer-events: none; z-index: 10000;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 1px 100% no-repeat,
              linear-gradient(currentColor, currentColor) 50% 50% / 100% 1px no-repeat;
}

/* ---------- Windows 98 dialogs ---------- */
.win98 {
  position: fixed; z-index: 9000; min-width: 300px; max-width: 470px; text-align: left;
  background: #c0c0c0; color: #000; font: 11px/1.35 Tahoma, "MS Sans Serif", Geneva, sans-serif; padding: 3px;
  border: 1px solid; border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080, 5px 5px 0 rgba(0, 0, 0, .45);
}
.win98 .tb {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 3px 2px 4px;
  background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: bold; cursor: default; user-select: none;
}
.win98 .x {
  width: 16px; height: 14px; padding: 0; flex: none; cursor: pointer;
  font: bold 11px/10px Tahoma, sans-serif; color: #000; background: #c0c0c0;
  border: 1px solid; border-color: #fff #000 #000 #fff; box-shadow: inset -1px -1px #808080;
}
.win98 .bd { display: flex; gap: 14px; align-items: flex-start; padding: 14px 12px 12px; }
.win98 .bd > img { flex: none; }
.win98 table { font: inherit; color: inherit; }
.win98 .msg { flex: 1; }
.win98 .btns { display: flex; justify-content: center; gap: 8px; padding: 2px 0 8px; }
.b98, input.b98 {
  min-width: 75px; height: 23px; padding: 0 10px; cursor: pointer;
  font: 11px Tahoma, sans-serif; color: #000; background: #c0c0c0;
  border: 1px solid; border-color: #fff #000 #000 #fff; box-shadow: inset -1px -1px #808080, inset 1px 1px #dfdfdf;
}
.b98:active { border-color: #000 #fff #fff #000; box-shadow: inset 1px 1px #808080; }
.b98:focus-visible { outline: 1px dotted #000; outline-offset: -5px; }
.sunken { background: #fff; border: 1px solid; border-color: #808080 #fff #fff #808080; box-shadow: inset 1px 1px #000; }
.progress98 { height: 16px; padding: 2px 3px; display: flex; gap: 2px; overflow: hidden; }
.progress98 i { width: 8px; flex: none; background: #000080; }
.field98 { padding: 1px 4px; min-width: 140px; font-family: Tahoma, sans-serif; }
.prize { text-align: center; font: bold 13px Arial, sans-serif; color: #c00000; }

/* ---------- hit counter ---------- */
.odometer { display: inline-block; line-height: 0; padding: 2px; background: #000; border: 2px solid; border-color: #808080 #fff #fff #808080; }

/* ---------- GeoCities watermark ---------- */
.watermark {
  position: fixed; right: 8px; bottom: 8px; z-index: 50; opacity: .8; cursor: pointer;
  background: #fff; border: 1px solid #000080; padding: 2px 6px; font: italic bold 13px "Times New Roman", serif; color: #000099;
}
.watermark small { display: block; font: 9px Arial, sans-serif; color: #333; }

/* ---------- jukebox ---------- */
.jukebox {
  width: 164px; margin: 0 auto; text-align: left; padding: 2px; box-sizing: border-box;
  background: #c0c0c0; color: #000; font: 10px Tahoma, Verdana, sans-serif;
  border: 1px solid; border-color: #dfdfdf #000 #000 #dfdfdf; box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
}
.jb-tb { background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: bold; padding: 2px 4px; margin-bottom: 3px; }
.lcd {
  height: 16px; overflow: hidden; white-space: pre; padding: 0 3px;
  background: #000; color: #00ff00; font: 11px/16px "Courier New", monospace;
  border: 1px solid; border-color: #808080 #fff #fff #808080;
}
.lcd #jbtime { color: #ffff00; }
#jbviz { display: block; width: 100%; height: 28px; box-sizing: border-box; margin-top: 2px; background: #000; border: 1px solid; border-color: #808080 #fff #fff #808080; }
.jb-btns { display: flex; gap: 2px; margin-top: 3px; }
.jb-btns button {
  flex: 1; height: 20px; padding: 0; cursor: pointer; font: bold 10px Tahoma, sans-serif; color: #000; background: #c0c0c0;
  border: 1px solid; border-color: #fff #000 #000 #fff; box-shadow: inset -1px -1px #808080;
}
.jb-btns button:active, .jb-btns button.on { border-color: #000 #fff #fff #000; box-shadow: inset 1px 1px #808080; background: #b0b0b0; }
.jb-vol { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-weight: bold; }
.jb-vol input { flex: 1; min-width: 0; height: 14px; margin: 0; accent-color: #000080; }
.jb-hint { text-align: center; color: #c00000; font-weight: bold; margin-top: 3px; }

/* ---------- magic 8 ball ---------- */
.eightball {
  width: 160px; height: 160px; margin: 10px auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 33% 28%, #8a8a8a 0, #2a2a2a 18%, #000 62%);
  box-shadow: 4px 6px 0 #220033;
}
.eightball .eight { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #000; font: bold 44px/64px Arial, sans-serif; text-align: center; }
.eightball .window {
  width: 82px; height: 82px; border-radius: 50%; box-sizing: border-box; padding: 10px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle, #1a2a99 0, #000033 75%); color: #b9dcff; font: bold 10px/1.15 Arial, sans-serif; text-transform: uppercase;
}
.eightball.shake { animation: shake .09s linear 8; }
@keyframes shake { 0% { transform: translate(-5px, 2px); } 50% { transform: translate(5px, -3px); } 100% { transform: translate(-3px, 3px); } }

/* ---------- java applet (it never works) ---------- */
.applet {
  width: 420px; height: 210px; margin: 6px auto 0; box-sizing: border-box; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: #c0c0c0; color: #000; font: 12px "Courier New", monospace; border: 1px solid #808080;
}
.applet .err { color: #a00000; font-weight: bold; text-align: center; }
.statusbar { width: 420px; margin: 0 auto; box-sizing: border-box; text-align: left; padding: 2px 5px; background: #c0c0c0; color: #000; font: 11px Tahoma, sans-serif; border: 1px solid; border-color: #808080 #fff #fff #808080; }

/* ---------- guestbook ---------- */
.gb-entry { margin-bottom: 14px; }
