/* Watch Demo button + YouTube overlay (above Magnific portfolio modal) */

.btn-watch-demo {
	position: relative;
}

.btn-watch-demo i {
	font-size: 1em;
}

.btn-watch-demo.is-disabled,
.btn-watch-demo[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: auto;
	filter: grayscale(0.15);
}

.btn-watch-demo.is-disabled:hover,
.btn-watch-demo[aria-disabled="true"]:hover {
	transform: none;
	box-shadow: none;
}

.btn-watch-demo-soon {
	display: inline-block;
	margin-left: 2px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: lowercase;
	line-height: 1.3;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	vertical-align: middle;
}

.watch-demo-overlay {
	position: fixed;
	inset: 0;
	z-index: 100050;
	background: rgba(8, 5, 14, 0.82);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.watch-demo-overlay.is-open {
	display: flex;
}

.watch-demo-dialog {
	width: min(960px, 100%);
	background: #0d1117;
	border: 1px solid #30363d;
	border-radius: 12px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	color: #e6edf3;
}

.watch-demo-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid #30363d;
	background: #161b22;
}

.watch-demo-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #f0f6fc;
	line-height: 1.3;
}

.watch-demo-close {
	background: transparent;
	border: none;
	color: #8b949e;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.watch-demo-close:hover {
	color: #f0f6fc;
}

.watch-demo-frame-host {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.watch-demo-frame-host iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
