@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Special+Elite&display=swap');

:root {
  --bg: #090909;
  --text: #d6d0c7;
  --muted: #817a73;
  --red: #9b2929;
  --line: rgba(214, 208, 199, 0.22);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 35%, rgba(90, 20, 20, 0.18), transparent 42%),
    var(--bg);
  color: var(--text);
}

body {
  font-family: 'Courier Prime', monospace;
  overflow-x: hidden;
}

/* Faded Noxium spine background for the home page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(9, 9, 9, 0.78), rgba(9, 9, 9, 0.78)), url('assets/noxium-spine.gif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(720px, 82vw) auto;
  opacity: 0.72;
}

.home {
  position: relative;
}
.noise {
  position: fixed;
}

.home {
  z-index: 1;
}


.home {
  position: relative;
  isolation: isolate;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.home {
  width: min(1100px, 90%);
  min-height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 0 25px;
  position: relative;
}

.status {
  position: absolute;
  top: 28px;
  left: 0;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}

.hero {
  text-align: center;
  padding: 70px 0 60px;
}

.welcome {
  margin: 0 0 10px;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: 'Special Elite', serif;
  font-size: clamp(68px, 13vw, 170px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(155, 41, 41, 0.12);
}

h1 span {
  color: var(--red);
}

.tagline {
  margin: 28px auto 0;
  max-width: 580px;
  font-size: clamp(11px, 1.5vw, 15px);
  line-height: 1.8;
  letter-spacing: 1px;
  color: #aaa29a;
}

.noxium {
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--red);
}

.main-nav {
  width: min(700px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 19px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-family: 'Special Elite', serif;
  font-size: clamp(17px, 2vw, 23px);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.main-nav a span {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 1px;
}

.main-nav a:hover {
  padding-left: 20px;
  color: #fff;
  background: rgba(155, 41, 41, 0.08);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .home {
    width: 86%;
    padding-top: 65px;
  }

  .status {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .hero {
    padding: 55px 0 45px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 100px);
    letter-spacing: 0;
  }

  .welcome {
    letter-spacing: 3px;
  }

  .tagline {
    font-size: 11px;
    padding: 0 12px;
  }

  .noxium {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .main-nav a {
    padding: 17px 3px;
    font-size: 16px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    margin-top: 40px;
    padding-bottom: 15px;
  }
}


/* Character database */
.section-header {
  text-align: center;
  padding: 60px 0 45px;
}
.section-header h1 {
  font-size: clamp(50px, 9vw, 105px);
}
.section-description {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.characters-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(900px, 100%);
  margin: 0 auto 55px;
}
.character-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(0, 1.15fr);
  gap: 35px;
  align-items: stretch;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.character-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(155,41,41,.12), transparent), #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-placeholder {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 3px;
  line-height: 2;
}
.image-placeholder small {
  font-size: 8px;
  color: var(--red);
}
.character-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.file-label {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 3px;
  margin: 0 0 15px;
}

.character-social {
  display: inline-block;
  width: fit-content;
  margin: -10px 0 18px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.character-social:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.character-info h2 {
  font-family: 'Special Elite', serif;
  font-size: clamp(25px, 3.5vw, 42px);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.info-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.info-line span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info-line strong {
  max-width: 62%;
  font-weight: 400;
  text-align: right;
}
@media (max-width: 650px) {
  .character-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 18px;
  }
  .section-header {
    padding: 45px 0 30px;
  }
  .character-info h2 {
    font-size: 30px;
  }
}

/* Lore pages */
.lore-page .section-header { padding-bottom: 30px; }
.lore-content {
  width: min(820px, 100%);
  margin: 0 auto 50px;
  color: #bdb5ac;
  font-size: 13px;
  line-height: 2;
}
.lore-content h2 {
  color: var(--text);
  font-family: 'Special Elite', serif;
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.25;
  margin: 42px 0 18px;
}
.lore-content p { margin: 0 0 18px; }
.lore-content .italic, .lore-content em { color: #d0a9a0; font-style: italic; }
.lore-content strong { color: #e1d9cf; font-weight: 700; }
.lore-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 38px 0;
}
.lore-content ul { padding-left: 25px; margin: 0 0 22px; }
.lore-content li { margin-bottom: 8px; }
.hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 25px;
  margin: 25px 0;
  text-align: center;
}
.hierarchy span { color: var(--red); font-size: 22px; }
@media (max-width: 600px) {
  .lore-content { font-size: 12px; line-height: 1.9; }
  .lore-content h2 { font-size: 28px; }
}


/* Classified research visuals */
.archive-visual {
  margin: 34px 0 42px;
  border: 1px solid rgba(214, 208, 199, 0.24);
  background: #050606;
  position: relative;
  overflow: hidden;
}
.archive-visual::before {
  content: "ARCHIVE VISUAL // RESTRICTED";
  display: block;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(214, 208, 199, 0.18);
  color: var(--red);
  font-size: 9px;
  letter-spacing: 2px;
}
.archive-visual img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08);
  opacity: .9;
}
.archive-visual figcaption {
  padding: 11px 13px 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .5px;
}
.archive-visual figcaption strong { color: #d6d0c7; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 42px;
}
.archive-grid .archive-visual { margin: 0; }
.archive-grid .archive-visual img { height: 230px; }
@media (max-width: 650px) {
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid .archive-visual img { height: auto; max-height: 360px; }
  .archive-visual img { max-height: 300px; }
}

.character-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: saturate(.82) contrast(1.05);
}

/* Cole portrait framing */
.cole-photo { object-position: 50% 22%; }



.record-player {
  width: min(100%, 430px);
  margin: 28px auto 8px;
  border: 1px solid rgba(157, 34, 34, .55);
  background: linear-gradient(135deg, rgba(20, 17, 16, .96), rgba(5, 6, 6, .96));
  box-shadow: 0 0 24px rgba(0,0,0,.28), inset 0 0 0 1px rgba(214,208,199,.04);
  text-align: left;
}
.record-player-label {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(214,208,199,.15);
  color: var(--red);
  font-size: 8px;
  letter-spacing: 1.7px;
}
.record-player-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 0;
  background: transparent;
  color: #d6d0c7;
  cursor: pointer;
  text-align: left;
}
.record-player-button:hover { background: rgba(127,32,32,.13); }
.record-disc {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #171717 0 2px, #292525 3px 4px, #101010 5px 7px);
  border: 2px solid #544a44;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 5px rgba(0,0,0,.2);
}
.record-disc span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #211616;
}
.record-player-copy { display: flex; flex-direction: column; gap: 7px; }
.record-player-copy strong { font-size: 11px; letter-spacing: 1.4px; color: #e1d8cf; }
.record-player-copy small { font-size: 8px; letter-spacing: .7px; color: var(--muted); line-height: 1.5; }
@media (max-width: 650px) {
  .record-player { margin-top: 22px; }
  .record-player-button { padding: 13px; gap: 12px; }
  .record-disc { flex-basis: 54px; width: 54px; height: 54px; }
  .record-player-copy strong { font-size: 10px; }
  .record-player-copy small { font-size: 7px; }
}

/* Infected database */
.infected-database {
  width: min(940px, 100%);
}
.infected-entry { margin: 0 0 12px; }
.infected-heading { margin-bottom: 24px; }
.infected-heading h2 {
  margin: 5px 0 10px;
  font-size: clamp(30px, 5vw, 56px);
  text-transform: uppercase;
}
.entry-number, .entry-class {
  display: block;
  color: var(--red);
  font-size: 9px;
  letter-spacing: 2px;
}
.entry-class { color: var(--muted); letter-spacing: 1.4px; }
.infected-database h3 {
  margin: 34px 0 10px;
  color: var(--text);
  font-family: 'Special Elite', serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.infected-gallery {
  display: grid;
  gap: 18px;
  margin: 25px 0 32px;
}
.two-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.infected-gallery .archive-visual,
.single-infected-image { margin: 0 0 30px; }
.infected-gallery .archive-visual img {
  height: 265px;
  max-height: none;
  object-fit: cover;
}
.single-infected-image img {
  max-height: 500px;
  object-fit: contain;
  background: #111;
}
.infected-database hr { margin: 55px 0; }
@media (max-width: 650px) {
  .two-images { grid-template-columns: 1fr; }
  .infected-gallery .archive-visual img { height: auto; max-height: none; }
  .infected-heading h2 { font-size: 32px; }
  .entry-class { font-size: 8px; line-height: 1.6; }
  .infected-database h3 { font-size: 19px; }
}

/* Kurgu sayfası bölüm dizini */
.lore-index {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line, #5b1717);
  background: rgba(0, 0, 0, 0.18);
}

.lore-index .index-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.lore-index a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
}

.lore-index a:hover {
  color: #b52a2a;
}

.lore-content h2 {
  scroll-margin-top: 24px;
}

/* Stronger archive accents for lore and infected entries */
.lore-subheading,
.infected-subheading {
  color: #d05a52 !important;
  border-left: 3px solid #9b2929;
  padding: 9px 14px;
  background: linear-gradient(90deg, rgba(155,41,41,.16), transparent 78%);
  text-shadow: 0 0 12px rgba(208,90,82,.12);
}
.lore-content h4 {
  color: #e1a39a;
  border-left: 3px solid #b7433b;
  padding: 10px 14px;
  margin: 30px 0 12px;
  background: rgba(155,41,41,.11);
  font-family: 'Special Elite', serif;
  font-size: 18px;
  letter-spacing: .6px;
}
.story-opening-marker { scroll-margin-top: 24px; }
.infected-heading h2 {
  color: #e1d0c5;
  text-shadow: 0 0 18px rgba(155,41,41,.12);
}
.infected-subheading { font-size: 20px !important; }
@media (max-width: 650px) {
  .infected-subheading { font-size: 17px !important; }
  .lore-content h4 { font-size: 15px; }
}

.soundcloud-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0.01;
  pointer-events: none;
}
.soundcloud-fallback {
  display: inline-block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
  text-decoration: none;
}
.soundcloud-fallback:hover { color: #d9a0a0; }


/* Noxium Labs visual treatment */
.noxium-page .lore-content h2 {
  color: #dca29b;
  text-shadow: 0 0 8px rgba(220,162,155,.16), 0 0 18px rgba(155,41,41,.12);
}
.noxium-page .lore-content p,
.noxium-page .lore-content li {
  text-shadow: 0 0 7px rgba(211,157,148,.08);
}
.noxium-page .lore-content .italic {
  color: #d7a19a;
  text-shadow: 0 0 9px rgba(208,90,82,.2);
}
.noxium-labs-hero {
  position: relative;
  width: 100%;
  margin: 22px 0 28px;
  overflow: hidden;
  border: 1px solid rgba(208,90,82,.4);
  background: #111;
  box-shadow: 0 0 24px rgba(0,0,0,.28), 0 0 18px rgba(155,41,41,.08);
}
.noxium-labs-hero img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08) brightness(.72);
}
.noxium-labs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,10,.46), rgba(8,10,10,.08) 55%, rgba(8,10,10,.52));
  pointer-events: none;
}
.noxium-labs-hero span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #e1aaa2;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-shadow: 0 0 10px rgba(208,90,82,.45);
}
@media (max-width: 650px) {
  .noxium-labs-hero img { min-height: 210px; max-height: 280px; }
  .noxium-labs-hero span { font-size: 7px; letter-spacing: 1px; }
}


/* MORHOLLOW ATMOSPHERE UPDATE */
body { background-attachment: fixed; }
main { animation: pageReveal .8s ease both; }
@keyframes pageReveal { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.section-header h1, .section-header h2, .content-section h2, .lore-section h2 { text-shadow: 0 0 12px rgba(190, 35, 45, .24); }
.section-header h1 span, h2 span { text-shadow: 0 0 10px rgba(220, 45, 55, .5); }
.main-nav a, a { transition: color .2s ease, text-shadow .2s ease, border-color .2s ease; }
.main-nav a:hover, a:hover { text-shadow: 0 0 9px rgba(220, 45, 55, .65); }
.character-card { position: relative; overflow: hidden; border-color: rgba(170, 45, 52, .38); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.character-card::before { content: "ACCESS // RESTRICTED"; position: absolute; top: 12px; right: 12px; z-index: 3; font: 10px/1 'Courier Prime', monospace; letter-spacing: 1.2px; color: rgba(235, 88, 92, .82); border: 1px solid rgba(190, 55, 60, .55); padding: 6px 7px; transform: rotate(-3deg); background: rgba(12, 8, 10, .62); }
.character-card:hover { transform: translateY(-3px); border-color: rgba(225, 65, 72, .8); box-shadow: 0 0 24px rgba(150, 20, 30, .16); }
.file-label { color: #d65a60 !important; text-shadow: 0 0 8px rgba(214, 90, 96, .25); }
.info-line span { color: #b85b61 !important; }
.info-line strong { text-shadow: 0 0 5px rgba(255,255,255,.07); }
.content-section, .lore-section, .document, .archive-box, .warning-box { border-color: rgba(174, 48, 55, .42) !important; box-shadow: inset 0 0 25px rgba(100, 10, 18, .08); }
.content-section h2, .lore-section h2, .document h2, .archive-box h2, .warning-box h2 { color: #d15a60 !important; text-shadow: 0 0 9px rgba(209, 90, 96, .25); }
strong { color: #e2a1a4; }
@media (max-width: 700px) { .character-card::before { font-size: 8px; top: 8px; right: 8px; } }


/* Noxium archive links */
.noxium-archives-section {
  width: min(700px, 100%);
  margin: 42px auto 0;
}

.noxium-archives-title {
  padding: 0 8px 14px;
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
}

.noxium-archives-nav {
  width: 100%;
}

@media (max-width: 600px) {
  .noxium-archives-section {
    margin-top: 35px;
  }
}
