/* LAD'S LAIR -- 90s metal / goth
   static HTML + CSS. no frameworks. */

body {
  background-color: #000000;
  background-image:
    radial-gradient(circle at 20% 30%, #1a0000 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #001a00 0%, transparent 35%);
  color: #cccccc;
  margin: 16px;
  font-family: "Courier New", Courier, monospace;
}

.title {
  font-family: Impact, "Arial Black", Haettenschweiler, sans-serif;
  font-size: 40px;
  font-weight: normal;
  color: #ff0033;
  letter-spacing: 3px;
  text-shadow: 3px 3px 0 #330000, 0 0 18px #ff0033;
  margin: 10px 0;
}

.subtitle {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 22px;
  color: #cc99ff;
  text-shadow: 2px 2px 0 #1a0033;
  margin: 8px 0 16px 0;
}

.marquee {
  width: 92%;
  max-width: 720px;
  color: #00ff66;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  background-color: #0a0a0a;
  border: 1px solid #003300;
  padding: 4px 0;
  margin: 8px auto;
}

/* fake GeoCities ad banners in the corners */
.ad-banner {
  position: fixed;
  top: 12px;
  z-index: 50;
  text-align: center;
  background: #110000;
  border: 2px outset #aa0000;
  padding: 6px 8px 8px 8px;
  box-shadow: 4px 4px 0 #000000, 0 0 18px #660000;
  max-width: 140px;
}

.ad-banner-left {
  left: 10px;
}

.ad-banner-right {
  right: 10px;
}

.ad-cake {
  filter: drop-shadow(0 0 10px #ff0033);
  margin-top: 4px;
}

.ad-gif {
  display: block;
  margin: 4px auto 0 auto;
  border: 1px solid #660000;
}

/* overloaded GeoCities side junk */
.side-clutter {
  position: fixed;
  z-index: 40;
  pointer-events: none;
}

.side-left-mid {
  left: 8px;
  top: 190px;
}

.side-left-low {
  left: 18px;
  top: 340px;
}

.side-left-bottom {
  left: 6px;
  top: 520px;
}

.side-right-mid {
  right: 8px;
  top: 190px;
}

.side-right-low {
  right: 14px;
  top: 380px;
}

.side-right-bottom {
  right: 6px;
  top: 560px;
}

.clutter-frame {
  background: #0a0a0a;
  border: 3px ridge #ff0033;
  padding: 4px 6px 6px 6px;
  text-align: center;
  box-shadow: 3px 3px 0 #220000, 0 0 14px #440000;
  line-height: 1.2;
}

.clutter-frame img {
  margin-top: 3px;
  border-color: #990000;
}

.tilt-left {
  transform: rotate(-6deg);
}

.tilt-right {
  transform: rotate(5deg);
}

.hero-row {
  max-width: 980px;
}

.guardian-cell {
  width: 280px;
  overflow: visible;
}

.hero-cell {
  padding: 0 8px;
}

/* dog + fireball stacked so breath exits the jaws */
.guardian {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  overflow: visible;
}

.pixel-dog,
.pixel-hero {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  border-color: #ff0033;
  box-shadow: 0 0 18px #660000, 0 0 36px #330000;
}

.guardian .pixel-dog {
  display: block;
  width: 200px;
  height: 200px;
}

.pixel-hero {
  box-shadow: 0 0 24px #990000, 0 0 48px #440000;
}

/* face the center */
.face-left {
  transform: scaleX(-1);
}

.breath {
  position: absolute;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 10px #ff4400);
  pointer-events: none;
  z-index: 3;
  /* 180 so bright core sits in the jaws; +20% longer, -20% thinner */
  transform: rotate(180deg) scale(1.3, 0.8);
  transform-origin: center center;
}

/* left roar dog: mouth ~59% x, ~5% y -- breath toward center */
.breath-roar {
  left: 61%;
  top: 5.5%;
  width: 140px;
  height: 140px;
}

/* right sploot dog (flipped): breath toward center */
.breath-sploot {
  left: -47%;
  top: 18%;
  width: 120px;
  height: 120px;
}

.badge {
  display: inline-block;
  border: 2px outset #888888;
  background: #220000;
  color: #ffcc00;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 12px;
  padding: 10px 12px;
  line-height: 1.3;
  width: 90px;
  box-shadow: 2px 2px 0 #000000;
}

.counter {
  display: inline-block;
  background: #001100;
  border: 2px inset #00aa44;
  color: #00ff66;
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 6px;
  padding: 4px 12px;
  margin-top: 4px;
}

.blink {
  animation: blink 1.1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.spin {
  animation: spin 8s linear infinite;
}

.spin-slow {
  animation: spin 14s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

a:link {
  color: #ff0000;
}

a:visited {
  color: #990000;
}

a:hover {
  color: #ffff00;
  background: #330000;
}

hr {
  border: none;
  height: 3px;
  background: #660000;
}

table {
  box-shadow: none;
}

.hero-cell table {
  box-shadow: 4px 4px 0 #1a0000;
}

@media screen and (max-width: 820px) {
  .guardian {
    width: 140px;
    height: 140px;
  }

  .guardian .pixel-dog {
    width: 140px;
    height: 140px;
  }

  .breath-roar {
    width: 100px;
    height: 100px;
    left: 50%;
    top: 12%;
  }

  .breath-sploot {
    width: 90px;
    height: 90px;
    left: -20%;
    top: 10%;
  }

  .pixel-hero {
    width: 200px;
    height: 200px;
  }

  .title {
    font-size: 28px;
  }

  .ad-banner {
    max-width: 96px;
    padding: 4px;
  }
  .ad-banner img {
    width: 80px !important;
    height: auto !important;
  }
  .side-clutter {
    display: none;
  }
}