/* GeoCities Fan-Zine / early Web 1.0 Aesthetic Stylesheet */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f7f3e3; /* Cozy warm pale beige background */
  font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", sans-serif; /* Authentic GeoCities font choices */
  font-size: 15px;
  color: #3b2c11; /* Warm brown-black text */
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.desktop {
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 10; /* Keep main content in the foreground, above background grid */
}

/* Tiled Background CD-R Grid (CSS-only tiled background image) */
.tiled-cd-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("/cd-background.svg");
  background-repeat: repeat;
  background-size: 200px 200px; /* CD tile size */
  z-index: 1; /* Floating behind zine content (.desktop is z-index: 10) */
  pointer-events: none;
  opacity: 0.18; /* Subtle background pattern */
}

.geocities-container {
  width: 100%;
  background-color: #ffffff; /* White page wrapper with border */
  border: 4px double #8b5a2b; /* Double brown border */
  padding: 30px 20px;
  box-shadow: 6px 6px 0px rgba(139, 90, 43, 0.15);
  text-align: center;
}

/* Under Construction Banner */
.under-construction-banner {
  background-color: #ffff00;
  color: #000000;
  border: 2px solid #000000;
  padding: 8px;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* Header & Typography */
.geocities-header {
  margin-bottom: 25px;
}

.rainbow-title {
  font-size: 3rem;
  font-weight: 900;
  color: #800080; /* Royal purple */
  text-shadow: 2px 2px #ff00ff, 4px 4px #00ffff; /* Dual neon drop shadow */
  margin-bottom: 10px;
  letter-spacing: -1px;
}

@media (max-width: 600px) {
  .rainbow-title {
    font-size: 2.2rem;
  }
}

.blink-text {
  font-size: 14px;
  color: #ff0055;
  font-weight: bold;
  letter-spacing: 0.5px;
  animation: blink-anim 1.5s steps(2, start) infinite;
}

@keyframes blink-anim {
  to { visibility: hidden; }
}

/* Dividers */
.star-divider {
  font-size: 18px;
  color: #ff8c00; /* Dark orange star color */
  margin: 25px 0;
  font-weight: bold;
}

/* Two-column layout */
.zine-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .zine-grid {
    grid-template-columns: 1fr;
  }
}

/* Zine Cards */
.zine-card {
  border: 3px solid #8b5a2b;
  border-radius: 8px;
  padding: 20px;
  background-color: #fffdf5;
}

.info-card {
  border-color: #3b82f6; /* Blue border for info */
  box-shadow: 4px 4px 0px rgba(59, 130, 246, 0.1);
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  color: #1d4ed8;
  border-bottom: 2px dashed #3b82f6;
  margin-bottom: 15px;
  padding-bottom: 5px;
  text-align: center;
}

.zine-card p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.subsection-title {
  font-size: 16px;
  color: #1e3a8a;
  margin-top: 15px;
  margin-bottom: 10px;
}

.bullet-list {
  padding-left: 20px;
}

.bullet-list li {
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Guestbook Panel */
.guestbook-card {
  border-color: #db2777; /* Pink border for guestbook */
  box-shadow: 4px 4px 0px rgba(219, 39, 119, 0.1);
}

.guestbook-card .card-title {
  color: #db2777;
  border-bottom-color: #db2777;
}

.guestbook-intro {
  font-size: 13px;
  color: #4c0519;
}

.guestbook-form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-weight: bold;
  font-size: 13px;
}

.guestbook-form input[type="email"] {
  background-color: #ffffff;
  border: 2px solid #db2777;
  border-radius: 4px;
  padding: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.guestbook-form input[type="email"]:focus {
  background-color: #fffdfa;
  box-shadow: 0 0 4px rgba(219, 39, 119, 0.4);
}

/* Bright retro button */
.guestbook-btn {
  background-color: #db2777;
  color: #ffffff;
  border: 2px solid #9d174d;
  border-radius: 4px;
  padding: 10px;
  font-family: inherit;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 2px 2px 0px #000;
  transition: all 0.1s ease;
}

.guestbook-btn:hover {
  background-color: #be185d;
}

.guestbook-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000;
}

/* Visitor Counter Box */
.visitor-counter-box {
  margin-top: 25px;
  text-align: center;
  border-top: 1px dashed #db2777;
  padding-top: 15px;
}

.visitor-title {
  font-size: 11px;
  font-weight: bold;
  color: #db2777;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.visitor-digits {
  display: inline-flex;
  background-color: #000000;
  border: 2px solid #555555;
  padding: 4px;
  gap: 2px;
}

.visitor-digits span {
  font-family: monospace;
  font-size: 18px;
  font-weight: bold;
  color: #00ff00; /* Neon green digits */
  background-color: #111111;
  padding: 2px 6px;
  border: 1px solid #222;
}

/* Badges section (Classic 88x31 Size) */
.geocities-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 25px 0;
}

.geo-badge {
  width: 88px;
  height: 31px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 7px;
  font-weight: bold;
  display: inline-flex;
  align-items: stretch;
  border: 2px solid;
  border-style: outset;
  overflow: hidden;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
}

.badge-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  line-height: 1.25;
  padding: 2px 3px;
}

.badge-disc     { background-color: #e0f2fe; border-color: #0284c7; color: #0369a1; }
.badge-disc     .badge-icon { background-color: #0284c7; color: #fff; }
.badge-laser    { background-color: #ffedd5; border-color: #ea580c; color: #c2410c; }
.badge-laser    .badge-icon { background-color: #ea580c; color: #fff; }
.badge-noscript { background-color: #ecfdf5; border-color: #059669; color: #047857; }
.badge-noscript .badge-icon { background-color: #059669; color: #fff; }
.badge-caddy    { background-color: #faf5ff; border-color: #9333ea; color: #7e22ce; }
.badge-caddy    .badge-icon { background-color: #9333ea; color: #fff; }
.badge-y2k      { background-color: #fefce8; border-color: #ca8a04; color: #854d0e; }
.badge-y2k      .badge-icon { background-color: #ca8a04; color: #fff; }

.webmaster-text {
  font-size: 13px;
  margin-top: 15px;
  color: #8b5a2b;
}

.webmaster-text a {
  color: #db2777;
  text-decoration: underline;
}

.webmaster-text a:hover {
  color: #be185d;
}
