* {
  cursor: url('https://hitomivoid.neocities.org/Cursor/1-cursor.png'), crosshair !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: black;
  color: white;
  font-family: 'Silkscreen', monospace;
  overflow-x: hidden;
}

.crt {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: url('https://hitomivoid.neocities.org/images/bg_D.png') center/cover fixed;
}

.crt::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1000;
  animation: scanFlicker 1s infinite;
}

@keyframes scanFlicker {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.12; }
}

.crt-content {
  position: relative;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

.highlight {
  color: #ff2222;
  font-weight: bold;
}

.window {
  background-color: black;
  border: 2px solid white;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  box-shadow: 3px 3px white;
  position: relative;
  z-index: 1;
}

.title-bar {
  background: white;
  color: black;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid black;
}

.profile-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.portrait {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  margin-right: 20px;
}

.portrait img {
  width: 100%;
  border: 2px solid white;
  background-color: black;
  filter: grayscale(100%) contrast(120%);
  transition: filter 0.4s ease;
}

.portrait img:hover {
  filter: grayscale(0%) contrast(100%);
}

.info {
  flex: 2;
  min-width: 250px;
}

.field { margin-bottom: 15px; }

.field span.label {
  color: #999;
  font-size: 0.85rem;
}

.field span.value {
  display: block;
  font-size: 1.1rem;
  margin-top: 3px;
  font-family: 'monospace', monospace;
}

.quote {
  margin-top: 20px;
  font-style: italic;
  color: #bbb;
  border-left: 2px solid #555;
  padding-left: 15px;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.gallery a {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 2px solid white;
  background: black;
}

.gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(120%);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.gallery a img:hover {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.1);
}

.hover-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 4px;
  background: rgba(0,0,0,0.75);
  color: #ccc;
  font-size: 11px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery a:hover .hover-text { opacity: 1; }


.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
  padding: 40px 20px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 70vh;
  border: 2px solid black;
  box-shadow: 0 0 20px red;
  filter: grayscale(100%) contrast(120%);
  transition: filter 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}

.lightbox img:hover {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.05);
}

.lightbox-credit {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ff2222;
  font-family: 'Silkscreen', monospace;
}

.lightbox-credit a {
  color: #ff2222;
  text-decoration: underline;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 2001;
  font-family: monospace;
  padding: 0 10px;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover, .lightbox-next:hover {
  color: #880808;
  text-shadow: 0 0 8px #880808;
}


.return-home {
  display: inline-block;
  background-color: black;
  color: white;
  border: 2px solid white;
  padding: 10px 20px;
  font-family: monospace;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 3px 3px white;
  transition: all 0.3s ease;
}

.return-home:hover {
  background-color: white;
  color: black;
}

/* --- Footer --- */
footer.site-footer {
  margin-top: 30px;
  text-align: center;
  font-family: 'Silkscreen', monospace;
  color: white;
}
