/* ============================================================
   SQUIRT.ZONE -- styles.css
   The single source of truth for all the retro styling.
   [LAW:one-source-of-truth] all visual rules live here, not
   sprayed inline across the markup (authentic GeoCities did
   the opposite -- we keep the *look*, not the maintenance pain).
   ============================================================ */

/* ---- palette (CSS custom props = one place to retune the neon) ---- */
:root {
  --aqua:   #00ffff;
  --hotpink:#ff00cc;
  --lime:   #39ff14;
  --yellow: #ffff00;
  --deep:   #000033;
  --panel:  #0a0a4f;
}

/* ---- the page itself: tiled starfield, classic centered column ---- */
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--deep) url("assets/img/starbg.gif") repeat;
  color: #ffffff;
  font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive, sans-serif;
  text-align: center;
  cursor: crosshair;
}

/* the page lives in a fixed-ish width column, just like 1998 wanted */
.shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

/* ---- the WordArt logo banner ---- */
.logo {
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 0 12px var(--aqua));
}

/* ---- blink + marquee feel (real <blink> is extinct) ---- */
.blink { animation: blink 0.9s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.rainbow {
  background-image: linear-gradient(90deg,
    #ff0000,#ff9900,#ffff00,#33ff00,#00ffff,#0066ff,#cc00ff,#ff0000);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-slide 3s linear infinite;
  font-weight: bold;
}
@keyframes rainbow-slide { to { background-position: 200% center; } }

/* glowing neon headings */
h1, h2, h3 { line-height: 1.15; }
.neon-aqua  { color: var(--aqua);   text-shadow: 0 0 6px var(--aqua), 0 0 12px var(--aqua); }
.neon-pink  { color: var(--hotpink);text-shadow: 0 0 6px var(--hotpink), 0 0 14px var(--hotpink); }
.neon-lime  { color: var(--lime);   text-shadow: 0 0 6px var(--lime), 0 0 12px var(--lime); }
.neon-yellow{ color: var(--yellow); text-shadow: 0 0 6px var(--yellow), 0 0 12px var(--yellow); }

/* ---- the classic content panel (a "table" cell, modernized) ---- */
.panel {
  background: var(--panel);
  border: 4px ridge var(--aqua);
  border-radius: 6px;
  margin: 18px auto;
  padding: 16px 22px;
  box-shadow: 0 0 18px rgba(0,255,255,0.45);
}
.panel.pink  { border-color: var(--hotpink); box-shadow: 0 0 18px rgba(255,0,204,0.45); }
.panel.lime  { border-color: var(--lime);    box-shadow: 0 0 18px rgba(57,255,20,0.45); }

.panel p  { font-size: 1.05em; }
.panel a  { color: var(--yellow); }
.panel a:hover { color: var(--hotpink); }

/* ---- dividers: real flame bar GIF + CSS rainbow rule ---- */
.flamebar { width: 90%; max-width: 600px; height: auto; margin: 6px auto; display:block; }
hr.rainbow-rule {
  border: 0;
  height: 6px;
  background: linear-gradient(90deg,#ff0000,#ffff00,#00ff00,#00ffff,#ff00ff,#ff0000);
  background-size: 200% auto;
  animation: rainbow-slide 2s linear infinite;
  width: 92%;
}

/* ---- imagery ---- */
.hero-gun  { width: 92%; max-width: 460px; height: auto; }
.mascot    { width: 150px; height: auto; vertical-align: middle; }
.gallery   { width: 96%; max-width: 560px; height: auto; }
.digger    { width: 220px; height: auto; }
.gif-sm    { vertical-align: middle; }

/* spinning everything, because of course */
.spin { animation: spin 4s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- the "you are visitor #" odometer ---- */
.counter {
  display: inline-block;
  background: #000;
  color: var(--lime);
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 3px 8px;
  border: 2px inset #888;
}

/* ---- badge row (netscape now, best viewed, webring...) ---- */
.badges img { margin: 6px; vertical-align: middle; }

/* ---- footer fine print ---- */
.fineprint { color: #aab; font-size: 0.8em; margin-top: 10px; }
.fineprint a { color: var(--aqua); }

/* a tiny bit of motion-respect: calm it down if the user asked the OS to */
@media (prefers-reduced-motion: reduce) {
  .blink, .rainbow, hr.rainbow-rule, .spin { animation: none; }
  .blink { visibility: visible; }
}
