: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:hover {
	background-color: #444;
}

.category-filter.active {
	background-color: var(--orange);
	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;
}

.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: 56px;
	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);
}

.series-description-extended p {
	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: flex;
	align-items: center;
	flex-wrap: wrap;
}

.breadcrumbs a {
	color: var(--links);
	text-decoration: underline;
	transition: color 0.2s;
}

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

.breadcrumbs i {
	margin: 0 8px;
	font-size: 12px;
}

.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: 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-family: 'Unbounded', sans-serif;
	font-weight: 600;
}

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

.pagination a {
	padding: 8px 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 {
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	position: relative;
	background: #000;
	max-width: 1000px;
    margin: 0 auto;
}

.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;
	}

	.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: 56px;
	}

	.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: 56px;
		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 {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.search-header {
    margin-bottom: 30px;
    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;
    left: 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); 
}








/* Стили для сезонов и ниже */


/* ================================================= */
/* 0. Общие элементы страниц Сериала/Сезона/Эпизода */
/* ================================================= */


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

/* Кнопка */
.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.button-orange {
    background-color: var(--orange);
    color: var(--white);
}

.button-orange:hover {
    background-color: #e55a00;
    transform: translateY(-1px);
}


/* ================================================= */
/* 1. Стили для страницы Сериала (deepseek-Series.html) */
/* ================================================= */

.main-series-title {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Основной блок информации о сериале */
.series-info-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.series-poster {
    flex-shrink: 0;
    width: 300px;
    height: 450px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
}

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

.series-details {
    flex-grow: 1;
    padding-top: 5px;
}

/* TMDB Rating Block (предполагает наличие tmdb.png) */
.series-rating-tmdb {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    background: url(tmdb.png) no-repeat left center; 
    background-size: 24px auto;
    padding-left: 30px;
    margin-bottom: 20px;
    line-height: 24px;
}

.series-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px 30px;
    margin-bottom: 25px;
}

.meta-row-series {
    display: flex;
    line-height: 1.4;
    font-size: 14px;
}

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

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

/* Краткое описание */
.series-description-short {
    margin-bottom: 30px;
}

.series-description-short h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
    display: inline-block;
}


.series-description-extended {
    position: relative; 
}

.series-description-extended ul {
	list-style: none; 
	margin: 20px 0 0 0; 
    padding-left: 20px; 
}

.series-description-extended ul li {
	margin: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.series-description-extended ul li::before {
    content: "\f00c"; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    color: var(--orange); 
    
    position: absolute;
    left: 0; 
    top: 4px; 
    font-size: 14px; 
}

.series-description-extended h1 {
    font-size: 28px;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--white);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
    display: inline-block;
}

.series-description-extended h2,
.series-description-extended h3 {
    font-size: 22px;
    color: var(--white);
    margin: 10px 0;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
    font-weight: 500;
	display: inline-block;
}

.series-description-extended h3 {
    font-size: 18px;
    color: var(--white);
    border-bottom: none;
    padding-bottom: 0;
    font-weight: 600;
}

/* Актеры */
.actors-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.actor-card {
    display: flex;
    gap: 10px;
    padding: 6px;
    background-color: var(--header-sidebar-footer);
    align-items: flex-start;
}

.actor-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.actor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-info h3 {
    font-size: 16px;
    color: var(--orange);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.actor-role {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 5px;
}

.actor-description {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}


/* ================================================= */
/* 2. Стили для страницы Сезона (deepseek-Season.html) */
/* ================================================= */


/* Общий постер для сезона (использует те же размеры, что и для сериала) */
.season-poster {
    flex-shrink: 0;
    width: 400px;
    height: 225px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

/* Новый контейнер для правой части (Детали + Описание) */
.season-content-right {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

/* Блок с заголовком, датой и кнопкой */
.season-details {
    padding-top: 10px; 
    margin-bottom: 10px; 
}

/* Заголовок Сериала и Сезона */
.season-details .series-title {
    font-size: 24px; 
    color: var(--orange);
    margin-bottom: 5px;
    display: block; 
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.season-details .series-title:hover {
    color: var(--white);
}

/* Стиль для даты релиза */
.season-release-date {
    font-size: 16px;
    color: var(--text);
    margin-bottom:10px; 
    font-weight: 500;
}

/* Блок описания сезона */
.season-description-block {
    padding: 0; 
    background: none;
    margin-bottom: 0;
}

.season-description-block h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
    display: inline-block;
}


/* ================================================= */
/* 3. Стили для страницы Эпизода (deepseek-Episode.html) */
/* ================================================= */

.episode-title-heading {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}


/* Блок навигации */
.episode-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto 30px auto; 
    padding: 10px 0;
	background-color: var(--header-sidebar-footer);
}

.nav-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.nav-button:hover {
    color: var(--orange);
}

.nav-button i {
    margin: 0 8px;
    font-size: 16px;
}

.prev-episode i {
    margin-left: 0;
}

.next-episode i {
    margin-right: 0;
}

/* Блок описания эпизода */
.episode-description-block {
}

.episode-description-block h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
    display: inline-block;
}


/* ================================================= */
/* 4. Стили для карточек эпизодов (article.episode-card) */
/* ================================================= */

/* Общий контейнер для списка серий */
.episodes-list-block {
    margin-top: 10px;
}

.episodes-list-block h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--white);
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Базовый стиль для article.episode-card */
.episode-card {
    display: block;
    background: var(--main);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

/* Ссылка внутри article занимает всю область */
.episode-card a {
    display: block; 
    text-decoration: none;
    color: inherit;
}

/* Hover эффект на article */
.episode-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

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

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

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

.episode-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;
}

.episode-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text);
    margin-top: 8px;
}

.episode-number {
    font-weight: 600;
    color: var(--orange);
	font-family: 'Inter', sans-serif;
}

.episode-date {
    color: var(--meta);
}


/* Стиль для текущего эпизода (article.current-episode) */
.current-episode {
    cursor: default; 
    opacity: 0.8;
    background: var(--block-hover);
    position: relative;
}

/* Отмена hover эффекта для текущего эпизода */
.current-episode:hover {
    transform: none !important;
    box-shadow: none !important;
}

.current-episode .episode-thumbnail::after {
    content: "Смотрится сейчас";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    z-index: 5;
}

.current-episode .episode-info {
    border-left: 4px solid var(--orange); 
}

.current-episode .episode-title {
    color: var(--orange);
}

.current-episode .episode-meta .episode-number {
    color: var(--white); 
	font-family: 'Inter', sans-serif;
}


/* ================================================= */
/* 5. Адаптивность для всех страниц */
/* ================================================= */

@media (max-width: 900px) {
    /* Series Info (deepseek-Series.html) */
    .series-info-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .series-poster {
        width: 250px;
        height: 375px;
    }
    
    .series-rating-tmdb {
        margin: 10px auto 20px auto;
        display: table;
    }

    .series-details {
        text-align: center;
    }

    .series-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .meta-row-series {
        justify-content: space-between;
    }
    
    .seasons-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .main-series-title,
    .series-description-extended h1,
    .series-description-extended h2,
    .series-description-extended h3,
    .series-description-short h2 {
        text-align: center;
        display: block;
    }
    
    .actors-list-grid {
        grid-template-columns: 1fr;
    }

    .actor-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .season-info-wrapper {
        flex-direction: column; 
        align-items: center;
        gap: 20px;
        padding: 15px;
    }
    
    .season-content-right {
        width: 100%; 
    }

    .season-details {
        text-align: center;
        padding-top: 0;
        margin-bottom: 10px;
    }
    
    .season-description-block h2 {
        text-align: center; 
        display: block;
    }
    
    .episode-title-heading {
        font-size: 24px;
        text-align: center;
    }

	.episode-navigation {
        flex-direction: row; 
        justify-content: space-around; 
        gap: 5px; 
        padding: 10px 10px;
    }
    
    .nav-button {
        padding: 8px 10px; 
        font-size: 13px; 
        flex-shrink: 1; 
    }
    
    .nav-button i {
        margin: 0 4px; 
    }

   .episode-description-block {
        margin-bottom: 30px; 
    }
    
    .season-info-wrapper {
        flex-direction: column; 
        align-items: center;
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .seasons-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .episode-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

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




/* ================================================= */
/* 2. Стили для карточек Сезонов (article.season-card) - БОЛЬШЕ (400x225) */
/* ================================================= */

/* Контейнер списка сезонов */
.seasons-list-block {
    margin-bottom: 10px;
}

.seasons-list-block h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
    display: inline-block;
}

/* Сетка для карточек сезонов */
.seasons-grid {
    display: grid;
    /* Убеждаемся, что карточки достаточно большие, но адаптивные */
    grid-template-columns: repeat(auto-fill, minmax(304px, 1fr)); 
    gap: 20px;
}

/* Карточка сезона (article.season-card) - Специфические стили */
.seasons-grid .season-card {
    background: var(--main);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%; 
    max-width: none; /* Убираем возможные ограничения от .video-card */
}

.seasons-grid .season-card a {
    display: block; 
    text-decoration: none;
    color: inherit;
    position: relative;
}

.seasons-grid .season-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Изображение сезона (16:9, 400x225) */
.seasons-grid .season-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Соотношение 16:9 */
    height: 0; 
    overflow: hidden;
    background-color: var(--block-hover);
}

.seasons-grid .season-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* === Стили для оверлея при наведении (Затемнение + Кнопка Play) === */

.seasons-grid .season-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6); 
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    text-align: center;
}

.seasons-grid .season-card:hover .season-play-overlay {
    opacity: 1;
}

.seasons-grid .season-card:hover .season-thumbnail img {
    transform: scale(1.05);
}

.seasons-grid .season-play-button {
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    box-shadow: 0 0 15px rgba(246, 102, 0, 0.7);
    transition: transform 0.3s ease;
}

.seasons-grid .season-card:hover .season-play-button {
    transform: scale(1.1);
}

.seasons-grid .season-play-button i {
    color: white;
    font-size: 28px;
    margin-left: 3px; 
}

.seasons-grid .season-play-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Конец стилей для hover-эффекта */

.seasons-grid .season-number-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--orange);
    color: var(--white);
    padding: 5px 10px;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
}

.seasons-grid .season-info {
    padding: 12px;
}

.seasons-grid .season-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin: 0;
}
/* Конец специфичных стилей для seasons-grid */


/* Адаптивность для seasons-grid */
@media (max-width: 900px) {
    .seasons-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .seasons-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 10px;
    }
}

.iframe_all{
    margin:0 auto
}
.container_if{
    position:relative;
    overflow:hidden;
    width:100%;
    padding-top:56.25%
}
.container_if iframe{
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    width:100%;
    height:100%
}

.sidebar-item .custom-series-icon {
    width: 20px; 
    height: 20px;
    object-fit: contain; 
    transition: filter 0.3s ease; 
    filter: brightness(0) invert(1); 
}

.sidebar-item:hover .custom-series-icon {
    filter: none;
}

@media (max-width: 500px) {
    .nav-button span {
        display: none; /* Скрываем текст */
    }
    .nav-button {
        padding: 8px 6px; /* Уменьшаем padding вокруг оставшихся иконок */
    }
    .nav-button i {
        margin: 0; /* Убираем все отступы вокруг иконок */
        font-size: 18px; /* Немного увеличиваем иконку для лучшей видимости */
    }
}

.seasons-tabs-wrapper {
    margin-top: 30px;
    background-color: var(--header-sidebar-footer); 
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.tab-button {
    background: none;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text); 
    transition: color 0.2s, background-color 0.2s;
    border-radius: 6px 6px 0 0;
    position: relative;
    outline: none;
}

.tab-button:hover:not(.active) {
    color: var(--white); 
}

.tab-button.active {
    color: var(--orange); 
    border-bottom: 3px solid var(--orange);
    background-color: var(--block-hover);
}

.tabs-content .tab-pane {
    display: none;
    padding: 10px 0;
}

.tabs-content .tab-pane.active {
    display: block;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}


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

.episode-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--meta);
    margin-top: 5px;
}

.episode-number {
    font-weight: 500;
    color: var(--meta2);
}


@media (max-width: 768px) {
    .seasons-tabs-wrapper {
        padding: 15px;
        margin-top: 20px;
    }

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

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

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

	.user-section {
		display: none;
	}

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

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

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

	.rating-block {
		flex: 1;
		justify-content: center;
	}
	.meta-row {
		display:block;
	}
	.seasons-grid .season-title {
		font-size:14px;
	}
}