/* End AI Slop: a circa-1998 official campaign site. */

:root {
  --navy: #0d1f73;
  --slate: #1238b8;
  --gray: #c0c0c0;
  --shadow: #404040;
  --link: #0000ee;
  --visited: #551a8b;
  --red: #c8312b;
  --paper: #fbf8ee;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 16px 8px 40px;
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 50% 0, #2747c9 0, var(--navy) 70%);
  background-attachment: fixed;
  font: 15px/1.55 Verdana, Geneva, Tahoma, sans-serif;
  color: #111;
}

a { color: var(--link); }
a:visited { color: var(--visited); }

h1, h2, h3 {
  font-family: "Times New Roman", Times, serif;
  color: var(--navy);
  line-height: 1.15;
}
h1 { font-size: 32px; margin: 4px 0 12px; }
h2 { font-size: 24px; margin: 26px 0 8px; }
h3 { font-size: 19px; margin: 20px 0 6px; }

hr {
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #fff;
  margin: 22px 0;
}

/* ---------- page frame ---------- */
.page {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 3px outset #d8d8d8;
}

.mark { display: block; background: #000; }
.mark img { display: block; width: 100%; height: auto; }

/* Beveled navigation */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 8px;
  background: var(--gray);
  border-top: 2px solid #fff;
  border-bottom: 2px solid var(--shadow);
}
.nav a, .btn {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gray);
  color: #000;
  font: bold 13px Verdana, sans-serif;
  text-decoration: none;
  border: 3px outset #e8e8e8;
  cursor: pointer;
  white-space: nowrap;
}
.nav a:visited, .btn:visited { color: #000; }
.nav a:active, .btn:active, .nav a[aria-current="page"] {
  border-style: inset;
  background: #b0b0b0;
}
.btn { font-size: 14px; }
.btn.primary { background: #ffe14d; border-color: #fff3a8; }
.btn[disabled] { color: #808080; cursor: default; }
.btn[hidden] { display: none; }

.new {
  display: inline-block;
  margin-left: 4px;
  padding: 0 3px;
  background: var(--red);
  color: #fff;
  font: bold 10px Verdana, sans-serif;
  vertical-align: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { visibility: hidden; } }

/* Scrolling PSA ticker */
.ticker {
  overflow: hidden;
  background: #000;
  color: #ffe14d;
  font: bold 13px "Courier New", monospace;
  letter-spacing: 1px;
  white-space: nowrap;
  border-bottom: 2px solid var(--shadow);
}
.ticker span {
  display: inline-block;
  padding: 5px 0 5px 100%;
  animation: ticker 32s linear infinite;
}
@keyframes ticker { to { transform: translateX(-100%); } }

/* Ads */
.ad { text-align: center; margin: 14px auto 4px; }
.ad small, .sky small {
  display: block;
  font: 10px Verdana, sans-serif;
  color: #808080;
  letter-spacing: 2px;
}
.ad img { display: block; margin: 2px auto 0; width: 468px; max-width: 100%; height: auto; }
.sky img { display: block; width: 120px; height: 600px; }

.content { padding: 8px 28px 24px; }
.with-sky { display: flex; gap: 22px; align-items: flex-start; }
.with-sky > .main { flex: 1; min-width: 0; }
.sky { flex: 0 0 120px; position: sticky; top: 16px; margin-top: 16px; text-align: center; }

/* ---------- CRT television ---------- */
.tv {
  position: relative;
  max-width: 600px;
  margin: 8px auto 6px;
  padding: 26px 26px 54px;
  background: linear-gradient(#5b4a3a, #3d2f24);
  border-radius: 22px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.4), 0 6px 0 #2a2019, 0 10px 18px rgba(0, 0, 0, 0.35);
}
.tv .screen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  border-radius: 28px / 22px;
  box-shadow: 0 0 0 6px #1b1510, 0 0 0 8px #6d5c4b;
}
.tv video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.tv .screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.06), transparent 55%, rgba(0, 0, 0, 0.45));
}
.tv .panel {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c9b79c;
  font: bold 11px "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 3px;
}
.tv .panel .grille {
  flex: 1;
  height: 16px;
  background: repeating-linear-gradient(90deg, #2a2019 0 3px, transparent 3px 7px);
  opacity: 0.8;
}
.tv .knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9d0c2, #6f655a);
  box-shadow: 0 2px 0 #1b1510;
}

/* Tap-for-sound overlay */
.sound {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font: bold 15px "Courier New", monospace;
  letter-spacing: 1px;
  border: 2px solid #fff;
  cursor: pointer;
  animation: blink 1.4s steps(1) infinite;
}
.sound[hidden] { display: none; }

/* Phone: vertical feature video */
.tv.vertical { max-width: 380px; padding: 14px 14px 44px; }
.tv.vertical .screen { aspect-ratio: 9 / 16; border-radius: 16px; }
.tv.vertical .sound { bottom: 5%; }

/* ---------- boxes ---------- */
.box {
  margin: 20px 0;
  padding: 14px 18px;
  background: #eef1ff;
  border: 2px solid var(--navy);
}
.box h2, .box h3 { margin-top: 0; }
.box.warn { background: #fff8d6; border-color: #b08a00; }

.cta-list { margin: 8px 0 0; padding-left: 22px; }
.cta-list li { margin: 6px 0; }

/* Hit counter */
.counter { text-align: center; margin: 24px 0 4px; font-size: 13px; }
.counter[hidden] { display: none; }
.digits { display: inline-flex; gap: 2px; margin: 0 6px; vertical-align: middle; }
.digits b {
  display: inline-block;
  width: 18px;
  padding: 2px 0;
  background: #000;
  color: #39ff14;
  font: bold 18px "Courier New", monospace;
  text-align: center;
  border: 1px solid #555;
  text-shadow: 0 0 4px #39ff14;
}

/* ---------- Video Library ---------- */
.now-playing { margin: 10px 0 4px; text-align: center; }
.now-playing .who { font: bold 18px "Times New Roman", serif; color: var(--navy); }
.now-playing .quote { font-style: italic; margin: 2px 0 0; }

.share {
  margin: 14px auto 6px;
  max-width: 600px;
  padding: 12px 16px;
  background: #ececec;
  border: 2px inset #fff;
  font-size: 14px;
}
.share fieldset { border: 1px solid #999; margin: 0 0 10px; padding: 6px 12px 8px; }
.share legend { font-weight: bold; padding: 0 4px; }
.share label { display: block; margin: 3px 0; cursor: pointer; }
.share .buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share .status { margin: 8px 0 0; font-size: 12px; color: #444; min-height: 1em; }

.shelf {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
  margin: 14px 0 0;
  padding: 16px 14px 20px;
  background: linear-gradient(#7a5a3c, #5a4029);
  border: 4px ridge #8d6a47;
}
.tape {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.12s;
}
.tape img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.5)); }
.tape:hover, .tape:focus-visible { transform: translateY(-4px) rotate(-1deg); outline: none; }
.tape:focus-visible img { outline: 3px dotted #ffe14d; outline-offset: 2px; }
.tape[aria-pressed="true"]::after {
  content: "NOW PLAYING";
  position: absolute;
  right: -4px;
  bottom: 10%;
  padding: 2px 6px;
  background: var(--red);
  color: #fff;
  font: bold 10px Verdana, sans-serif;
  letter-spacing: 1px;
  transform: rotate(-6deg);
}

/* ---------- Warning Signs pamphlet ---------- */
.pamphlet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px 0 0;
  background: var(--paper);
  border: 1px solid #c9c2a8;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14.5px;
}
.pamphlet section { padding: 18px 16px 22px; }
.pamphlet section + section {
  border-left: 1px dashed #cfc6a8;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.07), transparent 14px);
}
.pamphlet h2 { margin: 0 0 8px; font-size: 22px; color: var(--red); text-transform: uppercase; letter-spacing: 1px; }
.pamphlet h3 { color: #111; text-transform: uppercase; font-size: 16px; letter-spacing: 1px; }
.pamphlet .cover { text-align: center; }
.pamphlet .cover .kicker { font: bold 11px Verdana, sans-serif; letter-spacing: 3px; color: #555; }
.pamphlet .cover h2 { font-size: 30px; line-height: 1.05; margin: 10px 0; }
.pamphlet .cover img { width: 100%; height: auto; filter: grayscale(1) contrast(1.2); border: 1px solid #000; margin: 6px 0 10px; }
.pamphlet .cover .sub { font-style: italic; }
.signs { margin: 0; padding: 0; list-style: none; }
.signs li { position: relative; margin: 0 0 10px; padding-left: 24px; }
.signs li::before { content: "\26A0"; position: absolute; left: 0; top: 0; color: var(--red); }
.pamphlet .back { margin-top: 18px; text-align: center; font: bold 12px Verdana, sans-serif; letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq dt { margin: 16px 0 4px; font-weight: bold; color: var(--navy); }
.faq dd { margin: 0 0 0 18px; }

/* ---------- footer ---------- */
.footer {
  padding: 14px 20px 18px;
  background: var(--gray);
  border-top: 2px solid #fff;
  text-align: center;
  font-size: 11px;
  color: #222;
}
.footer .badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 10px; }
.footer .badges img { display: block; width: 88px; height: 31px; }
.footer p { margin: 3px 0; }
.footer nav a { margin: 0 4px; }

.link-to-us { display: flex; gap: 14px; align-items: center; }
.link-to-us textarea { flex: 1; font: 12px "Courier New", monospace; height: 64px; }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  body { padding: 0 0 24px; font-size: 16px; }
  .page { border: 0; }
  .content { padding: 6px 16px 20px; }
  .nav a { flex: 1 1 40%; text-align: center; padding: 8px 6px; }
  .with-sky { display: block; }
  .sky { display: none; }
  .tv { padding: 14px 14px 42px; border-radius: 16px; }
  .tv .panel { left: 18px; right: 18px; bottom: 11px; }
  .pamphlet { grid-template-columns: 1fr; }
  .pamphlet section + section { border-left: 0; border-top: 1px dashed #cfc6a8; background-image: none; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; padding: 12px 10px 14px; }
  h1 { font-size: 27px; }
  .link-to-us { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker span, .new, .sound { animation: none; }
  .ticker span { padding-left: 12px; }
}
