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

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  color: #f0f0f0;
  min-height: 100vh;
  background-color: #2b1d0c;
  background-image: 
    linear-gradient(90deg, rgba(0,0,0,0.15) 50%, transparent 50%),
    linear-gradient(rgba(0,0,0,0.15) 50%, transparent 50%);
  background-size: 8px 8px;
  image-rendering: pixelated;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(15, 15, 15, 0.92);
  border-bottom: 2px dashed #666;
  padding: 15px;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

h1 {
  color: #ff00ff;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #ff00ff;
}

.blue-link {
  color: #00aaff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s ease;
}

.blue-link:hover {
  color: #66ccff;
  text-shadow: 0 0 5px #00aaff;
}

.investigation-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  background-color: rgba(15, 15, 15, 0.85);
  padding: 30px;
  border: 2px dashed #666;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
}

.investigator-profile {
  background-color: #1a1a1a;
  border: 2px solid #555;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.profile-header {
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #555;
  letter-spacing: 1px;
}

.badge-status {
  color: #ff3333;
}

.profile-body {
  display: flex;
  padding: 15px;
  gap: 15px;
  align-items: center;
}

.photo-frame {
  width: 90px;
  height: 110px;
  border: 1px solid #777;
  background-color: #0d0d0d;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stamp-classified {
  position: absolute;
  color: rgba(255, 0, 0, 0.8);
  font-weight: bold;
  font-size: 0.7rem;
  border: 1px solid rgba(255, 0, 0, 0.8);
  padding: 2px 4px;
  transform: rotate(-25deg);
  letter-spacing: 1px;
}

.profile-details p {
  margin: 4px 0;
  font-size: 0.85rem;
  color: #ddd;
  line-height: 1.3;
}

.profile-details strong {
  color: #888;
}

.title {
  font-size: 2.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e6e6e6;
  text-shadow: 2px 2px 0px #000, 0 0 8px rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
  border-bottom: 2px solid #444;
  padding-bottom: 10px;
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
}

.announcement-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ff4d4d;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 20px 0 30px 0;
  padding: 15px;
  background-color: rgba(255, 0, 0, 0.1);
  border: 1px solid #990000;
  line-height: 1.5;
}

.bottom-announcement {
  margin-top: 40px;
  margin-bottom: 10px;
}

.evidence-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.folder-card {
  background-color: #c2a649;
  border: 2px solid #5a4b1c;
  padding: 20px 20px 15px 20px;
  width: 300px;
  position: relative;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.folder-left { transform: rotate(-4deg); }
.folder-right { transform: rotate(3deg); }
.folder-tilt-alt { transform: rotate(-2deg); }
.folder-tilt-alt2 { transform: rotate(4deg); }

.folder-card:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 10;
}

.folder-tab {
  position: absolute;
  top: -18px;
  left: 0;
  background-color: #c2a649;
  border: 2px solid #5a4b1c;
  border-bottom: none;
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #3d310f;
  letter-spacing: 1px;
}

.image-wrapper {
  background-color: #fff;
  padding: 10px;
  border: 1px solid #999;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.evidence-image {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  display: block;
  margin: 0 auto;
}

.folder-caption {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #1a1a1a;
  font-style: italic;
  word-wrap: break-word;
}

.scroll-container {
  width: 100%;
}

.card {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #222;
  position: relative;
  background-color: rgba(15, 15, 15, 0.85);
}

.card h3 {
  font-size: 1.8rem;
  color: #00ffff;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 0 8px #00ffff;
  letter-spacing: 2px;
}

pre {
  white-space: pre;
  font-size: 18px;
  line-height: 14px;
  font-weight: bold;
  text-shadow: 0 0 6px #00ff66;
  margin: 0;
  width: 450px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #050505;
  border: 2px solid #333;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.9), inset 0 0 10px rgba(0, 255, 102, 0.1);
}

@media (max-width: 600px) {
  pre {
    width: 300px;
    height: 300px;
    font-size: 12px;
    line-height: 10px;
  }
}
