/* ============================================================
   SARAH'S WORLD ~*~ a 30th birthday web-collage
   styled in the spirit of cameronsworld.net / GeoCities 2001
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: #00ffff; }
a:visited { color: #ff66ff; }
a:hover { color: #ffff00; background: #ff00ff; }

img { image-rendering: pixelated; border: 0; }

/* ---------- THE ENTER SPLASH ---------- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,180,220,0.35), rgba(255,0,150,0.45) 70%),
    #ff4db8;
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
/* GIFs scattered behind the splash card, fills the whole pink screen */
#splash-corners {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
#splash-corners img { position: absolute; }
#splash .splash-inner {
  position: relative;
  z-index: 2;
  padding: 26px 46px;
  border: 8px ridge #ff66cc;
  background: rgba(255,224,240,0.86);
  color: #99004d;
  box-shadow: 0 0 0 4px #ff009955, 0 0 45px 8px #ff00aa;
  max-width: 92%;
}
#splash h1 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(36px, 9vw, 110px);
  margin: 0 0 10px;
  line-height: 0.95;
}
#splash p { font-size: clamp(16px, 3vw, 26px); }
#splash .splash-inner .gifrow img { margin: 2px; }
.enter-btn {
  display: inline-block;
  margin-top: 22px;
  font-family: "Comic Sans MS", cursive;
  font-size: clamp(20px, 4vw, 34px);
  font-weight: bold;
  padding: 12px 34px;
  color: #fff;
  text-decoration: none;
  border: 4px outset #ffff66;
  background: linear-gradient(#ff3399, #cc0066);
  text-shadow: 2px 2px 0 #000;
  cursor: pointer;
  animation: throb 0.7s steps(2) infinite;
}
@keyframes throb { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

/* ---------- TOP BANNER ---------- */
#topbanner {
  background: #000;
  border-bottom: 4px double #ffcc00;
  padding: 6px 0;
  text-align: center;
  overflow: hidden;
}
#topbanner marquee, #topbanner .mq {
  font-family: "Comic Sans MS", cursive;
  font-size: 20px;
  color: #00ff00;
  text-shadow: 1px 1px 0 #006600;
}

/* ---------- SCENES (the collage blocks) ---------- */
.scene {
  position: relative;
  width: 100%;
  padding: 28px 14px 40px;
  border-top: 5px ridge #888;
  border-bottom: 5px ridge #888;
  overflow: hidden;
}
.scene-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}

/* text panels that sit inside scenes — semi-opaque so bg shows */
.panel {
  background: rgba(0,0,0,0.62);
  border: 3px ridge #ffffff;
  padding: 12px 16px;
  margin: 14px auto;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.5;
}
.panel.light { background: rgba(255,255,255,0.82); color: #000; border-color:#ff00aa;}
.panel.light a { color:#0000cc; }
.panel h3 { margin-top: 0; }

/* ---------- WORDART HEADINGS ---------- */
.wordart {
  text-align: center;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(34px, 7vw, 74px);
  letter-spacing: 1px;
  margin: 6px 0 18px;
  transform: skewX(-6deg);
  line-height: 1;
}
.wa-rainbow {
  background: linear-gradient(90deg,#ff0000,#ff9900,#ffee00,#33ff00,#00ccff,#3300ff,#cc00ff,#ff0000);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.4);
  filter: drop-shadow(2px 2px 0 #000);
}
.wa-gold {
  color: #ffe98a;
  text-shadow: 0 1px 0 #fff, 0 2px 0 #c9a227, 0 3px 0 #b8901e,
               0 4px 0 #a87c0a, 0 5px 6px rgba(0,0,0,.7);
}
.wa-ice {
  color:#bfffff5;
  text-shadow: 2px 2px 0 #0099cc, -1px -1px 0 #fff, 4px 4px 8px #003344;
}
.wa-fire {
  color:#fff200;
  text-shadow: 0 0 6px #ff6600, 0 0 12px #ff3300, 2px 3px 0 #800000;
}
.wa-pink {
  color:#fff;
  text-shadow: 3px 3px 0 #ff1493, 6px 6px 0 #99004d, 0 0 12px #ff66cc;
}
.wordart.outline { -webkit-text-stroke: 2px #000; }

/* ---------- BLINK + RAINBOW TEXT ---------- */
.blink { animation: blinker 0.9s steps(2,start) infinite; }
@keyframes blinker { 50% { visibility: hidden; } }
.rainbow {
  background: linear-gradient(90deg,#ff0000,#ff9900,#ffee00,#33ff00,#00ccff,#cc00ff,#ff0000);
  background-size: 200% auto;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  animation: rainflow 3s linear infinite;
  font-weight: bold;
}
@keyframes rainflow { to { background-position: 200% center; } }
.glow { text-shadow: 0 0 5px #fff, 0 0 10px #ff00ff, 0 0 18px #ff00ff; }

/* ---------- FLOATING / SCATTERED GIFS ---------- */
.gifwrap { display: inline-block; vertical-align: middle; margin: 4px; }
.scatter {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.gifrow {
  text-align: center;
  line-height: 0;
  margin: 8px 0;
}
.gifrow img { margin: 3px; vertical-align: middle; }

.tilt-l { transform: rotate(-7deg); }
.tilt-r { transform: rotate(8deg); }

/* ---------- WIN98 WINDOW PANELS ---------- */
.win {
  max-width: 640px;
  margin: 18px auto;
  background: #c0c0c0;
  color: #000;
  border: 2px outset #fff;
  box-shadow: 3px 3px 0 #000;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 13px;
}
.win-title {
  background: linear-gradient(90deg,#000080,#1084d0);
  color: #fff;
  font-weight: bold;
  padding: 3px 6px;
  display:flex; justify-content:space-between; align-items:center;
}
.win-title .btns span {
  display:inline-block; width:16px; height:14px; line-height:12px;
  text-align:center; background:#c0c0c0; color:#000;
  border:1px outset #fff; margin-left:2px; font-size:10px;
}
.win-body { padding: 12px; }
.win-body input[type=text], .win-body textarea {
  width:100%; border:2px inset #fff; padding:4px; font-family:inherit; font-size:13px;
}
.win-body button, .btn98 {
  font-family: Tahoma, sans-serif; font-size:13px;
  padding: 3px 14px; border:2px outset #fff; background:#c0c0c0; cursor:pointer;
}
.btn98:active { border-style: inset; }

/* ---------- GUESTBOOK ---------- */
#gb-entries { margin-top: 12px; max-height: 260px; overflow-y: auto;
  border:2px inset #fff; background:#fff; padding:8px; }
.gb-entry { border-bottom:1px dashed #999; padding:6px 2px; }
.gb-entry .gb-name { font-weight:bold; color:#cc0066; }
.gb-entry .gb-date { color:#888; font-size:11px; }

/* ---------- VISITOR COUNTER ---------- */
.counter {
  display:inline-block; background:#000; padding:4px 6px;
  border:2px solid #00ff00; font-family:"Courier New",monospace;
}
.counter span {
  display:inline-block; background:#001a00; color:#33ff33;
  font-size:24px; width:20px; text-align:center; margin:0 1px;
  text-shadow:0 0 4px #33ff33; border:1px solid #003300;
}

/* ---------- DIVIDERS ---------- */
.divider { text-align:center; margin:10px 0; line-height:0; }
.divider img { height: 26px; }

/* ---------- MUSIC PLAYER ---------- */
#music {
  position: fixed; right: 8px; bottom: 8px; z-index: 9000;
  background:#c0c0c0; border:2px outset #fff; box-shadow:2px 2px 0 #000;
  font-family:Tahoma,sans-serif; font-size:12px; width: 200px;
}
#music .win-title { font-size:12px; }
#music .mp-body { padding:6px 8px; color:#000; }
#music .nowplaying { font-size:11px; height:14px; overflow:hidden; white-space:nowrap;}
#music button { margin-top:4px; }

/* ---------- AUTO-CRUISE (kiosk) WIDGET ---------- */
#cruise {
  position: fixed; left: 8px; bottom: 8px; z-index: 9000;
  background:#c0c0c0; border:2px outset #fff; box-shadow:2px 2px 0 #000;
  font-family:Tahoma,sans-serif; width: 158px;
}
#cruise .win-title { font-size:12px; }
#cruise .cr-body { padding:7px 8px; color:#000; text-align:center; }
#cruise #cruise-ind {
  color:#c00; font-weight:bold; font-size:12px; margin-bottom:5px;
  font-family:"Courier New",monospace;
}
#cruise button { width:100%; font-weight:bold; }
#cruise .cr-hint { font-size:10px; color:#333; margin-top:5px; line-height:1.25; }
/* a friendly nudge that the kiosk is live */
body.cruising #cruise { outline:3px solid #00ff00; outline-offset:1px; }

/* ---------- WEBRING / FOOTER ---------- */
#webring {
  background:#000; border-top:4px double #ffcc00; color:#0f0;
  text-align:center; padding:18px 10px 60px; font-family:"Comic Sans MS",cursive;
}
#webring .ring-box {
  display:inline-block; border:3px ridge #00ffff; padding:10px 18px;
  margin:10px; background:#001020;
}

/* ---------- SPARKLE CURSOR TRAIL ---------- */
.sparkle { position: fixed; z-index: 99999; pointer-events:none; width:14px; height:14px; }

/* ---------- BADGES ROW (88x31 buttons feel) ---------- */
.badges { text-align:center; margin:14px 0; }
.badges .badge {
  display:inline-block; width:88px; height:31px; margin:3px;
  font-family:"MS Sans Serif",Tahoma,sans-serif; font-size:9px; line-height:1;
  color:#fff; text-align:center; border:1px solid #fff;
  display:inline-flex; align-items:center; justify-content:center; padding:2px;
}

/* responsive: let gifs wrap, hide some chaos on tiny phones only */
@media (max-width: 500px){
  .scatter { display:none; }
}
