/* =========================================================
   OLD INTERNET — Phase 1 stylesheet (skeleton + base styling)
   ========================================================= */

/* ---------- Page ---------- */
html, body {
  margin: 0;
  padding: 0;
}

/* ---------- Win98-flavored scrollbar ---------- */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}
::-webkit-scrollbar-track {
  background: #7e73ff;
  border: 1px solid #2a2680;
}
::-webkit-scrollbar-thumb {
  background: #ffff00;
  border: 2px outset #2a2680;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffcc00;
}
::-webkit-scrollbar-button {
  background: #2a2680;
  border: 2px outset #7e73ff;
  height: 16px;
  width: 16px;
}
* {
  scrollbar-color: #ffff00 #7e73ff;
  scrollbar-width: auto;
}

body {
  background-color: #050823;
  background-image: url('assets/bg-stars.png');
  background-repeat: repeat;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #000;
  line-height: 1.3;
}

/* Multi-color tiled watercolor "page" sits on top of the starfield */
.page-container {
  max-width: 820px;
  margin: 20px auto;
  background-color: #FFFFCC;
  background-image:
    radial-gradient(circle at 20% 30%, #FFB6E1 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #B6D4FF 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, #C8FFB6 0%, transparent 35%),
    radial-gradient(circle at 90% 20%, #FFD9B6 0%, transparent 30%);
  background-size: 300px 300px, 300px 300px, 300px 300px, 300px 300px;
  background-repeat: repeat;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  overflow: hidden;
}

a { color: #0000EE; text-decoration: underline; }
a:visited { color: #551A8B; }
a:hover { color: #FF0000; }

img { max-width: 100%; display: block; }

/* ---------- Mobile banner (hidden on desktop) ---------- */
.mobile-banner {
  display: none;
  background: #FFFF00;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 8px 12px;
  border-bottom: 2px solid #000;
  font-size: 14px;
}

/* ---------- Marquee (full-bleed at top) ---------- */
.marquee-bar {
  background: #FFFF00;
  border-bottom: 2px solid #000;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  padding: 6px 0;
  letter-spacing: 0.5px;
}
.marquee-bar marquee { color: #000; }

/* Inner content padding (page-container handles width + centering) */
.content {
  padding: 12px;
  color: #000;
}

/* ---------- Hero ---------- */
.hero { text-align: center; position: relative; }

.logo {
  position: relative;
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 80px;
  letter-spacing: 2px;
  color: #FFFFFF;
  -webkit-text-stroke: 2px #000;
  /* gold bevel highlight on top edge + drop shadow */
  text-shadow:
    -1px -1px 0 #FFD700,
     0px -2px 0 #FFD700,
     1px -1px 0 #FFD700,
     4px  4px 0 #000;
  margin: 10px 0 5px;
  line-height: 1;
  text-transform: uppercase;
}

.tagline {
  font-size: 24px;
  font-style: italic;
  margin: 2px 0;
}
.subtagline {
  font-size: 16px;
  margin: 2px 0 8px;
}
.hero-marquee {
  background: linear-gradient(
    to right,
    #00FFFF, #FFFF00, #FF00FF, #00FF00, #FFFF00, #00FFFF
  );
  background-size: 200% 100%;
  animation: rainbow-shift 6s linear infinite;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  color: #000;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 4px 0;
  margin: 0 0 14px;
  text-shadow: 1px 1px 0 #fff;
}

.hero-cols {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 14px;
}
.hero-left, .hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Box image */
.box-wrap {
  position: relative;
  display: inline-block;
}
.box-img {
  width: 320px;
  max-width: 100%;
  transform: rotate(-3deg);
  transition: transform 0.25s ease;
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,0.25));
}
.box-img:hover { transform: rotate(0deg); }

/* Starburst badges */
.badge {
  display: inline-block;
  font-family: Impact, 'Arial Black', sans-serif;
  font-weight: bold;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  padding: 14px 10px;
  /* 12-point starburst */
  clip-path: polygon(
    50% 0%, 61% 19%, 78% 6%, 75% 27%, 96% 18%,
    87% 38%, 100% 50%, 87% 62%, 96% 82%, 75% 73%,
    78% 94%, 61% 81%, 50% 100%, 39% 81%, 22% 94%,
    25% 73%, 4% 82%, 13% 62%, 0% 50%, 13% 38%,
    4% 18%, 25% 27%, 22% 6%, 39% 19%
  );
  letter-spacing: 1px;
  line-height: 1;
}
.badge-new {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #FF0000;
  width: 80px; height: 80px;
  font-size: 22px;
  transform: rotate(15deg);
  z-index: 2;
}
.badge-free {
  background: #FFFF00;
  color: #000;
  text-shadow: none;
  width: 90px; height: 90px;
  font-size: 26px;
  transform: rotate(-12deg);
  margin-bottom: -10px;
}

.dl-meta {
  font-size: 13px;
  margin: 12px 0 4px;
  text-align: center;
}
.dl-quote {
  font-size: 14px;
  font-weight: bold;
  margin: 4px 0;
  text-align: center;
}

/* ---------- DOWNLOAD button ---------- */
.btn-download {
  display: inline-block;
  background: #00CC00;
  color: white;
  font-family: 'Comic Sans MS', cursive;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  border: 4px outset #00FF00;
  padding: 16px 32px;
  text-shadow: 2px 2px 0 #000;
  cursor: pointer;
  text-decoration: none;
}
.btn-download:visited { color: white; }
.btn-download:hover { color: white; }
.btn-download:active { border-style: inset; }
.btn-download .text {
  display: inline-block;
  animation: blink 1.2s steps(2) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.45; }
}

@keyframes rainbow-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


/* Sparkle trail */
.sparkle {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 9999;
  font-size: 14px;
  line-height: 1;
  color: #FFD700;
  text-shadow: 0 0 4px #FFFF00, 0 0 8px #FF00FF;
  animation: sparkle-fade 700ms ease-out forwards;
  user-select: none;
}
@keyframes sparkle-fade {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.6) rotate(0deg);   }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.0) rotate(180deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(360deg); }
}

/* ---------- Section header ---------- */
.section-header {
  text-align: center;
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 28px;
  border-bottom: 1px solid #888;
  padding-bottom: 4px;
  margin: 8px 0;
}
.section-header::before { content: '★ '; color: #FF0000; }
.section-header::after  { content: ' ★'; color: #FF0000; }

/* ---------- Panels ---------- */
.panel {
  border: 2px ridge #C0C0C0;
  background: transparent;
  padding: 10px;
  margin: 12px 0;
}

/* ---------- Preview grid ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 8px;
}
.preview-grid-single {
  display: flex;
  justify-content: center;
}
.preview-grid-single .preview-tile {
  max-width: 540px;
  width: 100%;
}
.preview-tile {
  margin: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease;
}
.preview-tile:hover { transform: scale(1.02); }
.preview-tile .matte {
  border: 1px solid #000;
  background: white;
  padding: 6px;
}
.preview-tile .matte .shot {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.preview-tile figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.preview-tile figcaption em { color: #555; }

/* ---------- Early-internet blue link ---------- */
.link-blue,
a.link-blue,
a.link-blue:link {
  color: #0000EE;
  text-decoration: underline;
  cursor: pointer;
}
a.link-blue:visited { color: #551A8B; }
a.link-blue:hover,
.link-blue:hover { color: #FF0000; }
.preview-tile figcaption .link-blue em { color: #0000EE; }

/* ---------- OG tweet (historical artifact) ---------- */
.og-tweet-section { text-align: center; }
.og-tweet-eyebrow {
  font-family: Impact, "Arial Black", sans-serif;
  color: #C2185B;
  letter-spacing: 0.06em;
  font-size: 14px;
  margin: 0 0 4px;
  animation: ogtweet-blink 1.1s steps(2, end) infinite;
}
@keyframes ogtweet-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0.35; }
}
.og-tweet-header {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 26px;
  color: #1B5E8C;
  margin: 0 0 14px;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0,0,0,0.1);
}
.og-tweet-figure { margin: 0 auto; max-width: 560px; }
.og-tweet-matte {
  border: 1px solid #000;
  background: #fff;
  padding: 8px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
}
.og-tweet-img {
  display: block;
  width: 100%;
  height: auto;
}
.og-tweet-caption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.og-tweet-sub { font-size: 13px; }

/* ---------- Second CTA ---------- */
.cta-2 {
  text-align: center;
  margin: 14px 0;
}
.cta-2-lead {
  font-size: 18px;
  margin-bottom: 12px;
}

/* ---------- Poem ---------- */
.poem {
  text-align: center;
  font-style: italic;
  line-height: 1.6;
  font-size: 18px;
}

/* ---------- About ---------- */
.about {
  text-align: center;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #888;
}
.hit-counter {
  display: inline-block;
  margin: 12px 0;
  text-align: center;
}
.lcd {
  display: inline-block;
  background: #000;
  color: #00FF00;
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 28px;
  padding: 4px 12px;
  letter-spacing: 2px;
  border: 2px inset #808080;
}
.lcd-label {
  font-size: 13px;
  margin-top: 4px;
}
.footer-line {
  font-size: 13px;
  margin: 4px 0;
}

/* ---------- Dividers (CSS placeholder until real GIFs land) ---------- */
.gif-divider {
  margin: 8px 0;
  text-align: center;
}
.gif-divider-rainbow {
  display: block;
  height: 6px;
  background: linear-gradient(
    to right,
    #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3,
    #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3
  );
  background-size: 200% 100%;
  animation: rainbow-shift 4s linear infinite;
}
.gif-divider-stars {
  display: block;
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  color: #FF00FF;
  letter-spacing: 2px;
  margin: 4px 0;
  animation: blink 2s steps(2) infinite;
}
.gif-divider-flames {
  display: block;
  height: 8px;
  background: linear-gradient(
    to right,
    #FF0000, #FF6600, #FFCC00, #FF6600,
    #FF0000, #FF6600, #FFCC00, #FF6600,
    #FF0000
  );
  background-size: 200% 100%;
  animation: rainbow-shift 1.2s linear infinite;
}
.gif-divider-arrows {
  display: block;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 18px;
  color: #0000EE;
  letter-spacing: 6px;
  margin: 4px 0;
  animation: blink 0.6s steps(2) infinite;
}

/* ---------- Placeholders for screenshots (until real assets land) ---------- */
.placeholder {
  background: repeating-linear-gradient(
    45deg,
    #d0d0d0, #d0d0d0 8px,
    #b8b8b8 8px, #b8b8b8 16px
  );
  border: 1px dashed #555;
  color: #333;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-shot {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    #cce, #cce 8px,
    #aac 8px, #aac 16px
  );
}


/* ---------- Sound toggle ---------- */
.sound-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  border: 3px outset #C0C0C0;
  background: #C0C0C0;
  font-family: 'Comic Sans MS', cursive;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 16px;
  cursor: pointer;
}
.sound-toggle:active { border-style: inset; }

/* ---------- Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}
.lightbox-panel {
  position: relative;
  background: #C0C0C0;
  border: 2px outset #C0C0C0;
  padding: 12px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}
.lightbox-close {
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 20px;
  border: 1px outset #C0C0C0;
  background: #C0C0C0;
  font-size: 12px;
  cursor: pointer;
}
.lightbox-matte {
  background: white;
  padding: 6px;
  border: 1px solid #000;
}
.lightbox-matte img { max-width: 80vw; max-height: 65vh; }
.lightbox-caption { text-align: center; font-weight: bold; margin: 0; }
.lightbox-cta { align-self: center; font-size: 20px; padding: 12px 20px; }

/* ---------- Pink section dividers ---------- */
hr.divider, .section-divider {
  height: 4px;
  background: #FF1493;
  border: none;
  margin: 12px 0;
}

/* ---------- Sidebar widgets ---------- */
.widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 12px 0;
}
.widget {
  flex: 1 1 250px;
  max-width: 280px;
  background: transparent;
  border: 1px solid #000;
  font-size: 13px;
}
.widget-title {
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.widget-orange { /* AWARDS */ }
.widget-orange  .widget-title { background: #FF6600; }
.widget-maroon  .widget-title { background: #800000; }
.widget-forest  .widget-title { background: #228B22; }
.widget-cyan    .widget-title { background: #008B8B; }

/* ---------- Shoutbox ---------- */
.shoutbox-feed {
  background: #000;
  color: #00FF00;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 10px;
  height: 140px;
  overflow: hidden;
  border: 1px inset #ccc;
}
.shoutbox-msg {
  margin: 0 0 4px;
  word-break: break-word;
  opacity: 0;
  animation: shoutbox-pop 0.25s ease-out forwards;
}
.shoutbox-msg .sb-time {
  color: #888;
  font-size: 10px;
  margin-right: 4px;
}
.shoutbox-msg .sb-user {
  color: #FFFF00;
  font-weight: bold;
  margin-right: 4px;
}
.shoutbox-msg .sb-text {
  color: #00FF00;
}
.shoutbox-msg.sb-system .sb-user { color: #FF00FF; }
.shoutbox-msg.sb-system .sb-text { color: #FF80FF; font-style: italic; }
@keyframes shoutbox-pop {
  0%   { opacity: 0; transform: translateY(-3px); }
  100% { opacity: 1; transform: translateY(0); }
}
.shoutbox-meta {
  margin: 6px 0 0;
  font-size: 11px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}
.shoutbox-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00CC00;
  box-shadow: 0 0 4px #00FF00;
  animation: blink 1.2s steps(2) infinite;
}
.widget-body {
  padding: 10px 12px;
  line-height: 1.5;
}
.widget-body ul.retro-list,
.widget-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget-body ul li {
  padding: 1px 0;
}
.widget-body p { margin: 0 0 6px; }
.widget-body p:last-child { margin-bottom: 0; }

/* poll */
.poll-options {
  margin: 6px 0 8px;
}
.poll-options label {
  display: block;
  padding: 1px 0;
  cursor: pointer;
}
.poll-buttons {
  display: flex;
  gap: 6px;
}
.poll-btn {
  border: 2px outset #C0C0C0;
  background: #C0C0C0;
  font-family: 'Times New Roman', serif;
  font-size: 12px;
  padding: 3px 10px;
  cursor: pointer;
}
.poll-btn:active { border-style: inset; }

/* webring */
.webring-nav {
  text-align: center;
  margin: 4px 0 8px;
}
.webring-nav a { margin: 0 4px; }
.webring-meta {
  text-align: center;
  font-size: 12px;
  color: #444;
}

/* ---------- Retro arrow bullets ---------- */
ul.retro-list {
  list-style: none;
  padding-left: 0;
}
ul.retro-list li::before {
  content: "•» ";
  color: #FF6600;
  font-weight: bold;
  margin-right: 4px;
}

/* ---------- Awards strip ---------- */
.awards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 8px;
}
.award {
  display: inline-block;
  font-family: 'Times New Roman', serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 2px ridge #C0C0C0;
  background: #FFFACD; /* lemon chiffon */
  color: #000;
  letter-spacing: 0.5px;
}
.award:nth-child(1) { background: #FFD700; }
.award:nth-child(2) { background: #FFB6C1; }
.award:nth-child(3) { background: #ADFF2F; }
.award:nth-child(4) { background: #87CEEB; }

/* ---------- System Requirements panel ---------- */
.sysreq dl {
  margin: 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 16px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}
.sysreq dt {
  font-weight: bold;
  text-transform: uppercase;
  color: #000080;
}
.sysreq dd {
  margin: 0;
}

/* ---------- Web badges (88x31 buttons) ---------- */
.web-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 8px 0;
}
.webbtn {
  width: 88px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.05;
  padding: 2px;
  border: 1px solid #000;
  color: #fff;
  letter-spacing: 0.3px;
}
.webbtn-netscape   { background: linear-gradient(to bottom, #000080 0%, #000080 50%, #4040A0 50%, #4040A0 100%); }
.webbtn-notepad    { background: #C0C0C0; color: #000; border-color: #000; }
.webbtn-html       { background: linear-gradient(to bottom, #FF6600, #CC3300); }
.webbtn-y2k        { background: linear-gradient(to bottom, #FF0000 0%, #FF0000 50%, #FFFFFF 50%, #FFFFFF 100%); color: #000; }
.webbtn-anykey     { background: linear-gradient(to bottom, #008000, #004000); }

.last-updated {
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #555;
  margin: 8px 0;
}

.guestbook {
  text-align: center;
  font-size: 14px;
  margin: 12px 0;
  font-style: italic;
}

/* ---------- Banner ad (dancing baby) ---------- */
.ad-zone {
  margin: 18px auto 12px;
  text-align: center;
  width: 640px;
  max-width: 100%;
  /* room for the tilt */
  padding: 6px 0;
}
.ad-label {
  font-family: 'Times New Roman', serif;
  font-size: 11px;
  color: #777;
  text-align: left;
  margin: 0 0 4px;
  text-transform: lowercase;
}
.ad-banner {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 560px;
  height: 100px;
  max-width: 100%;
  background: #FF00FF;
  border: 2px solid #000;
  outline: 2px dashed #FFFF00;
  outline-offset: 2px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  transform: rotate(-1.5deg);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  animation: ad-bg-cycle 1.6s steps(1) infinite;
}
.ad-banner.shaking { animation: shake 0.4s linear, ad-bg-cycle 1.6s steps(1) infinite; }

@keyframes ad-bg-cycle {
  0%   { background: #FF00FF; }
  25%  { background: #FFFF00; }
  50%  { background: #00FFFF; }
  75%  { background: #00FF00; }
  100% { background: #FF00FF; }
}

.ad-baby {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  display: block;
  image-rendering: pixelated;
}
.ad-baby-right { transform: scaleX(-1); }

.ad-center {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  text-align: center;
}

.ad-burst {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 54px;
  height: 54px;
  background: #FFFF00;
  /* starburst polygon */
  clip-path: polygon(
    50% 0%, 60% 18%, 80% 8%, 72% 30%, 95% 30%,
    78% 48%, 100% 58%, 75% 62%, 88% 84%, 64% 74%,
    62% 100%, 50% 80%, 38% 100%, 36% 74%, 12% 84%,
    25% 62%, 0% 58%, 22% 48%, 5% 30%, 28% 30%, 20% 8%, 40% 18%
  );
  animation: ad-burst-spin 4s linear infinite;
  pointer-events: none;
}
.ad-burst span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 9px;
  color: #C00;
  line-height: 1;
  font-weight: 900;
  text-shadow: 1px 1px 0 #fff;
  text-align: center;
}
@keyframes ad-burst-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ad-headline {
  font-family: 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #FFFF00;
  text-shadow:
    2px 2px 0 #000,
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000;
  letter-spacing: 0.5px;
  line-height: 1.0;
  margin: 0 0 6px;
}
.ad-clickhere {
  display: inline-block;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 13px;
  color: #FFF;
  background: #C00;
  border: 2px solid #FFF;
  padding: 1px 8px;
  text-shadow: 1px 1px 0 #000;
  animation: blink 0.7s steps(2) infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(-1.5deg) translateX(0); }
  20%      { transform: rotate(-2.5deg) translateX(-6px); }
  40%      { transform: rotate(-0.5deg) translateX( 6px); }
  60%      { transform: rotate(-2.5deg) translateX(-4px); }
  80%      { transform: rotate(-0.5deg) translateX( 4px); }
}

/* ---------- "More skins coming soon" row in sysreq ---------- */
.sysreq-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #888;
}
.sysreq-cta img {
  width: auto;
  height: 56px;
  flex: 0 0 auto;
}
.sysreq-cta span {
  font-family: 'Comic Sans MS', cursive;
  font-size: 16px;
  font-weight: bold;
  color: #C00;
}

/* ---------- Globe row in footer ---------- */
.hit-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hit-globe {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}
.hit-label {
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hit-counter .lcd-label {
  flex-basis: 100%;
}

/* ---------- Dial-up modal ---------- */
.dialup-modal[hidden] { display: none; }
.dialup-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'MS Sans Serif', Arial, sans-serif;
}
.dialup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.dialup-window {
  position: relative;
  width: 420px;
  max-width: 92vw;
  background: #C0C0C0;
  border: 2px outset #C0C0C0;
  font-size: 12px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}
.dialup-titlebar {
  background: linear-gradient(to right, #000080, #0000FF);
  color: #fff;
  padding: 3px 4px 3px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 12px;
}
.dialup-titlebar-btns {
  display: flex;
  gap: 2px;
}
.dialup-tb-btn {
  width: 18px;
  height: 16px;
  border: 1px outset #C0C0C0;
  background: #C0C0C0;
  color: #000;
  font-size: 11px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  padding: 0;
}
.dialup-tb-btn:active { border-style: inset; }

.dialup-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: #fff;
  border: 1px inset #808080;
  margin: 6px;
}
.dialup-iconpane {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.dialup-emoji {
  font-size: 28px;
  line-height: 1;
}
.dialup-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.dialup-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000080;
  opacity: 0.2;
  animation: dialup-dot 1.2s linear infinite;
}
.dialup-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.dialup-dots .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dialup-dot {
  0%, 60%, 100% { opacity: 0.2; transform: scale(1); }
  30%           { opacity: 1;   transform: scale(1.3); }
}

.dialup-info { flex: 1; min-width: 0; }
.dialup-status {
  margin: 0 0 6px;
  font-weight: bold;
  font-size: 13px;
}
.dialup-progress {
  height: 16px;
  background: #fff;
  border: 1px inset #808080;
  padding: 2px;
  overflow: hidden;
}
.dialup-progress-bar {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    90deg,
    #000080, #000080 10px,
    #C0C0C0 10px, #C0C0C0 12px
  );
  transition: width 0.35s ease;
}
.dialup-speed {
  margin: 6px 0 0;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #555;
}
.dialup-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  padding: 4px 10px 10px;
}
.dialup-btn {
  border: 2px outset #C0C0C0;
  background: #C0C0C0;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  font-size: 12px;
  padding: 4px 16px;
  cursor: pointer;
  min-width: 70px;
}
.dialup-btn:active { border-style: inset; }

/* =========================================================
   WHIMSY PASS — new components below
   ========================================================= */

/* ---------- Tucows rating badge (above DL button) ---------- */
.tucows-badge {
  width: 200px;
  background: #C0C0C0;
  border: 2px outset #C0C0C0;
  padding: 8px 10px;
  margin: 0 0 10px;
  text-align: center;
  font-family: 'MS Sans Serif', Arial, sans-serif;
}
.tucows-heading {
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tucows-cows {
  font-size: 18px;
  margin: 4px 0 2px;
  letter-spacing: 1px;
}
.tucows-cows span {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #C00;
  vertical-align: middle;
  margin-left: 4px;
}
.tucows-sub {
  font-size: 11px;
  color: #333;
}

/* ---------- Reviews panel (below DL button) ---------- */
.reviews-panel {
  width: 260px;
  max-width: 100%;
  background: #FFFACD;
  border: 1px solid #000;
  padding: 8px 10px;
  margin: 12px 0 0;
  font-family: 'Times New Roman', serif;
}
.reviews-heading {
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  color: #C00;
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}
.review-quote {
  margin: 4px 0;
  font-size: 13px;
  font-style: italic;
  line-height: 1.35;
}
.review-quote .r-stars {
  color: #DAA520;
  font-style: normal;
  letter-spacing: 1px;
  margin-right: 2px;
}
.review-quote strong {
  font-style: normal;
  font-family: 'Times New Roman', serif;
}

/* ---------- SHOWCASE rainbow WordArt header ---------- */
.section-header.showcase-header {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  color: transparent;
  background: linear-gradient(to right, #FF0000, #FF7F00, #FFFF00, #00CC00, #0066FF, #8A2BE2);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    -1px -1px 0 #000, 1px -1px 0 #000,
    -1px  1px 0 #000, 1px  1px 0 #000,
    -2px  0   0 #000, 2px  0   0 #000,
     0   -2px 0 #000, 0    2px 0 #000,
     3px  3px 0 #888;
  transform: rotate(-2deg);
  display: block;
  border-bottom: none;
  padding-bottom: 0;
  margin: 14px 0 18px;
}
.section-header.showcase-header::before,
.section-header.showcase-header::after { content: ''; }

/* ---------- WHY → cursive purple "message from the webmasters" ---------- */
.section-header.webmasters-msg-header {
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-size: 28px;
  font-weight: normal;
  font-style: italic;
  color: #800080;
  text-align: center;
  text-transform: none;
  border-bottom: none;
  padding-bottom: 0;
  margin: 8px 0;
  letter-spacing: 0.5px;
}
.section-header.webmasters-msg-header::before,
.section-header.webmasters-msg-header::after { content: ''; }

/* ---------- ABOUT → THE WEBMASTERS w/ marquees ---------- */
.section-header.webmasters-title {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 32px;
  color: #FF0000;
  text-align: center;
  text-transform: uppercase;
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 1px;
  margin: 4px 0;
  -webkit-text-stroke: 1px #000;
}
.section-header.webmasters-title::before,
.section-header.webmasters-title::after { content: ''; }
.webmasters-marquee {
  display: block;
  font-size: 18px;
  letter-spacing: 6px;
  margin: 2px 0;
}
.webmasters-marquee.gold { color: #DAA520; }
.webmasters-marquee.pink { color: #FF1493; }

/* ---------- SYSREQ as Win98 dialog ---------- */
.panel.sysreq-dialog {
  background: #C0C0C0;
  border: 2px outset #C0C0C0;
  padding: 0;
}
.sysreq-titlebar {
  background: linear-gradient(to right, #000080, #1084d0);
  color: #fff;
  padding: 4px 4px 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
}
.sysreq-titlebar-text {
  letter-spacing: 0.5px;
}
.sysreq-tb-btns { display: flex; gap: 2px; }
.sysreq-body {
  background: #fff;
  border: 1px inset #808080;
  margin: 4px;
  padding: 12px;
}
.sub-heading {
  margin: 14px 0 6px;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #000080;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #888;
  padding-bottom: 2px;
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px ridge #C0C0C0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  margin: 4px 0 8px;
}
.compat-table th, .compat-table td {
  padding: 3px 8px;
  border: 1px solid #C0C0C0;
  text-align: left;
}
.compat-table th { background: #E0E0E0; }
.compat-table .ok   { color: #008000; font-weight: bold; }
.compat-table .bad  { color: #C00;    font-weight: bold; }
.compat-table .warn { color: #FF8C00; font-weight: bold; }
.compat-table .ok-note { color: #555; font-weight: normal; font-style: italic; }
.install-steps {
  margin: 4px 0 8px 22px;
  padding: 0;
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.45;
}
.install-steps li { margin: 2px 0; }
.known-issues {
  font-family: 'Times New Roman', serif;
  font-size: 11px;
  font-style: italic;
  color: #666;
  margin: 4px 0 0;
  line-height: 1.4;
}

/* ---------- Sidebar widget extensions ---------- */
.widget.widget-wide {
  flex: 1 1 100%;
  max-width: 100%;
}
.widget-forest .widget-title {
  text-align: center;
  font-family: Impact, 'Arial Black', sans-serif;
  letter-spacing: 0.5px;
}
.webring-help {
  text-align: center;
  font-size: 11px;
  color: #444;
  font-style: italic;
  margin: 6px 0 0;
}

/* ---------- Functional poll (results bars) ---------- */
.poll-q { font-weight: bold; margin: 0 0 6px; }
.poll-bars { margin: 4px 0 6px; }
.poll-row {
  margin: 4px 0;
}
.poll-row-label {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
}
.poll-bar-track {
  height: 14px;
  background: #fff;
  border: 1px inset #808080;
}
.poll-bar-fill {
  height: 100%;
  border: 2px outset rgba(255,255,255,0.4);
  border-right-width: 0;
  border-top-width: 0;
}
.poll-bar-purple      { background: #8A2BE2; }
.poll-bar-green       { background: #008000; }
.poll-bar-pink        { background: #FF1493; }
.poll-bar-orange      { background: #FF6600; }
.poll-you {
  font-size: 11px;
  font-style: italic;
  color: #444;
  margin: 6px 0 0;
}

/* ---------- Guestbook ---------- */
.guestbook-section { margin: 12px 0; }
.guestbook-eyebrow {
  text-align: center;
  font-family: 'Comic Sans MS', cursive;
  font-size: 14px;
  color: #FF0000;
  margin: 0 0 6px;
  animation: blink 1s steps(2) infinite;
  font-weight: bold;
}
.guestbook-title {
  text-align: center;
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 32px;
  color: #FF1493;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
  -webkit-text-stroke: 1px #000;
}
.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto 18px;
  padding: 10px;
  background: #FFFACD;
  border: 2px ridge #C0C0C0;
}
.gb-label {
  display: flex;
  flex-direction: column;
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  font-size: 14px;
  gap: 3px;
}
.gb-label input,
.gb-label textarea {
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  padding: 4px 6px;
  border: 1px inset #808080;
  background: #fff;
  font-weight: normal;
}
.gb-submit {
  align-self: center;
  font-family: 'Comic Sans MS', cursive;
  font-weight: bold;
  font-size: 16px;
  background: #FFD700;
  color: #000;
  border: 3px outset #FFD700;
  padding: 6px 18px;
  cursor: pointer;
  text-shadow: 1px 1px 0 #fff;
}
.gb-submit:active { border-style: inset; }
.gb-error {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #C00;
  font-weight: bold;
}
.guestbook-entries {
  max-width: 600px;
  margin: 0 auto;
}
.gb-entry {
  margin: 8px 0;
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.35;
}
.gb-entry-header {
  font-size: 13px;
}
.gb-entry-name {
  color: #0000EE;
  text-decoration: underline;
  font-weight: bold;
}
.gb-entry-date {
  color: #777;
  font-style: italic;
  margin-left: 4px;
}
.gb-entry-msg {
  margin-left: 18px;
  margin-top: 2px;
}
.gb-entry-msg::before {
  content: "└─ ";
  color: #888;
  font-family: 'Courier New', monospace;
  margin-left: -16px;
  margin-right: 2px;
}
.gb-meta, .gb-pagination {
  text-align: center;
  font-size: 12px;
  color: #777;
  font-style: italic;
  margin: 8px 0 2px;
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .mobile-banner { display: block; }
  .page-container {
    max-width: 100%;
    margin: 0;
    border: none;
    box-shadow: none;
  }
  .content { padding: 12px; }
  .hero-cols { flex-direction: column; }
  .preview-grid { grid-template-columns: 1fr; }
  .sound-toggle { display: none; }
  .logo { font-size: 48px; }
  .section-header.showcase-header { font-size: 22px; }
  .tucows-badge, .reviews-panel { width: auto; }

  /* Banner: less tilt, hide second baby, smaller headline */
  .ad-banner { height: 84px; transform: rotate(-1deg); }
  .ad-baby-right { display: none; }
  .ad-headline { font-size: 16px; }
  .ad-clickhere { font-size: 11px; padding: 1px 6px; }
  .ad-burst { width: 44px; height: 44px; top: 2px; right: 2px; }
  .ad-burst span { font-size: 8px; }

  .hero-marquee { font-size: 12px; }
}
