/*
  NOTE: Legacy styles are now in styles-legacy.css. Reference that file for non-top-level pages.
*/
@import url('https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
	background: #08080c;
	color: #b8b8c0;
	font-family: 'Share Tech Mono', monospace;
	min-height: 100vh;
	margin: 0;
	position: relative;
}

/* Scan lines overlay */
body::before, body::after {
	display: none !important;
}

/* unvisited link */
a:link, a:visited, a:hover, a:active {
	color: var(--accent);
	text-decoration: none;
}

footer {
	color: #23234a;
	font-size: 12px;
	text-align: center;
	position: static;
	left: 0;
	bottom: 0;
	width: 100%;
	margin-top: 2rem;
	z-index: 2;
}

/* Accent color for low-key look */
:root {
	--accent: #7fffd4;
	--accent-faint: #7fffd422;
	--accent-glow: #7fffd4;
}

.layout {
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
}

.navbar {
	padding: 2rem 0 1rem 0;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	text-align: left;
	font-size: 35px;
	color: #fff;
	text-shadow: 0 0 2px #23234a;
	letter-spacing: 0.1em;
	background: none;
	border: none;
	font-family: 'Pervitina Dex', 'Share Tech Mono', monospace;
	position: relative;
	z-index: 2;
}

.navbar a, .navbar-menu, .navbar-item {
	font-style: normal !important;
}

.navbar a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	text-shadow: 0 0 2px #23234a;
	transition: color 0.2s, text-shadow 0.2s, filter 0.2s;
	margin: 0 1.5rem;
	font-size: 1.1rem;
	position: relative;
	z-index: 2;
}

.navbar a:hover, .navbar a:focus {
	background: none !important;
	color: var(--accent);
	text-shadow: 0 0 6px var(--accent-glow);
	filter: blur(0.3px) contrast(1.1);
	animation: glitch 0.3s linear 1;
}

@keyframes glitch {
	0% { text-shadow: 2px 0 var(--accent), -2px 0 #fff; }
	20% { text-shadow: -2px 0 var(--accent), 2px 0 #fff; }
	40% { text-shadow: 2px 2px var(--accent), -2px -2px #fff; }
	60% { text-shadow: -2px 2px var(--accent), 2px -2px #fff; }
	80% { text-shadow: 2px 0 var(--accent), -2px 0 #fff; }
	100% { text-shadow: 0 0 6px var(--accent), 0 0 2px #fff; }
}

.container {
	max-width: 800px;
	margin: 2rem auto;
	background: rgba(8, 8, 12, 0.96);
	border: none;
	border-radius: 8px;
	box-shadow: 0 0 8px #101018;
	padding: 2rem;
	text-align: center;
	position: relative;
	z-index: 2;
}

.logo, h1, h2, h3 {
	color: var(--accent);
	text-align: center;
	font-size: 2.2rem;
	text-shadow: 0 0 2px var(--accent-faint);
	margin-bottom: 1.5rem;
	letter-spacing: 0.05em;
	position: relative;
	z-index: 2;
}

.logo:hover, h1:hover, h2:hover, h3:hover {
	color: #fff;
	text-shadow: 0 0 8px var(--accent-glow), 0 0 2px #fff;
	animation: glitch 0.3s linear 1;
}

.btn-cyberpunk, .button.cyberpunk {
	background: #181830;
	color: #b8b8c0;
	border: 2px solid var(--accent-faint);
	border-radius: 0;
	font-family: 'Share Tech Mono', monospace;
	font-size: 1.1rem;
	padding: 0.6rem 1.5rem;
	box-shadow: 0 0 4px var(--accent-faint);
	transition: background 0.2s, color 0.2s, border 0.2s;
	margin-top: 1.2rem;
	position: relative;
	z-index: 2;
}

.btn-cyberpunk:hover, .button.cyberpunk:hover {
	background: var(--accent-faint);
	color: var(--accent);
	border: 2px solid var(--accent);
	box-shadow: 0 0 8px var(--accent-glow);
	animation: glitch 0.3s linear 1;
}

a {
	color: #a0a0c0;
	text-decoration: none;
}

iframe {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.flavour {
	margin-top: 2rem;
	color: var(--accent);
	text-shadow: 0 0 2px var(--accent-faint);
	font-size: 1.1rem;
	position: relative;
	z-index: 2;
}

@font-face {
	font-family: Pervitina Dex; 
	src: url('Pervitina-Dex-FFP.ttf');
}

/* Terminal-style welcome box */
.terminal-box {
	background: rgba(10, 10, 16, 0.98);
	border: 1.5px solid #181820;
	border-radius: 6px;
	box-shadow: 0 0 12px #101018;
	margin: 0 auto 2.5rem auto;
	max-width: 520px;
	padding: 1.5rem 2rem 1.2rem 2rem;
	text-align: left;
	font-family: 'Share Tech Mono', monospace;
	position: relative;
	z-index: 3;
	overflow-x: auto;
}
.terminal-header {
	color: var(--accent);
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	letter-spacing: 0.03em;
	text-shadow: 0 0 4px var(--accent-glow), 0 0 2px #fff;
}
.glow-divider {
	border: none;
	height: 2px;
	background: linear-gradient(90deg, var(--accent) 0%, #fff 100%);
	box-shadow: 0 0 8px var(--accent-glow), 0 0 4px #fff;
	margin: 0.5rem 0 1rem 0;
	opacity: 0.7;
}
.terminal-body {
	color: #b8b8c0;
	font-size: 1.05rem;
	line-height: 1.7;
}
.terminal-prompt {
	color: var(--accent);
	margin-right: 0.5em;
	font-weight: bold;
	text-shadow: 0 0 2px var(--accent-glow);
	animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}
/* Glitch effect for terminal header and MemeCity */
.glitch {
	position: relative;
	color: var(--accent);
	text-shadow: 1px 0 #fff, -1px 0 var(--accent), 0 1px #fff, 0 -1px var(--accent);
	animation: glitch-anim 1.2s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
	0% { text-shadow: 2px 0 var(--accent), -2px 0 #fff; }
	20% { text-shadow: -2px 0 var(--accent), 2px 0 #fff; }
	40% { text-shadow: 2px 2px var(--accent), -2px -2px #fff; }
	60% { text-shadow: -2px 2px var(--accent), 2px -2px #fff; }
	80% { text-shadow: 2px 0 var(--accent), -2px 0 #fff; }
	100% { text-shadow: 0 0 6px var(--accent), 0 0 2px #fff; }
}

#starfield-bg {
	position: fixed;
	top: 0; left: 0; width: 100vw; height: 100vh;
	z-index: 0;
	pointer-events: none;
	opacity: 0.18;
	display: block;
	background: transparent;
}

#snow-bg {
	position: fixed;
	top: 0; left: 0; width: 100vw; height: 100vh;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.22;
	display: block;
	background: transparent;
}

/* --- BEGIN CIRCUIT PATTERN OVERLAY --- */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background: url('data:image/svg+xml;utf8,<svg width="320" height="180" viewBox="0 0 320 180" fill="none" xmlns="http://www.w3.org/2000/svg"><g stroke="%237fffd4" stroke-width="1"><rect x="10" y="10" width="60" height="40" rx="8"/><rect x="250" y="120" width="50" height="30" rx="6"/><circle cx="160" cy="90" r="30"/><line x1="40" y1="50" x2="160" y2="90"/><line x1="160" y1="90" x2="275" y2="135"/><polyline points="70,30 90,30 90,60 120,60"/><polyline points="270,135 270,160 200,160"/><rect x="120" y="60" width="40" height="20" rx="4"/><rect x="200" y="140" width="30" height="10" rx="2"/></g></svg>');
  background-repeat: repeat;
  background-size: 320px 180px;
  animation: circuitmove 60s linear infinite;
}
@keyframes circuitmove {
  0% { background-position: 0 0; }
  100% { background-position: 320px 180px; }
}
/* --- END CIRCUIT PATTERN OVERLAY --- */

.swfheaders th, .swfheaders td {
	color: #b8b8c0;
	background: rgba(8,8,12,0.92);
	border: 1px solid var(--accent-faint);
	text-align: center;
	font-size: 1.1rem;
}
.swfheaders th {
	font-weight: bold;
	background: rgba(8,8,12,0.98);
}

.table.is-bordered.is-striped {
  table-layout: auto !important;
  width: 100% !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.table.is-bordered.is-striped, .table.is-bordered.is-striped th, .table.is-bordered.is-striped td {
  background: rgba(8,8,12,0.92) !important;
  color: #b8b8c0 !important;
  border: 1px solid var(--accent-faint) !important;
}
.table.is-bordered.is-striped th {
  background: rgba(8,8,12,0.98) !important;
  color: var(--accent) !important;
  font-weight: bold;
}
.table.is-bordered.is-striped tr:nth-child(even) td {
  background: rgba(16,16,24,0.96) !important;
}
.table.is-bordered.is-striped a {
  color: var(--accent) !important;
  text-decoration: underline;
} 