body {
  margin: 0;
  font-family: "Courier New", monospace;
  background: #0b0d10;
  color: #e0d6bb;
  font-size: 16.5px;
  line-height: 1.75;
  -ms-overflow-style: none;
  padding-top: 0;
}

html, body {
  scroll-behavior: auto !important;
  overflow-x: hidden;
}

section {
  overflow-anchor: none;
}

.hidden {
  display: none !important;
}

#scanner-screen {
  position: fixed;
  inset: 0;
  background: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.scanner-box {
  text-align: center;
}

#fingerprint {
  width: 140px;
  height: auto;
  cursor: pointer;
  user-select: none;
  margin: 20px auto;
  display: block;
  transition: 0.3s;
}

#fingerprint:hover {
  transform: scale(1.05);
}

#fingerprint {
  width: 140px;
  height: auto;
  cursor: pointer;
  user-select: none;
  display: block;


  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

#scan-status {
  color: #cbbf9e;
}

html {
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 999;
}

header {
  text-align: center;
  padding: 38px 20px;
  border-bottom: 1px solid rgba(182, 165, 122, 0.15);
  background: linear-gradient(to bottom, #111317, #08090c);
  z-index: 50;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d6c6a0;
  text-shadow: 0 0 10px rgba(214, 198, 160, 0.15);
}

.subtitle {
  margin-top: 8px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(224, 214, 187, 0.55);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(182, 165, 122, 0.2);
  flex-wrap: wrap;

  z-index: 10;
  backdrop-filter: blur(6px);
}

.menu button {
  font-family: 'Cinzel', serif;

  background: transparent;
  color: #d6c6a0;

  border: 1px solid rgba(182, 165, 122, 0.25);

  padding: 10px 18px;

  cursor: pointer;
  transition: 0.25s;

  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;

  box-shadow: inset 0 0 10px rgba(182, 165, 122, 0.03);
}

.menu button:hover {
  border-color: #b6a57a;
  background: rgba(182, 165, 122, 0.08);
  color: #f0e6c7;
}

.menu button.active {
  background: rgba(182, 165, 122, 0.12);
  color: #f0e6c7;
  border-color: #b6a57a;

  box-shadow:
    0 0 12px rgba(182, 165, 122, 0.25),
    inset 0 0 10px rgba(182, 165, 122, 0.08);

  text-shadow: 0 0 6px rgba(214, 198, 160, 0.35);

  transform: translateY(-1px);
}

.section {
  padding: 70px 25px;
  text-align: center;
  transition: 0.3s ease;
}

.hidden {
  display: none;
}

.section h1 {
  letter-spacing: 3px;
  margin-bottom: 30px;
  font-size: 32px;
  text-transform: lowercase;
}

.welcome {
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 18px;
  font-size: 1.15rem;
  color: #cbbf9e;
  letter-spacing: 0.5px;
}

.section p {
  max-width: 750px;
  margin: 14px auto;
}

.box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}

.box {
  width: 210px;
  min-height: 120px;
  border: 1px solid rgba(182, 165, 122, 0.25);
  background: rgba(20, 20, 20, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s;
  padding: 16px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.box:hover {
  transform: scale(1.05);
  border-color: #b6a57a;
  background: #1c1c1c;
  box-shadow: 0 0 18px rgba(182, 165, 122, 0.18);
}

.profile-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #b6a57a;
  margin-bottom: 18px;
  box-shadow: 0 0 14px rgba(182, 165, 122, 0.25);
}

.about-container {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

#typing-text::after {
  content: "|";
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.quote {
  font-style: italic;
  color: #cbbf9e;
  margin-bottom: 20px;
}

.info-box {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(182, 165, 122, 0.25);
  background: rgba(15, 15, 15, 0.92);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(182, 165, 122, 0.18);
}

.info-row a {
  color: #b6a57a;
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 165, 122, 0.4);
}

.info-row a:hover {
  opacity: 0.7;
}

.label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.2px;
  opacity: 0.6;
}

.value {
  color: #e0d6bb;
  font-weight: bold;
}

.case-page {
  margin-top: 35px;
  padding: 24px;
  border: 1px solid rgba(182, 165, 122, 0.25);
  background: rgba(15, 15, 15, 0.92);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  line-height: 1.7;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.case-page h2 {
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.case-page h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: #cbbf9e;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.case-page ul {
  padding-left: 20px;
}

.open {
  color: #cbbf9e;
}

.closed {
  color: #777;
  text-decoration: line-through;
  opacity: 0.8;
}

.back-btn {
  background: transparent;
  border: 1px solid #444;
  color: #e0d6bb;
  padding: 8px 12px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.25s;
}

.back-btn:hover {
  border-color: #b6a57a;
  background: rgba(182, 165, 122, 0.1);
}

.more-info {
  margin-top: 22px;
  font-size: 14px;
  opacity: 0.85;
}

.more-info a {
  color: #b6a57a;
  text-decoration: none;
  border-bottom: 1px solid #b6a57a;
}

.more-info a:hover {
  opacity: 0.7;
}

.archive-letter{
    max-width: 760px;
    margin: auto;

    background:
        linear-gradient(
            180deg,
            rgba(18,18,18,0.98),
            rgba(10,10,10,0.98)
        );

    color: #d8ccb0;

    padding: 45px 50px;

    border: 1px solid rgba(182,165,122,0.30);

    box-shadow:
        0 0 25px rgba(0,0,0,0.75),
        inset 0 0 30px rgba(182,165,122,0.04);

    font-family: "Courier New", monospace;

    line-height: 1.9;
    text-align: left;

    position: relative;
    overflow: hidden;
}

.archive-letter::before{
    content: "VERIFIED";
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255,70,70,0.75);
    border: 1px solid rgba(255,70,70,0.35);
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 2px;
}

.archive-letter::after{
    content: "FILE RR-221B";
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: rgba(182,165,122,0.45);
    font-size: 11px;
    letter-spacing: 2px;
}

.archive-letter h1{
    text-align: center;
    margin-bottom: 35px;
    font-family: "Cormorant Garamond", serif;
    font-size: 38px;
    letter-spacing: 6px;
    color: #d6c6a0;
    border-bottom: 1px solid rgba(182,165,122,0.25);
    padding-bottom: 15px;
    text-transform: uppercase;
}

.archive-letter p{
    margin-bottom: 18px;
    color: #d8ccb0;
}

.archive-letter strong{
    color: #f0dfb8;
}

.archive-letter .signature{
    margin-top: 40px;
    text-align: right;
    color: #cbbf9e;
    font-style: italic;
    border-top: 1px solid rgba(182,165,122,0.15);
    padding-top: 20px;
}

.alert {
  color: #ff3b3b;
  text-shadow: 0 0 6px rgba(255, 59, 59, 0.5);
}

.signature-block{
    text-align:right;
    margin-top:30px;
}

.fingerprint-signature{
    width:60px;
    opacity:0.85;
    filter:drop-shadow(0 0 8px rgba(255,50,50,0.25));
}

.fp-label{
    font-size:11px;
    letter-spacing:2px;
    color:#cbbf9e;
    text-transform:uppercase;
    margin-top:5px;
}

.status-unidentified {
  color: #ff3b3b;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  animation: blinkStatus 1.2s infinite;
}

@keyframes blinkStatus {
  0% { opacity: 1; text-shadow: 0 0 8px #ff3b3b; }
  50% { opacity: 0.3; text-shadow: none; }
  100% { opacity: 1; text-shadow: 0 0 8px #ff3b3b; }
}

.status-unidentified::before {
  content: "unidentified";
  position: absolute;
  left: 1px;
  top: 0;
  color: #00ffff;
  opacity: 0.4;
  animation: glitchMove 0.8s infinite;
}

@keyframes glitchMove {
  0% { transform: translate(0); }
  25% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 1px); }
  75% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

.file-id{
  margin-top:8px;
  font-size:10px;
  letter-spacing:4px;
  color:rgba(182,165,122,0.45);
}

.evidence-letter{
    margin-top:20px;
    padding:20px;

    background: rgba(10,10,10,0.85);

    border-left:4px solid #b6a57a;
    border:1px solid rgba(182,165,122,0.25);

    font-family:"Courier New", monospace;
    letter-spacing:2px;
    line-height:2;

    text-align:justify;
    color:#e0d6bb;

    white-space:pre-line;
}

.hidden-clue {
  color: inherit;
  text-decoration: none;
    cursor: text;
}

.hidden-clue:visited {
  color: inherit;
}

.hidden-clue:hover {
  color: inherit;
}

@media (max-width: 768px){

  #main-site{
    padding-top: 260px;
  }

  .menu{
    gap: 8px;
    padding: 10px;
  }

  .menu button{
    font-size: 11px;
    padding: 8px 12px;
  }

  .archive-letter{
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .archive-letter h1{
    font-size: 24px;
    letter-spacing: 3px;
  }

  .archive-letter::before{
    right: 10px;
    top: 10px;
    font-size: 8px;
  }

  .archive-letter::after{
    right: 10px;
    bottom: 10px;
    font-size: 8px;
  }

  .case-page{
    width: 100%;
    max-width: 100%;
    padding: 18px;
    box-sizing: border-box;
  }

  .case-page h2{
    font-size: 22px;
  }

  .case-page h3{
    font-size: 16px;
  }

  .info-box{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .info-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .evidence-letter{
    padding: 15px;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.8;
  }

  .section{
    padding: 40px 15px;
  }

}