/* =========================
   BASE
========================= */

body {

  background: #050505;

  color: #8a5a00;

  font-family: "Courier New", monospace;

  margin: 0;

}

/* =========================
   HEADER
========================= */

header {

  padding: 20px;

  border-bottom:
    1px solid #8a5a00;

}

.logo {

  font-size: 18px;

  letter-spacing: 2px;

}

.logo,
.logo:visited,
.logo:hover,
.logo:active {

  color: #8a5a00;

  text-decoration: none;

}

.logo:hover {

  text-shadow:
    0 0 10px #8a5a00;

  cursor: pointer;

}

/* =========================
   MAIN
========================= */

.research {

  max-width: 900px;

  margin: 40px auto;

  padding: 20px;

}

/* =========================
   HEADINGS
========================= */

h2 {

  margin-top: 40px;

  border-bottom:
    1px solid #8a5a00;

  padding-bottom: 5px;

  font-size: 18px;

}

/* =========================
   META
========================= */

.meta {

  opacity: 0.7;

  font-size: 13px;

}

/* =========================
   CONTROLS
========================= */

.controls {

  display: flex;

  flex-direction: column;

  gap: 16px;

}

/* =========================
   RANGE
========================= */

input[type="range"] {

  -webkit-appearance: none;

  appearance: none;

  width: 100%;

  background: transparent;

  pointer-events: auto;

}

/* TRACK */

input[type="range"]::-webkit-slider-runnable-track {

  height: 2px;

  border:
    1px solid #8a5a00;

  background: transparent;

}

input[type="range"]::-moz-range-track {

  height: 2px;

  border:
    1px solid #8a5a00;

  background: transparent;

}

/* THUMB */

input[type="range"]::-webkit-slider-thumb {

  -webkit-appearance: none;

  width: 10px;

  height: 16px;

  background: #8a5a00;

  border:
    1px solid #8a5a00;

  margin-top: -7px;

  box-shadow:
    0 0 6px #8a5a00;

}

input[type="range"]::-moz-range-thumb {

  width: 10px;

  height: 16px;

  background: #8a5a00;

  border:
    1px solid #8a5a00;

  box-shadow:
    0 0 6px #8a5a00;

}

/* =========================
   DISABLED
========================= */

input:disabled {

  opacity: 0.55;

  filter: blur(0.3px);

}

/* =========================
   STATUS
========================= */

.status-panel {

  display: flex;

  flex-direction: column;

  gap: 10px;

  padding: 10px 0;

  opacity: 0.85;

}

/* =========================
   CODE PANEL
========================= */

#code-panel {

  margin-top: 20px;

  padding: 20px;

  border:
    1px solid #8a5a00;

  background: #080400;

  overflow-x: auto;

  line-height: 1.5;

  font-size: 13px;

  box-shadow:
    inset 0 0 20px rgba(138,90,0,0.08);

}

/* =========================
   ARCHIVE
========================= */

#archive {

  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-top: 20px;

}

/* =========================
   LOGS
========================= */

.log {

  padding: 10px;

  border-left:
    2px solid #8a5a00;

  opacity: 0.82;

}

/* =========================
   GLITCH
========================= */

.glitch {

  animation:
    glitch 0.12s infinite;

}

@keyframes glitch {

  0% {

    transform:
      translateX(0px);

  }

  25% {

    transform:
      translateX(-1px);

  }

  50% {

    transform:
      translateX(1px);

  }

  100% {

    transform:
      translateX(0px);

  }

}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {

  width: 10px;

}

::-webkit-scrollbar-track {

  background: #050505;

}

::-webkit-scrollbar-thumb {

  background: #8a5a00;

  border-radius: 5px;

  box-shadow:
    0 0 5px #8a5a00;

}

::-webkit-scrollbar-thumb:hover {

  background: #6c4800;

}

/* =========================
   SCANLINES
========================= */

body::after {

  content: "";

  position: fixed;

  inset: 0;

  pointer-events: none;

  background:
    repeating-linear-gradient(

      to bottom,

      rgba(138,90,0,0.05),

      rgba(138,90,0,0.05) 1px,

      transparent 1px,

      transparent 3px

    );

  z-index: 999;

}

/* =========================
   CURSOR
========================= */

html,
body,
* {

  cursor: none !important;

}

.custom-cursor {

  position: fixed;

  width: 16px;
  height: 16px;

  pointer-events: none;

  z-index: 9999;

  transform:
    translate(-50%, -50%);

  filter:

    drop-shadow(0 0 2px #000)

    drop-shadow(
      0 0 4px #8a5a00
    );

}

/* =========================
   FORM ELEMENTS
========================= */

input,
button,
select,
textarea,
label {

  cursor: none !important;

}

*:hover,
*:active,
*:focus {

  cursor: none !important;

}