/**
 * TuServerMu — looping Mu Online-style page background.
 * The video is pre-composed so the knight and elf sit in the side margins
 * on typical desktop widths (content column remains ~1200px centered).
 * Loaded at the end of <head> so these rules can clear the body fill.
 */

html,
body,
body.horizontal-menu,
body.horizontal-menu.semi-dark {
	background-color: transparent !important;
	background-image: none !important;
}

.tsmu-page-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	background: #d7e9fb url("../images/bg/mu-bg-poster.jpg?v=1080") center / cover no-repeat;
}

.tsmu-page-bg__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* Keep the real page content above the fixed video. */
#footerfix,
#footer {
	position: relative;
	z-index: 1;
}

/* Header bar and main menu already have solid backgrounds; keep them opaque. */
#top_section,
#main_menu.sidebar {
	background-color: #1c3c72;
}

#top_section {
	background-image: linear-gradient(135deg, #1c3c72 0%, #244a83 54%, #315b92 100%);
}

#main_menu.sidebar {
	background-image: linear-gradient(180deg, #365f91 0%, #2f5989 100%);
}

/* Poster only: phones, and users who prefer reduced motion. */
@media (max-width: 767px) {
	.tsmu-page-bg__video {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tsmu-page-bg__video {
		display: none !important;
	}
}
