@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=IM+Fell+English:ital@0;1&display=swap');

* {
	margin: 0;
	padding: 0;
}

body {
	background: #080808;
	color: #8a8a7a;
	font-family: 'Courier New', Courier, monospace;
	font-size: 13px;
	line-height: 1.6;
}

a:link { color: #5a5a4a; text-decoration: none; }
a:visited { color: #4a4a3a; }
a:hover { text-decoration: underline; }
a:active { color: #9a9a8a; }

h1, h2, h3 {
	font-family: 'Cinzel', 'IM Fell English', Georgia, serif;
	color: #6a6a5a;
	letter-spacing: 2px;
	font-weight: 400;
}

h1 { font-size: 20px; margin-bottom: 20px; }
h2 { font-size: 16px; margin-bottom: 15px; }
h3 { font-size: 14px; margin-bottom: 10px; }

table {
	border-collapse: collapse;
}

td {
	vertical-align: top;
	padding: 2px 4px;
}

hr {
	border: none;
	border-top: 1px solid #222;
	margin: 20px 0;
}

.entry-body {
	background: #000;
	text-align: center;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

.delay-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 9999;
	opacity: 1;
	transition: opacity 1.5s ease-in;
}

.fade-in {
	opacity: 0;
	animation: fadeIn 3s ease-in forwards;
	animation-delay: 2s;
}

@keyframes fadeIn {
	to { opacity: 1; }
}

.slogan {
	font-family: 'IM Fell English', Georgia, serif;
	font-size: 28px;
	color: #6a6a5a;
	margin-bottom: 60px;
	letter-spacing: 4px;
	line-height: 1.8;
}

.slogan-telugu {
	font-size: 24px;
	color: #5a5a4a;
	display: block;
	margin-bottom: 10px;
}

.slogan-chinese {
	font-size: 22px;
	color: #4a4a3a;
	display: block;
}

.entry-link {
	font-family: 'Courier New', monospace;
	font-size: 18px;
	color: #5a5a4a;
	text-decoration: none;
	cursor: pointer;
	letter-spacing: 8px;
}

.entry-link:hover {
	color: #8a8a7a;
	text-decoration: none;
}

.layout-table {
	width: 760px;
	margin: 0 auto;
}

.nav-table {
	width: 100%;
	margin-bottom: 20px;
}

.nav-table td {
	padding: 4px 12px 4px 0;
	font-size: 14px;
}

.nav-table a {
	text-decoration: none;
}

.nav-table a:hover {
	text-decoration: underline;
}

.index-table {
	width: 100%;
	margin-top: 30px;
}

.index-table td {
	padding: 3px 8px;
	font-size: 12px;
}

.index-table .folder-name {
	color: #7a7a6a;
}

.index-table .folder-date {
	color: #444;
	text-align: right;
	font-size: 10px;
	width: 100px;
}

.case-header {
	margin-bottom: 30px;
	border-bottom: 1px solid #1a1a1a;
	padding-bottom: 10px;
}

.case-body {
	margin-bottom: 40px;
}

.case-body p {
	margin-bottom: 12px;
}

.img-placeholder {
	width: 400px;
	height: 300px;
	background: #1a1a1a;
	border: 1px solid #333;
	position: relative;
	margin-bottom: 4px;
	filter: grayscale(100%);
}

.img-placeholder-large {
	width: 100%;
	height: 350px;
	background: #1a1a1a;
	border: 1px solid #333;
	position: relative;
	margin-bottom: 4px;
	filter: grayscale(100%);
}

.img-caption {
	font-size: 11px;
	color: #555;
	text-align: center;
	margin-bottom: 20px;
}

.seal {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 40px;
	font-size: 28px;
	color: #3a3a3a;
	letter-spacing: 12px;
}

.symbol {
	color: #4a4a3a;
}

.frequency {
	color: #7a7a6a;
}

.redacted {
	background: #333;
	color: #333;
	user-select: none;
	-webkit-user-select: none;
}

.cipher-block {
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: #6a6a6a;
	white-space: pre;
	margin: 20px 0;
	padding: 15px;
	border: 1px solid #1a1a1a;
	background: #0a0a0a;
	line-height: 1.4;
	letter-spacing: 2px;
}

.voynich-block {
	font-size: 15px;
	color: #5a5a4a;
	white-space: pre-wrap;
	margin: 20px 0;
	padding: 15px;
	border: 1px solid #1a1a1a;
	background: #0a0a0a;
	line-height: 2.2;
	letter-spacing: 1px;
}

.freq-data {
	font-family: 'Courier New', monospace;
	font-size: 12px;
	color: #5a5a4a;
	white-space: pre;
	margin: 15px 0;
	padding: 10px;
	background: #0a0a0a;
	border: 1px solid #1a1a1a;
}

.species-table {
	width: 100%;
	margin-top: 20px;
}

.species-table td {
	padding: 8px 6px;
	border-bottom: 1px solid #1a1a1a;
	vertical-align: top;
}

.species-table .designation {
	font-family: 'Cinzel', serif;
	font-size: 13px;
	color: #6a6a5a;
	letter-spacing: 2px;
	width: 120px;
	white-space: nowrap;
}

.species-table .desc {
	font-size: 12px;
	color: #7a7a6a;
}

.species-table .note {
	font-size: 11px;
	color: #5a5a4a;
	font-style: italic;
	margin-top: 4px;
}

.degraded-text {
	text-shadow: 0 0 1px rgba(138, 138, 122, 0.3);
}

.degraded-bg {
	background: #0a0a0a;
}

.document-header {
	font-family: 'Courier New', monospace;
	font-size: 11px;
	color: #555;
	margin-bottom: 30px;
	letter-spacing: 1px;
}

.seven-list {
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: #6a6a5a;
	margin: 30px auto;
	width: 400px;
	text-align: left;
}

.seven-list .item {
	margin-bottom: 8px;
	letter-spacing: 1px;
}

.footer {
	margin-top: 40px;
	padding: 10px 0;
	text-align: center;
	font-size: 10px;
	color: #222;
}

.broken-link {
	pointer-events: none;
}

.timestamp-corrupt {
	color: #333;
	text-decoration: line-through;
}

.hidden-char {
	font-size: 1px;
	color: #080808;
	position: absolute;
	left: -9999px;
}

/* Glyph styles */
.glyph-container {
	margin-bottom: 40px;
}

.entry-glyph {
	width: 180px;
	height: 180px;
	display: block;
	margin: 0 auto;
}

/* Index page - leaked archive styles */
.archive-watermark {
	position: fixed;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	font-size: 120px;
	color: rgba(30, 30, 25, 0.15);
	white-space: nowrap;
	pointer-events: none;
	z-index: 0;
	letter-spacing: 20px;
	font-family: 'Courier New', monospace;
}

.archive-table {
	position: relative;
	z-index: 1;
}

.classification-stamp {
	font-size: 9px;
	letter-spacing: 1px;
	margin-left: 8px;
}

.class-sealed { color: #5a5a4a; }
.class-restricted { color: #6a5a5a; }
.class-degraded { color: #555; }
.class-unknown { color: #4a4a3a; }

.glyph-entry {
	font-size: 18px;
	text-align: center;
	padding: 8px 0;
	color: #4a4a3a;
}

/* Case page styles */
.case-stamp {
	font-family: 'Courier New', monospace;
	font-size: 11px;
	color: #555;
	letter-spacing: 1px;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid #1a1a1a;
}

.case-bottom-line {
	margin-top: 30px;
	padding-top: 15px;
	border-top: 1px solid #1a1a1a;
	font-size: 12px;
	color: #5a5a4a;
	font-style: italic;
}

.case-glyph {
	font-size: 14px;
	color: #3a3a3a;
	margin-top: 8px;
	text-align: center;
}

/* Mythology section headers */
.myth-header {
	font-family: 'Courier New', monospace;
	font-size: 11px;
	color: #555;
	margin-bottom: 25px;
	padding: 8px;
	border: 1px solid #1a1a1a;
	background: #0a0a0a;
	letter-spacing: 1px;
}
