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

/* NeonOtaku — cyberpunk neon chrome. Loaded after /css/main.css. */

:root {
	--neon-bg: #07060d;
	--neon-surface: #100e1a;
	--neon-cyan: #2de2ff;
	--neon-magenta: #ff2bd6;
	--neon-violet: #7a5cff;
	--neon-text: #e8e6f2;
	--neon-muted: #8c85a6;
	--neon-dim: #5c5573;
	--neon-line: rgba(122, 92, 255, 0.28);
	--neon-cyan-line: rgba(45, 226, 255, 0.32);
}

html,
body {
	background: var(--neon-bg) !important;
	color: var(--neon-text) !important;
	font-family: Outfit, system-ui, sans-serif !important;
}

body {
	background-image:
		radial-gradient(circle at 50% -8%, rgba(122, 92, 255, 0.16), transparent 42%),
		radial-gradient(circle at 100% 12%, rgba(255, 43, 214, 0.07), transparent 32%),
		radial-gradient(circle at 0% 70%, rgba(45, 226, 255, 0.05), transparent 28%) !important;
	background-attachment: fixed !important;
}

a {
	color: var(--neon-text);
}

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

:focus-visible {
	outline: 2px solid var(--neon-cyan);
	outline-offset: 2px;
}

/* Stock pill nav and Best/Latest sort — removed from the chrome. */
nav.nav,
.title ul.sort,
ul.sort {
	display: none !important;
}

a.nav-toggle {
	display: none !important;
}

/* Header */
header.header,
.header {
	position: sticky;
	top: 0;
	z-index: 40;
	padding: 10px 0 !important;
	background: rgba(7, 6, 13, 0.9) !important;
	border-bottom: 1px solid var(--neon-line) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

header.header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-violet), var(--neon-magenta), transparent);
	box-shadow: 0 0 10px rgba(45, 226, 255, 0.45);
	pointer-events: none;
}

header.header > .container {
	display: flex;
	align-items: center;
	gap: 14px;
}

header.header .clearfix {
	display: contents;
}

header.header .clearfix::after {
	content: none !important;
	display: none !important;
}

a.logo,
header.header a.logo {
	position: static !important;
	top: auto !important;
	left: auto !important;
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none;
	font-family: Syne, Outfit, sans-serif !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	line-height: 1 !important;
	text-decoration: none !important;
	background: linear-gradient(120deg, var(--neon-cyan), var(--neon-violet) 48%, var(--neon-magenta));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 10px rgba(255, 43, 214, 0.45));
}

.header-lang {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-lang li {
	margin: 0;
	list-style: none;
}

select#lang_sel,
.header-lang .select {
	display: inline-block;
	width: auto;
	min-width: 108px;
	height: 34px;
	margin: 0;
	padding: 0 28px 0 12px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid var(--neon-cyan-line);
	border-radius: 999px;
	background-color: rgba(16, 14, 26, 0.92);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%232de2ff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	color: var(--neon-text);
	font-family: Outfit, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 32px;
	box-shadow: inset 0 0 8px rgba(45, 226, 255, 0.06);
	cursor: pointer;
}

select#lang_sel:hover,
.header-lang .select:hover {
	border-color: var(--neon-cyan);
	box-shadow: 0 0 12px rgba(45, 226, 255, 0.35);
}

select#lang_sel option {
	background: var(--neon-surface);
	color: var(--neon-text);
}

@media (min-width: 768px) {
	header.header .search {
		float: none;
		flex: 1 1 280px;
		max-width: 460px;
		margin-left: auto;
	}
}

.input-search {
	height: 36px !important;
	border: 1px solid var(--neon-line) !important;
	border-radius: 999px !important;
	background: rgba(16, 14, 26, 0.92) !important;
	color: #fff !important;
	font-family: Outfit, system-ui, sans-serif;
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
}

.input-search::placeholder {
	color: var(--neon-muted);
}

.input-search:focus {
	border-color: var(--neon-cyan) !important;
	box-shadow: 0 0 12px rgba(45, 226, 255, 0.3) !important;
	opacity: 1 !important;
}

.btn-search,
.search-toggle {
	color: var(--neon-cyan) !important;
}

.btn-search:hover,
.search-toggle:hover,
.search-toggle.toggled {
	color: var(--neon-magenta) !important;
	opacity: 1 !important;
}

/* Category chips */
nav.top-categories {
	background: rgba(10, 8, 18, 0.78);
	border-bottom: 1px solid var(--neon-line);
	padding: 8px 0;
}

ul.top-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.top-categories-list li {
	margin: 0;
	display: inline-flex;
}

ul.top-categories-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 1px solid var(--neon-cyan-line);
	border-radius: 999px;
	background: rgba(14, 12, 24, 0.72);
	color: var(--neon-text) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

ul.top-categories-list a:hover {
	border-color: var(--neon-cyan);
	color: #fff !important;
	box-shadow: 0 0 14px rgba(45, 226, 255, 0.32);
	transform: translateY(-1px);
}

.top-categories-count {
	color: var(--neon-muted);
	font-size: 11px;
	font-weight: 500;
}

ul.top-categories-list a:hover .top-categories-count {
	color: var(--neon-cyan);
}

/* Section title */
.title {
	margin: 18px 0 14px;
}

.title h1,
h1 {
	float: none;
	margin: 0;
	padding: 0 0 0 12px;
	border-left: 3px solid var(--neon-magenta);
	box-shadow: -4px 0 12px -4px rgba(255, 43, 214, 0.8);
	color: #fff !important;
	font-family: Syne, Outfit, sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-align: left;
}

h1 span {
	border-left: 0 !important;
	color: var(--neon-muted) !important;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 500;
}

/* Cards — keep the stock percentage grid, only the skin */
.th {
	box-sizing: border-box;
	padding: 6px;
	border: 1px solid var(--neon-cyan-line);
	border-radius: 10px;
	background: rgba(14, 12, 24, 0.72);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.th:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 43, 214, 0.55);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(255, 43, 214, 0.28);
}

.th-image {
	border-radius: 6px;
	background: #07060d !important;
}

.th-duration,
.th:hover .th-duration {
	left: 6px !important;
	bottom: 6px !important;
	height: auto !important;
	padding: 2px 7px !important;
	border: 1px solid var(--neon-cyan);
	border-radius: 999px;
	background: rgba(7, 6, 13, 0.88) !important;
	color: var(--neon-cyan) !important;
	font-family: Outfit, system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.3;
	box-shadow: 0 0 8px rgba(45, 226, 255, 0.35);
}

.th-hd,
.th:hover .th-hd {
	right: 6px !important;
	border-radius: 999px;
	background: var(--neon-magenta) !important;
	box-shadow: 0 0 10px rgba(255, 43, 214, 0.55);
}

.th-views,
.th:hover .th-views {
	right: 6px !important;
	border: 1px solid var(--neon-line);
	border-radius: 999px;
	background: rgba(7, 6, 13, 0.88) !important;
	color: var(--neon-muted) !important;
}

.th-title,
.th-description {
	color: var(--neon-text);
	font-family: Outfit, system-ui, sans-serif;
}

.th:hover .th-title,
.th:hover .th-description {
	color: var(--neon-cyan) !important;
	text-decoration: none;
}

.th-tags,
.th-tags a {
	color: var(--neon-muted) !important;
}

.th-tags a:hover {
	color: var(--neon-magenta) !important;
}

/* Pagination and leftover buttons */
.btn-default {
	border: 1px solid var(--neon-cyan-line) !important;
	border-radius: 999px !important;
	background: rgba(14, 12, 24, 0.8) !important;
	color: var(--neon-text) !important;
	font-family: Outfit, system-ui, sans-serif;
}

.btn-default:hover,
.btn-default.sel {
	border-color: var(--neon-cyan) !important;
	background: rgba(45, 226, 255, 0.1) !important;
	color: var(--neon-cyan) !important;
}

.btn-default.active {
	border-color: var(--neon-magenta) !important;
	background: var(--neon-magenta) !important;
	color: #fff !important;
	box-shadow: 0 0 14px rgba(255, 43, 214, 0.55);
}

.paginator {
	margin: 28px 0 36px !important;
}

/* Video page */
.player,
.player-container {
	border: 1px solid var(--neon-cyan-line);
	border-radius: 12px;
	background: #07060d !important;
	box-shadow: 0 0 22px rgba(255, 43, 214, 0.16);
	overflow: hidden;
}

.video-info,
.video-tags {
	color: var(--neon-text);
}

.video-container {
	width: 100% !important;
	float: none !important;
}

.video-aside,
.bottom-blocks {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	box-shadow: none !important;
}

.video-tags a,
.tag {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 3px 10px;
	border: 1px solid var(--neon-line);
	border-radius: 999px;
	background: rgba(122, 92, 255, 0.12);
	color: var(--neon-text) !important;
	text-decoration: none !important;
}

.video-tags a:hover,
.tag:hover {
	border-color: var(--neon-magenta);
	color: var(--neon-magenta) !important;
}

.categories a {
	color: var(--neon-text) !important;
}

.categories a:hover,
.categories a:hover span {
	color: var(--neon-cyan) !important;
}

.categories span {
	color: var(--neon-muted);
}

.categories .categories-letter,
.categories-letter {
	color: var(--neon-magenta) !important;
	font-family: Syne, Outfit, sans-serif;
}

/* Footer */
footer.footer,
.footer {
	background: var(--neon-bg) !important;
	border-top: 1px solid var(--neon-line) !important;
	box-shadow: inset 0 1px 0 rgba(45, 226, 255, 0.12);
	color: var(--neon-muted) !important;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
}

.footer-nav a {
	color: var(--neon-muted) !important;
	text-decoration: none;
}

.footer-nav a:hover,
.footer p a:hover {
	color: var(--neon-cyan) !important;
}

.footer p,
.footer p a {
	color: var(--neon-dim);
}

.goup {
	border: 1px solid var(--neon-cyan-line);
	border-radius: 999px;
	background: rgba(14, 12, 24, 0.92) !important;
	color: var(--neon-cyan) !important;
	box-shadow: 0 0 12px rgba(45, 226, 255, 0.28);
}

.goup:hover {
	background: var(--neon-magenta) !important;
	border-color: var(--neon-magenta);
	color: #fff !important;
	opacity: 1 !important;
}

.sidebar-nav {
	background: #090712 !important;
	border-right: 1px solid var(--neon-line);
	color: var(--neon-text);
}

.sidebar-nav-title h3 {
	color: var(--neon-cyan);
	font-family: Syne, Outfit, sans-serif;
}

.sidebar-nav a {
	color: var(--neon-muted);
}

@media screen and (max-width: 767px) {
	a.logo,
	header.header a.logo {
		font-size: 22px !important;
	}

	header.header > .container {
		flex-wrap: wrap;
	}

	.header-lang {
		margin-left: auto;
	}

	select#lang_sel,
	.header-lang .select {
		min-width: 88px;
		height: 32px;
		font-size: 12px;
	}

	nav.top-categories {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	ul.top-categories-list {
		flex-wrap: nowrap;
		width: max-content;
		padding: 0 10px;
	}

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

	.title h1,
	h1 {
		text-align: left !important;
	}
}
