:root {
	--white: #e8e6e3;
	--orange: #f60;
	--text: #bbb9b9;
	--movie: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--series: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	--header-sidebar-footer: #1a1a1a;
	--main: #1f2223;
	--block-hover: #333;
	--link: #ccc;
	--footer-text: #888;
	--rating-low: #ff3e3e;
	--rating-medium: #efa61f;
	--rating-high: #06b601;
	--black: #000;
	--links: #e0dfdc;
	--meta: #8c8b89;
	--meta2: #edcaa5;
}

@font-face {
	font-family: 'Font Awesome';
	src: url('webfonts/fa-regular-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Font Awesome';
	src: url('webfonts/fa-solid-900.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-200.woff2') format('woff2');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-300.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('webfonts/Unbounded-900.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	line-height: 1.6;
	background-color: var(--main);
	overflow-x: hidden;
	color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Unbounded', sans-serif;
	font-weight: 400;
	color: var(--white);
}

.wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main-wrapper {
	flex: 1;
	display: flex;
	margin-top: 56px;
	min-height: calc(100vh - 56px);
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 16px;
	height: 56px;
	background-color: var(--header-sidebar-footer);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--block-hover);
}

.left-section {
	display: flex;
	align-items: center;
	height: 100%;
}

.menu-icon {
	padding: 8px;
	margin-right: 16px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.2s;
	color: white;
	font-family: 'Font Awesome';
	font-weight: 900;
}

.menu-icon:hover {
	background-color: var(--block-hover);
}

.logo {
	display: flex;
	align-items: center;
	font-weight: 500;
	color: var(--white);
	height: 100%;
	text-transform: uppercase;
	position: relative;
	font-size: 24px;
	letter-spacing: 2px;
	line-height: 1;
	text-decoration: none;
	font-weight: 900;
	font-family: 'Unbounded', sans-serif;
	padding: 8px 0;
}

.logo span {
	color: var(--orange);
	font-size: 2.3em;
	position: relative;
	font-weight: 900;
	margin-right: 2px;
	line-height: 1;
}

.logo div {
	position: absolute;
	right: 0;
	top: 8px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--orange);
	height: 20px;
	display: flex;
	align-items: center;
	padding: 0 10px;
}

.center-section {
	display: flex;
	align-items: center;
	flex: 0 1 728px;
	margin: 0 40px;
}

.search-form {
	display: flex;
	flex: 1;
}

.search-input {
	flex: 1;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--block-hover);
	border-radius: 2px 0 0 2px;
	font-size: 16px;
	max-width: 575px;
	background-color: var(--header-sidebar-footer);
	color: white;
	font-family: 'Inter', sans-serif;
}

.search-button {
	height: 40px;
	width: 64px;
	border: 1px solid var(--block-hover);
	border-left: none;
	background-color: var(--block-hover);
	border-radius: 0 2px 2px 0;
	cursor: pointer;
	transition: background-color 0.2s;
	color: white;
}

.search-button:hover {
	background-color: #444;
}

.user-section {
	display: flex;
	align-items: center;
}

.icon-container {
	padding: 8px;
	margin-left: 8px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color 0.2s;
	color: white;
}

.icon-container:hover {
	background-color: var(--block-hover);
}

.user-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--orange);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-family: 'Inter', sans-serif;
}

.sidebar::-webkit-scrollbar {
	width: 6px;
}

.sidebar::-webkit-scrollbar-track {
	background: var(--header-sidebar-footer);
}

.sidebar::-webkit-scrollbar-thumb {
	background: var(--block-hover);
	border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
	background: var(--orange);
}

.sidebar::-webkit-scrollbar-thumb:active {
	background: #e55a00;
}

.sidebar {
	scrollbar-width: thin;
	scrollbar-color: var(--block-hover) var(--header-sidebar-footer);
}

.sidebar {
	width: 240px;
	background-color: var(--header-sidebar-footer);
	position: sticky;
	top: 56px;
	height: calc(100vh - 56px);
	overflow-y: auto;
	padding-top: 8px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
	z-index: 999;
	color: white;
	font-size: 13px;
	font-family: 'Inter', sans-serif;
	flex-shrink: 0;
}

.sidebar:not(.compact) {
	width: 240px;
}

.sidebar.compact {
	width: 78px;
}

.sidebar.compact .sidebar-item span {
	display: none;
}

.sidebar.compact .sidebar-section h3 {
	display: none;
}

.sidebar.compact .sidebar-icon {
	margin-right: 0;
}

.sidebar.compact .sidebar-item {
	justify-content: center;
	padding: 8px 0;
}

.sidebar-section {
	padding: 6px 0;
	border-bottom: 1px solid var(--block-hover);
}

.sidebar-section-title {
	padding: 8px 16px;
	font-size: 16px;
	color: var(--footer-text);
	text-transform: uppercase;
	font-weight: 500;
	font-family: 'Inter', sans-serif;
}

.sidebar-item {
	display: flex;
	align-items: center;
	padding: 8px 16px;
	cursor: pointer;
	transition: background-color 0.2s;
	color: white;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.2;
	font-family: 'Inter', sans-serif;
}

.sidebar-item:hover {
	background-color: var(--block-hover);
}

.sidebar-item.active {
	background-color: var(--orange);
	color: white;
}

.sidebar-icon {
	margin-right: 16px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	text-align: center;
	font-size: 14px;
	font-family: 'Font Awesome';
	font-weight: 400;
	font-style: normal;
}

main {
	flex: 1;
	padding: 14px;
	transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	min-height: calc(100vh - 56px);
	font-family: 'Inter', sans-serif;
	background-color: var(--main);
	overflow-x: hidden;
}

.category-filters {
	display: flex;
	overflow-x: auto;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--block-hover);
	scrollbar-width: thin;
	scrollbar-color: var(--block-hover) var(--header-sidebar-footer);
	gap: 8px;
}

.category-filters::-webkit-scrollbar {
	height: 6px;
}

.category-filters::-webkit-scrollbar-track {
	background: var(--header-sidebar-footer);
	border-radius: 3px;
}

.category-filters::-webkit-scrollbar-thumb {
	background: var(--block-hover);
	border-radius: 3px;
}

.category-filters::-webkit-scrollbar-thumb:hover {
	background: var(--orange);
}

.category-filter {
	padding: 4px 8px;
	margin-right: 12px;
	background-color: var(--block-hover);
	border-radius: 8px;
	white-space: nowrap;
	cursor: pointer;
	font-size: 12px;
	transition: background-color 0.2s;
	flex-shrink: 0;
	color: white;
	font-family: 'Inter', sans-serif;
}

.category-filter a {
	color: var(--meta2);
	text-decoration: none;
}

.category-filter:hover {
	background-color: #444;
}

.category-filter.active {
	color: white;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	justify-items: center;
	justify-content: space-evenly;
}

.video-card {
	cursor: pointer;
	background: var(--header-sidebar-footer);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 220px;
	flex-shrink: 0;
	position: relative;
}

.video-card a {
	text-decoration: none;
	color: var(--orange);
}

.video-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.thumbnail {
	position: relative;
	width: 100%;
	height: 300px;
	background-color: var(--block-hover);
	overflow: hidden;
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.content-type {
	position: absolute;
	top: 8px;
	left: 8px;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 4px 8px;
	font-size: 11px;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	z-index: 2;
}

.content-type.movie,
.movie {
	background: var(--movie);
}

.content-type.movie,
.movie::before {
	content: "🎬 ";
}

.content-type.series,
.series {
	background: var(--series);
}

.content-type.series,
.series::before {
	content: "📺 ";
}

.video-duration {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 4px 8px;
	font-size: 12px;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
}

.video-info {
	display: flex;
	padding: 6px;
	flex: 1;
	flex-direction: column;
	gap: 6px;
}

.video-info-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.video-title {
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.3;
	color: white;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

.channel-name {
	color: var(--footer-text);
	font-size: 12px;
	font-family: 'Inter', sans-serif;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}

.video-meta {
	color: var(--footer-text);
	font-size: 11px;
	font-family: 'Inter', sans-serif;
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}

.video-future {
	color: #3cd70b;
	font-size: 11px;
	font-family: 'Inter', sans-serif;
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
}

.video-meta-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}


.rating-meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
}

.rating-meta::before {
	content: "★";
	color: #ffd700;
	font-size: 14px;
}

.rating-low {
	color: var(--rating-low);
}

.rating-medium {
	color: var(--rating-medium);
}

.rating-high {
	color: var(--rating-high);
}

.overlay {
	position: fixed;
	top: 128px;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

footer {
	background-color: var(--header-sidebar-footer);
	padding: 20px;
	border-top: 1px solid var(--block-hover);
	margin-top: auto;
	width: 100%;
}

.footer-content {
	max-width: 1600px;
	margin: 0 auto;
}

.footer-keywords {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.footer-keyword {
	padding: 4px 8px;
	background-color: var(--block-hover);
	border-radius: 8px;
	color: white;
	text-decoration: none;
	font-size: 12px;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
	white-space: nowrap;
}

.footer-keyword:hover {
	background-color: var(--orange);
	transform: translateY(-2px);
}

.footer-bottom {
	text-align: center;
	padding-top: 10px;
	border-top: 1px solid var(--block-hover);
	color: var(--footer-text);
	font-size: 14px;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.footer-link {
	color: var(--meta2);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-link:hover {
	color: var(--orange);
}

@media (min-width: 1100px) {
	.sidebar {
		transform: translateX(0);
	}

	.sidebar.compact {
		width: 78px;
	}
}


@media (min-width: 1920px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 24px;
	}

	.video-card {
		max-width: 240px;
	}

	.thumbnail {
		height: 330px;
	}
}

@media (min-width: 1400px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
		gap: 22px;
	}

	.video-card {
		max-width: 230px;
	}

	.thumbnail {
		height: 315px;
	}
}

@media (min-width: 1100px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 12px;
	}

	.video-card {
		max-width: 220px;
	}

	.thumbnail {
		height: 320px;
	}
}

@media (max-width: 1099px) and (min-width: 768px) {
	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 10px;
	}

	.video-card {
		max-width: 220px;
	}

	.thumbnail {
		height: 320px;
	}
}

@media (max-width: 767px) {
	main {
		padding: 16px;
	}

	.video-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 10px;
	}

	.video-card {
		max-width: 220px;
	}

	.thumbnail {
		height: 330px;
	}

	.video-title {
		font-size: 14px;
	}

	.channel-name {
		font-size: 12px;
	}

	.video-meta {
		font-size: 11px;
	}
}


@media (max-width: 480px) {
	.video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.video-card {
		max-width: 100%;
	}

	.thumbnail {
		height: 240px;
	}

	main {
		padding: 12px;
	}

	.video-title {
		font-size: 13px;
		min-height: 34px;
	}

	.channel-name {
		font-size: 11px;
	}

	.video-meta {
		font-size: 10px;
	}

	main {
		padding: 12px;
	}
}

#search {
	display: none;
}


@media (max-width: 1099px) {
	.sidebar {
		position: fixed;
		top: 56px;
		left: 0;
		width: 280px;
		height: calc(100vh - 56px);
		transform: translateX(-100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 999;
	}

	.sidebar.mobile-open {
		transform: translateX(0);
		padding-bottom: 150px;
	}

	#search {
		display: block;
	}

	.main-wrapper {
		min-height: calc(100vh - 56px);
	}

	.center-section {
		margin: 0 20px;
	}

	main {
		margin-left: 0 !important;
	}
}

@media (max-width: 600px) {
	.sidebar.mobile-open {
		margin-top: 72px;
		padding-bottom: 150px;
	}
}

@media (max-width: 480px) {
	.center-section {
		margin: 0 10px;
	}

	.search-input {
		max-width: 150px;
	}

	.footer-links {
		gap: 10px;
		align-items: center;
		margin: 0;
	}

	.footer-bottom {
		padding: 0;
	}
}


.description {
	margin-bottom: 20px;
}

.description h1 {
	font-size: 24px;
	margin-bottom: 15px;
	color: var(--white);
	text-align: center;
}

.description h2 {
	font-size: 18px;
	margin: 20px 0;
	color: var(--white);
}

.description-text {
	line-height: 1.6;
	color: var(--text);
	position: relative;
	overflow: hidden;
	text-align: justify;
}

.description-text.collapsed {
	max-height: 82px;
}

.more,
.less {
	color: var(--meta2);
	text-decoration: none;
	margin-top: 10px;
	display: inline-block;
}

.more:hover,
.less:hover {
	text-decoration: underline;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0;
	width: 100%;
	flex-wrap: nowrap;
}

.section-header h2 {
	font-size: 22px;
	margin: 0;
}

.section-header h2 i {
	margin-right: 10px;
	color: #f60;
}

.view-all-btn {
	font-family: 'Unbounded', sans-serif;
	font-weight: 300;
	display: inline-flex;
	align-items: center;
	padding: 4px 6px;
	color: var(--meta2);
	text-decoration: none;
	background: var(--block-hover);
	border-radius: 6px;
	font-size: 16px;
	border: 1px solid #626262;
}

.view-all-btn i {
	margin-right: 8px;
}

.view-all-btn:hover {
	background: #444;
}

.error-hero {
	position: relative;
	background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="%23121212"/><path d="M60,60 L140,140 M140,60 L60,140" stroke="%23ff6600" stroke-width="12" stroke-linecap="round"/><circle cx="100" cy="100" r="80" fill="none" stroke="%23ff6600" stroke-width="2" stroke-dasharray="10,5"/></svg>');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.error-hero::before {
	content: "404";
	position: absolute;
	font-size: 35vw;
	font-weight: 900;
	color: rgba(255, 102, 0, 0.05);
	z-index: 0;
	font-family: 'Unbounded', sans-serif;
	animation: float 6s ease-in-out infinite;
}

.error-hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
	z-index: 1;
}

.error-content {
	text-align: center;
	position: relative;
	z-index: 2;
	padding: 40px;
	background: rgba(26, 26, 26, 0.8);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	border: 1px solid rgba(255, 102, 0, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	max-width: 600px;
	margin: 0 auto;
}

.error-code {
	font-size: 10rem;
	font-weight: 900;
	color: #ff6600;
	line-height: 1;
	margin-bottom: 20px;
	font-family: 'Unbounded', sans-serif;
	text-shadow: 0 0 30px rgba(255, 102, 0, 0.5);
	background: linear-gradient(45deg, #ff6600, #ff8c00, #ff6600);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: glow 2s ease-in-out infinite alternate;
}

.error-title {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--white);
	font-family: 'Unbounded', sans-serif;
	background: linear-gradient(45deg, #ffffff, #e8e6e3);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.error-message {
	font-size: 1.3rem;
	line-height: 1.6;
	max-width: 500px;
	margin: 0 auto 30px;
	color: var(--text);
	font-weight: 300;
}

.error-actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin: 30px 0 20px;
}

.error-btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	background: linear-gradient(135deg, #ff6600, #e55a00);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	font-size: 16px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.error-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.error-btn:hover::before {
	left: 100%;
}

.error-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
	background: linear-gradient(135deg, #ff8c00, #ff6600);
}

.error-btn.secondary {
	background: transparent;
	border: 2px solid #ff6600;
	color: #ff6600;
	box-shadow: none;
}

.error-btn.secondary:hover {
	background: rgba(255, 102, 0, 0.1);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 102, 0, 0.2);
}

.error-btn i {
	margin-right: 8px;
	font-size: 18px;
}

.error-search {
	margin: 30px auto;
	max-width: 500px;
}

.search-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

.search-suggestion {
	padding: 6px 12px;
	background: rgba(255, 102, 0, 0.1);
	border: 1px solid rgba(255, 102, 0, 0.3);
	border-radius: 20px;
	color: #ff6600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.search-suggestion:hover {
	background: rgba(255, 102, 0, 0.2);
	transform: scale(1.05);
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

@keyframes glow {
	from {
		text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
	}

	to {
		text-shadow: 0 0 30px rgba(255, 102, 0, 0.8), 0 0 40px rgba(255, 102, 0, 0.6);
	}
}

.error-content {
	animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.footer-keywords {
		gap: 8px;
		margin-bottom: 10px;
	}

	.footer-keyword {
		font-size: 10px;
	}

	.error-content {
		padding: 30px 20px;
		margin: 20px;
	}

	.error-code {
		font-size: 6rem;
	}

	.error-title {
		font-size: 2rem;
	}

	.error-message {
		font-size: 1.1rem;
	}

	.error-actions {
		flex-direction: column;
		gap: 15px;
	}

	.error-btn {
		width: 100%;
		justify-content: center;
	}

	.featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.error-code {
		font-size: 4rem;
	}

	.error-title {
		font-size: 1.5rem;
	}

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

.movie-detail-page {
	margin: 0 auto;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 10px;
    display: block; 
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 0; 
    line-height: 1.5;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}

.breadcrumbs a {
    color: var(--links);
    text-decoration: underline;
    transition: color 0.2s;
    white-space: normal; 
    display: inline;
}

.breadcrumbs a:hover {
    color: var(--orange);
}

.breadcrumbs span[itemprop="name"] {
    display: inline;
}

.breadcrumbs i {
    margin: 0 10px;
    font-size: 12px;
    color: #888;
    flex-shrink: 0;
}

.movie-header {
	display: flex;
	flex-direction: column;
}

.movie-title {
	font-size: 28px;
	margin-bottom: 10px;
	color: var(--white);
	display: flex;
	align-items: center;
}

.movie-title i {
	color: #ffd700;
	margin-right: 10px;
	font-size: 24px;
}

.movie-meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.poster-column {
	flex: 0 0 200px;
}

.movie-poster {
	width: 100%;
	height: auto;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.info-column {
	flex: 1;
	min-width: 300px;
}

.inline-ratings {
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
}

.rating-block {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 4px;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
}

.imdb-rating {
	background-color: rgba(245, 197, 24, 0.15);
	border: 1px solid #f5c518;
}

.tmdb-rating {
	background-color: rgba(1, 180, 228, 0.15);
	border: 1px solid #01b4e4;
}

.rating-icon {
	width: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rating-icon img {
	width: 100%;
	height: auto;
}

.rating-value {
	font-size: 16px;
	font-weight: 600;
}

.meta-row {
	display: flex;
	margin-bottom: 10px;
	line-height: 1.4;
}

.meta-label {
	font-weight: 500;
	color: var(--meta);
	min-width: 130px;
	margin-right: 15px;
	flex-shrink: 0;
}

.meta-value {
	color: var(--white);
}

.meta-value a {
	color: var(--meta2);
	text-decoration: underline;
	transition: color 0.2s;
	margin-right: 5px;
}

.meta-value a:hover {
	color: var(--orange);
}

.movie-description {
	margin-bottom: 10px;
}

.movie-description h2 {
	font-size: 22px;
	margin-bottom: 15px;
	color: var(--white);
}

.description-text {
	line-height: 1.6;
	color: var(--text);
	text-align: justify;
}


@media (max-width: 768px) {
	.movie-meta {
		flex-direction: column;
		gap: 0;
	}

	.user-section {
		display: none;
	}

	.poster-column {
		align-self: center;
	}

	.movie-title {
		font-size: 22px;
	}

	.inline-ratings {
		justify-content: space-between;
	}

	.rating-block {
		flex: 1;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.section-header {
		margin: 0 0 10px 0;
	}

	.section-header h2 {
		font-size: 1.3rem;
	}

	.movie-title {
		font-size: 20px;
	}

	.meta-row {
		margin-bottom: 4px;
		min-width: 86px;
		display: block;
	}

	.meta-label {
		min-width: auto;
		margin-bottom: 4px;
	}
}


.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 30px;
	padding: 4px;
}

.social-icon:hover {
	transform: scale(1.2);
}

.vk-icon {
	color: #4C75A3;
}

.vk-icon:hover {
	color: #5b88bd;
}

.telegram-icon {
	color: #0088cc;
}

.telegram-icon:hover {
	color: #00a2ff;
}

.instagram-icon {
	background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.instagram-icon:hover {
	background: linear-gradient(45deg, #5065f0, #6962e6, #9548c9, #d43d95, #f1427e, #ff3838);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


.pagination {
	max-width: 1800px;
	margin: 30px auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
}

.from {
	padding: 4px 8px;
	margin: 0 5px;
	background: var(--orange);
	color: var(--white);
	text-decoration: none;
}

.pagination a {
	padding: 4px 16px;
	margin: 0 5px;
	transition: background-color 0.3s;
	background: var(--header-sidebar-footer);
	color: var(--white);
	text-decoration: none;
}

.pagination a.active,
.pagination a:hover {
	background: var(--orange);
	color: var(--white);
	text-decoration: none;
}

.player-container {
	margin-bottom: 40px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	position: relative;
	background: #000;
}

.player-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.video-player {
	position: relative;
	width: 100%;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	background-color: #000;
	overflow: hidden;
}

.video-player img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.player-link:hover .video-player img {
	transform: scale(1.02);
}

.youtube-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	transition: all 0.3s ease;
	z-index: 10;
}

.youtube-play-button {
	width: 80px;
	height: 80px;
	background: var(--orange);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
}

.youtube-play-button i {
	color: white;
	font-size: 32px;
	margin-left: 4px;
}

.player-link:hover .youtube-play-button {
	transform: scale(1.1);
	background: var(--orange);
	box-shadow: 0 6px 25px rgba(255, 87, 34, 0.4);
}

.youtube-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	padding: 20px 16px 12px;
	display: flex;
	align-items: center;
	opacity: 1;
	transition: opacity 0.3s ease;
	z-index: 5;
}

.player-link:hover .youtube-controls {
	opacity: 1;
}

.progress-bar-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	cursor: pointer;
}

.progress-bar {
	height: 100%;
	background: #ff0000;
	width: 2%;
	position: relative;
}

.progress-bar::after {
	content: '';
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: #ff0000;
	border-radius: 50%;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.player-link:hover .progress-bar::after {
	opacity: 1;
}

.controls-main {
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
}

.left-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.right-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.control-button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.control-button:hover {
	background: rgba(255, 255, 255, 0.1);
}

.control-button i {
	font-size: 20px;
}

.play-pause-btn {
	background: rgba(255, 255, 255, 0.1);
}

.play-pause-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.volume-container {
	display: flex;
	align-items: center;
	gap: 8px;
}

.volume-slider {
	width: 80px;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	position: relative;
	cursor: pointer;
}

.volume-level {
	position: absolute;
	height: 100%;
	background: white;
	border-radius: 2px;
	width: 70%;
}

.time-display {
	color: white;
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	margin: 0 8px;
}

.video-title-overlay {
	position: absolute;
	top: 16px;
	left: 16px;
	color: white;
	font-size: 16px;
	font-weight: 500;
	background: rgba(0, 0, 0, 0.7);
	padding: 8px 12px;
	border-radius: 4px;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.player-link:hover .video-title-overlay {
	opacity: 1;
}

@media (max-width: 768px) {
	.section-header {
		margin: 10px 0;
		display: flex;
	}

	.from {
		display: none;
	}

	.section-header h2,
	.view-all-btn {
		font-size: 0.9rem;
	}

	.youtube-play-button {
		width: 70px;
		height: 70px;
	}

	.youtube-play-button i {
		font-size: 28px;
	}

	.control-button i {
		font-size: 18px;
	}

	.volume-slider {
		width: 60px;
	}
}

@media (max-width: 480px) {
	.youtube-play-button {
		width: 60px;
		height: 60px;
	}

	.youtube-play-button i {
		font-size: 24px;
	}

	.youtube-controls {
		padding: 16px 12px 8px;
	}

	.control-button {
		padding: 6px;
	}

	.control-button i {
		font-size: 16px;
	}

	.volume-slider {
		width: 50px;
	}

	.time-display {
		font-size: 12px;
	}
}

@media (max-width: 600px) {
	.main-wrapper {
		min-height: calc(100vh - 220px);
		margin-top: 128px;
	}

	.video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.video-card {
		max-width: 100%;
		max-width: 220px;
	}

	.thumbnail {
		height: 330px;
	}

	header {
		flex-wrap: wrap;
		height: auto;
		min-height: 128px;
		padding: 8px;
	}

	.left-section {
		width: 100%;
		justify-content: left;
		order: 1;
	}

	.center-section {
		order: 3;
		margin: 0 10px;
	}

	.search-form {
		max-width: 100%;
	}

	.search-input {
		max-width: 100%;
	}

	.user-section {
		order: 2;
		margin-left: auto;
	}
}

@media (max-width: 360px) {
	.section-header {
		margin: 0 0 10px 0;
	}

	.section-header h2,
	.view-all-btn {
		font-size: 0.7rem;
	}

	.video-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.video-card {
		max-width: 280px;
		margin: 0 auto;
	}

	.thumbnail {
		height: 360px;
	}
}

.popular {
	gap: 10px;
	display: flex;
}

.collections-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	gap: 10px;
	justify-items: center;
	justify-content: space-evenly;
}

.collection-card {
	cursor: pointer;
	background: var(--header-sidebar-footer);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	width: 100%;
	/*max-width: 285px;*/
	flex-shrink: 0;
	position: relative;
}

.collection-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.collection-card a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.collection-thumbnail {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	background-color: var(--block-hover);
	overflow: hidden;
}

.collection-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.collection-info {
	display: flex;
	padding: 6px;
	flex: 1;
	flex-direction: column;
	gap: 6px;
}

.collection-title {
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.3;
	color: white;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

.collection-count {
	color: var(--footer-text);
	font-size: 12px;
	font-family: 'Inter', sans-serif;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}

.carousel-container {
	position: relative;
	overflow: hidden;
}

.carousel-wrapper {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	max-width: 100%;
}

.carousel-track {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	transition: transform 0.6s ease-in-out;
	will-change: transform;
}

.carousel-track .video-card {
	flex: 0 0 auto;
}

@media (max-width: 1200px) {
	.carousel-track .video-card {
		width: 220px;
		min-width: 220px;
	}
}

@media (max-width: 768px) {
	.carousel-track .video-card {
		width: 220px;
		min-width: 220px;
	}

	.carousel-container {
		padding: 0 5px;
	}
}

@media (max-width: 480px) {
	.carousel-track .video-card {
		width: 220px;
		min-width: 220px;
	}
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(26, 26, 26, 0.9);
	border: 2px solid var(--orange);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	opacity: 0;
	font-size: 18px;
}

.carousel-container:hover .carousel-btn {
	opacity: 1;
}

.carousel-btn:hover {
	background: var(--orange);
	transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
	left: 10px;
}

.carousel-next {
	right: 10px;
}

.top100-container {
	margin: 0 auto;
}

.top100-tabs {
	display: flex;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--block-hover);
}

.top100-tab {
	padding: 12px 24px;
	cursor: pointer;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	color: var(--text);
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
}

.top100-tab.active {
	color: var(--orange);
	border-bottom-color: var(--orange);
}

.top100-tab:hover {
	color: var(--white);
}

.top100-content {
	display: none;
}

.top100-content.active {
	display: block;
}

.top100-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 10px;
}

.top100-item {
	display: flex;
	background-color: var(--header-sidebar-footer);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

.top100-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.top100-item-link:hover .top100-item {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.top100-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.top100-rank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	background: var(--orange);
	color: var(--white);
	font-family: 'Unbounded', sans-serif;
	font-weight: 700;
	font-size: 20px;
	flex-shrink: 0;
}

.top100-poster {
	width: 80px;
	height: 120px;
	flex-shrink: 0;
}

.top100-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.top100-info {
	flex: 1;
	padding: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.top100-title {
	font-weight: 500;
	color: var(--white);
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.top100-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.top100-year {
	color: var(--text);
}

.top100-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--rating-high);
	font-weight: 500;
}

.top100-rating::before {
	content: "★";
	color: #ffd700;
}

.top100-type {
	position: absolute;
	top: 8px;
	right: 8px;
}

.top100-item-wrapper {
	position: relative;
	display: flex;
	flex: 1;
}

@media (max-width: 768px) {
	.top100-grid {
		grid-template-columns: 1fr;
	}

	.top100-tabs {
		flex-wrap: wrap;
	}

	.top100-tab {
		padding: 8px 16px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.top100-rank {
		width: 50px;
		font-size: 18px;
	}

	.top100-poster {
		width: 70px;
		height: 105px;
	}

	.top100-info {
		padding: 8px;
	}

	.top100-title {
		font-size: 14px;
	}
}

.contact {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.contact hgroup {
	text-align: center;
	margin-bottom: 30px;
	color: var(--text);
	font-size: 16px;
	line-height: 1.6;
}

.contact-form {
	background: var(--header-sidebar-footer);
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	border: 1px solid var(--block-hover);
}

.contact-form fieldset {
	border: none;
	margin-bottom: 20px;
	padding: 0;
}

.contact-form label {
	display: block;
	margin-bottom: 8px;
	color: var(--white);
	font-weight: 500;
	font-size: 14px;
}

.contact-form p {
	color: var(--text);
	font-size: 12px;
	margin-bottom: 8px;
	line-height: 1.4;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	background: var(--main);
	border: 1px solid var(--block-hover);
	border-radius: 8px;
	color: var(--white);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.5;
}

.contact-form input[type="submit"] {
	background: linear-gradient(135deg, var(--orange), #e55a00);
	color: white;
	border: none;
	padding: 14px 32px;
	border-radius: 8px;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	margin-top: 10px;
}

.contact-form input[type="submit"]:hover {
	background: linear-gradient(135deg, #ff8c00, var(--orange));
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.contact-form input[type="submit"]:active {
	transform: translateY(0);
}

.form-row {
	display: flex;
	gap: 15px;
}

.form-row fieldset {
	flex: 1;
}

#contact-response-message {
	text-align: center;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 500;
}

#contact-response-message.success {
	background: rgba(6, 182, 1, 0.15);
	border: 1px solid var(--rating-high);
	color: var(--rating-high);
}

#contact-response-message.error {
	background: rgba(255, 62, 62, 0.15);
	border: 1px solid var(--rating-low);
	color: var(--rating-low);
}

#contact-response-message.info {
	background: rgba(239, 166, 31, 0.15);
	border: 1px solid var(--rating-medium);
	color: var(--rating-medium);
}

.notice {
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	font-weight: 500;
	margin: 20px 0;
}

.notice.error {
	background: rgba(255, 62, 62, 0.15);
	border: 1px solid var(--rating-low);
	color: var(--rating-low);
}

.notice.success {
	background: rgba(6, 182, 1, 0.15);
	border: 1px solid var(--rating-high);
	color: var(--rating-high);
}

.contact-form input,
.contact-form textarea {
	animation: slideUp 0.5s ease-out;
}

.contact-form fieldset {
	animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.contact-form input[type="submit"].loading {
	position: relative;
	color: transparent;
}

.contact-form input[type="submit"].loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid transparent;
	border-top: 2px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@media (max-width: 768px) {
	.contact {
		padding: 15px;
	}

	.contact-form {
		padding: 20px;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.contact hgroup {
		font-size: 14px;
		margin-bottom: 20px;
	}
}

@media (max-width: 480px) {
	.contact {
		padding: 10px;
	}

	.contact-form {
		padding: 15px;
	}

	.contact-form input[type="text"],
	.contact-form input[type="email"],
	.contact-form textarea {
		padding: 10px 12px;
		font-size: 13px;
	}

	.contact-form input[type="submit"] {
		padding: 12px 24px;
		font-size: 14px;
	}
}

.contact-form input:invalid:not(:focus):not(:placeholder-shown),
.contact-form textarea:invalid:not(:focus):not(:placeholder-shown) {
	border-color: var(--rating-low);
	background: rgba(255, 62, 62, 0.05);
}

.contact-form input:valid:not(:focus):not(:placeholder-shown),
.contact-form textarea:valid:not(:focus):not(:placeholder-shown) {
	border-color: var(--rating-high);
	background: rgba(6, 182, 1, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: var(--text);
	opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.contact-form input:hover:not(:focus),
.contact-form textarea:hover:not(:focus) {
	border-color: #444;
}

.tabs-container {
	width: 100%;
}

.tabs-header {
	display: flex;
	border-bottom: 2px solid var(--block-hover);
	margin-bottom: 20px;
}

.tab-button {
	background: none;
	border: none;
	padding: 12px 24px;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
	font-size: 16px;
}

.tab-button:hover {
	color: var(--white);
	background: rgba(255, 102, 0, 0.1);
}

.tab-button.active {
	color: var(--orange);
	border-bottom-color: var(--orange);
	background: rgba(255, 102, 0, 0.05);
}

.tabs-content {
	position: relative;
}

.tab-panel {
	display: none;
}

.tab-panel.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.search-results-page {
	margin: 0 auto;
}

.search-header {
	text-align: center;
}

.search-query {
	font-size: 28px;
	color: var(--white);
	margin-bottom: 10px;
	font-family: 'Unbounded', sans-serif;
}

.search-count {
	color: var(--text);
	font-size: 16px;
}


.no-results {
	text-align: center;
	padding: 60px 20px;
}

.no-results-icon {
	font-size: 80px;
	color: var(--orange);
	margin-bottom: 20px;
}

.no-results-title {
	font-size: 24px;
	color: var(--white);
	margin-bottom: 15px;
	font-family: 'Unbounded', sans-serif;
}

.no-results-message {
	color: var(--text);
	font-size: 16px;
	max-width: 500px;
	margin: 0 auto 30px;
	line-height: 1.6;
}

.search-suggestions-alt {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 30px;
}

.search-suggestion-alt {
	padding: 8px 16px;
	background: rgba(255, 102, 0, 0.1);
	border: 1px solid rgba(255, 102, 0, 0.3);
	border-radius: 20px;
	color: #ff6600;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 14px;
}

.search-suggestion-alt:hover {
	background: rgba(255, 102, 0, 0.2);
	transform: translateY(-2px);
}

.results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.pagination-search {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.pagination-search a {
	padding: 8px 16px;
	background: var(--header-sidebar-footer);
	color: var(--white);
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.3s ease;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
}

.pagination-search a.active,
.pagination-search a:hover {
	background: var(--orange);
	color: var(--white);
}

.pagination-search .disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.page-info {
	color: var(--text);
	font-size: 14px;
}

/* Адаптивность для страницы поиска */
@media (max-width: 768px) {
	.search-results-page {
		padding: 15px;
	}

	.search-query {
		font-size: 22px;
	}

	.results-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 15px;
	}

	.no-results-icon {
		font-size: 60px;
	}

	.no-results-title {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.search-results-page {
		padding: 10px;
	}

	.search-query {
		font-size: 18px;
	}

	.results-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}


	.pagination-search {
		gap: 8px;
	}

	.pagination-search a {
		padding: 6px 12px;
		font-size: 14px;
	}
}

.selection-title-overlay {
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: white;
	font-size: 14px;
	font-weight: 500;
	background: rgb(213 207 207 / 70%);
	padding: 4px 6px;
	border-radius: 2px;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.future-date {
	background: var(--orange);
	border-radius: 4px;
	color: var(--white);
	padding: 4px 8px;
}

@media (max-width: 768px) {
	.future-date {
		display: block;
		text-align: center;
		width: 100%;
		margin: 10px 0;
	}
}

/* Стили для выделения текущего дня в Advent-календаре */
.future-date.current-day {
	background: var(--white) !important;
	color: var(--orange) !important;
	border: 2px solid var(--orange);
	font-weight: bold;
	box-shadow: 0 0 10px rgba(246, 102, 0, 0.8);
}


.premiere-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	background: #333;
	border: 1px solid #333;
	margin-top: 20px;
}

.day-column {
	background: #1a1a1a;
	display: flex;
	flex-direction: column;
}

.day-header {
	background: #252525;
	border-bottom: 1px solid #333;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.day-name {
	font-weight: bold;
	color: #bbb;
	font-size: 13px;
	text-transform: uppercase;
}

.day-date {
	display: block;
	color: #888;
	font-size: 11px;
}

.day-column.is-today {
	border: 1px solid var(--orange);
	z-index: 5;
}

.is-today .day-header {
	background: var(--orange);
}

.is-today .day-name,
.is-today .day-date {
	color: #fff;
}

.today-label {
	display: block;
	font-size: 10px;
	margin-top: 3px;
	font-weight: bold;
	color: #fff;
}

.day-content {
	padding: 5px;
}

.episode-card {
	display: block;
	background: #222;
	padding: 10px 8px;
	margin-bottom: 6px;
	border-radius: 4px;
	border-left: 3px solid #444;
	text-decoration: none !important;
	transition: background-color 0.2s ease;
}

.episode-card:hover {
	background-color: var(--block-hover);
	border-left-color: var(--orange);
}

.serial-title {
	display: block;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 3px;
}

.episode-meta {
	display: block;
	color: #777;
	font-size: 10px;
	text-transform: lowercase;
}

.no-episodes {
	text-align: center;
	color: #444;
	padding: 20px 5px;
	font-size: 11px;
	text-transform: uppercase;
}

@media (max-width: 1200px) {
	.premiere-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.premiere-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.premiere-grid {
		grid-template-columns: 1fr;
	}
}

.premiere-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.premiere-navigation .current-month {
	font-weight: bold;
	font-size: 1.2em;
	text-transform: capitalize;
}

.premiere-navigation .nav-month {
	text-decoration: none;
	color: var(--meta2);
	font-size: 0.9em;
	transition: color 0.2s;
	text-transform: capitalize;
}

.premiere-navigation .nav-month:hover {
	color: var(--orange);
}

.top-actors-section {
	margin: 20px 0;
}

.top-actors-section .section-header {
	margin: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-actors-scroll-wrapper {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 15px 0 10px 0;
	scrollbar-width: thin;
	scrollbar-color: var(--block-hover) var(--header-sidebar-footer);
}

.top-actors-scroll-wrapper::-webkit-scrollbar {
	height: 4px;
}

.top-actors-scroll-wrapper::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
}

.top-actors-scroll-wrapper::-webkit-scrollbar-thumb {
	background: var(--orange);
	border-radius: 10px;
}

.top-actors-grid {
	display: flex;
	gap: 15px;
	min-width: max-content;
}

.top-actor-item {
	width: 100px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	transition: transform .2s ease;
}

.top-actor-item:hover {
	transform: translateY(-5px);
}

.actor-avatar {
	width: 85px;
	height: 85px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 8px;
	background: #1a1a1a;
	transition: border-color .3s;
}

.top-actor-item:hover .actor-avatar {
	border-color: var(--orange);
}

.actor-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.actor-mini-name {
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 100%;
}

@media (max-width: 480px) {
	.top-actors-grid {
		gap: 10px;
	}

	.top-actor-item {
		width: 80px;
	}

	.actor-avatar {
		width: 70px;
		height: 70px;
	}

	.actor-mini-name {
		font-size: 11px;
	}
}

.top-actors-section .section-header {
	margin: 0;
}

.sidebar-section.collapsible-section .sidebar-section-title {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.2s;
}

.sidebar-section.collapsible-section .sidebar-section-title:hover {
	color: var(--white);
}

.sidebar-section.collapsible-section .sidebar-section-title i {
	font-size: 12px;
	transition: transform 0.3s ease;
}

.sidebar-section-title.active i {
	transform: rotate(180deg);
	color: var(--orange);
}

.sidebar-menu-container.hidden-content {
	display: none;
	padding-bottom: 10px;
}

.sidebar-menu-container.visible {
	display: block;
	animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}


.actor-profile-hero {
	display: flex;
	gap: 10px;
	background: var(--header-sidebar-footer);
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid var(--block-hover);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	align-items: flex-start;
}

.actor-profile-image {
	position: relative;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.actor-profile-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border: 1px solid var(--block-hover);
}

.actor-profile-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Стили для заголовка и рейтинга */
.actor-header-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
	flex-wrap: wrap;
	gap: 10px;
}

.actor-name {
	font-family: 'Unbounded', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--white);
	line-height: 1.2;
	margin: 0;
}

.actor-popularity-val {
	background: #46b450;
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.actor-dates-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.actor-date-item {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.05);
	padding: 6px 12px;
}

.actor-date-item .label {
	color: var(--meta);
	font-weight: 500;
}

.actor-date-item .value {
	color: var(--orange);
	font-weight: 600;
}

.actor-date-item.death .value {
	color: var(--rating-low);
}

/* Стили для блока псевдонимов */
.actor-aka-block {
	margin-bottom: 15px;
	font-size: 13px;
	color: var(--meta);
	line-height: 1.4;
	background: rgba(0, 0, 0, 0.1);
	padding: 10px;
	border-radius: 4px;
	border-left: 3px solid var(--orange);
}

.actor-aka-title {
	font-weight: bold;
	color: var(--white);
	margin-bottom: 4px;
	display: block;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
}

.actor-bio-text {
	font-family: 'Inter', sans-serif;
	color: var(--text);
	font-size: 15px;
	line-height: 1.7;
	text-align: left;
}

@media (max-width: 900px) {
	.actor-profile-hero {
		padding: 10px;
	}

	.actor-profile-image {}

	.actor-name {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.actor-profile-hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.actor-profile-image {
		flex: 0 0 auto;
	}

	.actor-dates-row {
		justify-content: center;
	}

	.actor-bio-text {
		text-align: justify;
	}

	.actor-header-flex {
		justify-content: center;
	}
}

.is-deceased .thumbnail::before,
.is-deceased .actor-profile-image::before {
	content: "";
	position: absolute;
	top: 18px;
	right: -20px;
	width: 86px;
	height: 16px;
	background: #000;
	transform: rotate(45deg);
	z-index: 11;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


.actor-filters-container {
	background: var(--header-sidebar-footer);
	padding: 10px;
	border: 1px solid var(--block-hover);
	border-radius: 4px;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.actor-alphabet-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.letter-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--white);
	text-decoration: none;
	font-weight: bold;
	font-size: 13px;
	border-radius: 4px;
	transition: 0.2s;
	border: 1px solid transparent;
}

.letter-btn:hover,
.meta-filter-btn:hover {
	background: var(--block-hover);
	color: var(--orange);
}

.letter-btn.active,
.meta-filter-btn.active {
	background: var(--orange);
	color: #fff;
}

.letter-btn.reset-btn {
	width: auto;
	padding: 0 12px;
}

.actor-meta-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 10px;
	align-items: center;
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.filter-group label {
	font-size: 12px;
	color: var(--meta);
	font-weight: 600;
	text-transform: uppercase;
	width: 100%;
}

.meta-filter-btn {
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--white);
	text-decoration: none;
	font-size: 12px;
	border-radius: 4px;
	transition: 0.2s;
	display: flex;
	align-items: center;
	gap: 5px;
}


#toggle-alphabet {
	display: none;
}

.alphabet-toggle-label {
	display: none;
	justify-content: center;
	align-items: center;
	padding: 10px;
	background: var(--block-hover);
	color: var(--white);
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
}

@media (max-width: 768px) {
	.alphabet-toggle-label {
		display: flex;
		gap: 10px;
	}

	.actor-alphabet-filter {
		display: none;
		background: rgba(0, 0, 0, 0.2);
		padding: 10px;
		border-radius: 4px;
	}

	#toggle-alphabet:checked~.actor-alphabet-filter {
		display: flex;
	}

	.letter-btn {
		width: 28px;
		height: 28px;
		font-size: 11px;
	}

	.meta-filter-btn {
		flex: 1 1 auto;
		justify-content: center;
		font-size: 11px;
	}

	.filter-group {
		width: 100%;
	}
}

.actor-card .thumbnail img {
	aspect-ratio: 2/3;
	object-fit: cover;
}

.actor-card .popularity-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #46b450;
	color: #fff;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	z-index: 12;
	display: flex;
	align-items: center;
	gap: 4px;
}

.actor-card .voice-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #0073aa;
	color: #fff;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	z-index: 12;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 20px 0;
	flex-wrap: wrap;
}

.is-deceased .thumbnail::before {
	content: "";
	position: absolute;
	top: 18px;
	right: -20px;
	width: 86px;
	height: 16px;
	background: #000;
	transform: rotate(45deg);
	z-index: 11;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
	margin-bottom: 40px;
}

.pagination a,
.pagination span {
	padding: 8px 16px;
	background: var(--header-sidebar-footer);
	color: var(--white);
	border-radius: 4px;
	text-decoration: none;
	border: 1px solid var(--block-hover);
}

.pagination span.current {
	background: var(--orange);
	border-color: var(--orange);
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.filter-group label {
	font-size: 12px;
	color: var(--meta);
	font-weight: 600;
	text-transform: uppercase;
	width: 100%;
}


.reset-group {
	margin-left: auto;
}


@media (max-width: 768px) {
	.actor-filters-container {
		padding: 10px;
		gap: 10px;
	}

	.filter-group {
		width: 100%;
	}

	.reset-group {
		margin-left: 0;
		width: 100%;
	}
}

.caramel-banner {
	margin: 0 auto;
}


/* ==========================================================================
   NETFLIX GRID & CARDS (Для страниц тегов и архивов)
   ========================================================================== */

.nf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 15px;
	margin-top: 10px;
}

@media screen and (min-width: 1400px) {
	.nf-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.nf-grid {
		gap: 10px;
	}
}


.nf-card {
	display: flex;
	gap: 10px;
	padding: 10px;
	background: var(--header-sidebar-footer);
	border: 1px solid var(--block-hover);
	text-decoration: none;
	color: var(--white);
	transition: 0.2s;
}

.nf-card:hover {
	border-color: var(--orange);
	background: var(--main);
}


.nf-poster {
	width: 120px;
	min-width: 120px;
	height: 180px;
	overflow: hidden;
	position: relative;
	background: #000;
}

.nf-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}

.nf-card:hover .nf-poster img {
	transform: scale(1.05);
}

.nf-ratings {
	position: absolute;
	right: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 2;
}

.nf-ratings span {
	display: block;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
}

.nf-ratings .imdb {
	background: #f5c518;
	color: #000;
}

.nf-ratings .tmdb {
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid #01b4e4;
	color: #fff;
}

/* Текстовый блок карточки */
.nf-details {
	flex-grow: 1;
	position: relative;
	overflow: hidden;
	min-width: 0;
}

.nf-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.25;
	padding-right: 45px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 2.5em;
}

.nf-orig-title {
	font-size: 11px;
	color: var(--meta);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 4px;
}

.nf-meta {
	font-size: 12px;
	color: var(--orange);
	font-weight: 600;
}

.nf-subgenre {
	font-size: 11px;
	color: var(--meta);
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 2px;
}

.nf-description {
	font-size: 13px;
	color: var(--text);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 5px;
}

.dt-class-grid {
	display: flex;
	flex-direction: column;
	background: var(--header-sidebar-footer);
	border: 1px solid #333;
	overflow: hidden;
}

.dt-class-grid-head {
	display: grid;
	grid-template-columns: 1.2fr 1.5fr 1.2fr 1.2fr 1.2fr;
	background: #252525;
	border-bottom: 1px solid #333;
	padding: 10px;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
	color: #bbb;
	font-size: 13px;
}

.dt-class-h-item {
	letter-spacing: 1px;
}

.dt-class-grid-row {
	display: grid;
	grid-template-columns: 1.2fr 1.5fr 1.2fr 1.2fr 1.2fr;
	border-bottom: 1px solid #252525;
}

.dt-class-grid-cell {
	padding: 10px;
	font-size: 14px;
	color: var(--text);
	line-height: 1.4;
	border-right: 1px solid #333;
	display: flex;
	align-items: center;
}

.dt-class-grid-cell.genre-name {
	background: rgba(0, 0, 0, 0.2);
	color: var(--white);
	gap: 10px;
}

.dt-class-grid-footer {
	grid-column: 1 / -1;
}

.dt-class-btn-full-width {
	display: block;
	width: 100%;
	padding: 10px;
	text-align: left;
	font-size: 14px;
	transition: 0.3s;
	color: var(--meta2);
	text-decoration: none;
	background: var(--block-hover);
}

.dt-class-btn-full-width:hover {
	background: #444;
}

.dt-class-details-section h3 {
	font-size: 18px;
	margin: 10px 0;
	color: var(--white);
}

.dt-class-details-section p {
	color: var(--text);
	margin-bottom: 15px;
}

.dt-class-details-section a {
	color: var(--orange);
	text-decoration: none;
	font-size: 12px;
	font-family: 'Inter', sans-serif;
}

.dt-class-details-section a:hover {
	text-decoration: underline;
}

@media (max-width: 950px) {
	.dt-class-grid-head {
		display: none;
	}

	.dt-class-grid-row {
		grid-template-columns: 1fr;
	}

	.dt-class-grid-cell {
		border-right: none;
		padding: 10x;
	}

	.dt-class-grid-cell:before {
		content: attr(data-label);
		font-weight: 700;
		color: var(--orange);
		width: 110px;
		min-width: 110px;
		font-size: 10px;
		text-transform: uppercase;
		display: inline-block;
	}

	.genre-name {
		background: var(--orange) !important;
		color: #000 !important;
		font-size: 16px;
		padding: 12px 15px;
	}

	.genre-name:before {
		display: none;
	}
}


.content-stats .sidebar-item.no-hover:hover {
	background-color: transparent;
	cursor: default;
}

.content-stats strong {
	color: var(--orange);
	margin-left: 5px;
}

.header-birthday-block {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	padding: 0 15px;
	font-size: 13px;
}

.header-birthday-block .b-label {
	color: var(--footer-text);
	font-weight: 400;
}

.header-birthday-block .b-link {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 10px;
	color: var(--white);
	text-decoration: none;
	font-weight: 600;
	transition: 0.3s;
}

.header-birthday-block .b-actor-name {
	border-bottom: 1px solid transparent;
}

.header-birthday-block .b-link:hover .b-actor-name {
	color: var(--orange);
	border-bottom: 1px solid var(--orange);
}

.b-actor-avatar {
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 50%;
	border: 2px solid var(--orange);
	box-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
}

.b-actor-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1099px) {
	.header-birthday-block {
		display: none !important;
	}
}

@media (max-width: 768px) {
	#header {
		flex-wrap: wrap;
		justify-content: center;
	}
}


.blog-article {
	background: var(--header-sidebar-footer);
	padding: 10px;
	border: 1px solid var(--block-hover);
	margin-bottom: 30px;
}

.article-content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text);
}

.article-content p {
	margin-bottom: 10px;
}

.article-content h2 {
	color: var(--white);
	font-size: 22px;
	margin: 35px 0 15px 0;
	border-left: 4px solid var(--orange);
	padding-left: 15px;
	font-family: 'Unbounded', sans-serif;
}

.article-content strong {
	font-weight: 600;
}

.article-content em {
	color: var(--meta2);
	font-style: italic;
}

.article-content ul {
	margin: 20px 0;
	padding-left: 20px;
	list-style: none;
}

.article-content ul li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 25px;
}

.article-content ul li::before {
	content: "\f058";
	/* Иконка Font Awesome */
	font-family: "Font Awesome";
	position: absolute;
	left: 0;
	color: var(--orange);
	font-weight: 900;
}

/* Стили для мета-информации (даты, автора) */
.article-meta {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--block-hover);
	color: var(--footer-text);
	font-size: 13px;
}

.article-meta i {
	color: var(--orange);
	margin-right: 5px;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	line-height: 1.7;
	overflow-x: auto;
	margin-bottom: 1.5rem;
}

.table-header {
	display: flex;
	background-color: #f8f9fa;
	font-weight: bold;
	border-bottom: 2px solid #dee2e6;
}

.table-row {
	display: flex;
	border-bottom: 1px solid #e9ecef;
}

.table-cell {
	padding: 0.5rem 1rem;
	flex: 1;
	min-width: 150px;
}

.table-cell.header-cell {
	text-align: left;
	font-weight: bold;
	color: #333;
}

.table-row:nth-child(even) {
	background-color: #f8f9fa;
}

@media (max-width: 768px) {

	.table-header,
	.table-row {
		flex-direction: column;
	}

	.table-cell {
		width: 100%;
		border-bottom: 1px solid #e9ecef;
	}

	.table-cell.header-cell {
		background-color: #e9ecef;
	}

	.table-row:last-child .table-cell:last-child {
		border-bottom: none;
	}
}

.rating-meta[data-no-star="true"]::before {
	content: none !important;
}

.oscar-nominee-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 10;
	background: #c5a059;
	color: #fff;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	font-family: 'Inter', sans-serif;
}

.oscar-nominee-badge::before {
	content: "\f091";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right: 5px;
	font-size: 10px;
}

.winner {
	background-color: #d32f2f; color: #fff; font-weight: bold;
}

.rating-meta[data-no-star="true"]::before {
	content: none !important;
}

.top-item-rel {
	position: relative;
}

.actor-label-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #c5a059;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 3px;
	z-index: 10;
	line-height: 1;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-divider {
	border: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.05);
	margin: 30px 0;
}

.nomination-header {
	margin-top: 20px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	display: inline-block;
}

.nomination-header h2 {
	color: #fff;
	font-size: 1.5rem;
	margin: 0;
}

.nomination-header i {
	color: #c5a059;
	margin-right: 10px;
}

.top-item-rel {
	position: relative;
}

.rank-num {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 5;
	background: #f5c518;
	color: #000;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 700;
	border-radius: 2px;
}

.oscar-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 15px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(197, 160, 89, 0.3);
}

.oscar-nav-link {
	font-size: 12px;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	padding: 6px 14px;
	transition: all 0.3s ease;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.1);
	white-space: nowrap;
}

.oscar-nav-link:hover {
	background: #c5a059;
	color: #000;
	border-color: #c5a059;
	transform: translateY(-2px);
}

.nomination-section {
	scroll-margin-top: 90px;
	margin-bottom: 50px;
}

.nomination-header {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.nomination-header h2 {
	color: #fff;
	font-size: 1.8rem;
	margin: 0;
	padding-bottom: 10px;
	position: relative;
	display: inline-block;
}

.nomination-header h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, #c5a059, transparent);
}

.related-collections-section {
	margin-top: 40px;
	margin-bottom: 20px;
}

.related-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-start;
}

.related-wrapper .collection-card {
	width: 100%;
	max-width: 310px;
	flex: 0 0 auto;
}

@media screen and (max-width: 768px) {
	.related-wrapper .collection-card {
		max-width: 100%;
	}
}

.actor-voice-badge {
	background: #0073aa;
	color: #fff;
	padding: 4px 10px;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	font-weight: 600;
}

.actor-profile-hero {
	background: var(--header-sidebar-footer);
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	position: relative;
	border: 1px solid #222;
}

.actor-main-flex {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.actor-pop-badge {
	position: absolute;
	top: 15px;
	right: 25px;
	background: #46b450;
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	font-weight: 900;
	font-size: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 10;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.actor-left-side {
	flex: 0 0 200px;
	position: relative;
}

.actor-profile-image img {
	width: 100%;
	display: block;
}

.actor-profile-info {
	flex: 1;
}

.actor-name {
	font-size: clamp(22px, 5vw, 32px);
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}

.actor-subname {
	font-size: 16px;
	color: #888;
}

.info-grid-title {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.info-row {
	display: flex;
	font-size: 14px;
	padding-block: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
	color: #888;
	width: 180px;
	flex-shrink: 0;
}

.info-value {
	color: #fff;
}

.info-value.orange {
	color: #ff5722;
	font-weight: 600;
}

.facts-section {
	margin-top: 10px;
	width:100%;
}

.facts-wrapper {
	position: relative;
	max-height: 204px;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.facts-wrapper.expanded {
	max-height: 2000px;
}

.fact-item {
	position: relative;
	padding: 8px 0 8px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	color: #bbb;
	font-size: 14px;
	line-height: 1.6;
}

.fact-item:before {
	content: "";
	position: absolute;
	left: 5px;
	top: 20px;
	width: 6px;
	height: 6px;
	background: #555;
	border-radius: 50%;
}

.fact-item.last-item {
	border-bottom: none !important;
}

.actor-full-bio {
	margin-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 10px;
	width: 100%;
}

.bio-wrapper {
	position: relative;
	max-height: 120px;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.bio-wrapper.expanded {
	max-height: 2000px;
}

.bio-content {
	color: #bbb;
	font-size: 15px;
	line-height: 1.8;
}

.fade-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background: linear-gradient(transparent, var(--header-sidebar-footer));
	pointer-events: none;
}

.expanded .fade-overlay {
	display: none;
}

.toggle-btn {
	color: #ff5722;
	cursor: pointer;
	font-weight: 700;
	display: inline-block;
	margin-top: 10px;
	font-size: 14px;
}


.oscar-timer-container {
	background: #0e0a07 url(/wp-content/uploads/oscar3.jpg) right no-repeat;
	padding: 10px;
	text-align: center;
	margin-bottom: 10px;
	min-height: 180px;
	display: flex;
	border: 1px solid rgba(197, 160, 89, 0.2);
	flex-direction: column;
	justify-content: center;
}

.timer-label {
	color: #c5a059;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.oscar-timer {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.timer-item {
	display: flex;
	flex-direction: column;
	min-width: 70px;
}

.timer-item span {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.timer-item label {
	font-size: 11px;
	color: #aaa;
	text-transform: uppercase;
	margin-top: 5px;
}

.oscar-date {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
}

@media screen and (max-width: 480px) {
	.oscar-timer {
		gap: 10px;
	}

	.timer-item span {
		font-size: 24px;
	}
}

.top-selection-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin: 10px auto;
}

.top-selection-item {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 5;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.3s ease, filter 0.3s ease;
	text-decoration: none;
}

.top-selection-item:hover {
	transform: scale(1.01);
	filter: brightness(1.1);
}

@media (max-width: 768px) {
	.top-selection-item {
		aspect-ratio: 16 / 6;
	}
}

.hub-title {
	text-align: center;
	font-family: 'Inter', sans-serif;
}

.subcategories-block {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding-bottom: 15px;
}

.subcategory-trigger {
	width: 100%;
	justify-content: space-between;
	margin-bottom: 10px;
	padding: 16px 10px;
	font-size: 16px;
}

.subcategory-list {
	display: none;
	/* Скрыто по умолчанию */
	flex-wrap: wrap;
	gap: 8px;
}

.subcategory-list.open {
	display: flex;
}

.description_foter {
	margin-top: 10px;
}

.description_foter p {}

.description_foter ul {
	list-style-type: disclosure-closed;
	margin: 10px 0 10px 20px;
}

#menu-item-link-122584 {
	background: linear-gradient(90deg, rgba(75, 171, 79, 1) 2%, rgba(26, 26, 26, 1) 2%);
}

#menu-item-link-70280 {
	background: linear-gradient(90deg, rgba(197, 160, 89, 1) 2%, rgba(26, 26, 26, 1) 2%);
}

#menu-item-link-23161 {
	background: linear-gradient(90deg, rgba(255, 82, 82, 1) 2%, rgba(26, 26, 26, 1) 2%);
}

#menu-item-link-70280:hover,
#menu-item-link-23161:hover,
#menu-item-link-122584:hover {
	background: var(--block-hover);
}

#menu-item-link-70280.active,
#menu-item-link-23161.active,
#menu-item-link-122584.active {
	background: var(--orange);
	color: var(--white);
}

.anime-faq-section {}

.anime-faq-section a {
	text-decoration: none;
	color: var(--orange);
}

.anime-faq-section strong {
	color: #cda97a;
}

.ww2-faq-section {}

.ww2-faq-section a {
	text-decoration: none;
	color: var(--orange);
}

.ww2-faq-section strong {
	color: #cda97a;
}


.golden-age-faq {}

.golden-age-faq a {
	text-decoration: none;
	color: var(--orange);
}

.golden-age-faq strong, .oscar-results-faq strong, .golden-age-faq strong, .ww2-faq-section strong, .anime-faq-section strong, .netflix-faq-section strong, .doramas-faq-section strong, .kp-top-faq strong, .faq-section strong, .actor-faq-section strong, .actor-faq strong {
	color: #cda97a;
}

.oscar-results-faq {}

.oscar-results-faq a, .oscar-results-faq a, .golden-age-faq a, .ww2-faq-section a, .anime-faq-section a, .netflix-faq-section a, .doramas-faq-section a, .kp-top-faq a, .faq-section a, .actor-faq-section a, .actor-faq a{
	text-decoration: none;
	color: var(--orange);
}

.oscar-results-faq, .oscar-results-faq, .golden-age-faq, .ww2-faq-section, .anime-faq-section, .netflix-faq-section, .doramas-faq-section, .kp-top-faq, .faq-section, .actor-faq-section, .actor-faq{
	font-size: 14px;
}

.oscar-results-faq h2, .oscar-results-faq h2, .golden-age-faq h2, .ww2-faq-section h2, .anime-faq-section h2, .netflix-faq-section h2, .doramas-faq-section h2, .kp-top-faq h2, .faq-section h2, .actor-faq-section h2, .actor-faq h2 {
	margin:10px 0;
}

.oscar-results-faq h2 i, .oscar-results-faq h2 i, .golden-age-faq h2 i, .ww2-faq-section h2 i, .anime-faq-section h2 i, .netflix-faq-section h2 i, .doramas-faq-section h2 i, .kp-top-faq h2 1, .faq-section h2 i, .actor-faq-section h2 i, .actor-faq h2 i {
    margin-right: 10px;
    color: #f60;
}

.oscar-results-faq h3, .oscar-results-faq h3, .golden-age-faq h3, .ww2-faq-section h3, .anime-faq-section h3, .netflix-faq-section h3, .doramas-faq-section h3, .faq-section h3, .actor-faq-section h3, .actor-faq h3 {
	font-style: italic;
	font-size: 15px;
	color:#ffdead;
} 

.golden-age-faq h2 {
	color: #c5a059;
}

.oscar-results-faq h2 {
	color: #c5a059;
}

.mainEntity {
	margin-bottom:20px;
}

.header-birthday-actor { margin: 0 15px; display: flex; align-items: center; }
    .header-birthday-actor a { 
        display: flex; 
        align-items: center; 
        text-decoration: none; 
        transition: transform 0.2s ease; 
        background: rgba(255,152,0,0.1); 
        padding: 4px 8px; 
        border-radius: 8px;
        border: 1px solid rgba(255,152,0,0.2);
    }
    .header-birthday-actor a:hover { transform: scale(1.02); background: rgba(255,152,0,0.15); }
    
    .bday-info { 
        display: flex; 
        flex-direction: column; 
        align-items: flex-start; 
        margin-right: 10px; 
        line-height: 1.2;
    }
    .bday-name-label { 
        color: #ff9800; 
        font-size: 9px; 
        text-transform: uppercase; 
        font-weight: 900; 
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    .bday-name { 
        color: #fff; 
        font-size: 13px; 
        font-weight: 700; 
        white-space: nowrap; 
    }
    
    .bday-avatar-wrap { 
        position: relative; 
        width: 36px; 
        height: 36px; 
        border-radius: 50%; 
        padding: 2px; 
        background: linear-gradient(45deg, #ff9800, #ff5722); 
    }
    .bday-avatar-wrap img { 
        width: 100%; 
        height: 100%; 
        border-radius: 50%; 
        object-fit: cover; 
        display: block; 
        border: 2px solid #1a1a1a; 
    }
    .bday-icon { 
        position: absolute; 
        top: -4px; 
        right: -4px; 
        color: #fff; 
        background: #e91e63; 
        font-size: 7px; 
        width: 14px; 
        height: 14px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        border-radius: 50%; 
        border: 1px solid #1a1a1a; 
    }
    
    @media (max-width: 700px) { .header-birthday-actor { display: none; } }
	
.bday-page-wrapper { margin-bottom: 20px; padding: 10px; background: rgba(255,152,0,0.05); border-radius: 4px; border: 1px dashed rgba(255,152,0,0.3); }
            .bday-header-mobile { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
            .bday-page-title { color: #ff9800; font-size: 14px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
            .bday-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
            .bday-card { display: flex; align-items: center; background: #1a1a1a; padding: 6px 12px 6px 6px; border-radius: 4px; border: 1px solid #333; transition: all 0.2s; text-decoration: none; }
            .bday-card:hover { border-color: #ff9800; transform: translateY(-2px); background: #222; }
            .bday-card img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #ff9800; margin-right: 10px; }
            .bday-card span { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
            .bday-toggle-btn { display: none; background: #ff9800; color: #000; border: none; border-radius: 4px; padding: 2px 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
            @media (max-width: 768px) {
                .bday-toggle-btn { display: block; }
                .bday-list { display: none; }
                .bday-list.active { display: flex; }
                .bday-page-wrapper.active .bday-toggle-btn::after { content: ' СВЕРНУТЬ'; }
                .bday-toggle-btn::after { content: ' ПОКАЗАТЬ'; }
            }
			
			
.thumb-overlay-bottom {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    gap: 6px;
    pointer-events: none;
    z-index: 10;
}

.rt-mini-scores {
    display: flex;
    gap: 4px;
    pointer-events: auto;
}

.rt-item, 
.video-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.8); 
    padding: 3px 6px;
    border-radius: 2px;
    height: 24px; 
    box-sizing: border-box;
    white-space: nowrap;
}

.rt-icon {
    width: auto !important; 
    height: 100% !important; 
    max-height: 18px; 
    object-fit: contain; 
    display: block;
}

.rt-score, 
.video-duration {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

.video-duration {
    position: static !important;
    margin: 0 !important;
    pointer-events: auto;
}

.golden-badge {
	position: absolute; top: 8px; right: 8px; background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728); color: #000;  z-index: 5; padding: 4px 8px;font-size: 11px;font-weight: 500; text-transform: uppercase;
}

.person-card-wrapper {
    background:var(--header-sidebar-footer);
    padding: 10px;
    margin-bottom: 20px;
    font-family: inherit;
    position: relative;
}

.person-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #46b450;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.person-card-rating i {
    color: #fff; 
}

.person-card-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .person-card-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.person-card-sidebar {
    width: 100%;
    max-width: 200px;
    margin: 0 auto; 
    flex-shrink: 0;
}
.person-card-avatar img {
    width: 100%;
    height: auto;
    max-width: 200px;
    object-fit: cover;
    display: block;
}

.person-card-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-top: 4px;
}
.person-card-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #f5efef;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s ease;
}
.person-card-socials a:hover {
    transform: translateY(-2px);
}

.person-card-content {
    flex-grow: 1;
	background: var(--header-sidebar-footer);
    padding: 0 10px;
	min-height: 100%;
}

.person-card-badge-voice {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 600;
}

.person-card-title {
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.2;
    font-size: clamp(1.5rem, 4vw, 2.25rem); 
}

.person-card-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.person-card-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.person-card-row {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    line-height: 1.4;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
@media (min-width: 200px) {
    .person-card-row {
        flex-direction: row;
        gap: 15px;
    }
    .person-card-label {
        width: 156px; 
        flex-shrink: 0;
    }
}
.person-card-label {
    color: #888;
}
.person-card-value {
    color: #fff;
	opacity: 0.7;
	font-size: 14px;
    font-weight: 200;
}
.person-card-highlight {
    /* color: #ff9800; */
    font-weight: 500;
}
.person-card-muted {
    opacity: 0.7;
    font-size: 0.85rem;
}

.person-card-section {
}
.person-card-expandable {
    position: relative;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.person-card-expandable.expanded {
    max-height: 3000px; 
}
.person-card-text {
    font-size: 0.95rem;
    color: #bbb;
}
.person-card-facts-list {
    margin: 0;
    padding-left: 20px;
}
.person-card-facts-list li {
    margin-bottom: 8px;
}

.person-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #1a1a1a);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.person-card-expandable.expanded .person-card-overlay {
    opacity: 0;
}

.person-card-toggle-btn {
    background: none;
    border: none;
    color: var(--orange);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0 0 0;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.2s;
}
.person-card-toggle-btn:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .section-header {
        margin: 10px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
}

.fame-scroll-container {
    width: 100%;
    overflow-x: auto; 
    overflow-y: hidden;
    padding-bottom: 20px; 
    -webkit-overflow-scrolling: touch;
}

.video-grid.horizontal-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important; 
}

.video-grid.horizontal-grid > .item, 
.video-grid.horizontal-grid > article {
    flex: 0 0 auto !important; 
}

.fame-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.fame-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.fame-scroll-container::-webkit-scrollbar-thumb {
    background: var(--block-hover); 
    border-radius: 10px;
}

.wiki-bio-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 400;
	font-size: 12px;
    transition: opacity 0.2s;
}
.wiki-bio-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}