* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: #000;
  color: #00ff41;
  font-family: "Courier New", Courier, monospace;
  overflow-x: hidden;
}

/* matrix rain background */
#rain { position: fixed; top:0; left:0; width:100%; height:100%; z-index:0; opacity:0.35; }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* under construction bar */
.construction-bar {
  background: repeating-linear-gradient(45deg, #ffff00, #ffff00 12px, #000 12px, #000 24px);
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 4px 0;
  font-size: 12px;
  letter-spacing: 2px;
  border: 2px solid #fff;
  margin-bottom: 10px;
}
.construction-bar span {
  background:#000; color:#ffff00; padding: 1px 8px;
}

marquee, .marquee-fallback {
  display:block;
  background:#111;
  border: 2px inset #00ff41;
  color: #ff00ff;
  padding: 4px 0;
  font-size: 13px;
  margin-bottom: 12px;
}

header {
  text-align: center;
  border: 3px double #00ffff;
  padding: 14px 10px 18px;
  background: radial-gradient(ellipse at top, #001a1a 0%, #000 70%);
  margin-bottom: 14px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lain-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #00ff41;
  filter: grayscale(20%) contrast(1.1);
  box-shadow: 0 0 10px #00ff4155;
  flex-shrink: 0;
}

.logo {
  font-family: "Courier New", monospace;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 3px;
  color: #00ff41;
  text-shadow:
    0 0 4px #00ff41,
    0 0 14px #00ff41,
    3px 3px 0 #ff00ff,
    -2px -2px 0 #00ffff;
  margin: 6px 0 2px;
}
.logo::before { content: "// "; color:#555; }
.logo::after { content: " //"; color:#555; }

.subtitle {
  color: #ff00ff;
  font-size: 13px;
  letter-spacing: 1px;
}
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hitcounter {
  display:inline-block; margin-top:10px;
  background:#000; border:1px solid #00ff41; padding:2px 6px;
  font-size:12px; color:#0f0;
}
.hitcounter b { color:#ffff00; font-family: monospace; letter-spacing:2px; }

nav {
  display:flex; flex-wrap:wrap; gap:8px;
  justify-content:center;
  margin-bottom: 16px;
}
nav a {
  color:#00ffff;
  background:#0a0a0a;
  border:2px outset #00ffff;
  padding:5px 10px;
  text-decoration:none;
  font-size:12px;
  font-weight:bold;
}
nav a:hover { background:#00ffff; color:#000; border-style: inset; }

.panel {
  border: 1px solid #00ff41;
  background: rgba(0,20,10,0.55);
  padding: 14px 16px;
  margin-bottom: 16px;
  position: relative;
}
.panel h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #ffff00;
  border-bottom: 1px dashed #00ff41;
  padding-bottom: 4px;
  text-shadow: 0 0 6px #ffff0088;
}
.panel h2::before { content: "root@sysdaemon:~# "; color:#00ff41; font-weight:normal; }
p, li { font-size: 13px; line-height: 1.6; color: #c9ffd8; }
a { color: #ff00ff; }

.terminal {
  background:#000;
  border:2px inset #333;
  padding:10px 12px;
  font-size:12px;
  color:#00ff41;
  white-space: pre-wrap;
  margin-top:8px;
}
.terminal .prompt { color:#00ffff; }
.terminal .out { color:#888; }
.caret { display:inline-block; width:7px; background:#00ff41; animation: blink 1s steps(1) infinite; }

.badge-row {
  display:flex; flex-wrap:wrap; gap:6px; justify-content:center;
  margin: 14px 0;
}
.badge {
  width: 88px; height: 31px;
  border: 1px solid #444;
  background: linear-gradient(#111,#000);
  color: #0f0;
  font-size: 9px;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  font-weight:bold;
  letter-spacing:0.5px;
}
.badge.pink { color:#ff77ff; border-color:#ff00ff; }
.badge.cyan { color:#7dffff; border-color:#00ffff; }
.badge.yellow { color:#ffff66; border-color:#ffff00; }

.webring {
  text-align:center;
  border-top: 1px dashed #00ff41;
  border-bottom: 1px dashed #00ff41;
  padding: 10px 0;
  font-size: 12px;
  margin: 18px 0;
}
.webring a { margin: 0 8px; }

footer {
  text-align:center;
  font-size:11px;
  color:#006622;
  margin-top: 24px;
}
.stars-note { color:#444; font-size:10px; }

::selection { background:#00ff41; color:#000; }

@media (max-width:480px){
  .logo{ font-size:24px; }
}
