@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	background: #0a0a0a;
	color: #c4c4c4;
	font-family: 'Share Tech Mono', monospace;
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 20px;
}

/* Noise overlay - subtle grain across the whole page */
.noise {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1000;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* Scanlines */
.scanlines {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 999;
	background: repeating-linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 0px,
		rgba(0, 0, 0, 0) 2px,
		rgba(0, 0, 0, 0.15) 3px,
		rgba(0, 0, 0, 0) 4px
	);
}

header {
	text-align: center;
	margin-bottom: 50px;
	max-width: 100%;
}

.logo {
	font-family: 'VT323', monospace;
	font-size: clamp(3rem, 10vw, 6rem);
	letter-spacing: 0.15em;
	color: #ff4500;
	text-shadow:
		0 0 10px rgba(255, 69, 0, 0.6),
		2px 0 0 rgba(255, 0, 0, 0.5),
		-2px 0 0 rgba(0, 255, 255, 0.3);
	animation: glitch 8s infinite;
	margin-bottom: 10px;
}

@keyframes glitch {
	0%, 95%, 100% {
		text-shadow:
			0 0 10px rgba(255, 69, 0, 0.6),
			2px 0 0 rgba(255, 0, 0, 0.5),
			-2px 0 0 rgba(0, 255, 255, 0.3);
		transform: translate(0);
	}
	96% {
		text-shadow:
			0 0 10px rgba(255, 69, 0, 0.6),
			-3px 0 0 rgba(255, 0, 0, 0.7),
			3px 0 0 rgba(0, 255, 255, 0.5);
		transform: translate(2px, 0);
	}
	97% {
		text-shadow:
			0 0 10px rgba(255, 69, 0, 0.6),
			4px 0 0 rgba(255, 0, 0, 0.5),
			-4px 0 0 rgba(0, 255, 255, 0.5);
		transform: translate(-2px, 0);
	}
	98% {
		transform: translate(1px, -1px);
	}
}

.tagline {
	font-size: 0.9rem;
	color: #666;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

main {
	width: 100%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.video-frame {
	position: relative;
	width: 100%;
	border: 1px solid #2a2a2a;
	background: #000;
	box-shadow:
		0 0 50px rgba(255, 69, 0, 0.1),
		inset 0 0 100px rgba(0, 0, 0, 0.8);
	padding: 4px;
}

.video-frame video {
	width: 100%;
	height: auto;
	display: block;
	filter: contrast(1.05) saturate(0.9);
}

.video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Decorative corner brackets */
.video-corner {
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid #ff4500;
}

.top-left {
	top: -2px;
	left: -2px;
	border-right: none;
	border-bottom: none;
}

.top-right {
	top: -2px;
	right: -2px;
	border-left: none;
	border-bottom: none;
}

.bottom-left {
	bottom: -2px;
	left: -2px;
	border-right: none;
	border-top: none;
}

.bottom-right {
	bottom: -2px;
	right: -2px;
	border-left: none;
	border-top: none;
}

.caption {
	margin-top: 20px;
	font-size: 0.9rem;
	color: #555;
	letter-spacing: 0.2em;
	text-align: center;
}

footer {
	margin-top: auto;
	padding-top: 60px;
	font-size: 0.75rem;
	color: #333;
	letter-spacing: 0.3em;
	text-align: center;
}
