/* Gary Kuhlman's Cyber Shack - intentionally criminal 1990s web design */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #00ff66;
  font-family: "Comic Sans MS", "Comic Sans", "Courier New", cursive;
  background-color: #000033;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 70% 80%, #ff0 0 1px, transparent 2px),
    radial-gradient(circle at 40% 60%, #0ff 0 1px, transparent 2px),
    linear-gradient(45deg, #000011, #001144, #110022);
  background-size: 80px 80px, 120px 120px, 200px 200px, 100% 100%;
}
a { color: #00ffff; text-decoration: underline; font-weight: bold; }
a:visited { color: #ff66ff; }
a:hover { color: #ffff00; background: #ff00ff; text-decoration: blink; }
.wrapper { max-width: 980px; margin: 0 auto; padding: 10px; }
.top-warning {
  background: #ffff00;
  color: #ff0000;
  font-weight: bold;
  border-top: 6px ridge #ff0000;
  border-bottom: 6px ridge #00ff00;
  padding: 6px;
  font-size: 18px;
}
.hero {
  text-align: center;
  padding: 18px;
  margin: 12px 0;
  border: 8px ridge #ff00ff;
  background: repeating-linear-gradient(135deg, #000, #000 10px, #220044 10px, #220044 20px);
  box-shadow: 0 0 18px #00ffff;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 72px);
  color: #ffff00;
  text-shadow: 4px 4px #ff0000, -3px -3px #0000ff, 0 0 12px #00ffff;
  letter-spacing: 2px;
}
.subtitle {
  color: #ffffff;
  font-size: 22px;
  text-shadow: 2px 2px #ff00ff;
}
.blink { animation: blink 0.75s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.spin { display: inline-block; animation: spin 2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rainbow {
  animation: rainbow 1.2s linear infinite;
  font-weight: bold;
}
@keyframes rainbow {
  0% { color: #ff0000; } 20% { color: #ffff00; } 40% { color: #00ff00; }
  60% { color: #00ffff; } 80% { color: #ff00ff; } 100% { color: #ff0000; }
}
.grid { display: grid; grid-template-columns: 210px 1fr; gap: 12px; align-items: start; }
.sidebar, .box {
  border: 5px groove #00ffff;
  background: rgba(0,0,0,.82);
  padding: 12px;
  margin-bottom: 12px;
}
.sidebar { position: sticky; top: 8px; }
.nav-title, .box h2 {
  margin: 0 0 10px;
  color: #ffff00;
  text-align: center;
  background: #ff00ff;
  border: 3px outset #ffff00;
  padding: 5px;
  text-shadow: 2px 2px #000;
}
.nav a {
  display: block;
  margin: 8px 0;
  padding: 6px;
  border: 3px outset #999;
  background: #000088;
  text-align: center;
}
.counter {
  font-family: "Courier New", monospace;
  background: #111;
  color: #00ff00;
  border: 4px inset #777;
  padding: 6px;
  display: inline-block;
  font-size: 24px;
  letter-spacing: 3px;
}
.under {
  background: #111;
  border: 6px dashed #ffff00;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 22px;
}
.flamebar {
  height: 22px;
  margin: 12px 0;
  border: 3px ridge #ff0;
  background: linear-gradient(90deg, red, orange, yellow, red, purple, red);
  animation: flames 1s linear infinite;
}
@keyframes flames { to { filter: hue-rotate(360deg); } }
.webring {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; text-align: center;
}
.button88 {
  display: inline-block;
  width: 88px;
  min-height: 31px;
  background: linear-gradient(#fff, #999);
  color: #000 !important;
  border: 2px outset #ccc;
  font-size: 11px;
  line-height: 13px;
  padding: 2px;
  text-decoration: none;
  vertical-align: middle;
  margin: 3px;
}
.email-zone {
  text-align: center;
  background: repeating-conic-gradient(#ff00ff 0 10%, #00ffff 0 20%, #ffff00 0 30%, #00ff00 0 40%);
  padding: 10px;
  border: 8px ridge #fff;
}
.email-zone a {
  display: inline-block;
  font-size: 28px;
  background: #000;
  color: #ffff00;
  border: 6px outset #ff0000;
  padding: 12px;
  text-decoration: none;
  animation: throb .8s infinite alternate;
}
@keyframes throb { from { transform: scale(1); } to { transform: scale(1.06) rotate(-1deg); } }
.guestbook-form label { display: block; margin-top: 10px; color: #ffff00; }
.guestbook-form input, .guestbook-form textarea {
  width: 100%; padding: 8px; background: #000; color: #00ff66; border: 3px inset #00ffff;
  font-family: "Courier New", monospace;
}
.guestbook-form button {
  margin-top: 10px; font-size: 18px; font-weight: bold; color: #000; background: #ffff00;
  border: 5px outset #ff00ff; padding: 8px 16px; cursor: pointer;
}
.entry { border: 3px dotted #ff00ff; padding: 8px; margin: 8px 0; background: #001122; }
.footer { text-align: center; color: #fff; font-size: 13px; padding: 20px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .sidebar { position: static; } }
