/* Astra Color Palette CSS Variables for Cinema Core */
:root {
	--astra-brand: #00ACC1;
	--astra-brand-alt: #0099AD;
	--astra-heading: #FFFFFF;
	--astra-text: #C7C7C7;
	--astra-primary: #131313;
	--astra-secondary: #1B1B1B;
	--astra-border: #2A2A2A;
	--astra-subtle-bg: #0A0A0A;
	--astra-extra: #8A8A8A;
}

/* Lights Off Cinema Overlay */
body.cinema-lights-off::before {
	content: '';
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.94);
	z-index: 9998;
	pointer-events: none;
}

.cinema-core-player-wrapper {
	position: relative;
	z-index: 9999;
	background: var(--astra-primary);
	border: 1px solid var(--astra-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
	margin-bottom: 24px;
}

/* Server Selector Bar */
.cinema-core-server-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	background: var(--astra-secondary);
	padding: 12px 18px;
	border-bottom: 1px solid var(--astra-border);
}

.cinema-core-server-label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.8px;
	color: var(--astra-heading);
	display: flex;
	align-items: center;
	gap: 8px;
}

.server-dot {
	width: 8px;
	height: 8px;
	background-color: var(--astra-brand);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--astra-brand);
}

.cinema-core-server-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cinema-core-server-btn {
	background: var(--astra-primary);
	color: var(--astra-text);
	border: 1px solid var(--astra-border);
	padding: 7px 15px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.cinema-core-server-btn:hover {
	background: #1f1f1f;
	color: #fff;
	border-color: var(--astra-brand);
}

.cinema-core-server-btn.active {
	background: linear-gradient(135deg, var(--astra-brand), var(--astra-brand-alt));
	color: #000;
	font-weight: 800;
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(0, 172, 193, 0.4);
}

/* Video Player Container (16:9 Aspect Ratio) */
.cinema-core-iframe-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	background: #000;
}

.cinema-core-iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Player Meta Sub-bar */
.cinema-core-player-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 18px;
	background: var(--astra-secondary);
	border-top: 1px solid var(--astra-border);
	font-size: 12px;
	color: var(--astra-extra);
}

.player-actions {
	display: flex;
	gap: 8px;
}

.player-action-btn {
	background: var(--astra-primary);
	color: var(--astra-text);
	border: 1px solid var(--astra-border);
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	transition: 0.2s;
}

.player-action-btn:hover {
	background: #252525;
	color: #fff;
	border-color: var(--astra-brand);
}

.cinema-core-no-player {
	padding: 30px;
	text-align: center;
	background: var(--astra-primary);
	color: var(--astra-extra);
	border: 1px solid var(--astra-border);
	border-radius: 8px;
}