/* ============================================ */
/*     ~*~ OLD BORDER SHANDALAR STYLESHEET ~*~  */
/*     Best viewed at 800x600 resolution        */
/* ============================================ */

/* === TILED STARFIELD BACKGROUND === */
body {
  background-color: #000033;
  background-image:
    radial-gradient(1px 1px at 10px 20px, #ffffff44, transparent),
    radial-gradient(1px 1px at 50px 80px, #ffffff33, transparent),
    radial-gradient(1px 1px at 90px 40px, #ffffff55, transparent),
    radial-gradient(1px 1px at 130px 110px, #ffffff22, transparent),
    radial-gradient(1px 1px at 170px 70px, #ffffff44, transparent),
    radial-gradient(1px 1px at 30px 150px, #ffffff33, transparent),
    radial-gradient(1px 1px at 70px 190px, #ffffff55, transparent),
    radial-gradient(1px 1px at 110px 160px, #ffffff22, transparent),
    radial-gradient(1px 1px at 150px 130px, #ffffff44, transparent),
    radial-gradient(1px 1px at 190px 10px, #ffffff33, transparent),
    radial-gradient(1px 1px at 20px 60px, #ffffff22, transparent),
    radial-gradient(1px 1px at 160px 180px, #ffffff44, transparent),
    radial-gradient(1.5px 1.5px at 80px 100px, #aaccff55, transparent),
    radial-gradient(1.5px 1.5px at 140px 50px, #aaccff44, transparent);
  background-size: 200px 200px;
  color: #FFFFFF;
  font-family: "Times New Roman", Times, serif;
  font-size: 115%;
  margin: 0;
  padding: 0;
}

a:link { color: #00CCFF; }
a:visited { color: #CC99FF; }
a:hover { color: #FFFF00; }
a:active { color: #FF0000; }

/* === BLINK ANIMATION === */
@keyframes blinker {
  0% { opacity: 1; }
  49% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}
.blink {
  animation: blinker 1s step-start infinite;
}

/* === GLOW TEXT === */
@keyframes glow {
  0% { text-shadow: 0 0 5px #ff0, 0 0 10px #ff0; }
  50% { text-shadow: 0 0 20px #ff0, 0 0 30px #fa0, 0 0 40px #f80; }
  100% { text-shadow: 0 0 5px #ff0, 0 0 10px #ff0; }
}
.glow {
  animation: glow 2s ease-in-out infinite;
}

/* === RAINBOW TEXT === */
@keyframes rainbow {
  0% { color: #ff0000; }
  17% { color: #ff8800; }
  33% { color: #ffff00; }
  50% { color: #00ff00; }
  67% { color: #0088ff; }
  83% { color: #8800ff; }
  100% { color: #ff0000; }
}
.rainbow {
  animation: rainbow 3s linear infinite;
}

/* === MARQUEE STYLING === */
marquee {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 16px;
}

/* === MAIN LAYOUT TABLE === */
.layout-table {
  width: 100%;
  border-collapse: collapse;
}

/* === LEFT NAVIGATION === */
.nav-sidebar {
  width: 180px;
  min-width: 180px;
  background: #0a001a;
  background-image:
    linear-gradient(180deg, #0a001a 0%, #110022 50%, #0a001a 100%);
  border-right: 3px ridge #663399;
  vertical-align: top;
  padding: 0;
}

.nav-inner {
  padding: 10px 8px;
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}

.nav-title {
  color: #FFFF00;
  font-size: 13px;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.nav-link {
  display: block;
  background: #220044;
  border: 2px outset #7744AA;
  padding: 6px 8px;
  margin: 4px 0;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  color: #FFFF00;
  font-family: "Times New Roman", serif;
}
.nav-link:link, .nav-link:visited {
  color: #FFFF00;
}
.nav-link:hover {
  background: #440066;
  border-style: inset;
  color: #FF6600;
}
.nav-link.active {
  background: #440066;
  border-style: inset;
  color: #FFFFFF;
}

.nav-separator {
  border: none;
  height: 1px;
  background: #663399;
  margin: 8px 0;
}

/* === MAIN CONTENT === */
.main-content {
  vertical-align: top;
  padding: 15px 25px;
}

/* === VISITOR COUNTER === */
.counter-digit {
  display: inline-block;
  background: #000;
  border: 1px solid #333;
  color: #00ff00;
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: bold;
  padding: 2px 5px;
  margin: 0 1px;
}

/* === FEATURE TABLE === */
.feature-cell {
  background: #0a0a2e;
  border: 1px solid #444488;
  padding: 8px;
  vertical-align: top;
}
.feature-title {
  color: #FFFF00;
  font-weight: bold;
  font-size: 17px;
}

/* === STEP NUMBERS === */
.step-num {
  color: #00FF00;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 28px;
}

/* === TESTIMONIAL TABLE === */
.testimonial-cell {
  background: #1a0a2e;
  border: 1px solid #663399;
  padding: 10px;
  font-style: italic;
}
.testimonial-author {
  color: #CC99FF;
  font-style: normal;
  font-weight: bold;
  text-align: right;
}

/* === 88x31 BUTTONS === */
.button-bar img {
  margin: 2px;
  vertical-align: middle;
  image-rendering: pixelated;
}

/* === SECTION HEADER === */
.section-header {
  color: #FFFF00;
  font-size: 26px;
  font-family: "Times New Roman", serif;
  letter-spacing: 2px;
  text-shadow: 2px 2px #880000;
}

/* === FIRE BAR IMAGE === */
.firebar {
  image-rendering: auto;
}

/* === HR STYLING === */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #666699, #9999CC, #666699, transparent);
  margin: 10px auto;
  width: 80%;
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  .nav-sidebar {
    display: none;
  }
  .mobile-nav {
    display: block !important;
  }
  .main-content {
    padding: 10px;
  }
  img.firebar { width: 100%; height: auto; }
}

.mobile-nav {
  display: none;
  background: #0a001a;
  border-bottom: 3px ridge #663399;
  padding: 8px;
  text-align: center;
}
.mobile-nav a {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
  margin: 2px;
  display: inline-block;
  background: #220044;
  border: 2px outset #7744AA;
}

/* ============================================ */
/*     ~*~ CORNER RIBBON ~*~                    */
/* ============================================ */
.corner-ribbon {
  position: fixed;
  top: 30px;
  right: -55px;
  z-index: 10002;
  transform: rotate(45deg);
  background: #CC0000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
  padding: 6px 55px;
  text-align: center;
  font-family: "Comic Sans MS", cursive;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.3;
  color: #FFFFFF;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
}
.corner-ribbon span {
  display: block;
  color: #FFFF00;
  font-size: 13px;
}
@media (max-width: 700px) {
  .corner-ribbon {
    top: 22px;
    right: -60px;
    font-size: 10px;
    padding: 5px 55px;
  }
  .corner-ribbon span {
    font-size: 11px;
  }
}

/* ============================================ */
/*     ~*~ CLIPPY ~*~                           */
/* ============================================ */
@keyframes clippy-fade-in {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
#clippy-speech {
  position: fixed;
  bottom: 220px;
  right: 20px;
  z-index: 10001;
  background: #FFFFCC;
  border: 2px solid #000;
  border-radius: 4px;
  padding: 12px 14px;
  max-width: 240px;
  color: #000;
  font-family: "Tahoma", "Arial", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 2px 2px 0px #666;
  animation: clippy-fade-in 0.5s ease-out;
}
#clippy-speech::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #FFFFCC;
}
#clippy-speech::before {
  content: "";
  position: absolute;
  bottom: -13px;
  right: 29px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid #000;
}
#clippy-buttons {
  margin-top: 10px;
  display: flex;
  gap: 6px;
}
#clippy-buttons button {
  font-family: "Tahoma", "Arial", sans-serif;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  border: 2px outset #ccc;
  background: #e0e0e0;
  color: #000;
}
#clippy-buttons button:active {
  border-style: inset;
}
#clippy-dismiss {
  position: absolute;
  top: 2px;
  right: 6px;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #666;
  padding: 0;
  line-height: 1;
}
#clippy-dismiss:hover {
  color: #000;
}
@media (max-width: 700px) {
  #clippy-speech {
    bottom: 160px;
    right: 10px;
    max-width: 200px;
    font-size: 12px;
    padding: 10px;
  }
}
