.vt-watch-page {
	display: flex;
	flex-direction: column;
	gap: var(--vt-space-3);
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: 20px;

	.vt-taxonomy-group {
		margin-bottom: 10px;
	}
}
.vt-watch-page-title {
	margin-bottom: 0;
}

.vt-watch-title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.vt-watch-player {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.vt-watch-featured-film {
	display: block;
	padding: 1rem 0;
	background: rgba(255, 255, 255, 0.02);
	border-bottom: 1px solid var(--vt-line);
}

.vt-watch-featured-film-grid {
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
	gap: 1rem;
}

.vt-watch-featured-content {
	min-width: 0;
}

.vt-watch-featured-poster {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.vt-watch-featured-poster img {
	display: block;
	width: 100%;
	height: auto;
}

.vt-watch-featured-poster-placeholder {
	display: grid;
	place-items: center;
	min-height: 360px;
	padding: 1rem;
	color: var(--vt-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
}

.vt-watch-featured-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	line-height: 1.55;
}

.vt-watch-featured-content .vt-film-overview-content,
.vt-watch-featured-content .vt-overview-toggle {
	display: none;
}

.vt-watch-featured-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1rem;
	color: var(--vt-muted);
	font-size: 0.9rem;
}

.vt-watch-featured-meta a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.vt-watch-featured-content .vt-taxonomy-label,
.vt-watch-featured-content .vt-watch-featured-label {
	font-weight: 800;
}

.vt-watch-featured-content .vt-chip,
.vt-watch-featured-content .vt-film-meta a,
.vt-watch-featured-content .vt-watch-featured-meta a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.vt-film-meta a,
.vt-film-meta Span {
	margin-right: 10px;
}

.vt-watch-featured-taxonomies {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.vt-watch-featured-group {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.vt-watch-featured-label {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--vt-muted);
}

.vt-watch-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.vt-watch-featured-overview {
	color: var(--vt-text);
	font-size: 0.98rem;
	line-height: 1.55;
}

.vt-watch-featured-overview p {
	margin: 0;
}

.vt-watch-featured-title {
	margin: 0;
	font-size: clamp(1.2rem, 2.4vw, 1.9rem);
	line-height: 1.2;
}

.vt-watch-embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000;
	border: 1px solid var(--vt-line);
}

.vt-watch-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vt-watch-thumbs {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.vt-watch-thumbs-title {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.vt-watch-thumbs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--vt-space-1, 0.75rem);
}

.vt-watch-thumb {
	background: var(--vt-surface);
	border: 1px solid transparent;
}

.vt-watch-thumb.is-active {
	border: 0;
}

.vt-watch-thumb-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.vt-watch-thumb-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #151515;
}

.vt-watch-thumb-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.28s ease;
}

.vt-watch-thumb-link:hover .vt-watch-thumb-media img,
.vt-watch-thumb-link:focus-visible .vt-watch-thumb-media img {
	transform: scale(1.03);
}

.vt-watch-thumb-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: 0.82rem;
	color: var(--vt-muted);
}

.vt-watch-thumb-title {
	margin: 0;
	padding-top: 0.5rem;
	font-size: 21px;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.vt-watch-empty {
	margin: 0;
	color: var(--vt-muted);
}

@media (max-width: 900px) {
	.vt-watch-page {
		padding-inline: 10px;
	}

	.vt-watch-featured-film {
		padding: 0.8rem;
	}

	.vt-watch-featured-film-grid {
		grid-template-columns: 1fr;
	}

	.vt-watch-featured-poster-placeholder {
		min-height: 280px;
	}

	.vt-watch-thumbs-grid {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - (0.25 * var(--vt-space-1, 0.75rem))) / 1.25);
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		padding-bottom: 0.35rem;
		gap: var(--vt-space-1, 0.75rem);
		scrollbar-width: none;
	}

	.vt-watch-thumbs-grid::-webkit-scrollbar {
		display: none;
	}

	.vt-watch-thumb {
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}

/* Share buttons */
.vt-film-share {
	margin-top: 0;
	padding-top: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vt-share-buttons {
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	align-items: center;
}

.vt-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border: none;
	border-radius: 0;
	color: var(--vt-text);
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 500;
	transition: background-color 0.2s ease;
	cursor: pointer;
}

.vt-share-btn:hover,
.vt-share-btn:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	transform: none;
}

.vt-share-btn.vt-share-facebook:hover {
	background: rgba(59, 89, 152, 0.2);
}

.vt-share-btn.vt-share-twitter:hover {
	background: rgba(15, 20, 25, 0.4);
}

.vt-share-btn.vt-share-copy:hover {
	background: rgba(100, 255, 150, 0.15);
}

.vt-share-btn.vt-share-email:hover {
	background: rgba(100, 150, 255, 0.15);
}

.vt-share-btn.vt-share-reddit:hover {
	background: rgba(255, 69, 0, 0.15);
}

.vt-share-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.vt-share-btn svg {
	width: 20px;
	height: 20px;
	stroke-width: 2;
	stroke: currentColor;
	fill: none;
}

.vt-share-copy-tooltip {
	position: fixed;
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	padding: 0.5rem 0.8rem;
	border-radius: 4px;
	font-size: 0.85rem;
	pointer-events: none;
	z-index: 1000;
	white-space: nowrap;
	animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
		transform: translateY(-8px);
	}
	10% {
		opacity: 1;
		transform: translateY(0);
	}
	90% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(-8px);
	}
}
