:root {
	--primary-dark-bg: #121212;
	--content-bg: #1e1e1e;
	--glass-bg: rgba(35, 35, 35, 0.6);
	--glass-border: rgba(255, 255, 255, 0.1);
	--text-primary-dark-theme: #e0e0e0;
	--text-secondary-dark-theme: #a0a0a0;
	--accent-orange: #ff6600;
	--accent-green: #70e000;
	--header-height: 70px;
	--shadow-glow: 0 0 15px rgba(255, 102, 0, 0.3);
	--breadcrumbs: #363535;
	--card-bg: #1e1e1e;
	--dark-text:#000;
}

@font-face {
	font-family: 'Inter';
	src: url('webfonts/inter-400.woff2') format('woff2');
	font-weight: 400;
	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;
}

body {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	line-height: 1.6;
	color: var(--text-primary-dark-theme);
	background: var(--primary-dark-bg);
	margin: 0;
	padding: 0;
}

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

h1,
h2 {
	color: #000;
}

.fa,
.fas,
.far,
.fal {
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
}

.far {
	font-weight: 400;
}

.fal {
	font-weight: 300;
}

.editor-content {
	font-family: 'BB Editor', monospace;
}

.light-text {
	font-weight: 300;
}

.medium-text {
	font-weight: 500;
}

.bold-text {
	font-weight: 700;
}

.extra-bold-text {
	font-weight: 800;
}

.black-text {
	font-weight: 900;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Arial', sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
	font-family: 'Unbounded', sans-serif;
}

ul {
	list-style-type: none;
}

.content-wrapper {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #f2f2f2;
}

header {
	width: 100%;
	background-color: #000;
	z-index: 2;
}

.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #000;
	border-bottom: 4px solid var(--accent-orange);
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

main {
	flex: 1;
	padding: 0 20px;
	margin-top: 74px;
}

.search-container {
	width: 100%;
	padding-bottom: 10px;
}

.search-bar {
	max-width: 1800px;
	margin: 0 auto;
	display: flex;
	border: 1px solid var(--accent-orange);
	border-radius: 6px;
}

.search-bar input {
	flex: 1;
	padding: 12px 15px;
	border: none;
	background-color: #ffffff;
	color: #33334d;
	border-radius: 4px 0 0 4px;
	font-size: 16px;
}

.search-bar button {
	background-color: var(--accent-orange);
	color: #fff;
	border: none;
	padding: 0 20px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	transition: background-color 0.3s;
}

.search-bar button:hover {
	background-color: var(--accent-orange);
}

.pagination {
	max-width: 1800px;
	margin: 30px auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	font-family: 'Unbounded', sans-serif;
	font-weight: 600;
}

.pagination a {
	padding: 8px 16px;
	margin: 0 5px;
	border-radius: 4px;
	transition: background-color 0.3s;
	background-color: #fff;
	color:var(--dark-text);
}

.pagination a.active,
.pagination a:hover {
	background-color: #f60;
	color: #fff;
}

footer {
	width: 100%;
	border-top: 4px solid #f60;
	color: #fff;
	padding: 10px;
	background: url(../img/footer-bg2.jpg) top center no-repeat;
	background-size: cover;
	margin-top: auto;
}

.dropdown-menu .genre-columns {
	display: flex;
	width: 600px;
}

.dropdown-menu .genre-column {
	flex: 1;
	min-width: 0;
}

.dropdown-menu .genre-column li {
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 768px) {
	.dropdown-menu .genre-columns {
		flex-direction: column;
		width: 100%;
	}

	.dropdown-menu .genre-column {
		margin-bottom: 15px;
	}

	.footer-links {
		flex-wrap: wrap;
	}

	.footer-logo {
		width: 100%;
		margin-bottom: 15px;
	}

	.menu-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 80%;
		height: calc(100vh - 70px);
		background-color: #ffffff;
		flex-direction: column;
		align-items: center;
		padding-top: 20px;
		transition: left 0.3s;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-menu li {
		margin: 15px 0;
	}

	.dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		width: 100%;
		box-shadow: none;
		display: none;
	}

	.dropdown:hover .dropdown-menu {
		display: none;
	}

	.dropdown.active .dropdown-menu {
		display: block;
		background-color: #f3eeff;
		margin-top: 10px;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.social-links {
		margin-bottom: 10px;
	}

	#back-to-top {
		position: static;
		margin-top: 20px;
	}
}

.description {
	width: 100%;
	text-align: justify;
	color:var(--dark-text);
}

.description h1 {
	font-size: calc(14px + (24 - 16) * ((100vw - 320px) / (1920 - 320)));
	margin-bottom: 20px;
	text-align: left;
	overflow: visible;
	width: 100%;
	box-sizing: border-box;
	line-height: 1.2;
}

.description p {
	font-size: 16px;
	line-height: 1.5;
	margin: 10px 0;
}

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

#ser {
	/* margin:40px 0; */
}


.mainser {
	margin: 0 -20px;
	background: #fff;
	padding: 10px 20px;
}

.index {
	background: #fff;
	margin: 0 -20px;
	padding: 0 20px;
}

section {
	max-width: 1200px;
	margin: 0 auto;
}

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

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

#right {
	margin-left: 10px;
	color: #fedb02;
}

.view-all-btn {
	font-family: 'Unbounded', sans-serif;
	font-weight: 300;
	display: inline-flex;
	align-items: center;
	padding: 4px 6px;
	color: #000;
	text-decoration: none;
	border-radius: 6px;
	font-size: 16px;
	box-shadow: inset 0 0 0 1px #dedede;
}

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

.view-all-btn:hover {
	background-color: #f60;
	color: #fff;
}

.recent_post {
	background: #2ed573;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	display: inline-block;
	margin-right: .4rem;
	position: relative;
	animation-name: bounce;
	animation-fill-mode: both;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes bounce {

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

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

.home-page {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	padding-bottom: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

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

.meta-column {
	flex: 1;
	min-width: 0;
}

.poster-column {
	flex: 0 0 200px;
	display: flex;
	justify-content: center;
}

.info-column {
	flex: 2;
}

.ratings-column {
	display: flex;
	flex-direction: column;
	gap: 15px;
	flex: 0 0 140px;
}

.movie-poster {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
	width: 200px;
	height: 300px;
	object-fit: cover;
	transition: transform 0.3s, box-shadow 0.3s;
}

.movie-poster:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.meta-value {
	color: #fff;
}

.cast-link,
.meta-value a {
	color: #edcaa5;
	text-decoration: none;
	transition: all 0.3s;
	white-space: nowrap;
	display: inline-block;
	margin-right: 5px;
	font-size: 12px;
}

.cast-link:hover,
.meta-value a:hover {
	text-decoration: underline;
	color: #f60;
}

@media (max-width: 1199px) {
	.ratings-column {
		flex-direction: row;
		flex: 1 0 100%;
		margin-top: 20px;
	}

	.rating-block {
		flex: 1;
		min-width: calc(50% - 8px);
	}
}

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

	.poster-column {
		margin-bottom: 0;
	}

	.meta-row {
		flex-direction: row;
		margin-bottom: 10px;
	}

	.meta-label {
		min-width: 110px;
		margin-bottom: 0;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.movie-meta {
		padding: 20px;
	}
	 .section-header h2 {
        font-size: 1.2rem;
    }

	.rating-block {
		padding: 10px 12px;
	}

	.rating-icon {
		font-size: 20px;
		width: 20px;
	}

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

	.meta-label {
		min-width: 100px;
		font-size: 13px;
	}
}

.movie-description {
	padding: 0 10px;
	margin-bottom: 20px;
	text-align: justify;
	color: #a6aaab;
}

.movie-description .readmore-js-toggle,
.movie-description .readmore-js-section a {
	color: #fff;
	font-weight: 200;
}

.movie-description h2 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #fff;
}

.movie-description p {
	margin-bottom: 4px;
	line-height: 1.6;
}

.movie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
}

.watch-btn,
.trailer-btn,
.favorite-btn {
	padding: 12px 20px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
}

.watch-btn {
	background-color: #75bdc2;
	color: white;
}

.watch-btn:hover {
	background-color: #5aa9af;
	transform: translateY(-2px);
}

.trailer-btn {
	background-color: transparent;
	color: #5a4b8c;
	border: 2px solid #75bdc2;
}

.trailer-btn:hover {
	background-color: rgba(117, 189, 194, 0.1);
	transform: translateY(-2px);
}

.favorite-btn {
	background-color: transparent;
	color: #5a4b8c;
	border: 2px solid #ff6b9c;
}

.favorite-btn:hover {
	background-color: rgba(255, 107, 156, 0.1);
	transform: translateY(-2px);
}

.breadcrumbs {
	font-size: 14px;
	color: #ababad;
	background: #fff;
	padding: 10px 20px;
}

.breadcrumbs a {
	color: #000;
	text-decoration: none;
	font-weight: 300;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

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

.player-container {
	margin: 0 auto;
	padding: 10px;
}

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

.video-player img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background-size: cover;
}

.video-player .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	opacity: 0;
	transition: opacity 0.3s ease;
	flex-direction: column;
	text-align: center;
	font-family: 'Unbounded', sans-serif;
}

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

.video-player .overlay .fa-circle-play {
	font-size: 100px;
	margin-bottom: 10px;
	transition: color 0.3s ease;
}

.video-player:hover .overlay .fa-circle-play {
	color: #f60;
}

.controls {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(50, 50, 50, 0.9);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	box-sizing: border-box;
	transition: opacity 0.3s ease;
	font-family: 'Unbounded', sans-serif;
}

.controls button {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	margin: 0 5px;
	color: #fff;
	transition: color 0.3s ease;
}

.controls button:hover {
	color: #f60;
}

.controls .left-controls,
.controls .right-controls {
	display: flex;
	align-items: center;
}

.controls .time {
	color: white;
	font-size: 14px;
	margin: 0 10px;
}

.readmore-js-toggle,
.readmore-js-section a {
	color: #000;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 300;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	border: 1px solid #f60;
	justify-content: center;
	margin-bottom: 10px;
}


.section-title {
	font-size: 1.8rem;
	color: #5a4b8c;
	margin-bottom: 30px;
	text-align: center;
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background-color: #9c64ff;
}

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

.popular-item {
	background-color: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.popular-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.popular-item img {
	width: 100%;
	height: auto;
	display: block;
}

.popular-item h3 {
	padding: 15px;
	font-size: 16px;
	color: #5a4b8c;
	text-align: center;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-btn {
	background-color: var(--accent-orange);
	color: white;
}

.home-btn:hover {
	background-color: #e55a00;
}

.popular-item:hover h3 {
	color: #9c64ff;
}

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

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

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

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

.search-empty-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	text-align: center;
}

.search-empty-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 50px;
}

.search-empty-icon {
	font-size: 6rem;
	color: var(--accent-orange);
	margin-bottom: 30px;
	animation: pulse 2s infinite;
}

.search-results-bar {
	padding: 10px 20px;
	text-align: left;
	background-color: #3b4054;
	margin: 20px 0;
	width: 100%;
	color: #fff;
}

.search-results-bar span,
.search-empty-message span {
	font-weight: 600;
	background: #fedb02;
	padding: 0 4px;
	color: #000;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

.search-empty-title {
	font-size: 2.5rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.search-empty-message {
	font-size: 1.2rem;
	margin-bottom: 30px;
	line-height: 1.6;
	max-width: 600px;
	font-family: 'Unbounded', sans-serif;
}

.search-empty-actions {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.search-empty-btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.3s;
	text-decoration: none;
}

.search-empty-btn i {
	margin-right: 8px;
}

.search-again-btn {
	background-color: #ffffff;
	color: #5a4b8c;
	border: 2px solid #75bdc2;
}

.search-again-btn:hover {
	background-color: rgba(117, 189, 194, 0.1);
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.search-empty-icon {
		font-size: 4rem;
	}

	.search-empty-title {
		font-size: 2rem;
	}

	.search-empty-message {
		font-size: 1rem;
	}

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

	.search-empty-actions {
		flex-direction: column;
		gap: 10px;
	}

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

#rate {
	display: inline-flex;
	align-items: center;
}

#rate i {
	margin-right: 4px;
	font-size: 12px;
}

.rating-low,
#rate.rating-low {
	color: #ff4757 !important;
}

.rating-medium,
#rate.rating-medium {
	color: #ffa502 !important;
}

.rating-high,
#rate.rating-high {
	color: #2ed573 !important;
}


.moviemain {
	padding: 0;
	max-width: 1200px;
	margin: 74px auto 0 auto;
}

#moviemain {
	padding: 0 20px;
}

.movie-header {
	padding: 10px;
	color: #fff;
}

.header-flex-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.movie-title {
	margin: 0;
	/*white-space: nowrap;*/
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 1;
	min-width: 0;
	font-size: clamp(18px, 1vw, 16px);
	line-height: 23px;
	display: flex;
	color: #fff;
	align-items: baseline;
}

.movie-title i {
	color: #fedb02;
	margin-right: 10px;
	font-size: 0.8em;
}

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

.tmdb-icon {
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

.rating-block {
	display: flex;
	align-items: center;
	padding: 0 20px;
	border-radius: 6px;
	transition: all 0.3s;
	gap: 10px;
	justify-content: center;
	font-family: 'Unbounded', sans-serif;
}

.rating-block:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.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 {
	font-size: 24px;
	width: 24px;
	text-align: center;
	flex-shrink: 0;
	color: #f5c518;
}

@media (max-width: 768px) {
	.header-flex-container {
		flex-wrap: wrap;
	}

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

	.inline-ratings .rating-block {
		flex: 1;
		min-width: calc(50% - 8px);
		text-align: center;
	}

	.movie-title {
		font-size: clamp(18px, 5vw, 16px);
	}
}

@media (max-width: 1024px) {
	.content-wrapper {
		margin: 10px;
	}
}

@media (max-width: 768px) {
	.content-wrapper {
		margin: 0;
		box-shadow: none;
	}

	.movie-header {
		padding: 8px 10px;
	}

	.header-flex-container {
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.movie-title {
		font-size: clamp(14px, 5vw, 14px);
	}

	.rating-block {
		padding: 6px 8px;
	}

	.rating-value {
		font-size: 14px;
	}

	#rat {
		color: #fff;
	}
}

.logo {
	display: flex;
	align-items: flex-end;
	font-weight: 500;
	color: #fff;
	height: 30px;
	text-transform: uppercase;
	position: relative;
	font-size: 24px;
	letter-spacing: 2px;
	line-height: 1;
	text-decoration: none;
	font-weight: 900;
}

.logo span {
	color: #f60;
	font-size: 2.3em;
	position: relative;
	bottom: -5px;
	font-weight: 900;
	margin-right: 2px;
}

.logo div {
	position: absolute;
	right: 0;
	top: -15px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0;
	color: #f60;
	height: 20px;
	display: flex;
	align-items: center;
	padding: 0 10px;
}

#fot_l {
	color: #a0a0a0;
}

.logo-section {
	width: fit-content;
}

nav {
	width: 100%;
}

nav .wrapper {
	position: relative;
	height: 70px;
	line-height: 70px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	max-width: 1200px;
}

.wrapper .logo a {}

.wrapper .nav-links {
	display: inline-flex;
	z-index: 1;
}

.nav-links li {
	list-style: none;
}

.nav-links li a {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	padding: 9px 15px;
}

.nav-links li i,
.nav-links li a:hover {
	color: #f60;
}

.nav-links .mobile-item {
	display: none;
}

.nav-links .drop-menu {
	position: absolute;
	background: #fff;
	line-height: 45px;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
	columns: 4;
	column-gap: 20px;
	padding: 10px 0;
	display: block;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
	top: 70px;
	opacity: 1;
	visibility: visible;
}

.drop-menu li a {
	width: 100%;
	display: block;
	padding: 0;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 4px 10px;
	line-height: 32px;
	font-size: 16px;
	font-weight: 300;
}

.drop-menu li a:hover {
	color: #000;
	background-color: #f60;
}

.mega-box {
	position: absolute;
	left: 0;
	width: 100%;
	padding: 0 30px;
	top: 85px;
	opacity: 0;
	visibility: hidden;
}

.mega-box .content {
	background: #242526;
	padding: 25px 20px;
	display: flex;
	width: 100%;
	justify-content: space-between;
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .row {
	width: calc(25% - 30px);
	line-height: 45px;
}

.content .row img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content .row header {
	color: #f2f2f2;
	font-size: 18px;
}

.content .row .mega-links {
	margin-left: -40px;
	border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
	padding: 0 20px;
}

.row .mega-links li a {
	padding: 0px;
	padding: 0 20px;
	color: #d9d9d9;
	font-size: 18px;
	display: block;
}

.row .mega-links li a:hover {
	color: #f2f2f2;
}

.wrapper .btn {
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: none;
}

.wrapper .btn.close-btn {
	position: absolute;
	right: 30px;
	top: 10px;
	color: #000;
}

@media screen and (max-width: 1178px) {
	nav .wrapper {
		justify-content: space-between;
	}

	header {}

	.wrapper .btn {
		display: block;
	}

	.nav-links .drop-menu {
		columns: 1;
	}

	.wrapper .nav-links {
		position: fixed;
		height: 100vh;
		width: 100%;
		max-width: 350px;
		top: 0;
		left: -100%;
		background: #fff;
		display: block;
		padding: 50px 10px;
		line-height: 50px;
		overflow-y: auto;
		box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
		transition: all 0.3s ease;
	}

	::-webkit-scrollbar {
		width: 10px;
	}

	::-webkit-scrollbar-track {
		background: #242526;
	}

	::-webkit-scrollbar-thumb {
		background: #3A3B3C;
	}

	#menu-btn:checked~.nav-links {
		left: 0%;
	}

	#menu-btn:checked~.btn.menu-btn {
		display: none;
	}

	#close-btn:checked~.btn.menu-btn {
		display: block;
	}

	.nav-links li {}

	.nav-links li a {
		display: block;
		padding: 0;
		margin: 0;
		color: #000;
	}

	.nav-links .drop-menu {
		position: static;
		opacity: 1;
		top: 65px;
		visibility: visible;
		padding-left: 20px;
		width: 100%;
		max-height: 0px;
		overflow: hidden;
		box-shadow: none;
		transition: all 0.3s ease;
	}

	#showDrop:checked~.drop-menu,
	#showMega:checked~.mega-box {
		max-height: 100%;
	}

	.nav-links .desktop-item {
		display: none;
	}

	.nav-links .mobile-item {
		display: block;
		color: #000;
		font-size: 18px;
		cursor: pointer;
		transition: all 0.3s ease;
		font-family: 'Unbounded', sans-serif;
	}

	.nav-links .mobile-item:hover {
		color: #f60;
	}

	.drop-menu li {
		margin: 0;
	}

	.drop-menu li a {}

	.mega-box {
		position: static;
		top: 65px;
		opacity: 1;
		visibility: visible;
		padding: 0 20px;
		max-height: 0px;
		overflow: hidden;
		transition: all 0.3s ease;
	}

	.mega-box .content {
		box-shadow: none;
		flex-direction: column;
		padding: 20px 20px 0 20px;
	}

	.mega-box .content .row {
		width: 100%;
		margin-bottom: 15px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.mega-box .content .row:nth-child(1),
	.mega-box .content .row:nth-child(2) {
		border-top: 0px;
	}

	.content .row .mega-links {
		border-left: 0px;
		padding-left: 15px;
	}

	.row .mega-links li {
		margin: 0;
	}

	.content .row header {
		font-size: 18px;
	}
}

nav input {
	display: none;
}

.body-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	padding: 0 30px;
}

.body-text div {
	font-size: 45px;
}

@media (max-width: 1200px) {
	.home-page {
		grid-template-columns: repeat(auto-fill, minmax(182px, 1fr));
		gap: 12px;
	}
}

@media (max-width: 992px) {
	.home-page {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 14px;
	}
}

@media (max-width: 768px) {
	.home-page {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 16px;
	}
}

@media (max-width: 576px) {
	.home-page {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 18px;
	}
}

.main-desc-index {
	margin: 0 -20px;
	padding: 10px 20px;
}

.main-desc {
	text-align: justify;
	margin: 0 auto;
	max-width: 1200px;
	color:var(--dark-text);
}

.main-desc h1 {
	font-size: clamp(18px, 2vw, 22px);
	line-height: 23px;
	margin: 10px 0;
}

.main-desc a {
	color: #cb7923;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
	font-family: 'Unbounded', sans-serif;
}

.main-desc a:hover {
	color: #f60;
	text-decoration: underline:
}

.main-desc p {}

#original {
	font-style: italic;
}


.banner-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto;
	gap: 15px;
	background: linear-gradient(rgb(0 0 0 / 62%), rgba(20, 24, 28, 0.95)), url(banbag2.jpg) center / cover no-repeat;
	padding: 4px;
	color: #9ab;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	font-family: 'Unbounded', sans-serif;
	overflow: hidden;
	border: 1px solid #f60;
	max-width: 1200px;
	margin: 10px auto;
}

.banner-content {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 15px;
	align-items: center;
}

.banner-icon img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	/*border-radius: 12px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);*/
}

.banner-text h2 {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
}

.banner-text p {
	margin: 0 0 8px 0;
	font-size: 14px;
	line-height: 1.4;
	color: #9ab;
	font-family: 'Unbounded', sans-serif;
}

.banner-text .highlight {
	color: #fedb02;
	font-weight: 600;
	text-transform: uppercase;
}

.banner-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.banner-btn {
	padding: 10px 0;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-details {
	color: #fff;
	border: 2px solid #f60;
	background: transparent;
}

.btn-details:hover {
	background: rgba(117, 189, 194, 0.1);
}

.btn-install {
	color: #fff;
	background: #f60;
	border: 2px solid transparent;
	transition: background-color 0.3s;
	white-space: nowrap;
	flex-shrink: 0;
}

.btn-install:hover {
	color: #fff;
	background: #f60;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
	.banner-container {
		grid-template-columns: 1fr auto;
		grid-template-rows: 1fr;
		align-items: center;
	}

	.banner-buttons {
		grid-template-columns: 1fr;
		width: 180px;
	}
}

@media (max-width: 480px) {
	.banner-content {
		grid-template-columns: 1fr;
		text-align: center;
		margin: 10px;
	}

	.banner-icon {
		display: flex;
		justify-content: center;
	}

	.banner-buttons {
		grid-template-columns: 1fr;
	}
}


.movie-type {
	align-items: center;
	display: flex;
	font-size: 12px;
	gap: 6px;
	left: 0;
	padding: 4px 6px;
	position: absolute;
	font-weight: 400;
	top: 0;
	z-index: 1;
	font-family: 'Unbounded', sans-serif;
}


.mainser .description {
	color: #fff;
	margin-bottom: 12px;
}

.pagination span,
.current {
	background: var(--accent-orange);
	color: #fff;
	padding: 8px 16px;
	margin: 0 5px;
	border-radius: 4px;
}

.search-form {
	display: contents;
}

.datePublished {
	display: flex;
	justify-content: space-between;
}

.datePublished span {
	color: #16cf15;
	font-weight: 400;
}

/* Contact Form Styles */
.contact {
	max-width: 1200px;
	margin: 20px auto;
	padding: 20px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact .wrapper {
	padding: 0;
}

.contactame {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contactame fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.contactame label {
	display: block;
	font-family: 'Unbounded', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #33334d;
	margin-bottom: 8px;
}

.contactame p {
	font-size: 14px;
	color: #5a4b8c;
	margin: 5px 0 10px;
	line-height: 1.4;
}

.contactame input[type="text"],
.contactame input[type="email"],
.contactame textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e6e0ff;
	border-radius: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	transition: all 0.3s;
	background-color: #fff;
}

.contactame input[type="text"]:focus,
.contactame input[type="email"]:focus,
.contactame textarea:focus {
	border-color: #75bdc2;
	outline: none;
	box-shadow: 0 0 0 3px rgba(117, 189, 194, 0.2);
}

.contactame textarea {
	min-height: 150px;
	resize: vertical;
}

#contact-submit-button {
	padding: 12px 24px;
	background-color: #75bdc2;
	color: white;
	border: none;
	border-radius: 6px;
	font-family: 'Unbounded', sans-serif;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 10px;
}

#contact-submit-button:hover {
	background-color: #5aa9af;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#contact-response-message {
	margin: 15px 0;
}

.notice.error {
	padding: 12px 15px;
	background-color: #ffebee;
	border-left: 4px solid #ff4757;
	color: #ff4757;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	border-radius: 4px;
}

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

	.contactame {
		gap: 15px;
	}

	.contactame label {
		font-size: 15px;
	}
}

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

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

	#contact-submit-button {
		padding: 10px 20px;
		font-size: 15px;
	}
}

.all-movies-link {
	padding: 4px 10px;
	background: #3b4054;
	border-radius: 6px;
	transition: all 0.3s;
}

#all {
	color: #fff;
}

.all-movies-link a:hover {
	transform: translateY(-2px);
}

.all-movies {
	display: flex;
	gap: 10px;
}

.movie-container {
	background: #000;
	margin-bottom: 20px;
}

/* Анимация для кнопки переключения темы */
@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

#theme-toggle:hover {
	animation: pulse 0.5s ease-in-out;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	#theme-toggle {
		bottom: 70px;
		right: 15px;
		width: 45px;
		height: 45px;
		font-size: 18px;
	}
}


/* Стили для семантичных карточек фильмов */
.movie-card {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	background: #fff;
	transform: translateY(0);
}

.movie-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.movie-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.movie-card__poster {
	position: relative;
	margin: 0;
	overflow: hidden;
	flex-shrink: 0;
	transform: translateY(0);
}

.movie-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.movie-card__img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 2 / 3;
	transition: opacity 0.3s ease;
	transform: translateY(0);
	transition: opacity 0.3s ease;
}

.movie-card:hover .movie-card__img {
	opacity: 0.85;
	transform: translateY(0);
}

.movie-card__play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3.5rem;
	opacity: 0;
	color: #ff6600;
	text-shadow: 0 0 10px rgba(255, 102, 0, 0.7);
	z-index: 2;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.movie-card:hover .movie-card__play-icon {
	opacity: 0.9;
	transform: translate(-50%, -50%);
}

.movie-type {
	align-items: center;
	display: flex;
	font-size: 12px;
	gap: 6px;
	left: 0;
	padding: 4px 8px;
	position: absolute;
	font-weight: 400;
	top: 0;
	z-index: 3;
	font-family: 'Unbounded', sans-serif;
	transform: translateY(0);
	transition: none;
}

.movie-card:hover .movie-type {
	transform: translateY(0);
	top: 0;
}

.movie-type--series {
	background: var(--accent-orange);
	color: #fff;
}

.movie-type--movie {
	background: var(--accent-green);
	color: #000;
}

.movie-card__info {
	padding: 4px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	display: flex;
    justify-content: space-between;
}

.movie-card__info .premier {
	display: flex;
	justify-content: space-between;
}

.movie-card__info .premier .premier_title {
	color: #000;
}

.movie-card__title {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.movie-card__title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: normal;
	color:var(--dark-text);
}

.movie-card__title-link:hover {
	color: var(--accent-orange);
}

.movie-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	font-size: 14px;
	color: #666;
}

.movie-card__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
	transition: color 0.2s ease;
}

/* Цвета рейтингов */
.movie-card__rating.rating-low {
	color: #ff4757 !important;
}

.movie-card__rating.rating-medium {
	color: #ffa502 !important;
}

.movie-card__rating.rating-high {
	color: #2ed573 !important;
}

/* Скрытый текст для доступности */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Адаптивность карточек */
@media (max-width: 768px) {
	.movie-card__title {
		font-size: 14px;
	}

	.movie-card__meta {
		font-size: 13px;
	}

	.movie-card__play-icon {
		font-size: 2.5rem;
	}
}

#back-to-top {
	position: fixed;
	bottom: 90px;
	right: 20px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--accent-orange);
	color: white;
	border: none;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
	transition: all 0.3s ease;
	z-index: 999;
}

#back-to-top:hover {
	background-color: #e55a00;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

@media (max-width: 768px) {
	#back-to-top {
		bottom: 80px;
		right: 15px;
		width: 45px;
		height: 45px;
		font-size: 18px;
	}
}

.error-hero {
	position: relative;
	height: 40vh;
	min-height: 300px;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23121212"/><path d="M30,30 L70,70 M70,30 L30,70" stroke="%23ff6600" stroke-width="8" stroke-linecap="round"/></svg>');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 -20px;
	overflow: hidden;
}

.error-hero::before {
	content: "404";
	position: absolute;
	font-size: 30vw;
	font-weight: 900;
	color: rgba(255, 102, 0, 0.1);
	z-index: 0;
	font-family: 'Unbounded', sans-serif;
}

.error-content {
	text-align: center;
	padding: 40px 20px;
	background: #fff;
	margin: -50px 20px 0 20px;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-code {
	font-size: 8rem;
	font-weight: 900;
	color: #ff6600;
	line-height: 1;
	margin-bottom: 20px;
	font-family: 'Unbounded', sans-serif;
	text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.error-title {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #000;
	font-family: 'Unbounded', sans-serif;
}

.error-message {
	font-size: 1.1rem;
	margin-bottom: 30px;
	line-height: 1.6;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	color: #5a4b8c;
}

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

.error-btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.3s;
	text-decoration: none;
	font-family: 'Unbounded', sans-serif;
}

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


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

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

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

	.error-hero {
		height: 30vh;
	}

	.error-hero::before {
		font-size: 40vw;
	}

}

@media (max-width: 480px) {
	.error-actions {
		flex-direction: column;
	}

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

	.error-content {
		margin: -30px 10px 0 10px;
		padding: 30px 15px;
	}
}

img[data-src] {
	opacity: 0;
	transition: opacity 0.3s ease;
}

img.loaded {
	opacity: 1;
}


.footer-content {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
}

.footer-logo {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
	justify-content: center;
}

.footer-logo i {
	margin-right: 10px;
	font-size: 28px;
	color: #fedb02;
}

.footer-logo p {
	font-family: 'Unbounded', sans-serif;
	font-weight: 600;
}

.footer-logo p::first-letter {
	color: #75bdc2;
	font-size: 26px;
}


footer {
	text-align: center;
	padding: 10px;
}

.footer-top {
	display: flex;
	justify-content: space-evenly;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.app-section {
	display: flex;
	justify-content: space-between;
}

.social-section,
.app-section {
	border: 1px solid #35363a;
	padding: 10px;
	border-radius: 10px;
	min-width: 380px;
}

.app-section h4 {
	font-size: 14px;
	color: #97989d;
}

.social-section h3,
.app-section h3 {
	font-size: 18px;
	margin-bottom: 10px;
	color: #fff;
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
}

.social-links {
	display: flex;
	gap: 15px;
	justify-content: space-around;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	font-size: 18px;
	transition: all 0.3s;
	color: #fff;
}

.social-link:hover {
	background-color: #f60;
	transform: translateY(-3px);
}

.app-link {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background-color: #f60;
	color: white;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s;
	font-family: 'Unbounded', sans-serif;
	display: none;
}

.app-link:hover {
	background-color: #e55a00;
	transform: translateY(-2px);
}

.app-link i {
	margin-right: 8px;
}

.app-title {
	display: flex;
	flex-direction: column;
	align-items: baseline;
	justify-content: space-evenly;
}

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

.footer-nav a {
	color: #edcaa5;
	text-decoration: none;
	font-size: 12px;
	transition: color 0.3s;
	font-family: 'Unbounded', sans-serif;
}

.footer-nav a:hover {
	color: #f60;
	text-decoration: underline;
}

.footer-logo {
	margin-bottom: 15px;
}

.footer-bottom {
	border-top: 1px solid #35363a;
	padding-top: 15px;
}

.copyright p {
	font-size: 14px;
	color: #a0a0a0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 800px) {

	.social-section,
	.app-section {
		border: none;
		padding: 0;
		border-radius: 0;
		display: block;
		margin-top: 10px;
	}

	.social-section h3,
	.app-section h3,
	.app-section h4 {
		display: none;
	}

	.app-title,
	.app-link {
		display: block;
	}

	.footer-top {
		gap: 0px;
		display: flex;
		flex-direction: column;
	}

	.footer-nav {
		gap: 20px;
	}

	.footer-nav a {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.footer-top {
		flex-direction: column;
		gap: 30px;
	}

	.footer-nav {
		flex-direction: column;
		gap: 15px;
	}

	.social-links {
		gap: 10px;
	}

	.social-link {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}
}

/* Стили для QR кода в футере */


.app-qr qr-code {
	width: 96px;
}

.app-qr {
	margin-bottom: -18px;
	margin-top: -6px;
}


/* Адаптивность для QR кода */
@media (max-width: 768px) {
	.app-qr {
		display: none;
	}


	.app-qr qr-code img[slot="icon"] {
		width: 20px;
		height: 20px;
	}
}


/* Стили для home-page на странице коллекций */
.collection-page .home-page {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-bottom: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 1200px) {
	.collection-page .home-page {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 992px) {
	.collection-page .home-page {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.collection-page .home-page {
		grid-template-columns: 1fr;
	}
}

/* Обновленные стили для карточек коллекций с соотношением 16:9 */
.collection-card {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	background: #fff;
	transform: translateY(0);
}

.collection-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.collection-card__img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	transition: opacity 0.3s ease;
}

.collection-card:hover .collection-card__img {
	opacity: 0.85;
}

.collection-card__play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3.5rem;
	opacity: 0;
	color: #ff6600;
	text-shadow: 0 0 10px rgba(255, 102, 0, 0.7);
	z-index: 2;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.collection-card:hover .collection-card__play-icon {
	opacity: 0.9;
}

.collection-card__poster {
	position: relative;
	margin: 0;
	overflow: hidden;
	flex-shrink: 0;
}

.collection-card__title-link:hover {
	color: var(--accent-orange);
}

#breadcrumbs {
	padding: 10px 0;
	background: #f2f2f2;
	max-width: 1200px;
	margin: 0 auto;
}


.collection-card {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	background: #fff;
	transform: translateY(0);
}

.collection-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.collection-card__img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	transition: opacity 0.3s ease;
}

.collection-card:hover .collection-card__img {
	opacity: 0.85;
}

.collection-card__title {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	padding: 0 8px;
}

.collection-card__title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: normal;
}

.collection-card__title-link:hover {
	color: var(--accent-orange);
}

.collection-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	font-size: 14px;
	color: #666;
	padding: 0 8px 8px;
}


/* Стили для карусели коллекций - один ряд карточек */
.collections-carousel-wrapper {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

.collections-carousel {
	overflow: hidden;
}

.carousel-container {
	transition: transform 0.5s ease-in-out;
}

.carousel-container .home-page {
	display: flex;
	gap: 10px;
	padding-bottom: 20px;
	width: max-content;
}

.carousel-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.carousel-btn {
	background: #f60;
	border: none;
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: all 0.3s ease;
}

.carousel-btn:hover {
	background: #e55a00;
	transform: translateY(-2px);
}

.carousel-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.carousel-btn:disabled:hover {
	background: #f60;
	transform: none;
}

.carousel-container .collection-card {
	flex: 0 0 292px;
}

@media (max-width: 1200px) {
	.collections-carousel-wrapper {
		max-width: 100%;
		padding: 0 20px;
	}

	.carousel-container .collection-card {
		flex: 0 0 248px;
	}
}

@media (max-width: 992px) {
	.carousel-container .collection-card {
		flex: 0 0 206px;
	}
}

@media (max-width: 768px) {
	.carousel-container .collection-card {
		flex: 0 0 222px;
	}
}

@media (max-width: 576px) {
	.carousel-container .collection-card {
		flex: 0 0 184px;
	}
}


.search-results-info {
	padding: 15px 0;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 20px;
}

.search-results-count {
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: #000;
}

.search-results-count span {
	font-weight: 600;
	background: #fedb02;
	padding: 0 4px;
}


.keywords {
	text-align: center;
}

.keywords a {
	background: rgb(34 33 34 / 50%);
	border-radius: 2px;
	display: inline-block;
	margin: 0 3px 5px;
	padding: 4px;
	text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
    font-family: 'Unbounded', sans-serif;
	color: #edcaa5;
}

.keywords a:hover {
	text-decoration:underline;
}