:root {
	--rating-low: #ff3e3e;
	--rating-medium: #efa61f;
	--rating-high: #06b601;
}

body {
     font-family: 'Unbounded', Inter;
     font-weight: 400;
     line-height: 1.6;
     color: #33334d;
     background: url(../img/bg.webp);
     background-size: cover;
     background-attachment: fixed;
     margin: 0;
     padding: 0;
}
 h1, h2, h3, h4, h5, h6 {
     
     font-weight: 600;
}
 h1, h2 {
     color: #33334d;
}
 .fa, .fas, .far, .fal {
     font-family: 'Font Awesome';
     font-weight: 900;
}
 .far {
     font-weight: 400;
}
 .fal {
     font-weight: 300;
}
 .editor-content {
}
 .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;
     
}
 a {
     text-decoration: none;
     color: inherit;
     
}
 ul {
     list-style-type: none;
}
 .content-wrapper {
     max-width: 1800px;
     margin:0 auto 20px auto;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     background:#fff;
}
 header {
     width: 100%;
     background-color: #ffffff;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     border-bottom: 1px solid #e6e0ff !important;
}

 .search-container {
     width: 100%;
     padding-bottom:10px;
}
 .search-bar {
     max-width: 1800px;
     margin: 0 auto;
     display: flex;
     border: 2px solid #75bdc2;
     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: #75bdc2;
     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: #5aa9af;
}
 main {
     flex: 1;
     padding: 20px;
}
 .pagination {
     max-width: 1800px;
     margin: 30px auto;
     padding: 0 20px;
     display: flex;
     justify-content: center;
     
     font-weight: 600;
}
 .pagination a {
     padding: 8px 16px;
     margin: 0 5px;
     border-radius: 4px;
     transition: background-color 0.3s;
     background-color: #f2f2f2;
}
 .pagination a.active, .pagination a:hover {
     background-color: #75bdc2;
     color:#fff;
}
 footer {
     width: 100%;
     border-top: 3px solid #75bdc2;
     color: #fff;
     padding: 10px;
     background-color: #3b4054;
     margin-top: auto;
}
 #back-to-top {
     position: absolute;
     right: 20px;
     bottom: -60px;
     border-radius: 6px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background-color 0.3s;
     width: 40px;
     height: 40px;
     border: 2px solid #75bdc2;
     color: #fff;
     background-color: #75bdc2;
}
 #back-to-top:hover {
     background-color: #5aa9af;
}
 .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;
}

 .description {
     width: 100%;
     text-align: justify;
	 line-height: 1.4;
	 font-family: Inter;
	 margin:10px 0;
}
 .description h1 {
     font-size: calc(16px + (40 - 16) * ((100vw - 320px) / (1920 - 320)));
     margin-bottom: 4px;
     text-align: center;
     white-space: nowrap;
     overflow: visible;
     width: 100%;
     box-sizing: border-box;
     line-height: 1.2;
	 font-family: 'Unbounded';
	 font-weight: 300;
}
 .description p {
     font-size: 16px;
     line-height: 1.5;
     color:#5a4b8c;
}
 .section-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin: 10px 0;
     width: 100%;
     flex-wrap: wrap;
}

.mainser figure {
    background: rgb(95 112 132 / 30%);
}


#mainser-title, .mainser figure h3 {
	color:#fff;
}
.mainser figure h3:hover {
	color:#75bdc2
}

.mainser {
	margin:0 -20px;
    padding: 20px;
	background: #5F7084;
    background: linear-gradient(90deg,rgba(95, 112, 132, 1) 0%, rgba(21, 50, 66, 1) 50%, rgba(158, 123, 104, 1) 99%);
}

 .section-header h2 {
     font-size: 20px;
     margin: 0;
	 font-weight: 300;
}
 .section-header h2 i {
     margin-right: 10px;
     color: #75bdc2;
}

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

 .view-all-btn {
     
     font-weight: 400;
     display: inline-flex;
     align-items: center;
     padding:4px 6px;
     color: #fff;
     text-decoration: none;
     border-radius: 6px;
     transition: all 0.3s;
     font-size: 16px;
     border:2px solid #75bdc2;
     background-color: #75bdc2;
}
 .view-all-btn i {
     margin-right: 8px;
}
 .view-all-btn:hover {
     background-color: #5aa9af;
     transform: translateY(-2px);
}
 .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;
}

 .movie-meta {
     display: flex;
     gap: 10px;
     background-color: #3b4054;
     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 {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}
 .meta-row {
     display: flex;
      margin-bottom: 8px;
     line-height: 1.4;
	 font-size: 14px;
}
 .meta-label {
     font-weight: 500;
     color: #ababad;
      min-width: 80px;
     margin-right: 15px;
     flex-shrink: 0;
}
 .meta-value {
     color: #fff;
}
.cast-link, .meta-value a {
     color: #75bdc2;
     text-decoration: none;
     transition: all 0.3s;
     white-space: nowrap;
     display: inline-block;
     font-size:12px;
}
 .cast-link:hover, .meta-value a:hover {
     text-decoration: underline;
}
 @media (max-width: 1199px) {
     .ratings-column {
         flex-direction: row;
         flex: 1 0 100%;
         margin-top: 20px;
    }
}
 @media (max-width: 768px) {
     .movie-meta {
         flex-direction: column;
    }
     .poster-column {
         margin-bottom: 0;
    }
     .meta-row {
         flex-direction: row;
         margin-bottom: 8px;
    }
     .meta-label {
         min-width: 80px;
         margin-bottom: 0;
         font-size: 14px;
    }
}

 .movie-description {
     padding: 10px;
     margin-bottom: 20px;
     box-shadow: 0 2px 5px rgba(0,0,0,0.05);
     text-align: justify;
	 font-size:14px;
	 font-family: Inter;
}
 .movie-description h2 {
     font-size: 22px;
     margin-bottom: 10px;
}
 .movie-description p {
     margin-bottom: 4px;
     line-height: 1.7;
}
 .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: #e7e7e7;
     background:#252935;
     padding:10px 20px;
}
 .breadcrumbs a {
     color: #fff;
     text-decoration: none;
     transition: color 0.3s;
}
 .breadcrumbs a:hover {
     text-decoration: underline;
}
 .breadcrumbs i {
     margin: 0 8px;
     font-size: 12px;
}
 .video-player {
     position: relative;
     width: 100%;
     cursor: pointer;
     aspect-ratio: 16 / 9;
     background-color: #000;
     overflow: hidden;
     margin: 10px 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;
	 
}
 .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: #75bdc2;
}
 .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;
	 
}
 .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: #75bdc2;
}
 .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: #75bdc2;
     border-radius: 6px;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s;
     display: flex;
     align-items: center;
     border: 2px solid #75bdc2;
     justify-content: center;
	 margin-bottom: 10px;
}
 .next-movie {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-evenly;
     margin:20px 0;
}
 .next-movie .previous {
     border-radius: 6px;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s;
     display: flex;
     align-items: center;
     border: 2px solid #75bdc2;
}
 .next-movie .previous a{
     color: #000;
     padding: 12px 20px;
     font-weight: 400;
}
 .next-movie .previous:hover{
     background-color: rgba(117, 189, 194, 0.1);
     transform: translateY(-2px);
}
 .next-movie .next {
     border-radius: 6px;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s;
     display: flex;
     align-items: center;
     border: 2px solid #75bdc2;
}
 .next-movie .next a{
     color: #000;
     padding: 12px 20px;
     font-weight: 400;
}
 .next-movie .next:hover{
     background-color: rgba(117, 189, 194, 0.1);
     transform: translateY(-2px);
}
 .error-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 40px 20px;
     text-align: center;
}
 .error-content {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     margin-bottom: 50px;
}
 .error-code {
     font-size: 8rem;
     font-weight: 700;
     line-height: 1;
     margin-bottom: 20px;
	 
}
 .error-title {
     font-size: 2.5rem;
     margin-bottom: 20px;
     font-weight: 700;
}
 .error-message {
     font-size: 1.2rem;
     color: #7a6b9c;
     margin-bottom: 30px;
     line-height: 1.6;
     max-width: 600px;
	 
}
 .error-actions {
     display: flex;
     justify-content: center;
     margin-bottom: 30px;
}
 .error-btn {
     display: inline-flex;
     align-items: center;
     padding: 12px 24px;
     border-radius: 6px;
     font-weight: 500;
     transition: all 0.3s;
     text-decoration: none;
}
 .error-btn i {
     margin-right: 8px;
}
 .home-btn {
     background-color: #75bdc2;
     color: white;
}
 .home-btn:hover {
     background-color: #5aa9af;
     transform: translateY(-2px);
}
 .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;
}
 .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: #75bdc2;
     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;
	 
}
 .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;
}
 footer {
     color: #fff;
}
 .footer-content {
     margin: 0 auto;
     padding:20px 20px 0 20px;
     display: flex;
     flex-wrap: wrap;
     gap: 40px;
}
 .footer-main {
     flex: 1;
     min-width: 300px;
}
 .footer-logo {
     display: flex;
     align-items: center;
     font-size: 16px;
     font-weight: 700;
     margin-bottom: 20px;
}
 .footer-logo i {
     margin-right: 10px;
     font-size: 28px;
     color: #fedb02;
}
 .footer-logo p {
     
     font-weight: 600;
}
 .footer-logo p::first-letter {
     color:#75bdc2;
     font-size:26px;
}
 .footer-description {
     line-height: 1.6;
	 font-size:12px;
}
 .badge i {
     margin-right: 8px;
     font-size: 16px;
}
 .footer-links {
     min-width: 150px;
}
 .footer-links h3, .footer-social h3 {
     font-size: 18px;
     color:#fff;
}
 .footer-links ul {
     list-style: none;
}
 .footer-links a {
     text-decoration: none;
     color: #75bdc2;
     transition: all 0.3s;
     font-size: 12px;
     font-weight: 600;
}
 .footer-links a:hover {
     color: #75bdc2;
     text-decoration: underline;
     transform: translateX(2px);
     transition: all 0.3s;
     white-space: nowrap;
     display: inline-block;
     margin-right: 5px;
}
 .footer-social {
     min-width: 200px;
}
 .social-links {
     display: flex;
     gap: 15px;
     color: #fff;
	 justify-content: center;
}
 .social-link {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background-color: rgb(255 255 255 / 20%);
     border-radius: 50%;
     font-size: 18px;
     transition: all 0.3s;
}
 .social-link:hover {
     background-color: #75bdc2;
     color: white;
     transform: translateY(-3px);
}
 .footer-bottom {
     border-top: 1px solid #626676;
     padding-top: 10px;
}
 .copyright {
     text-align: center;
     font-size: 14px;
     line-height: 1.5;
}
 @media (max-width: 768px) {
     .footer-content {
         flex-direction: column;
         gap: 10px;
    }
     .footer-main, .footer-links, .footer-social {
         min-width: 100%;
    }
     .footer-description {
         max-width: 100%;
    }
}

 @media (max-width: 768px) {
	 .inline-ratings {
		justify-content: space-between;
	}

	.rating-block {
		flex: 1;
		justify-content: center;
	}
     .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;
		 padding:20px 0 0 0;
    }
     .social-links {
         margin-bottom: 20px;
    }
	
	.footer-links ul {
		display: flex;
		gap: 10px;
		justify-content: center;
	}
	
     #back-to-top {
         position: static;
         margin-top: 20px;
    }
}
 .moviemain {
     padding:0;
}
 #moviemain {
     padding:0 20px;
}
 .movie-header {
     padding: 10px 10px 0 10px;
     background: #3b4054;
     color: white;
}
 .header-flex-container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 20px;
     width: 100%;
}
 .movie-title {
     margin: 0;
     overflow: hidden;
     text-overflow: ellipsis;
     flex-shrink: 1;
     min-width: 0;
     font-size: clamp(18px, 2vw, 22px);
	 line-height: 23px;
     display: flex;
     align-items: center;
     color: white;
}
 .movie-title i {
     color: #fedb02;
     margin-right: 10px;
     font-size: 0.8em;
}

 @media (max-width: 768px) {
     .header-flex-container {
         flex-wrap: wrap;
    }     .movie-title {
         font-size: clamp(16px, 5vw, 24px);
    }
}
 @media (max-width: 1024px) {
     .content-wrapper {
         margin: 10px;
    }
}
 @media (max-width: 768px) {
     .content-wrapper {
         margin: 0;
         box-shadow: none;
    }
     .header-flex-container {
         gap: 10px;
    }
}
 @media (max-width: 480px) {
     .movie-title {
         font-size: clamp(14px, 5vw, 18px);
    }
 }
 
     .logo {
         display: flex;
         align-items: flex-end;
         font-weight: 500;
         color: #33334d;
         height: 30px;
          text-transform: none;
         position: relative;
         font-size: 24px;
         letter-spacing: 2px;
         line-height: 1;
         text-decoration:none;
         font-weight:900;
    }
     .logo span {
         color: #75bdc2;
         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;
         background-color: #fedb02;
         color: #33334d;
         height: 20px;
         display: flex;
         align-items: center;
         padding: 0 10px;
    }
     #fot_l {
         color:#fff;
    }
     .logo-section {
         width: fit-content;
    }
nav{
     width: 100%;
}
 nav .wrapper{
     position: relative;
     padding: 0px 30px;
     height: 70px;
     line-height: 70px;
     margin: auto;
     display: flex;
     align-items: center;
     justify-content: flex-start;
}
 .wrapper .logo a{
}
 .wrapper .nav-links{
     display: inline-flex;
     z-index: 1;
}
 .nav-links li{
     list-style: none;
}
 .nav-links li a{
     color: #000;
     text-decoration: none;
     font-size: 18px;
     padding: 9px 15px;
     transition: all 0.3s ease;
}
 .nav-links li i, .nav-links li a:hover{
     color:#75bdc2;
     margin-right: 6px;
}
 .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;
     display: block;
}
 .nav-links li:hover .drop-menu, .nav-links li:hover .mega-box{
     transition: all 0.3s ease;
     top: 70px;
     opacity: 1;
     visibility: visible;
}
 .drop-menu li a{
     width: 100%;
     display: block;
     padding: 0;
     color:#5a4b8c;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     border-bottom: 1px solid #f0f0f0;
     line-height:32px;
}
 .drop-menu li a:hover {
}
 .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;
}
 @media screen and (max-width: 1076px) {
     nav .wrapper{
         justify-content: space-between;
    }
     .wrapper .btn{
         display: block;
         color:#000;
    }
     .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;
    }
     .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;
         
    }
     .nav-links .mobile-item:hover{
         color: #75bdc2;
    }
     .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(180px, 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;
    }
}

/* Рейтинги под постером: две равные колонки без звездочек. */
.poster-column {
    flex-direction: column;
    align-items: center;
}
.poster-ratings {
    display: flex;
    width: 200px;
    gap: 6px;
    margin-top: 10px;
}
.poster-ratings .rating-block {
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
    min-height: 42px;
    padding: 5px 6px;
    gap: 5px;
    cursor: help;
}
.poster-ratings .rating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
}
.poster-ratings .rating-logo {
    display: block;
    max-width: 32px;
    max-height: 24px;
    width: auto;
    height: auto;
}
.poster-ratings .rating-value {
    font-size: 14px;
    font-weight: 700;
}
.fd-single-title {
    margin-left: auto;
    max-width: 48%;
    color: #d5d5d8;
    font-size: 13px;
    font-style: italic;
    line-height: 1.35;
    text-align: right;
}
@media (max-width: 768px) {
    .fd-single-title {
        flex: 1 0 100%;
        max-width: 100%;
        margin: 0;
        text-align: left;
    }
}

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

.main-desc {
	text-align:justify;
	margin:20px 0;
}

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

.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(../img/banbag2.jpg) center / cover no-repeat;
    /* background: linear-gradient(90deg,rgba(102, 119, 139, 1) 0%, rgba(56, 87, 107, 1) 50%, rgba(164, 131, 114, 1) 100%);*/
     padding: 4px;
     color: #9ab;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
     
     overflow: hidden;
     border: 1px solid #75bdc2;
	 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;
	 
}
 .banner-text p {
     margin: 0 0 8px 0;
     font-size: 14px;
     line-height: 1.4;
     color: #9ab;
	 
}
 .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;
     transition: all 0.3s;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
 .btn-details {
     color: #fff;
     border: 2px solid #75bdc2;
     background: transparent;
	 border-radius: 6px;
}
 .btn-details:hover {
     background: rgba(117, 189, 194, 0.1);
}
 .btn-install {
     color: #fff;
     background: #75bdc2;
     border: 2px solid transparent;
	 transition: background-color 0.3s;
     white-space: nowrap;
	 border-radius: 6px;
     flex-shrink: 0;
}
 .btn-install:hover {
     transform: translateY(-2px);
	 color: #fff;
     background:#75bdc2;
     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;
	
}

#tvshows {
    background: #75bdc2;
    color: #fff;
}

#movies {
    background: #fedb02;
    color: #000;
}

 figure {
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s, box-shadow 0.3s;
     position: relative;
     overflow: hidden;
	 font-family: 'Inter';
}
 figure:hover {
     transform: translateY(-5px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 figure img {
     width: 100%;
     height: auto;
     display: block;
	 aspect-ratio: 2 / 3;
}
 figure h3 {
     padding: 4px 0 0 4px;
     font-size: 14px;
     font-weight: normal;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     max-width: 100%;
}
 figure:hover h3 {
}
 figure p {
     padding: 0 4px 4px;
     font-size: 14px;
}
 figure img {
     transition: opacity 0.3s;
}
 figure:hover img {
     opacity: 0.7;
}
 figure .play-icon {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     font-size: 4rem;
     opacity: 0;
     text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
     z-index: 1;
     background-color: rgba(117, 189, 194, 0.5);
     transition: .5s;
     transition-property: opacity, background-color, color, border-color, transform;
     color: #75bdc2;
     border-radius: 60%;
}
 figure:hover .play-icon {
     opacity: 1;
}
 figure h3[itemprop="name"] {
     transition: color 0.3s;
}
 figure:hover h3[itemprop="name"] {
     color: #75bdc2;
}
 figure p[itemprop="datePublished"] {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0 4px 4px;
     font-size: 14px;
}
 figure p[itemprop="datePublished"] .rating {
     display: flex;
     align-items: center;
     color: #ff6b9c;
}
 figure p[itemprop="datePublished"] .rating i {
     margin-right: 4px;
     font-size: 12px;
 }

 /* Уменьшенная версия рейтинга из блока peliculas.php для карточек. */
 figure p[itemprop="datePublished"] .item-rating {
     align-items: center;
     display: inline-flex;
     gap: 4px;
     min-height: 20px;
     padding: 2px 5px;
     border: 1px solid transparent;
     border-radius: 4px;
     cursor: help;
     font-size: 12px;
     font-weight: 700;
     line-height: 1;
     transition: box-shadow .2s ease, background-color .2s ease;
 }

 figure p[itemprop="datePublished"] .item-rating:hover {
     box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
 }

 figure p[itemprop="datePublished"] .item-rating.imdb-rating {
     background-color: rgba(245, 197, 24, .15);
     border-color: rgba(245, 197, 24, .7);
     color: #f5c518;
 }

 figure p[itemprop="datePublished"] .item-rating.tmdb-rating {
     background-color: rgba(1, 180, 228, .15);
     border-color: rgba(1, 180, 228, .7);
     color: #01b4e4;
 }

 figure p[itemprop="datePublished"] .item-rating-icon {
     align-items: center;
     display: inline-flex;
     height: 16px;
     justify-content: center;
     flex: 0 0 auto;
     width: 25px;
 }

 figure p[itemprop="datePublished"] .item-rating-logo {
     display: block;
     aspect-ratio: auto;
     height: auto !important;
     max-height: 16px;
     max-width: 25px;
     object-fit: contain;
     width: auto !important;
 }

 figure p[itemprop="datePublished"] .imdb-rating .item-rating-logo {
     width: 25px !important;
 }

 figure p[itemprop="datePublished"] .tmdb-rating .item-rating-logo {
     width: 25px !important;
 }

 .item-rating-value {
     font-size: 12px;
     font-weight: 700;
 }

.mainser  figure p[itemprop="datePublished"] {
	color:#fff;
}

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

/* Похожие материалы: карточки используют ту же визуальную систему, что и item.php. */
.srelacionados {
    width: 100%;
    margin: 30px 0 24px;
    padding: 0;
}

.srelacionados .related-heading {
    margin-bottom: 16px;
    text-align: center;
}

.srelacionados .section-title {
    display: inline-block;
    margin: 0;
    padding: 0 0 10px;
    color: #4d4d8f;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    position: relative;
}

.srelacionados .section-title::after {
    background: #8b5cf6;
    bottom: 0;
    content: '';
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 70px;
}

#single_relacionados {
    gap: 16px;
    margin: 0;
    min-width: 0;
}

#single_relacionados:not(.owl-carousel) {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.related-carousel-viewport {
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

#single_relacionados .owl-wrapper-outer {
    overflow: hidden;
    padding: 8px 0 14px;
}

#single_relacionados .owl-item {
    box-sizing: border-box;
    padding: 0 8px;
}

#single_relacionados > .related-card {
    min-width: 0;
}

#single_relacionados .related-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(40, 42, 70, .14);
    margin: 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

#single_relacionados .related-card > a {
    color: #33334d;
    display: block;
    height: 100%;
    text-decoration: none;
}

#single_relacionados .related-card img {
    aspect-ratio: 2 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    opacity: 1;
    transition: opacity .3s ease;
    width: 100%;
}

#single_relacionados .related-card:hover {
    box-shadow: 0 8px 24px rgba(40, 42, 70, .22);
    transform: translateY(-4px);
}

#single_relacionados .related-card:hover img {
    opacity: .72;
}

#single_relacionados .related-card h3 {
    box-sizing: border-box;
    color: #33334d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    padding: 10px 10px 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#single_relacionados .related-card:hover h3 {
    color: #75bdc2;
}

#single_relacionados .related-card p {
    align-items: center;
    color: #73738c;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin: 0;
    padding: 0 10px 10px;
}

#single_relacionados .related-card .rating {
    color: #f39c12;
    font-weight: 700;
}

#single_relacionados .related-card .play-icon {
    color: #75bdc2;
    font-size: 48px;
    left: 50%;
    opacity: 0;
    position: absolute;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
    top: 43%;
    transform: translate(-50%, -50%);
    transition: opacity .3s ease;
    z-index: 2;
}

#single_relacionados .related-card:hover .play-icon {
    opacity: 1;
}

/* Комментарии в общем стиле Zetflix. */
#comments.comments-area {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(40, 42, 70, .1);
    box-sizing: border-box;
    margin: 28px 0 36px;
    padding: clamp(18px, 3vw, 32px);
    width: 100%;
}

#comments .comments-title,
#comments .comment-respond h3 {
    color: #4d4d8f;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.3;
    margin: 0 0 20px;
}

#comments .comments-title i {
    color: #75bdc2;
    margin-right: 8px;
}

#comments .post-comments,
#comments .post-comments ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

#comments .post-comments li.comment {
    border-top: 1px solid #ebeaf5;
    box-sizing: border-box;
    min-height: 70px;
    padding: 18px 0 18px 72px;
    position: relative;
}

#comments .post-comments li.comment:first-child {
    border-top: 0;
}

#comments .comment-avatar {
    left: 0;
    position: absolute;
    top: 18px;
}

#comments .comment-avatar img.avatar {
    border: 3px solid #e6e0ff;
    border-radius: 50%;
    display: block;
    height: 52px;
    margin: 0;
    object-fit: cover;
    width: 52px;
}

#comments .scontent {
    min-width: 0;
}

#comments .comment-header {
    align-items: center;
    color: #33334d;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    line-height: 1.4;
}

#comments .comment-header a,
#comments a.commautor {
    color: #75bdc2;
    text-decoration: none;
}

#comments .comment-header a:hover,
#comments a.commautor:hover {
    color: #4d4d8f;
    text-decoration: underline;
}

#comments .comment-time {
    background: #f1effb;
    border-radius: 999px;
    color: #73738c;
    font-size: 11px;
    font-weight: 400;
    padding: 3px 8px;
}

#comments .comment-reply-link {
    background: #75bdc2;
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    text-decoration: none;
}

#comments .comment-reply-link:hover {
    background: #4d4d8f;
    color: #fff;
}

#comments .scontent p {
    color: #55556e;
    font-size: 14px;
    line-height: 1.65;
    margin: 8px 0 0;
}

#comments .comment-respond {
    border-top: 1px solid #ebeaf5;
    padding-top: 24px;
}

#comments .comment-navigation {
    align-items: center;
    border-top: 1px solid #ebeaf5;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 0 0 24px;
    padding-top: 18px;
}

#comments .comment-navigation a {
    background: #f1effb;
    border-radius: 6px;
    color: #4d4d8f;
    font-size: 12px;
    padding: 8px 12px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

#comments .comment-navigation a:hover {
    background: #75bdc2;
    color: #fff;
}

#comments .text-red {
    color: #d95d73;
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

#comments .comment-form-comment,
#comments .grid-container {
    margin: 0 0 16px;
}

#comments .form-label {
    color: #33334d;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

#comments .form-description {
    color: #85859b;
    font-size: 11px;
    margin-bottom: 6px;
}

#comments input[type='text'],
#comments input[type='email'],
#comments textarea {
    background: #fafaff;
    border: 1px solid #dcd9ee;
    border-radius: 6px;
    box-sizing: border-box;
    color: #33334d;
    font: inherit;
    max-width: 100%;
    outline: 0;
    padding: 11px 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

#comments textarea {
    min-height: 110px;
    resize: vertical;
}

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

#comments p.form-submit input[type='submit'] {
    background: #75bdc2;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 11px 20px;
    transition: background .2s ease, transform .2s ease;
}

#comments p.form-submit input[type='submit']:hover {
    background: #4d4d8f;
    transform: translateY(-1px);
}

#comments .no-comments,
#comments .comments_closed_notice {
    background: #f1effb;
    border-radius: 6px;
    color: #55556e;
    margin: 0 0 18px;
    padding: 12px 14px;
}

@media (max-width: 576px) {
    #single_relacionados {
        gap: 10px;
    }

    #single_relacionados:not(.owl-carousel) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #single_relacionados .owl-item {
        padding: 0 5px;
    }

    #comments.comments-area {
        border-radius: 7px;
        padding: 18px 14px;
    }

    #comments .post-comments li.comment {
        padding-left: 62px;
    }

    #comments .comment-avatar img.avatar {
        height: 44px;
        width: 44px;
    }

    #comments .comment-navigation {
        align-items: stretch;
        flex-direction: column;
    }

    #comments .comment-navigation a {
        display: block;
        text-align: center;
    }
}

.pagination span, .current {
	background-color: #75bdc2;
    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;
}

.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: 'Unbounded', Inter;
	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;
}

#future-date {
	background:#fedb02;
	border-radius:4px;
	color:#33334d;
	padding:4px 8px;
}

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

  @media (max-width: 1504px) {
 .nav-links li:hover .drop-menu {
	 column-count: 3;
 }
  }
  
  @media (max-width: 1190px) {
 .nav-links li:hover .drop-menu {
	 column-count: 2;
 }
  }
  
/* Рейтинги в карточках фильмов */
.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;
}

/* Блоки рейтингов на странице фильма */
.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 */
.imdb-rating {
    background-color: rgba(245, 197, 24, 0.15);
    border: 1px solid #f5c518;
}

/* Рейтинг TMDb */
.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;
}

.rating-value {
    color: #fff;
}

/* Цвета рейтингов для общего использования */
.rating-low,
#rate.rating-low {
    color: #ff4757 !important;
}

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

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

/* Инлайн рейтинги в заголовке */
.inline-ratings {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

/* Иконка TMDB */
.tmdb-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* Адаптивность для рейтингов */
@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) {
    .inline-ratings {
        width: 100%;
        justify-content: space-between;
    }

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


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

@media (max-width: 480px) {

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

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

/* Звезда рейтинга в карточках */
.movie-card__rating i.fa-star {
    margin-right: 4px;
    font-size: 12px;
}

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

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

#back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff6600;
    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;
    }
}

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

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

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

/* Общие цвета рейтингов */
.rating-low,
#rate.rating-low {
    color: #ff4757 !important;
}

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

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

 @media (max-width: 480px) {
      .meta-label {
          min-width: 80px;
         font-size: 13px;
    }
	
	.pagination span {
		display:none;
	}
	
	.pagination .current {
		display:block;
	}
}

.network-top-bar { background: #1a1a1a; border-bottom: 1px solid #333; font-size: 12px; font-family: 'Inter', sans-serif; position: relative; z-index: 9999; }
    .network-container { margin: 0 auto; display: flex; align-items: center; padding: 0 20px; }
    .network-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
    .network-menu > li { position: relative; margin-right: 22px; }
    .network-menu a { color: #bbb; text-decoration: none; line-height: 32px; display: flex; align-items: center; transition: color 0.2s; }
    .network-menu a:hover { color: #fff; }
    
    .has-sub > a:after { content: '▾'; font-size: 9px; margin-left: 4px; color: #666; }
    
    .network-dropdown { position: absolute; top: 100%; left: 0; background: #222; min-width: 200px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); display: none; padding: 5px 0; border-radius: 0 0 4px 4px; border: 1px solid #333; }
    .network-menu li:hover > .network-dropdown { display: block; }
    .network-dropdown li { width: 100%; }
    .network-dropdown li a { padding: 8px 15px; line-height: 1.4; font-size: 12px; display: block; }
    .network-dropdown li a:hover { background: #333; color: #fff; }
    
    .highlight-link { color: #fedb02 !important; font-weight: bold; }
    @media (max-width: 991px) { .network-top-bar { display: none; } }
