body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #141414;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    font-size: 16px; /* Base font size */
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #e50914;
}

/* Main Layout */
main {
    padding-left: 30px;
    padding-right: 30px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
}

/* Movie Grid Styles */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.movie-card {
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: scale(1.05);
}

.movie-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.movie-card h3 {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    color: #ffffff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    main {
        padding-left: 20px;
        padding-right: 20px;
    }

    .slider img {
        width: 90%;
        margin: 0 auto;
    }

    .top-rated-movies .movie-grid {
        gap: 15px;
    }

    h2 {
        font-size: 1.5rem; /* Adjusted for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    main {
        padding-left: 15px;
        padding-right: 15px;
    }

    .slider img {
        width: 100%;
    }

    .top-rated-movies .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjusted for smaller screens */
        gap: 10px;
    }

    h2 {
        font-size: 1.2rem; /* Further adjusted for very small screens */
    }
}

/* Slider Container Adjustments */
.carousel {
    margin-bottom: 20px;
    position: relative;
}

.slider {
    display: flex;
    overflow: visible; /* Change from hidden to visible */
    margin-bottom: 0;
    position: relative;
    z-index: 1; /* Ensure the slider content is below the arrows */
}

.slider .slide {
    margin-right: 10px;
    flex: 0 0 auto;
    position: relative;
    text-align: center; /* Center the title below the image */
}

.slider img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

.slider h3 {
    margin-top: 5px; /* Reduce the gap between image and title */
    font-size: 1rem;
    color: #ffffff;
    position: static;
    transform: none;
}
/* General Arrow Styles */
.slick-prev,
.slick-next {
    position: absolute;
    top: 43%; /* Center vertically */
    transform: translate(-50%, -50%); /* Center arrows in the circle */
    display: flex; /* Use flex to center the arrows */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    cursor: pointer;
    z-index: 2; /* Ensure arrows are above slider content */
}

/* Circular background underlay */
.slick-prev::before,
.slick-next::before {
    content: '';
    position: absolute;
    width: 50px; /* Size of the circle */
    height: 50px; /* Size of the circle */
    border-radius: 50%; /* Make it a circle */
    background-color: rgba(0, 0, 0, 0.8); /* Dark 80% transparent background */
    z-index: 1; /* Ensure the circle is below the arrow */
}

/* Arrow Icons */
.slick-prev:after,
.slick-next:after {
    font-family: 'slick'; /* Use Slick's icon font */
    font-size: 20px; /* Font size for arrows */
    color: white; /* Arrow color */
    z-index: 2; /* Ensure arrows are above the circle */
}

/* Arrow content */
.slick-prev:after {
    content: '←'; /* Left arrow */
}

.slick-next:after {
    content: '→'; /* Right arrow */
}

/* Arrow positioning */
.slick-prev {
    left: 10px; /* Adjust left position */
}

.slick-next {
    right: 10px; /* Adjust right position */
}

/* Hover effect for arrows */
.slick-prev:hover:before,
.slick-next:hover:before {
    opacity: 1; /* Full opacity on hover */
}

/* Adjust the bottom margin and height of the slider */
.slick-dotted.slick-slider {
    margin-bottom: 30px;
    height: fit-content;
}

/* Ensure no extra space below the slider */
.slick-list {
    margin-bottom: 0;
    padding-bottom: 0;
    overflow: hidden; /* Ensure content doesn't spill over */
}

/* Movie Details Page Styles */
.imdb-torrent-container {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.imdb-torrent-title {
    font-size: calc(2rem + 2vw); /* Scales with viewport width */
    margin-bottom: 20px;
    color: #e50914;
    font-weight: bold;
    text-transform: uppercase;
}

.imdb-torrent-instruction {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-style: italic;
}

.imdb-torrent-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.imdb-torrent-link {
    background-color: #e50914;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.imdb-torrent-link:hover {
    background-color: #f40612;
}

.imdb-torrent-videoplayer-loading {
    display: none;
    margin-bottom: 20px;
    color: #ffffff;
}

.imdb-torrent-videoplayer {
    display: none;
    width: 100%;
    height: 600px;
    margin-top: 20px;
}

/* Subtitle Controls */
.video-controls-container {
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}

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

.subtitle-controls label {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.subtitle-language-select {
    padding: 8px 12px;
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #555555;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.subtitle-language-select:focus {
    outline: none;
    border-color: #e50914;
}

.load-subtitle-btn {
    padding: 8px 16px;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-subtitle-btn:hover {
    background-color: #f40612;
}

.load-subtitle-btn:disabled {
    background-color: #666666;
    cursor: not-allowed;
}

/* Video element styling */
#video-element {
    background-color: #000000;
    border-radius: 8px;
}

/* Subtitle track styling */
video::cue {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.movie-header {
    position: relative;
    width: 100%; /* Full width */
    height: 500px; /* Height of the header */
    background-size: cover; /* Cover the entire area */
    background-position: center; /* Center the background image */
}

.movie-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for better text visibility */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    padding: 0 20px; /* Adjust padding */
}

.movie-details-container {
    display: flex; /* Flexbox for horizontal layout */
    align-items: center; /* Center items vertically */
    width: 100%; /* Full width */
    max-width: 1200px; /* Optional: limit the maximum width */
    margin: 0 auto; /* Center container */
}

.movie-poster {
    flex: 0 0 auto; /* Prevent poster from stretching */
    margin-right: 20%; /* Increased space between poster and details (desktop) */
}

.movie-poster img {
    width: 220px; /* Increased width for poster */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Shadow effect */
}

.movie-info {
    flex: 1; /* Allow title and details to take remaining space */
    color: #ffffff; /* Text color */
    text-align: left; /* Align text to the left */
}

.movie-info h1 {
    margin: 0; /* Remove default margin */
    font-size: 2.5rem; /* Increased font size for the title */
}

.movie-info .tagline {
    font-style: italic; /* Italics for tagline */
    margin: 10px 0; /* Space above and below tagline */
    font-size: 1.2rem; /* Adjust font size */
}

.movie-info .genres,
.movie-info .rating {
    margin: 5px 0; /* Space between genres and rating */
    font-size: 1rem; /* Adjust font size */
}

/* Responsive Design */
@media (max-width: 768px) {
    .movie-header {
        height: 100vh; /* Allow height to adjust */
    }

    .movie-header-overlay {
        align-items: flex-start; /* Align items to the start for better layout */
    }

    .movie-details-container {
        flex-direction: column; /* Stack elements on smaller screens */
        align-items: center; /* Center items horizontally */
        padding: 20px 0; /* Add some vertical padding */
    }

    .movie-poster {
        margin-right: 0; /* Remove right margin on small screens */
        margin-bottom: 20px; /* Add space below poster */
    }

    .movie-info {
        text-align: center; /* Center text on mobile */
    }

    .movie-info h1 {
        font-size: 1.8rem; /* Smaller title on mobile */
    }

    .movie-info .tagline,
    .movie-info .genres,
    .movie-info .rating {
        font-size: 0.9rem; /* Smaller text on mobile */
    }
}


.movie-details h1 {
    font-size: 3rem;
    margin: 0 0 10px;
}

.movie-details .tagline {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.movie-details .genres,
.movie-details .rating {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.movie-details .container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

.movie-details .movie-content {
    display: flex;
    flex-direction: column;
}

.movie-details .overview h2,
.movie-details .video-player h2,
.movie-details .cast h2,
.movie-details .crew h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.movie-details .overview p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.movie-details .video-player iframe {
    border-radius: 8px;
    margin-bottom: 20px;
}

.movie-header-content{display:contents;}

.movie-details .cast .cast-grid,
.movie-details .crew .crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.movie-details .cast .cast-member img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.movie-details .cast .cast-member p,
.movie-details .crew .crew-member p {
    font-size: 1rem;
    text-align: center;
}

.movie-details .crew .crew-member p {
    margin-bottom: 10px;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .movie-details .movie-header-content {
        padding: 20px;
    }

    .movie-details h1 {
        font-size: 2.5rem;
    }

    .movie-details .tagline {
        font-size: 1.2rem;
    }

    .movie-details .container {
        padding: 0 20px;
    }

    .movie-details .video-player iframe {
        height: 300px;
    }
}

/* Search Results Page Styles */
.search-results {
    padding: 30px; /* Add padding around the content */
    background-color: #141414; /* Match the background color */
}

.search-results h1 {
    font-size: 2.5rem; /* Title size */
    color: #ffffff; /* Title color */
    margin-bottom: 20px; /* Space below the title */
    text-align: center; /* Center the title */
}

.results-container {
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive card layout */
    gap: 20px; /* Space between cards */
}

.results-container ul {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    display: contents !important;
}

.results-container li {
    background-color: #1a1a1a; /* Card background color */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensure child elements respect the border radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation effect on hover */
}

.results-container li:hover {
    transform: scale(1.05); /* Scale effect on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
}

.results-container img {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px 8px 0 0; /* Round top corners only */
}

.results-container h2 {
    text-align: center; /* Center title */
    margin: 10px 0; /* Space above and below title */
    font-size: 1.2rem; /* Title font size */
    color: #ffffff; /* Title color */
}

.results-container p {
    text-align: center; /* Center release date */
    font-size: 0.9rem; /* Font size for the release date */
    color: #cccccc; /* Color for the release date */
}

/* Responsive Design for Search Results */
@media screen and (max-width: 768px) {
    .search-results h1 {
        font-size: 2rem; /* Smaller title on mobile */
    }

    .results-container {
        gap: 15px; /* Reduce gap between cards on smaller screens */
    }
}

/* Trending Styles */
.trending-movies {
    padding: 30px;
    background-color: #141414;
}

.trending-movies h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive card layout */
    gap: 20px;
}

.results-container ul {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.results-container li {
    background-color: #1a1a1a; /* Card background color */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensure child elements respect the border radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation effect on hover */
}

.results-container li:hover {
    transform: scale(1.05); /* Scale effect on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
}

.results-container img {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px 8px 0 0; /* Round top corners only */
}

.results-container h2 {
    text-align: center; /* Center title */
    margin: 10px 0; /* Space above and below title */
    font-size: 1.2rem; /* Title font size */
    color: #ffffff; /* Title color */
}

.results-container p {
    text-align: center; /* Center release date */
    font-size: 0.9rem; /* Font size for the release date */
    color: #cccccc; /* Color for the release date */
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    background-color: #e50914; /* Active color for pagination */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #b20710; /* Darker shade on hover */
}

.pagination a.active {
    background-color: #b20710; /* Active page color */
}

/* Responsive Design for Trending Movies */
@media screen and (max-width: 768px) {
    .trending-movies h1 {
        font-size: 2rem; /* Smaller title on mobile */
    }

    .results-container {
        gap: 15px; /* Reduce gap between cards on smaller screens */
    }
}

/* Actor Details Page Styles */
.actor-details {
    margin-top: 100px; /* Adjust this value to match your header height */
    padding: 30px;
    background-color: #141414;
    color: #ffffff;
}

.actor-header {
    text-align: center;
    margin-bottom: 30px;
}

.actor-profile {
    border-radius: 50%; /* Make the profile image circular */
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Adjust size as needed */
    object-fit: cover; /* Ensure the image covers the circle */
    border: 3px solid #e50914; /* Add a border around the profile image */
}

.actor-header h1 {
    font-size: 2.5rem;
    margin-top: 15px;
}

.known-for {
    font-size: 1.2rem;
    margin: 5px 0;
}

.biography {
    font-size: 1rem;
    margin: 10px 0;
    line-height: 1.6; /* Improve readability */
    padding: 0 20px; /* Add some horizontal padding */
}

.movies h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.results-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-container li {
    background-color: #1a1a1a; /* Card background color */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensure child elements respect the border radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation effect on hover */
}

.results-container li:hover {
    transform: scale(1.05); /* Scale effect on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
}

.results-container img {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px 8px 0 0; /* Round top corners only */
}

.results-container h3 {
    text-align: center; /* Center title */
    margin: 10px 0; /* Space above and below title */
    font-size: 1.2rem; /* Title font size */
    color: #ffffff; /* Title color */
}

.results-container p {
    text-align: center; /* Center release date */
    font-size: 0.9rem; /* Font size for the release date */
    color: #cccccc; /* Color for the release date */
}

/* Responsive Design for Actor Details */
@media screen and (max-width: 768px) {
    .actor-header h1 {
        font-size: 2rem; /* Smaller title on mobile */
    }

    .movies h2 {
        font-size: 1.5rem; /* Smaller subtitle on mobile */
    }

    .results-container {
        gap: 15px; /* Reduce gap between cards on smaller screens */
    }
}

/* Stylize the home-search container */
.home-search {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 600px;
    padding: 10px;
}

.home-search form,
.search-bar form {
    display: flex;
    width: 100%;
}

.home-search input[type="text"],
.search-bar input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    color: #141414;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.home-search input[type="text"]::placeholder,
.search-bar input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}

.home-search input[type="text"]:focus,
.search-bar input[type="text"]:focus {
    outline: none;
    background-color: #f2f2f2;
}

.home-search button,
.search-bar button {
    padding: 12px 25px;
    background-color: #e50914;
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.home-search button:hover,
.search-bar button:hover {
    background-color: #b20710;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.home-search button:focus,
.search-bar button:focus {
    outline: none;
}


.search-results {
    margin-top: 50px;
}
/* Header Styles */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo a {
    color: red; /* Bold red color for the logo */
    font-weight: bold; /* Make the logo bold */
    text-decoration: none;
    font-size: 24px;
}

.menu-toggle {
    display: none; /* Initially hidden */
    font-size: 24px;
    cursor: pointer;
}

.nav-links {margin-right: -170px;
    list-style: none;
    display: flex; /* Show links by default on larger screens */
}

.nav-links li {
    margin: 0 20px; /* Space between links */
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none; /* Hide mobile menu by default */
    position: absolute;
    top: 60px; /* Adjust based on your navbar height */
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px;
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
    font-size: 25px;
    line-height: 80px;
}

.mobile-menu.active ul{list-style-type: none !important;}
.nav-search{margin: 0 !important; max-width: auto!important; width: auto!important;}

/* Responsive Styles */
@media (max-width: 768px) {
	.mob-search{padding: 0 !important;}
    .menu-toggle {
        display: block; /* Show menu toggle on mobile */
    }

    .nav-links, .nav-search{
        display: none; /* Hide regular nav links on mobile */
    }

    .nav-links.active {
        display: flex; /* Show nav links when active */
        flex-direction: column; /* Stack links vertically */
        position: absolute; /* Position absolute for mobile */
        width: 100%; /* Full width */
        top: 60px; /* Adjust based on your navbar height */
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px;
    }

    .nav-links li {
        margin: 10px 0; /* Space between links on mobile */
    }
}
/* Grid layout for studios */
.studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between cards */
}

/* Individual studio card styles */
.studio-card {
    background-color: #ffffff; /* Card background color */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Clip any overflow */
    text-align: center; /* Center-align text */
    transition: transform 0.3s, box-shadow 0.3s; /* Animation for hover effect */
}

/* Hover effect for studio cards */
.studio-card:hover {
    transform: scale(1.05); /* Scale up on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); /* Shadow for depth */
}

/* Container for studio logos */
.studio-logo-container {
    height: 150px; /* Fixed height for image container */
    display: flex; /* Flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    overflow: hidden; /* Clip overflow to maintain aspect ratio */
    background-color: #ffffff; /* Background for logo container */
	padding: 20px;
}

/* Studio logo styles */
.studio-logo {
    max-height: 100%; /* Max height of logo */
    max-width: 100%; /* Max width of logo */
    object-fit: contain; /* Maintain aspect ratio while fitting */
}

/* Studio name styles */
.studio-card h2 {
    margin: 10px 0; /* Margin for spacing */
    font-size: 1.2em; /* Font size for the studio name */
    color: #000000; /* Text color */
}
.studio-header {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto; /* Centers the div itself horizontally */
}

.studio-logo {
    max-width: 100%; /* Ensures the logo does not overflow the div */
    height: auto;
}

.studio-title {
    margin-top: 10px; /* Adds space between the logo and the title */
    font-size: 1.5em; /* Adjust font size as needed */
}

/* Watch Party Styles */
.watch-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.watch-party-btn {
    background: linear-gradient(135deg, #e50914, #ff6b6b);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.watch-party-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
    background: linear-gradient(135deg, #ff0a16, #ff7b7b);
}

.watch-party-btn:active {
    transform: translateY(0);
}

.watch-party-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments for watch options */
@media (max-width: 768px) {
    .watch-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .watch-party-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .imdb-torrent-instruction {
        text-align: center;
    }
}

/* WebTorrent player (views/partials/player.ejs) */
.player-wrap {
    margin-top: 20px;
}

.player-wrap video {
    background-color: #000000;
    width: 100%;
    max-height: 70vh;
    display: block;
}

.player-status {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 10px;
    min-height: 1.4em;
}

.player-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10px 0;
    color: #999999;
    font-size: 0.85rem;
}

.seeding-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: #cccccc;
    font-size: 0.85rem;
}

.seeding-controls button {
    background: none;
    border: 1px solid #444444;
    color: #cccccc;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.seeding-controls button:hover {
    border-color: #e50914;
    color: #ffffff;
}
