@import url("root/variables.css");
@import url("root/global.css");

@import url("effects/crt.css");
@import url("effects/glitchin.css");
@import url("effects/links.css");

@import url("layout/headerfooter.css");
@import url("layout/hero.css");

@import url("styles/redacted.css");
@import url("styles/tags.css");
@import url("styles/titleglitch.css");
@import url("styles/filecards.css");

/* ======================================================
   RESET & BASE
====================================================== */

html {
  font-size: 17px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  position: relative;
  color: #cfd9df;
  filter: contrast(1.05) saturate(0.92);

  overflow-x: hidden;
  overflow-y: auto;
}

/* ======================================================
   TOP BAR (COMMAND HEADER)
====================================================== */

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-main);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #9fd4ff;
}

/* ======================================================
  FILES
====================================================== */
.files {
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  padding: 3rem 2rem;
}

.files time {
  font-size: 0.65rem;
  color: #6f8fa0;
  letter-spacing: 0.2em;
}

.file-banner {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.file-card {
  margin-bottom: 2.5rem;
}

/* ======================================================
   TRANSMISSION INTERRUPTED
====================================================== */

.transmission-break {
  margin: 3rem 0;
  padding: 0.5rem 0;

  text-align: center;
  text-transform: uppercase;

  font-family: var(--font-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #ff5555;

  border-top: 1px dashed rgba(255,85,85,0.3);
  border-bottom: 1px dashed rgba(255,85,85,0.3);

  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.5; }
  45%      { opacity: 0.2; }
  50%      { opacity: 0.6; }
  55%      { opacity: 0.25; }
}

/* ======================================================
   SIDEBAR (INTEL PANEL)
====================================================== */

.sidebar {
  padding-left: 2rem;
  border-left: 1px solid rgba(120,170,200,0.15);
}

.search {
  width: 100%;
  padding: 0.6rem;

  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(120,170,200,0.25);

  color: #cfd9df;
  font-family: inherit;
  font-size: 0.75rem;
}

.sidebar h4 {
  margin: 2rem 0 0.6rem;

  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #9fd4ff;
}

.search-tags {
  list-style: none;
}

.search-tags li {
  margin-bottom: 0.4rem;
}

.search-tags a {
  font-size: 0.7rem;
  text-decoration: none;
  color: #8aa9bb;
}

.search-tags a.active {
  font-weight: bold;
  color: #9fd4ff;
}

.search-tags a:hover {
  color: #e6f6ff;
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 900px) {
  .files {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-left: none;
    padding-left: 0;
  }
}