/* velvetvid — soft violet chrome */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&display=swap");

:root {
	--vv-bg: #f3eef8;
	--vv-bg-glow: radial-gradient(1200px 480px at 12% -10%, rgba(167, 139, 250, 0.28), transparent 60%),
		radial-gradient(900px 420px at 92% 0%, rgba(196, 168, 232, 0.22), transparent 55%),
		linear-gradient(180deg, #f7f2fb 0%, #f3eef8 42%, #efe8f6 100%);
	--vv-surface: #ffffff;
	--vv-surface-2: #f8f4fc;
	--vv-line: #e4d8f0;
	--vv-text: #5c5368;
	--vv-text-strong: #2a2238;
	--vv-accent: #8b6bc0;
	--vv-accent-deep: #6d4fa3;
	--vv-accent-soft: rgba(139, 107, 192, 0.14);
	--vv-accent-ink: #ffffff;
	--vv-shadow: 0 1px 2px rgba(42, 34, 56, 0.06), 0 8px 24px rgba(109, 79, 163, 0.06);
	/* aliases so shared rules stay readable */
	--lc-bg: var(--vv-bg);
	--lc-surface: var(--vv-surface);
	--lc-surface-2: var(--vv-surface-2);
	--lc-line: var(--vv-line);
	--lc-text: var(--vv-text);
	--lc-text-strong: var(--vv-text-strong);
	--lc-accent: var(--vv-accent);
	--lc-accent-deep: var(--vv-accent-deep);
	--lc-accent-soft: var(--vv-accent-soft);
	--lc-accent-ink: var(--vv-accent-ink);
	--lc-shadow: var(--vv-shadow);
}

html,
body {
	background: var(--vv-bg) !important;
	background-image: var(--vv-bg-glow) !important;
	background-attachment: fixed !important;
	color: var(--vv-text);
	font-family: Outfit, "Segoe UI", sans-serif;
}

a {
	color: var(--vv-text-strong);
}

a:hover,
.th:hover .th-title,
.model-info strong,
.video-info p a:hover {
	color: var(--vv-accent);
}

h1,
h2,
h3,
h1 span,
a.logo,
.th-title,
.video-stats span,
.comment-body p,
.footer a {
	color: var(--vv-text-strong);
}

h1 span {
	border-left-color: var(--vv-accent);
}

/* ===== Top bar ===== */
.header.site-top {
	padding: 0;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--vv-line);
	box-shadow: var(--vv-shadow);
}

.header .search,
.search-strip,
.search-toggle {
	display: none !important;
}

/* Keep 5-across on desktop so 75 cards ≈ 15 rows */
@media screen and (min-width: 768px) {
	.th {
		width: calc(20% - 14px) !important;
		margin: 0 7px 14px !important;
	}
}

.site-top-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 72px;
	padding: 10px 0;
	box-sizing: border-box;
}

.site-top-inner > .nav-toggle,
.site-top-inner > .search-toggle {
	order: 0;
	color: var(--vv-text-strong);
}

a.logo,
.site-top a.logo {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	width: auto !important;
	max-width: 280px;
	margin: 0 !important;
	padding: 0 !important;
	float: none;
	font-size: 0;
	line-height: 0;
	text-decoration: none !important;
	z-index: 1;
}

a.logo img,
.logo-img,
.logo-mark {
	display: block;
	flex: 0 0 auto;
	object-fit: contain;
}

.logo-mark {
	width: 40px;
	height: 40px;
}

.logo-lockup {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	min-width: 0;
}

.logo-word {
	display: inline-block;
	font-family: Outfit, "Segoe UI", sans-serif;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--vv-text-strong);
	white-space: nowrap;
}

.logo-word .logo-accent {
	color: var(--vv-accent);
}

.logo-slogan {
	display: block;
	font-family: Outfit, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.1;
	color: var(--vv-accent-deep);
	opacity: 0.88;
	white-space: nowrap;
}

.site-top .nav {
	float: none;
	flex: 1 1 auto;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	min-width: 0;
}

.site-top .nav .container {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.nav-main {
	float: none !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.nav-main li {
	margin: 0 !important;
}

.nav-user {
	float: none !important;
	margin: 0;
	padding: 0;
}

.nav-main > li > a.btn-default,
.nav-main > li > a {
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--vv-text);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.nav-main > li > a > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	font-size: 15px;
	line-height: 1;
	color: var(--vv-accent);
}

.nav-main > li > a > i:before {
	margin: 0;
	width: auto;
}

.nav-main > li > a > span {
	display: inline-block;
}

.nav-main > li > a.btn-default:hover > i,
.nav-main > li > a:hover > i,
.nav-main > li > a.btn-default.sel > i,
.nav-main > li > a.sel > i,
.nav-main > li > a.btn-default.active > i,
.nav-main .active > i {
	color: var(--vv-accent-deep);
}

.nav-main > li > a.btn-default:hover,
.nav-main > li > a:hover,
.nav-main > li > a.btn-default.sel,
.nav-main > li > a.sel,
.nav-main > li > a.btn-default.active,
.nav-main .active {
	background: var(--vv-accent-soft);
	color: var(--vv-accent-deep);
	border-color: transparent;
}

.nav-main .lang-selected,
.nav-main .select {
	margin: 0;
	background-color: var(--vv-accent);
	border-color: var(--vv-accent);
	color: #fff;
	font-family: Outfit, sans-serif;
}

/* Search strip */
.search-strip {
	padding: 14px 0 16px;
	background: rgba(248, 244, 252, 0.72);
	border-bottom: 1px solid var(--vv-line);
}

.search-strip .search {
	float: none;
	position: relative;
	width: 100%;
	max-width: 720px;
	height: 44px;
	margin: 0 auto;
}

.search-strip .input-search {
	height: 44px;
	padding: 0 52px 0 16px;
	border: 1px solid var(--vv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vv-text-strong);
	font-family: Outfit, sans-serif;
	box-shadow: var(--vv-shadow);
}

.search-strip .input-search::placeholder {
	color: #9a8fb0;
}

.search-strip .btn-search {
	top: 2px;
	right: 2px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--vv-accent);
	color: #fff;
}

.search-strip .btn-search:hover {
	opacity: 1;
	background: var(--vv-accent-deep);
	color: #fff;
}

.search-strip .btn-search i:before {
	color: #fff;
}

/* Thumb titles + duration badges */
.th-description,
.th-title {
	display: block;
	width: 100%;
	margin: 2px 0 0;
	color: var(--vv-text-strong) !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.th-description:hover,
.th-title:hover {
	color: var(--vv-accent-deep) !important;
}

.th-duration,
.th-views,
.th-hd,
.th-rating,
.th-videos {
	z-index: 3;
	color: #fff !important;
	background: rgba(42, 34, 56, 0.78) !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
}

.th-duration i:before,
.th-views i:before {
	color: #fff !important;
}

.th-image > a {
	display: block;
	position: absolute;
	inset: 0;
}

.th-image img {
	z-index: 1;
}

.wrapper,
.container .title,
.thumbs {
	color: var(--vv-text);
}

.th {
	background: transparent;
}

.th-image {
	background: #e8dff3;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--vv-shadow);
}

.th-title,
.th-description,
.th-tags {
	color: var(--vv-text);
}

.sort .btn-default,
.title .btn-default {
	border: 1px solid var(--vv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vv-text);
}

.sort .btn-default:hover,
.sort .btn-default.sel,
.sort .btn-default.active,
.title .btn-default:hover,
.title .btn-default.sel,
.title .btn-default.active {
	border-color: var(--vv-accent);
	background: var(--vv-accent-soft);
	color: var(--vv-accent-deep);
}

ul.paginator {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 28px;
	padding: 0;
	list-style: none;
	clear: both;
}

ul.paginator li {
	margin: 0;
	display: inline-block;
}

ul.paginator a.btn-default {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--vv-line);
	border-radius: 10px;
	background: #fff;
	color: var(--vv-text-strong);
	font-weight: 700;
	line-height: 38px;
	box-shadow: var(--vv-shadow);
}

ul.paginator a.btn-default:hover {
	border-color: var(--vv-accent);
	background: var(--vv-accent-soft);
	color: var(--vv-accent-deep);
}

ul.paginator a.btn-default.active,
ul.paginator a.btn-default.sel {
	border-color: var(--vv-accent);
	background: var(--vv-accent);
	color: #fff;
}

.bottom-blocks {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

.footer {
	background: rgba(255, 255, 255, 0.9);
	border-top: 1px solid var(--vv-line);
	color: var(--vv-text);
}

.footer p {
	color: var(--vv-text);
}

.goup {
	background: var(--vv-accent);
}

.sidebar-nav {
	background: #fff;
	color: var(--vv-text-strong);
}

.sidebar-nav li {
	border-bottom-color: var(--vv-line);
}

.sidebar-nav .dropdown-container li a {
	color: var(--vv-text);
}

.categories li,
.sidebar-nav-title {
	border-bottom-color: var(--vv-line);
}

.categories .categories-letter {
	color: var(--vv-accent);
}

.categories a {
	color: var(--vv-text-strong);
}

.categories span {
	color: var(--vv-text);
}

/* Hide leftover Best/Latest sort toggles if any template still emits them */
.sort {
	display: none !important;
}

/* Top 20 categories under header */
.top-categories {
	border-bottom: 1px solid var(--vv-line);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(8px);
}

.top-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	width: 1256px;
	max-width: calc(100% - 24px);
	margin: 0 auto;
	padding: 12px 0 14px;
	list-style: none;
	box-sizing: border-box;
}

.top-categories-list li {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.top-categories-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--vv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vv-text-strong);
	font: 600 13px/1.2 Outfit, sans-serif;
	text-decoration: none;
	box-shadow: var(--vv-shadow);
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.top-categories-list a:hover {
	border-color: var(--vv-accent);
	color: var(--vv-accent-deep);
	background: var(--vv-accent-soft);
}

.top-categories-count {
	color: var(--vv-text);
	font-weight: 500;
	font-size: 12px;
}

.top-categories-list a:hover .top-categories-count {
	color: var(--vv-accent-deep);
}

.tag {
	background: #ebe3f5;
	color: var(--vv-text-strong);
}

.player-failure {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(42, 34, 56, 0.86);
	color: #fff;
	text-align: center;
}

.player-failure[hidden] {
	display: none !important;
}

.player-failure .player-reload-btn,
.player-failure .player-open-tab,
.player-reload-always {
	display: inline-block;
	min-width: 140px;
	padding: 8px 14px;
	border: 1px solid var(--vv-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--vv-accent-deep);
	font: 700 14px/1.2 Outfit, sans-serif;
	text-decoration: none;
	cursor: pointer;
}

.player-failure .player-reload-btn:hover,
.player-failure .player-open-tab:hover,
.player-reload-always:hover {
	background: var(--vv-accent);
	color: #fff;
}

.player-reload-always {
	display: block;
	width: 100%;
	max-width: 280px;
	margin: 10px 0 0;
	text-align: center;
	box-sizing: border-box;
}

.player-actions {
	margin: 8px 0 0;
}

.video-aside .block,
.dropdown-container {
	background: #fff;
	border-color: var(--vv-line);
}

.video-aside {
	height: auto !important;
	min-height: 250px;
	overflow: visible !important;
}

.video-aside .block {
	display: block !important;
	width: 300px;
	height: 250px;
	margin: 0 0 14px;
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.site-top-inner {
		flex-wrap: wrap;
		min-height: 60px;
	}

	.site-top .nav {
		display: none;
	}

	.search-strip .search {
		display: none;
		max-width: 100%;
	}

	.logo-slogan {
		letter-spacing: 0.06em;
	}

	.top-categories-list {
		width: 100%;
		max-width: 100%;
		padding: 10px 12px 12px;
		gap: 6px;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.top-categories-list a {
		white-space: nowrap;
	}
}

@media all and (min-width: 1340px) {
	.top-categories-list {
		width: 1320px;
	}
}

@media all and (min-width: 1670px) {
	.top-categories-list {
		width: 1650px;
	}
}

@media screen and (max-width: 1279px) {
	.top-categories-list {
		width: 986px;
	}
}

@media screen and (max-width: 985px) {
	.top-categories-list {
		width: calc(100% - 20px);
	}
}
