/* =========================================================================
   THE NEW SOFTWARE COMPANY — 90s landing page
   ========================================================================= */

/* ---------- RESET-ISH ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ---------- BACKGROUND (tiled stars) ---------- */
body {
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  background-color: #000033;
  background-image:
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(#ffd700 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px, 130px 130px;
  background-position: 0 0, 30px 45px, 15px 75px;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- SIMPLE VERSION TOGGLE ---------- */
.simple-toggle {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
  display: inline-block;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 8px 14px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  border: 2px outset #cccccc;
  font-weight: bold;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}
.simple-toggle:hover {
  background: #ffffcc;
  color: #cc0000;
}
.simple-toggle:active { border-style: inset; }
@media (max-width: 600px) {
  .simple-toggle { font-size: 11px; padding: 6px 10px; }
}

/* ---------- MARQUEE BAR ---------- */
.top-bar {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #00ff00, #ff00ff);
  background-size: 400% 100%;
  animation: rainbow-slide 6s linear infinite;
  color: #000;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
  padding: 6px 0;
  border-top: 4px ridge #fff;
  border-bottom: 4px ridge #fff;
  font-size: 16px;
  letter-spacing: 1px;
}
@keyframes rainbow-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* ---------- UNDER CONSTRUCTION BANNER ---------- */
.construction {
  background: #000;
  border-top: 2px solid #ffcc00;
  border-bottom: 2px solid #ffcc00;
  padding: 0;
}
.construction-stripes {
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    #ffcc00 0 20px,
    #000 20px 40px
  );
  animation: stripes-move 1.2s linear infinite;
}
@keyframes stripes-move {
  from { background-position: 0 0; }
  to   { background-position: 56px 0; }
}
.construction-text {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #ffff66;
  padding: 8px;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000;
}

/* ---------- PAGE CONTAINER ---------- */
.page {
  max-width: 880px;
  margin: 24px auto;
  padding: 0 16px;
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  padding: 72px 0 24px;
}

.welcome-banner {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 64px;
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 #000;
}
.rainbow-text {
  display: inline-block;
  animation: bounce 1.4s ease-in-out infinite;
}
.rainbow-text:nth-child(1) { color: #ff0000; animation-delay: 0.0s; }
.rainbow-text:nth-child(2) { color: #ff8800; animation-delay: 0.1s; }
.rainbow-text:nth-child(3) { color: #ffff00; animation-delay: 0.2s; }
.rainbow-text:nth-child(4) { color: #00ff00; animation-delay: 0.3s; }
.rainbow-text:nth-child(5) { color: #00ffff; animation-delay: 0.4s; }
.rainbow-text:nth-child(6) { color: #4488ff; animation-delay: 0.5s; }
.rainbow-text:nth-child(7) { color: #ff00ff; animation-delay: 0.6s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.sparkle {
  display: inline-block;
  font-size: 48px;
  animation: spin 3s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- LOGO FRAME ---------- */
.logo-frame {
  position: relative;
  margin: 30px auto;
  padding: 28px 16px;
  border: 6px ridge #ff00ff;
  background:
    radial-gradient(ellipse at center, rgba(80,0,80,0.85) 0%, rgba(0,0,30,0.85) 70%),
    repeating-linear-gradient(45deg, rgba(255,0,255,0.08) 0 10px, transparent 10px 20px);
  box-shadow: 0 0 40px rgba(255, 0, 255, 0.6), inset 0 0 30px rgba(0, 255, 255, 0.3);
}

.badge-new {
  position: absolute;
  background: #ff0000;
  color: #ffff00;
  font-family: "Impact", sans-serif;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 10px;
  border: 2px solid #ffff00;
  transform: rotate(-12deg);
  animation: pulse 1s ease-in-out infinite;
  text-shadow: 1px 1px 0 #000;
  z-index: 2;
}
.badge-new--top-left { top: -14px; left: -14px; }
.badge-new--top-right {
  top: -14px; right: -14px;
  background: #ff8800;
  transform: rotate(12deg);
  animation-delay: 0.5s;
}
@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(-12deg); }
  50%      { transform: scale(1.15) rotate(-12deg); }
}
.badge-new--top-right { animation-name: pulse-right; }
@keyframes pulse-right {
  0%, 100% { transform: scale(1) rotate(12deg); }
  50%      { transform: scale(1.15) rotate(12deg); }
}

.logo-title {
  margin: 0;
  font-family: "Impact", "Arial Black", sans-serif;
  letter-spacing: 6px;
  line-height: 0.95;
}
.logo-title span {
  display: block;
  font-size: 72px;
  background: linear-gradient(180deg, #ffff00 0%, #ff8800 50%, #ff0000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px rgba(255,200,0,0.6),
    4px 4px 0 rgba(0,0,0,0.5);
  filter: drop-shadow(0 0 12px rgba(255,128,0,0.5));
}
.logo-line-2 { font-size: 88px !important; }

.tagline {
  margin: 18px 0 8px;
  font-size: 22px;
  color: #00ffff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #000, 0 0 8px #00ffff;
}
.blink { animation: blink 0.9s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.cta-blink {
  margin-top: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #ffff00;
  text-shadow: 2px 2px 0 #000;
  animation: cta-pulse 1.2s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.cta-link {
  color: #00ff00;
  text-decoration: underline;
  text-decoration-style: wavy;
}
.cta-link:hover {
  color: #ff00ff;
  background: #ffff00;
}

/* ---------- RAINBOW HR ---------- */
.rainbow-hr {
  height: 8px;
  border: 0;
  background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #00ffff, #4488ff, #ff00ff);
  margin: 32px 0;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ---------- PANELS ---------- */
.panel {
  background: rgba(255, 255, 255, 0.06);
  border: 4px ridge #00ffff;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}
.panel-alt {
  border-color: #ff00ff;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}
.panel-title {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 32px;
  color: #ffff00;
  text-align: center;
  margin: 0 0 16px;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 #ff00ff, 5px 5px 0 #000;
}
.blink-slow { animation: blink-slow 1.6s ease-in-out infinite; }
@keyframes blink-slow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* ---------- RETRO TABLE ---------- */
.retro-table {
  width: 100%;
  background: #000044;
  color: #ffffff;
  border: 3px ridge #00ff00;
  font-size: 17px;
}
.retro-table td {
  border: 1px solid #00ff00;
  vertical-align: top;
}
.retro-table b { color: #ffff00; }
.check-cell {
  text-align: center;
  width: 40px;
  font-size: 22px;
}
.badge-mini {
  display: inline-block;
  background: #ff0000;
  color: #ffff00;
  font-size: 11px;
  padding: 1px 5px;
  margin-left: 6px;
  font-family: "Impact", sans-serif;
  letter-spacing: 1px;
  vertical-align: middle;
  animation: pulse-mini 0.8s ease-in-out infinite;
}
@keyframes pulse-mini {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

/* ---------- WHY US LIST ---------- */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}
.why-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,0,255,0.4);
}
.bullet {
  color: #00ff00;
  font-weight: bold;
  margin-right: 8px;
  font-family: "Courier New", monospace;
}
.aside-quote {
  margin: 20px 0 0;
  padding: 14px;
  background: rgba(0, 0, 0, 0.4);
  border-left: 6px solid #ffff00;
  font-style: italic;
  color: #ffff00;
  font-size: 18px;
}
.quote-attribution {
  font-style: normal;
  font-size: 14px;
  color: #00ffff;
}

/* ---------- GUESTBOOK / CONTACT FORM ---------- */
.guestbook {
  background: rgba(80, 0, 80, 0.4);
  border-color: #ffff00;
  box-shadow: 0 0 30px rgba(255, 255, 0, 0.5);
}
.guestbook-sub {
  text-align: center;
  font-size: 15px;
  color: #ffccff;
  margin: 0 0 20px;
  font-style: italic;
}
.contact-form {
  background: #c0c0c0;
  color: #000;
  border: 4px outset #ffffff;
  padding: 20px;
  font-family: "Times New Roman", serif;
}
.form-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-row label {
  font-weight: bold;
  font-size: 15px;
  color: #000080;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}
.optional {
  font-weight: normal;
  font-style: italic;
  color: #555;
}
.form-row input,
.form-row textarea {
  font-family: "Courier New", monospace;
  font-size: 15px;
  padding: 8px 10px;
  border: 2px inset #ffffff;
  background: #ffffff;
  color: #000;
  width: 100%;
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid #ff00ff;
  background: #ffffe0;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  background: #ffff99;
  border: 2px dashed #ff0000;
  padding: 10px;
}
#captcha-question {
  font-family: "Courier New", monospace;
  background: #000;
  color: #00ff00;
  padding: 2px 8px;
  font-size: 18px;
  letter-spacing: 2px;
}

.submit-row { text-align: center; margin-top: 18px; }
.submit-btn {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  padding: 14px 32px;
  background: linear-gradient(180deg, #ffff00 0%, #ff8800 100%);
  color: #000;
  border: 4px outset #ffffff;
  cursor: pointer;
  text-shadow: 1px 1px 0 #fff;
  animation: btn-glow 1.5s ease-in-out infinite;
}
.submit-btn:hover {
  background: linear-gradient(180deg, #ff00ff 0%, #ff0088 100%);
  color: #ffff00;
}
.submit-btn:active { border-style: inset; }
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 8px #ffff00; }
  50%      { box-shadow: 0 0 24px #ff8800, 0 0 40px #ffff00; }
}

.form-status {
  margin-top: 14px;
  padding: 10px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-align: center;
  font-size: 15px;
  min-height: 20px;
}
.form-status.success {
  background: #00ff00;
  color: #000;
  border: 3px ridge #00aa00;
}
.form-status.error {
  background: #ff0000;
  color: #ffff00;
  border: 3px ridge #aa0000;
}
.form-status.loading {
  background: #ffff00;
  color: #000;
  border: 3px ridge #aaaa00;
}

/* ---------- WEBRING ---------- */
.webring-section {
  text-align: center;
  margin: 30px 0;
}
.webring-title {
  font-family: "Impact", sans-serif;
  font-size: 22px;
  color: #00ffff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #000;
}
.webring-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.ring-btn {
  display: inline-block;
  padding: 8px 14px;
  background: linear-gradient(180deg, #888888, #444444);
  color: #ffff00;
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-decoration: none;
  border: 3px outset #aaaaaa;
}
.ring-btn:hover {
  background: linear-gradient(180deg, #ff00ff, #880088);
  color: #ffffff;
}

/* ---------- COUNTER BOX ---------- */
.counter-box {
  margin: 30px auto;
  display: inline-block;
  width: 100%;
  text-align: center;
}
.counter-label {
  font-family: "Courier New", monospace;
  color: #00ffff;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.counter-digits {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 36px;
  background: #000;
  color: #00ff00;
  padding: 8px 20px;
  border: 4px inset #00ff00;
  letter-spacing: 8px;
  text-shadow: 0 0 6px #00ff00;
}

/* ---------- VINTAGE BADGES ---------- */
.badge-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.vintage-badge {
  width: 130px;
  background: linear-gradient(180deg, #4444ff 0%, #000088 100%);
  border: 3px ridge #ffff00;
  text-align: center;
  padding: 8px;
  font-family: "Arial", sans-serif;
  color: #ffff00;
  font-weight: bold;
  font-size: 11px;
  text-shadow: 1px 1px 0 #000;
}
.vintage-badge--alt { background: linear-gradient(180deg, #ff00ff 0%, #880088 100%); }
.vintage-badge--alt2 { background: linear-gradient(180deg, #008800 0%, #003300 100%); }
.badge-top { letter-spacing: 1px; }
.badge-mid {
  font-size: 16px;
  margin: 4px 0;
  color: #ffffff;
  letter-spacing: 1px;
}
.badge-bot { letter-spacing: 1px; }

/* ---------- FOOTER ---------- */
.page-footer {
  text-align: center;
  margin: 30px 0 50px;
  font-family: "Times New Roman", serif;
  color: #ffccff;
  font-size: 14px;
  border-top: 2px dashed #ff00ff;
  padding-top: 20px;
}
.footer-sub {
  font-size: 12px;
  color: #aaaaff;
  margin: 4px 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 700px) {
  .welcome-banner { font-size: 28px; letter-spacing: 1px; margin-bottom: 6px; }
  .sparkle { font-size: 24px; }
  .logo-title span { font-size: 44px !important; }
  .logo-line-2 { font-size: 56px !important; }
  .panel-title { font-size: 24px; }
  .tagline { font-size: 17px; }
  .cta-blink { font-size: 17px; }
  .submit-btn { font-size: 18px; padding: 12px 18px; }
  .counter-digits { font-size: 28px; letter-spacing: 4px; padding: 6px 14px; }
  .top-bar { font-size: 13px; }
}
