:root {
  --bg: #0a0a0a;
  --surface: #111;
  --border: #333;
  --text: #e0e0e0;
  --muted: #555;
  --dim: #888;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

#boot-screen {
  position: fixed;
  inset: 0;
  background: #000;
  color: #888;
  padding: 3rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: opacity 0.6s ease;
}

#boot-screen.fade-out {
  opacity: 0;
}

#boot-text {
  white-space: pre-wrap;
  line-height: 2;
}

.cursor {
  display: inline-block;
  animation: blink 0.8s step-end infinite;
  color: #666;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hidden {
  display: none !important;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.12) 2px,
    rgba(0,0,0,0.12) 4px
  );
}

.banner-strip {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.1) brightness(0.45);
  position: relative;
}

.banner-strip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-height: calc(100vh - 280px);
}

.left-col {
  padding-right: 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-top: 0.25rem;
}

.avatar-frame {
  position: relative;
  width: 130px;
  height: 130px;
}

.avatar {
  width: 130px;
  height: 130px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}

.avatar-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #fff;
  border-style: solid;
}
.avatar-corner.tl { top: -3px; left: -3px; border-width: 2px 0 0 2px; }
.avatar-corner.tr { top: -3px; right: -3px; border-width: 2px 2px 0 0; }
.avatar-corner.bl { bottom: -3px; left: -3px; border-width: 0 0 2px 2px; }
.avatar-corner.br { bottom: -3px; right: -3px; border-width: 0 2px 2px 0; }

.status-block {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: 'Share Tech Mono', monospace;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.online  { background: #16a34a; color: #fff; }
.idle    { background: #f59e0b; color: #000; }
.dnd     { background: #dc2626; color: #fff; }
.offline { background: #4b5563; color: #d1d5db; }

.right-col {
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.username {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.9;
  color: #fff;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.bio {
  font-size: 0.82rem;
  color: var(--dim);
  line-height: 1.75;
  max-width: 480px;
}

.footer-line {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border);
}
