/* TDN Video Player */

.tdnvp-wrap {
	position: relative;
	width: 100%;
	margin: 1.5em auto;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tdnvp-stage {
	position: relative;
	width: 100%;
	line-height: 0;
}

.tdnvp-video {
	display: block;
	width: 100%;
	height: auto;
	background: #000;
}

/* ---- Watermark overlay ---- */
.tdnvp-watermark {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;       /* never blocks clicks on the video */
	z-index: 5;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 14px 18px;
}

.tdnvp-watermark__text {
	display: inline-block;
	color: #fff;
	opacity: 0.55;              /* semi-transparent, TMZ-style */
	font-size: clamp(13px, 2.2vw, 22px);
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
	user-select: none;
	white-space: nowrap;
}

/* Optional: keep it readable on bright video by giving a faint plate */
.tdnvp-watermark__text {
	padding: 2px 8px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.18);
}

/* ---- Centered big play button ---- */
.tdnvp-bigplay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 7;
	width: 76px;
	height: 76px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.2s ease, transform 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.tdnvp-bigplay:hover {
	transform: translate(-50%, -50%) scale(1.06);
}

.tdnvp-bigplay__bg {
	fill: rgba(0, 0, 0, 0.55);
}

.tdnvp-bigplay:hover .tdnvp-bigplay__bg {
	fill: rgba(225, 6, 0, 0.85);   /* TDN red on hover */
}

.tdnvp-bigplay__tri {
	fill: #fff;
}

/* Hide the big play button while the video is actually playing. */
.tdnvp-wrap.tdnvp-playing .tdnvp-bigplay {
	opacity: 0;
	pointer-events: none;
}

/* ---- Credit / attribution line ---- */
.tdnvp-credit {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	max-width: 65%;
	padding: 12px 16px;
	pointer-events: none;
}

.tdnvp-credit__text {
	display: inline-block;
	color: #fff;
	font-size: clamp(11px, 1.8vw, 15px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	padding: 4px 9px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.5);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
	user-select: none;
}

/* ---- Controls ---- */
.tdnvp-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
	opacity: 0;
	transition: opacity 0.2s ease;
	line-height: 1;
}

.tdnvp-wrap:hover .tdnvp-controls,
.tdnvp-wrap.tdnvp-paused .tdnvp-controls {
	opacity: 1;
}

.tdnvp-btn {
	background: none;
	border: 0;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	padding: 4px 6px;
	line-height: 1;
}

.tdnvp-progress {
	position: relative;
	flex: 1;
	height: 5px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	cursor: pointer;
}

.tdnvp-progress__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: #e10600;        /* TDN red accent */
	border-radius: 3px;
}

.tdnvp-time {
	color: #fff;
	font-size: 12px;
	min-width: 38px;
	text-align: center;
}

.tdnvp-video::-webkit-media-controls { display: none !important; }
