html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #090909;
  color: #e6e6e6;
  font-family: "Courier New", monospace;

  background-image: radial-gradient(circle at top, rgba(120, 0, 0, 0.22), transparent 35%), linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);

  background-size:
    cover,
    100% 10px;

  animation: site_flicker 9s infinite;

  padding-bottom: 95px;

  display: flex;
  flex-direction: column;
}

main.site_shell {
  flex: 1;
}

@keyframes site_flicker {
  0% {
    opacity: 1;
  }

  96% {
    opacity: 1;
  }

  97% {
    opacity: 0.985;
  }

  98% {
    opacity: 0.94;
  }

  99% {
    opacity: 1;
  }

  100% {
    opacity: 0.98;
  }
}

body::before {
  content: "DO NOT TRUST THE REPORTS";
  position: fixed;

  left: -70px;
  top: 45%;

  transform: rotate(-90deg);

  color: rgba(255, 0, 0, 0.18);

  letter-spacing: 5px;
  font-size: 14px;

  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: "THEY ARE STILL WATCHING";
  position: fixed;

  bottom: 8px;
  right: 12px;

  color: rgba(255, 0, 0, 0.2);

  font-size: 10px;
  letter-spacing: 3px;

  pointer-events: none;

  text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);

  z-index: 9999;
}

.site_shell {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.unknown_header {
  background: #020202;

  border-bottom: 1px solid #8b0000;

  padding: 32px 0 24px;

  box-shadow: 0 0 35px rgba(120, 0, 0, 0.35);

  position: relative;
  overflow: hidden;
}

.unknown_header::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(120deg, transparent 0%, rgba(255, 0, 0, 0.04) 45%, transparent 100%);

  animation: red_sweep 12s linear infinite;

  pointer-events: none;
}

@keyframes red_sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.unknown_header .site_shell {
  position: relative;
  z-index: 2;
}

.site_title {
  margin: 0;

  font-size: 46px;
  letter-spacing: 5px;

  color: #f2f2f2;

  text-transform: uppercase;

  text-shadow:
    2px 2px 0 #700000,
    0 0 12px rgba(255, 0, 0, 0.45);

  position: relative;
}

.site_title::before {
  content: "THE UNKNOWN";

  position: absolute;

  left: 2px;
  top: 1px;

  color: rgba(255, 0, 0, 0.18);

  z-index: -1;
}

.site_title::after {
  content: "_";

  color: #ff2b2b;

  animation: blink_mark 1s infinite;
}

.site_title:hover {
  text-shadow:
    2px 0 red,
    -2px 0 blue,
    0 0 20px rgba(255, 0, 0, 0.7);
}

@keyframes blink_mark {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.site_tagline {
  color: #b8b8b8;

  margin-top: 8px;

  font-size: 15px;
  letter-spacing: 1px;

  opacity: 0.82;
}

.site_tagline::after {
  content: " █";

  animation: blink_mark 1s infinite;
}

.signal_nav {
  margin-top: 20px;

  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.signal_nav a {
  color: #f5f5f5;

  background: #171717;

  border: 1px solid #7a1111;

  text-decoration: none;

  padding: 9px 14px;

  font-weight: bold;

  letter-spacing: 1px;

  box-shadow: inset 0 0 12px rgba(120, 0, 0, 0.35);
}

.signal_nav a::before {
  content: "> ";

  color: #ff6b6b;
}

.signal_nav a:hover {
  background: #2a0505;

  color: white;
}

.post_card,
.form_card,
.comment_box,
.notice_box,
.admin_box {
  background: linear-gradient(rgba(40, 0, 0, 0.12), rgba(10, 10, 10, 0.98));

  border: 1px solid #2e2e2e;
  border-left: 8px solid #7a1111;

  padding: 28px;

  margin: 35px 0;

  position: relative;

  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.9),
    inset 0 0 20px rgba(255, 0, 0, 0.03);
}

.post_card:nth-of-type(odd) {
  transform: rotate(-0.3deg);
}

.post_card:nth-of-type(even) {
  transform: rotate(0.3deg);
}

.post_card::before {
  content: "OBEYSEC INTERNAL FILE";

  position: absolute;

  top: -14px;
  left: 16px;

  background: #7a1111;

  color: white;

  font-size: 11px;
  letter-spacing: 2px;

  padding: 4px 10px;

  transform: rotate(-2deg);
}

.form_card::before,
.notice_box::before,
.admin_box::before {
  content: "CLASSIFIED";

  position: absolute;

  top: 8px;
  right: 10px;

  color: rgba(255, 0, 0, 0.22);

  font-size: 12px;
  letter-spacing: 2px;
}

.post_card::after,
.comment_box::after,
.notice_box::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background: radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.5));
}

.post_card:hover,
.comment_box:hover,
.notice_box:hover,
.form_card:hover {
  box-shadow: 0 0 25px rgba(130, 0, 0, 0.55);

  border-color: #7a1111;
}

.post_card h2,
.form_card h2,
.notice_box h2,
.comment_box h2 {
  margin-top: 0;

  color: #ffffff;

  letter-spacing: 2px;

  text-transform: uppercase;

  text-shadow: 0 0 8px rgba(255, 0, 0, 0.22);
}

.post_card h2 {
  letter-spacing: 3px;

  border-bottom: 1px solid rgba(255, 0, 0, 0.15);

  padding-bottom: 10px;
}

.post_card h2::before,
.form_card h2::before,
.notice_box h2::before {
  content: "// ";

  color: #8b0000;
}

.post_meta {
  color: #9d9d9d;

  font-size: 14px;

  opacity: 0.82;

  letter-spacing: 1px;
}

.post_meta::before {
  content: "[LOG] ";

  color: #b00000;
}

.comment_box {
  background: #0f0f0f;

  border-left: 4px solid #5d0d0d;

  margin-top: 18px;

  padding: 18px;

  position: relative;
}

.comment_box::before {
  content: "RESPONSE";

  position: absolute;

  top: 8px;
  right: 10px;

  color: rgba(255, 0, 0, 0.16);

  font-size: 10px;
  letter-spacing: 3px;
}

.comment_box:nth-child(3n)::before {
  content: "ARCHIVED";
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea,
select {
  width: 100%;

  box-sizing: border-box;

  padding: 11px;

  margin-top: 6px;

  border: 1px dashed #555555;

  background: #050505;

  color: #e8e8e8;

  font-family: "Courier New", monospace;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;

  border-color: #b00000;

  box-shadow: 0 0 8px rgba(180, 0, 0, 0.7);

  background: #080000;
}

textarea {
  min-height: 130px;

  resize: vertical;
}

label {
  display: block;

  margin-top: 14px;

  font-weight: bold;

  color: #dcdcdc;
}

.signal_button,
.quiet_button {
  background: #111;

  border: 1px solid #7a1111;

  color: #d8d8d8;

  font-family: "Courier New", monospace;

  letter-spacing: 1px;

  transition: 0.2s ease;
}

.signal_button {
  padding: 10px 16px;

  margin-top: 16px;

  cursor: pointer;

  font-weight: bold;

  box-shadow: 0 0 12px rgba(255, 0, 0, 0.35);
}

.signal_button::before {
  content: "[ ";
}

.signal_button::after {
  content: " ]";
}

.quiet_button {
  padding: 8px 12px;

  text-decoration: none;

  display: inline-block;

  margin-top: 10px;
}

.signal_button:hover,
.quiet_button:hover {
  background: #2a0505;

  color: white;

  box-shadow: 0 0 14px rgba(255, 0, 0, 0.3);
}

.signal_button:hover {
  transform: scale(1.02);

  box-shadow:
    0 0 20px rgba(255, 0, 0, 0.55),
    inset 0 0 12px rgba(255, 0, 0, 0.2);
}

.danger_text {
  color: #ff5f5f;

  font-weight: bold;

  letter-spacing: 1px;
}

.danger_text::before {
  content: "WARNING: ";
}

.success_text {
  color: #9cff9c;

  font-weight: bold;
}

.error_list {
  color: #ff9f9f;

  border-left: 4px solid #8b0000;

  padding-left: 12px;
}

.notice_box p:last-child::after {
  content: " █";

  animation: blink_mark 1s infinite;
}

.unknown_footer {
  position: fixed;

  bottom: 0;
  left: 0;

  width: 100%;

  text-align: center;

  background: rgba(0, 0, 0, 0.95);

  border-top: 1px solid #5a0000;

  padding: 10px 0 8px;

  z-index: 999;
}

.creator_mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fs_logo {
  font-size: 34px;

  font-weight: bold;

  letter-spacing: 3px;

  color: #d8d8d8;

  text-shadow:
    0 1px 0 #999,
    0 2px 0 #888,
    0 3px 8px rgba(255, 0, 0, 0.3);

  transform: perspective(400px) rotateX(18deg);

  margin: 0;

  line-height: 1;
}

.creator_text {
  max-width: 700px;

  color: #8f8f8f;

  font-size: 11px;

  line-height: 1.3;

  margin: 0;

  padding: 0 10px;
}

.small_text {
  font-size: 13px;

  color: #b54a4a;
}

.unknown_table {
  width: 100%;

  border-collapse: collapse;

  margin-top: 15px;
}

.unknown_table th,
.unknown_table td {
  border: 1px solid #444444;

  padding: 10px;

  text-align: left;
}

.unknown_table th {
  background: #5f0b0b;

  color: white;
}

.unknown_table a {
  color: #ff9999;

  font-weight: bold;
}

.post_image {
  width: 100%;
  max-height: none;
  object-fit: contain;

  margin: 18px 0;

  border: 1px solid #7a1111;

  box-shadow: 0 0 18px rgba(255, 0, 0, 0.25);

  filter: grayscale(35%) contrast(110%);
}

::selection {
  background: #7a1111;

  color: white;
}

@media screen and (max-width: 700px) {
  body::before,
  body::after {
    display: none;
  }

  .site_title {
    font-size: 34px;
  }

  .signal_nav {
    flex-direction: column;
  }

  .signal_nav a {
    text-align: center;
  }

  .post_card,
  .form_card,
  .comment_box,
  .notice_box,
  .admin_box {
    padding: 16px;

    transform: none;
  }

  .post_card::before {
    position: static;

    display: inline-block;

    margin-bottom: 12px;

    transform: none;
  }

  .unknown_table {
    font-size: 13px;
  }

  .unknown_table th,
  .unknown_table td {
    padding: 7px;
  }

  .unknown_footer {
    padding: 8px 0 6px;
  }

  .fs_logo {
    font-size: 28px;
  }

  .creator_text {
    font-size: 10px;
  }
}
