/* MEAT SCAM - authentic early-90s styling. No images needed. */

body {
  margin: 0;
  padding: 16px 8px;
  color: #00ff00;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  /* tiled starfield background */
  background-color: #000;
  background-image:
    radial-gradient(1px 1px at 10px 15px, #fff, transparent),
    radial-gradient(1px 1px at 40px 70px, #ff0, transparent),
    radial-gradient(1px 1px at 80px 30px, #fff, transparent),
    radial-gradient(2px 2px at 110px 90px, #f0f, transparent),
    radial-gradient(1px 1px at 60px 110px, #0ff, transparent);
  background-size: 128px 128px;
}

a        { color: #ffff00; }
a:visited { color: #ff66ff; }
a:hover  { color: #ff0000; background: #ffff00; }

table.frame {
  max-width: 100%;
  background: #000033;
  border-color: #ff0000;
  border-style: ridge;
}

/* ---------- header ---------- */
.header {
  background: repeating-linear-gradient(45deg, #330000, #330000 10px, #550000 10px, #550000 20px);
}
.eye { font-size: 48px; animation: spin 6s linear infinite; display: inline-block; }
.title {
  margin: 4px 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 64px;
  letter-spacing: 4px;
  color: #ff0000;
  text-shadow: 3px 3px 0 #ffff00, 6px 6px 0 #000;
}
.subtitle { color: #fff; font-weight: bold; font-size: 20px; margin: 6px 0; }
.ticker   { color: #ffff00; background: #000; font-family: "Courier New", monospace; padding: 4px 0; }

/* ---------- nav ---------- */
table.nav { max-width: 100%; margin: 8px 0; }
.nav td { background: #c0c0c0; border: 3px outset #fff; font-family: Arial, sans-serif; font-weight: bold; font-size: 13px; }
.nav a { color: #000080; text-decoration: none; }
.nav a:hover { background: #000080; color: #fff; }

.construction {
  max-width: 760px;
  margin: 0 auto 8px;
  padding: 6px;
  background: repeating-linear-gradient(-45deg, #ffcc00, #ffcc00 14px, #000 14px, #000 28px);
  color: #fff;
  font-family: "Arial Black", sans-serif;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000;
}

/* ---------- sidebar ---------- */
.sidebar {
  background: #000080;
  color: #fff;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 14px;
  border-right: 3px groove #ff0000;
}
.sidebar ul { padding-left: 18px; }
.side-head { color: #ffff00; font-weight: bold; text-align: center; text-decoration: underline; }
.counter {
  font-family: "Courier New", monospace;
  font-size: 22px;
  letter-spacing: 3px;
  text-align: center;
  background: #000;
  color: #ff0000;
  border: 2px inset #888;
  padding: 2px;
}

/* ---------- content ---------- */
.content h2 {
  font-family: Impact, "Arial Black", sans-serif;
  color: #ff0000;
  background: #ffff00;
  text-align: center;
  padding: 4px;
  border: 2px dashed #ff0000;
}
.content h3 { color: #00ffff; text-align: center; }
.facts li { margin: 6px 0; color: #00ffff; font-weight: bold; }
.quote {
  background: #222;
  border-left: 6px double #ff0000;
  padding: 8px 12px;
  color: #fff;
  font-style: italic;
  font-family: "Courier New", monospace;
}

hr.rainbow {
  height: 6px;
  border: 0;
  margin: 24px 0;
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, magenta, red);
}

/* ---------- video sections ---------- */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.video-slot {
  width: 100%;
  max-width: 480px;
  background: #c0c0c0;
  border: 3px outset #fff;
  padding: 4px;
  color: #000;
  font-family: Arial, sans-serif;
}
.video-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 2px inset #888;
  margin: 4px 0;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #00ff00;
  font-family: "Courier New", monospace;
  background: repeating-linear-gradient(0deg, #111, #111 2px, #000 2px, #000 4px); /* scanlines */
}
.video-caption { font-size: 12px; padding: 2px 4px; }

/* ---------- censorship ---------- */
.redact {
  background: #000;
  color: #000;
  padding: 0 2px;
  outline: 1px solid #ff0000;
  user-select: none;
  letter-spacing: -1px;
}
.quote .redact { color: #000; }

/* ---------- evidence table ---------- */
.table-wrap { overflow-x: auto; }
.evidence-table {
  width: 100%;
  border-collapse: collapse;
  border-color: #ffff00;
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.evidence-table th { background: #ff0000; color: #ffff00; font-family: Impact, "Arial Black", sans-serif; letter-spacing: 1px; }
.evidence-table td { vertical-align: top; border-color: #444; }
.good { color: #00ff00; font-weight: bold; white-space: nowrap; }
.bad  { color: #ff3333; font-weight: bold; white-space: nowrap; }
.hot  { color: #ff0000; background: #ffff00; font-weight: bold; padding: 0 3px; }

/* ---------- case files ---------- */
.case-file {
  border: 3px double #00ffff;
  background: #001a1a;
  padding: 10px;
  margin: 18px 0;
  color: #fff;
}
.case-head {
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: #000;
  background: #00ffff;
  padding: 4px 8px;
  margin: -10px -10px 10px;
}
.case-file .video-slot { margin: 0 auto 10px; }
.protect li { margin: 10px 0; color: #fff; }
.protect b { color: #ffff00; }

/* ---------- guestbook ---------- */
.guestbook { color: #fff; }
.guestbook input[type="submit"] { font-weight: bold; background: #c0c0c0; border: 3px outset #fff; cursor: pointer; }
.gb-entry { border: 1px dotted #ffff00; padding: 6px; margin: 8px 0; color: #fff; font-family: "Comic Sans MS", cursive; }
.gb-entry b { color: #ff66ff; }

/* ---------- misc ---------- */
.center { text-align: center; }
.tiny   { font-size: 11px; }
.red    { color: #ff0000; font-weight: bold; }
.footer { color: #888; font-size: 12px; margin-top: 16px; }

.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { visibility: hidden; } }
@keyframes spin  { to { transform: rotateY(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .blink, .eye { animation: none; }
}

/* phones: stack the sidebar above the content */
@media (max-width: 640px) {
  .title { font-size: 40px; }
  table.frame, table.frame tbody, table.frame tr, table.frame td { display: block; width: auto !important; }
  .sidebar { border-right: 0; border-bottom: 3px groove #ff0000; }
  .nav td { display: inline-block; }
}
