@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-SemiBold.woff2') format('woff2'),
        url('../fonts/Orbitron-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
	margin: 0;
	padding: 0;
	background: radial-gradient(circle at center, #001133 0%, #000814 100%);
	font-family: 'Orbitron', sans-serif;
	color: #00f6ff;
	overflow-x: hidden;
	<!--animation: flickerBackground 5s infinite;-->
}

@keyframes flickerBackground {
	0%,
	19%,
	21%,
	23%,
	25%,
	54%,
	56%,
	100% {
		opacity: 1;
	}
	20%,
	24%,
	55% {
		opacity: 0.9;
	}
	22% {
		opacity: 0.85;
	}
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 1px, transparent 2px, transparent 3px);
	pointer-events: none;
	z-index: 1;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	border-bottom: 2px solid #ff00c8;
	box-shadow: 0 0 20px #ff00c888;
	background: linear-gradient(90deg, rgba(0, 10, 30, 0.7), rgba(80, 0, 60, 0.6));
	position: sticky;
	top: 0;
	backdrop-filter: blur(6px);
	z-index: 5;
}

header::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 20% 80%, #ff00c855 0%, transparent 70%), radial-gradient(circle at 80% 20%, #00f6ff44 0%, transparent 70%);
	mix-blend-mode: screen;
	pointer-events: none;
	animation: lightning 6s infinite ease-in-out;
}

@keyframes lightning {
	0%,
	90%,
	100% {
		opacity: 0;
	}
	92% {
		opacity: 1;
	}

	93% {
		opacity: 0.3;
	}

	94% {
		opacity: 1;
	}
}

header img {
	height: 50px;
	filter: drop-shadow(0 0 8px #00f6ff);
}

nav {
	display: flex;
	gap: 20px;
	z-index: 10;
}

nav a {
	color: #00f6ff;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	padding: 8px 16px;
	border: 1px solid #00f6ff;
	border-radius: 8px 8px 8px 8px;
	transition: 0.3s;
	box-shadow: 0 0 10px #00f6ff55;
}

nav a:hover {
	background: #00f6ff;
	color: #000814;
	box-shadow: 0 0 20px #00f6ff;
}


button {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	padding: 8px 16px;
	border: 1px solid #00f6ff;
	border-radius: 8px 8px 8px 8px;
	transition: 0.3s;
	box-shadow: 0 0 10px #00f6ff55;
}

button:hover {
	background: #00f6ff;
	color: #000814;
	box-shadow: 0 0 20px #00f6ff;
}

main {
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 2;
}

.panel {
	background: rgba(0, 20, 60, 0.6);
	border: 2px solid #00f6ff;
	border-radius: 12px;
	box-shadow: 0 0 20px #00f6ff44;
	padding: 20px;
	margin: 20px 0;
	max-width: 800px;
	width: 90%;
	backdrop-filter: blur(4px);
	animation: fadeIn 1s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.97);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.loader {
position: relative;
width: 80%;
max-width: 300px;
height: 12px;
border: 2px solid #00f6ff;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 0 15px #00f6ff88;
margin: 40px auto;
}

.loader::before {
content: '';
position: absolute;
top: 0;
left: -50%;
width: 50%;
height: 100%;
background: linear-gradient(90deg, #00f6ff, #ff00c8);
animation: loadBar 1.2s linear infinite;
}


@keyframes loadBar {
0% { left: -50%; }
100% { left: 100%; }
}

footer {
	border-top: 2px solid #00f6ff;
	border-bottom: none;
	top: auto;
	bottom: 0;
	position: relative;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	margin-top: 40px;
	padding: 20px;
	font-size: 0.8em;
	text-align: center;
	color: #00f6ff;
}
.nixie-counter {
	font-family: 'Share Tech Mono', monospace;
	font-size: 1em;
	background: radial-gradient(circle, #ff6600, #cc3300);
	color: #fff7e6;
	border-radius: 8px;
	padding: 4px 12px;
	box-shadow: 0 0 15px #ff6600cc, 0 0 40px #ff330088;
	display: inline-block;
	margin-left: 5px;
	letter-spacing: 2px;
}

@media (max-width: 600px) {
	nav {
		flex-wrap: wrap;
		justify-content: center;
	}

	nav a {
		font-size: 0.9em;
	}
}

img.neon {
	filter: drop-shadow(0 0 10px #00f6ff) brightness(1.2);
	transition: 0.3s;
}

img.neon:hover {
	filter: drop-shadow(0 0 20px #ff00c8) brightness(1.5);
}

iframe {
      box-shadow: 0 0 20px #660044, 0 0 40px #660044;
      border-radius: 10px;
      margin-top: 40px;
      width: 90%;
      max-width: 800px;
      aspect-ratio: 16 / 9;
    }
	
h1 {
      font-size: 2em;
      color: #ff00c8;
      text-shadow: 0 0 10px #ff00c8, 0 0 20px #ff00c8, 0 0 30px #ff00c8;
      animation: glitch 1.5s infinite;
    }
.boldtext {
	color: #ff00c8;
}