@font-face {
  font-family: 'Economica';
  src: url('/fonts/Economica-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* General Body Styling */
        body {
            margin: 0;
            font-family: Economica, sans-serif;
            background-color: #121212;
            color: #fff;
			overflow-x: hidden; /* Prevents horizontal scrolling */
        }
		
		@media (max-width: 768px) {
			.full-content-wrapper {
				grid-template-columns: repeat(2, minmax(150px, 1fr)); /* Two images per row */
			}
		}

		@media (max-width: 480px) {
			.full-content-wrapper {
				grid-template-columns: repeat(1, minmax(150px, 1fr)); /* Single column for mobile */
			}
		}
		
		@media (max-width: 480px) {
			.full-content-item img {
				box-shadow: 0 0 6px rgb(255, 0, 0), 0 0 12px rgb(255, 0, 0); /* Softer glow */
			}
		}

        /* Header Section */
        header {
			display: flex;
			align-items: center;
			justify-content: space-between;
		}


        .logo img {
            height: 50px;
			padding: 30px
        }

        .nav-links {
            display: flex;
            gap: 20px;
            position: relative;
			left: -38px;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-size: 1.2rem;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }

        .nav-links a:hover {
            color: #ff0000;
            text-shadow: 0 0 6px #ff0000; /* Softer glow */
        }

        .dropdown {
            position: relative;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            top: 110%; /* Moves closer to the parent link */
            background-color: #1e1e1e;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .dropdown-content a {
            color: #fff;
            text-decoration: none;
            font-size: 0.9rem;
            padding: 5px 0;
            display: block;
            transition: background-color 0.3s ease;
        }

        .dropdown-content a:hover {
            background-color: #ff0000;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .search-bar {
            display: flex;
            align-items: center;
			margin-left: 30px
        }

        .search-bar input[type="text"] {
            padding: 5px;
            background-color: #000;
            border: 1px solid #ff0000;
            border-radius: 5px;
            outline: none;
            font-size: 1rem;
            color: #fff;
        }

        .search-bar input[type="text"]::placeholder {
            color: #999;
        }

        .search-bar button {
            margin-left: 5px;
            padding: 5px 10px;
            border: 1px solid #fff; /* Adds contrast */
            border-radius: 5px;
            background-color: #ff0000;
            color: #fff;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background-color 0.3s ease;
        }

        .search-bar button:hover {
            background-color: #cc0000;
        }

        /* Hero Section */
        .hero {
			position: relative;
			height: 80vh;
			background: url('/images/test-3.gif') center center/cover;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			color: #fff;
			text-align: center;
		}

		.overlay {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-color: rgba(0, 0, 0, 0.6); /* Dark overlay to improve text visibility */
		}

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3rem;
            margin: 0;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }

        .hero p {
            font-size: 1.5rem;
            margin: 10px 0 20px;
        }
	
.site-footer {
		background-color: #000;
		width: 100%;
		padding-bottom: 0;
		margin-bottom: 0;
	}

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-links {
        display: flex;
        gap: 15px;
    }

    .footer-links a {
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: #ff9800; /* Highlight on hover */
    }

    .footer-social {
        display: flex;
        gap: 15px;
    }

    .footer-social a img {
        height: 30px;
        transition: transform 0.3s ease;
    }

    .footer-social a:hover img {
        transform: scale(1.1); /* Small zoom effect */
    }

    .footer-copyright p {
        font-size: 0.9rem;
        margin-top: 15px;
        color: #bbb;
    }
	
	
	.full-content-section h2 {
        font-size: 2rem;
        text-align: center;
        width: 100%;
    }
	
	.full-content-section h3 {
        text-align: center;
        width: 100%;
    }
	
	.full-content-section p {
        text-align: center;
    }

    .full-content-wrapper {
    display: grid;
    gap: 30px; /* Adjust gap for better spacing */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Ensure responsive layout */
    justify-content: center; /* Horizontally center the grid */
    align-items: start; /* Vertically align items */
    width: 100%; /* Ensure the grid spans the full container width */
    margin: 0 auto; /* Center-align the grid itself */
    padding: 20px; /* Add padding around the grid */
    box-sizing: border-box; /* Include padding in total width calculation */
}

    .full-content-item {
    position: relative;
    display: inline-block;
    margin: 0; /* Remove extra margins */
    padding: 10px; /* Internal padding for consistent spacing */
}
	
	.full-content-item:not(.rgb):not(.pink):not(.orange):not(.white) img {
		animation: none; /* Disable any glow animation */
		transition: all 0.5s ease, filter 0.3s ease;
	}

    .full-content-item img {
		width: 180px;
		max-width: auto;
		height: auto;
		border-radius: 10px;
		transition: all 0.5s ease, filter 0.3s ease; /* Smooth transition */
		animation: rgbGlow 3s infinite;
	}

	.full-content-item:hover img {
		filter: brightness(50%); /* Darkens image on hover */
		transform: scale(1.05); /* Slight zoom effect */
	}

    .full-content-title {
		position: static; /* Ensure it follows normal flow */
		font-size: 1.2rem;
		font-weight: bold;
		text-align: center;
		color: #fff;
		margin-top: 10px; /* Space between image and title */
		width: 100%; /* Matches the width of the image */
		opacity: 1; /* Always visible */
		transform: none; /* Remove unwanted transformations */
		transition: none; /* No transition since it's not hover-based */
	}

    .full-content-item:hover .full-content-title {
        opacity: 1; /* Title appears on hover */
        animation: textRgbGlow 3s infinite; /* Starts glowing */
    }
	
#playButtonAlt {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #ff0000;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#playButtonAlt:hover {
  background-color: #cc0000;
}

/* RGB Glow Animation */
@keyframes rgbGlow {
    0% { box-shadow: 0 0 8px rgb(255, 0, 0), 0 0 16px rgb(255, 0, 0), 0 0 24px rgb(255, 0, 0); }
    25% { box-shadow: 0 0 8px rgb(0, 255, 0), 0 0 16px rgb(0, 255, 0), 0 0 24px rgb(0, 255, 0); }
    50% { box-shadow: 0 0 8px rgb(0, 0, 255), 0 0 16px rgb(0, 0, 255), 0 0 24px rgb(0, 0, 255); }
    75% { box-shadow: 0 0 8px rgb(255, 255, 0), 0 0 16px rgb(255, 255, 0), 0 0 24px rgb(255, 255, 0); }
    100% { box-shadow: 0 0 8px rgb(255, 0, 0), 0 0 16px rgb(255, 0, 0), 0 0 24px rgb(255, 0, 0); }
}

/* Pink Pulse Glow Animation */
@keyframes pinkPulse {
    0% { box-shadow: 0 0 8px rgb(255, 182, 193), 0 0 16px rgb(255, 182, 193), 0 0 24px rgb(255, 182, 193); }
    50% { box-shadow: 0 0 8px rgb(255, 20, 147), 0 0 16px rgb(255, 20, 147), 0 0 24px rgb(255, 20, 147); }
    100% { box-shadow: 0 0 8px rgb(255, 182, 193), 0 0 16px rgb(255, 182, 193), 0 0 24px rgb(255, 182, 193); }
}

/* Orange Pulse Glow Animation */
@keyframes orangePulse {
    0% { box-shadow: 0 0 8px rgb(255, 140, 0), 0 0 16px rgb(255, 140, 0), 0 0 24px rgb(255, 140, 0); }
    50% { box-shadow: 0 0 12px rgb(255, 165, 0), 0 0 24px rgb(255, 165, 0), 0 0 36px rgb(255, 165, 0); }
    100% { box-shadow: 0 0 8px rgb(255, 140, 0), 0 0 16px rgb(255, 140, 0), 0 0 24px rgb(255, 140, 0); }
}

/* White Pulse Glow Animation */
@keyframes whitePulse {
    0% { box-shadow: 0 0 8px rgb(255, 255, 255), 0 0 16px rgb(255, 255, 255), 0 0 24px rgb(255, 255, 255); }
    50% { box-shadow: 0 0 12px rgb(240, 240, 240), 0 0 24px rgb(240, 240, 240), 0 0 36px rgb(240, 240, 240); }
    100% { box-shadow: 0 0 8px rgb(255, 255, 255), 0 0 16px rgb(255, 255, 255), 0 0 24px rgb(255, 255, 255); }
}

/*
@keyframes redPulse {
    0% { box-shadow: 0 0 8px rgb(255, 0, 0), 0 0 16px rgb(255, 0, 0), 0 0 24px rgb(255, 0, 0); }
    50% { box-shadow: 0 0 12px rgb(240, 240, 240), 0 0 24px rgb(240, 240, 240), 0 0 36px rgb(240, 240, 240); }
    100% { box-shadow: 0 0 8px rgb(255, 0, 0), 0 0 16px rgb(255, 0, 0), 0 0 24px rgb(255, 0, 0); }
}
*/

/* Apply RGB Glow */
.full-content-item.rgb img {
    animation: rgbGlow 3s infinite;
    transition: all 0.5s ease, filter 0.3s ease;
}

/* Apply Pink Pulse Glow */
.full-content-item.pink img {
    animation: pinkPulse 3s infinite;
    transition: all 0.5s ease, filter 0.3s ease;
}

/* Apply Orange Pulse Glow */
.full-content-item.orange img {
    animation: orangePulse 3s infinite;
    transition: all 0.5s ease, filter 0.3s ease;
}

/* Apply White Pulse Glow */
.full-content-item.white img {
    animation: whitePulse 3s infinite;
    transition: all 0.5s ease, filter 0.3s ease;
}


/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
}

.modal-body {
    display: flex; /* Flexbox layout */
    align-items: center;
    gap: 20px; /* Space between image and text */
}

.modal-body img {
    max-width: 300px; /* Bigger image */
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Center all text and controls within the modal-text container */
.modal-text {
    flex: 1;                  /* Take up remaining horizontal space */
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Center vertically inside this column */
    align-items: center;      /* Center horizontally */
    text-align: center;       /* Make sure text is centered */
}

.modal-text h2 {
    margin: 0 0 5px; /* Title with reduced bottom margin */
    font-size: 1.8rem; /* Enlarged title text */
}

.modal-text .rating {
    margin: 0 0 15px; /* Ensure proper spacing below the rating */
    font-size: 1.4rem;
    color: #ffcc00; /* Gold color for ratings */
}

.modal-text .info {
    margin: 10px 0;
    font-size: 1.4rem;
    line-height: 1.5;
}

/* Center the two buttons in their container */
.modal-buttons {
    display: flex;
    justify-content: center;  /* Center both buttons horizontally */
    gap: 20px;                /* Maintain space between the buttons */
    margin-top: 20px;         /* Add some top margin to separate from the info */
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ff0000; /* Red button color */
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-buttons button:hover {
    background-color: #cc0000; /* Darker red on hover */
}

/* eg. give upcoming posters a silver border */
.upcoming-wrapper .full-content-item {
  border: 2px solid #888;
  border-radius: 12px;
}

/* and maybe a “Coming Soon” ribbon */
.upcoming-wrapper .full-content-item .full-content-title::before {
  content: "Coming Soon";
  display: none !important;
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: #ffcc00;
  text-shadow: 0 0 4px #000;
}

.modal-buttons.upcoming button:hover {
  background-color: #cc0000;   /* same hover */
}

.close {
    position: absolute;
    top: 1px; /* Adjust placement inside modal-content */
    right: 20px; /* Align closer to the right edge */
    font-size: 3rem; /* Slightly larger for visibility */
    color: #fff; /* White color for contrast */
    cursor: pointer;
    background-color: transparent; /* No background for a clean look */
    border: none; /* Remove default button styling */
    z-index: 1100; /* Ensure it stays above other modal elements */
    padding: 0; /* Remove padding */
}

.labeled-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  width: 80%;
  position: relative;
}

.labeled-divider::before{
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #ff2b2b,
    #a50000,
    transparent
  );
  margin: 0 12px;
  border-radius: 4px;
  opacity: 0.8;
}

.labeled-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to left,
    transparent,
    #a50000,
    #ff2b2b,
    transparent
  );
  margin: 0 12px;
  border-radius: 4px;
  opacity: 0.8;
}

.divider-label {
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #ff4d4d;
  background: linear-gradient(90deg, #ff4d4d, #ff2b2b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  white-space: nowrap;
  filter: drop-shadow(0 0 2px #ff4d4d);
}

.section-separator-top {
  height: 2px;
  background: linear-gradient(to right, #a50000, #ff2b2b, #a50000);
  margin: 40px auto;
  width: 70%;
  opacity: 0.5;
}

.modal-upcoming-text {
  margin-top: 8px;
  font-size: 1.2em;
  color: #ff4d4d;       /* red theme */
  display: none;        /* hidden by default */
}

#videoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background overlay */
    z-index: 1100; /* Above other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

#videoModal video {
    max-width: 100%; /* Limit video width for smaller screens */
    max-height: 100%; /* Adjust video height to fit the modal */
    border-radius: 10px; /* Smooth corners for the video player */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add some depth */
}

#closeVideoModal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    background-color: transparent;
    border: none;
    z-index: 1200;
}

#youtubeModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background overlay */
    z-index: 1100; /* Above other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

#youtubeModal iframe {
    max-width: 90%; /* Limit iframe width for smaller screens */
    max-height: 90%; /* Increased height for better visibility */
    border-radius: 10px; /* Smooth corners for the player */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5); /* Enhanced depth */
}

#closeYouTubeModal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    background-color: transparent;
    border: none;
    z-index: 1200;
}

.filter-container {
    display: flex;
    justify-content: center; /* Center the filters horizontally */
    align-items: center;     /* Vertically center if needed */
    gap: 20px;               /* Adjust spacing between filters */
    margin: 20px auto;       /* Center the container */
    width: 80%;              /* Optional: Set a width for the container */
}

.filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    width: 200px;  /* Set a fixed width for each filter container */
}

.filter label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
}

.filter select {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
    border: 2px solid #2a2a2a;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 1rem;
    text-align: center;           /* Centers text inside the select */
    text-align-last: center;      /* Ensures the selected option is centered in supported browsers */
}

.watch-now-button {
	font-family: Economica, sans-serif;
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #ff0000, #cc0000); /* Gradient effect */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.watch-now-button:hover {
    background: linear-gradient(to right, #cc0000, #990000); /* Darker gradient on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

.watch-now-button:active {
    background: linear-gradient(to right, #990000, #770000); /* Pressed effect */
    transform: scale(0.98); /* Shrink slightly on press */
}

.imdb-logo {
    width: 50px;   /* Adjust as needed */
    height: auto;
    vertical-align: middle; /* Aligns the image with the surrounding text */
    margin-left: 5px;       /* Optional spacing */
}

.age-logo {
  width: 24px;
  height: auto;
  vertical-align: middle;
  margin: 0 8px;
}

.modal-special-text {
  position: absolute;   /* keep this */
  top:    -0.1rem;      /* your vertical nudge */
  left:   1.7rem;       /* pull it into the top-left corner */
  z-index: 10;
  
  width: max-content;

  font-weight: 600;
  padding: 0.35rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.8);  /* Semi-transparent dark background */
  display: inline-block;                /* Shrinks box to fit the content */
  white-space: nowrap;                  /* Prevents word wrapping */
  border-radius: 4px;                   /* Optional: soften the corners */
}


/* optional: colour-code the text to match each glow */
.modal.upcoming .modal-special-text { opacity: 0.7; }
.modal-special-text[ glow="pink"  ] { color: #ff00a3; }
.modal-special-text[ glow="orange"] { color: #f90; }
.modal-special-text[ glow="white" ] { color: #fff; }
.modal-special-text[ glow="rgb"   ] { color: #0cf; }

/* ========== MODAL CONTAINER BACKGROUND STYLING ========== */
#contentModal.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  background-color: rgba(0, 0, 0, 0.6); /* fallback if no backgroundImage is set */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* When modal is shown, fade in */
#contentModal.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

/* ========== DARK OVERLAY LAYER ========== */
#contentModal .modal-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* tweak this alpha for more/less darkness */
  /* backdrop-filter: blur(2px); */     /* optional softness */
  z-index: 1;
}

/* ========== MAIN CONTENT ON TOP ========== */
#contentModal .modal-content {
  position: relative;
  z-index: 2;  /* floats above overlay */
  background-color: rgba(20, 20, 20, 0.95); /* optional inner backdrop */
  border-radius: 12px;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

/* Optional fade-out when closing */
#contentModal.modal.closing {
  opacity: 0;
  pointer-events: none;
}

.no-content-message {
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    padding: 20px;
}

.search-container {
  text-align: center;
  margin-bottom: 15px;
}

.search-container input {
  width: 60%;
  max-width: 400px;
  padding: 8px 10px;
  font-size: 1rem;
  border: 2px solid #2a2a2a;
  border-radius: 5px;
  background-color: #000;
  color: #fff;
}

/* Container settings */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* Wrapper ensures proper alignment */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Carousel structure */
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px; /* Reduced gap for better spacing */
    overflow: hidden;
    justify-content: center; /* Centers items */
}

/* Adjusted content-item for correct sizing */
.content-item {
    position: relative;
    flex: 0 0 22%; /* Adjusted size for better fit */
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures full centering */
    justify-content: flex-end;
}

/* Fully visible, correctly sized image */
.content-item img {
    width: 100%;
    height: auto;
    max-height: 330px; /* Adjusted for balanced sizing */
    object-fit: contain; /* Ensures full image is shown */
    display: block;
    border-radius: 10px;
}

/* Overlay for Title and Rating */
.content-details {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 220px; /* Match image width */
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    text-align: center;
    z-index: 2;
}

/* Title styling */
.content-details h3 {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* Rating styling */
.content-details .rating {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Restore Left & Right button visibility */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 2px solid transparent;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

.carousel-button.left {
    left: 20px;
}

.carousel-button.right {
    right: 20px;
}

/* Hide buttons if only 4 items exist */
@media screen and (min-width: 1024px) {
    .carousel-button {
        display: none;
    }
}

/* Show buttons if more than 4 items exist */
@media screen and (min-width: 1024px) {
    .carousel-button {
        display: block;
    }
}

/* 1) Push page content below the fixed banner */

/* 2) Banner container */
.scroll-banner {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 40px;
  background: #000000;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
  box-sizing: border-box;
  padding: 0 12px;
}

/* 3) Scrolling text */
.scroll-text {
  flex: 1;
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 15s linear infinite;
  color: #fff;
  font-size: 1.3em;
}

/* 4) keyframes for smooth leftward scroll */
@keyframes marquee {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 5) Close button */
.close-banner-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  margin-left: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .2s;
}
.close-banner-btn:hover {
  opacity: 1;
}

/* 1) Overlay: full-screen & centered */
#newModalOverlay {
  display: none;              /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
}

#newModalOverlay.show {
  display: flex;              /* <-- flex enables centering */
  opacity: 1;
  pointer-events: auto;
}

/* 2) Semi-transparent backdrop */
#newModalOverlay .modal-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

/* 3) Modal box */
#newModalOverlay .new-modal-content {
  position: relative;
  margin: 0;
  top: auto;
  left: auto;
  transform: none;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(6px);
  border: 2px solid #ff2b2b;
  border-radius: 8px;
  max-width: 900px;
  width: 95%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  overflow: hidden;
  z-index: 10001;
  padding: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* 4) Close button */
#newModalOverlay .close-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10002;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

/* 5) Header: single backdrop image + blend + logo */
#newModalOverlay .nm-header {
  position: relative;
  height: 380px;
  overflow: hidden;
}
#newModalOverlay .nm-header-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
#newModalOverlay .nm-header-blend {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(
    to bottom,
    rgba(20,20,20,0)   0%,
    rgba(20,20,20,0.8) 80%,
    rgba(20,20,20,1)   100%
  );
}
#newModalOverlay .nm-logo {
  position: static;
  bottom: 30px; left: 30px;
  width: 230px;
  object-fit: contain;
}

/* 6) Body flex split */
#newModalOverlay .nm-body {
  display: flex;
  gap: 24px;
  padding: 20px;
  align-items: center;
}
#newModalOverlay .nm-desc {
  flex: 2;
}
#newModalOverlay .nm-display-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ff2b2b;
  text-align: left;
}
#newModalOverlay .nm-desc-title {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: #ff2b2b;
  line-height: 1.4;
  text-align: left;
  width: 100%;
}
#newModalOverlay .nm-desc-text {
  font-size: 1.2rem;
  margin: 0;
  color: #ddd;
  line-height: 1.4;
  text-align: left;
  width: 100%;
}
/* 7) Action buttons */
#newModalOverlay .nm-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
#newModalOverlay .nm-btn {
  width: 100%;
  padding: 8px;
  border: 2px solid #ff2b2b;
  border-radius: 4px;
  background: none;
  color: #ff2b2b;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#newModalOverlay .nm-btn:hover {
  background: #ff2b2b;
  color: #111;
}

/* ── Rating Text ── */
#newModalOverlay .nm-rating {
  color: #ff2b2b;
  position: static;
  bottom: 20px;
  left: 245px;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
  line-height: 1;
}

#newModalOverlay .nm-header-meta {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 12px;       /* space between logo, rating, icon */
  z-index: 10003;  /* over the blend */
}

#newModalOverlay .nm-imdb-link {
  display: inline-block;
}
#newModalOverlay .nm-imdb-logo {
  width: 45px;
  position: static;
  height: auto;
}

/* By default buttons stay full-width */
#newModalOverlay .nm-actions .nm-btn {
  width: 100%;
}

/* But when the actions container has .single, buttons shrink to content */
#newModalOverlay .nm-actions.single .nm-btn {
  width: auto;
  padding: 8px 16px;     /* bump horizontal padding so it’s not too skinny */
}

#newModalOverlay .nm-upcoming-text {
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
}

.full-content-item.unavailable {
  position: relative;
  pointer-events: none;
  cursor: not-allowed;
}

/* only dim the actual content */
.full-content-item.unavailable .content-fade {
  opacity: 0.6;
  /* or filter: grayscale(100%); */
}


.full-content-item.unavailable::after {
  content: "⚠";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #FF0000;
  text-shadow:
    0 0 6px #FF0000,
    0 0 12px #FF0000;
  -webkit-text-stroke: 1px #FF0000;
  z-index: 10;
  animation: pulse 1.5s ease-in-out infinite;
}

/* pulse keyframes... */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

.full-content-item.unavailable {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

#noResultsMessage {
  display: none;
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 720px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  color: #e84141; /* red text */
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.vjs-control-bar .vjs-subs-caps-button {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 1. Darker, rounded modal background */
.vjs-text-track-settings.vjs-modal-dialog {
  background: rgba(30, 30, 30, 0.95) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

/* 2. Headings & labels */
.vjs-text-track-settings .vjs-track-setting > legend {
  color: #fff !important;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5em;
}

/* 3. Radio buttons and selects */
.vjs-text-track-settings .vjs-track-setting input,
.vjs-text-track-settings .vjs-track-setting select {
  background: #2a2a2a !important;
  color: #eee !important;
  border: 1px solid #444 !important;
  border-radius: 4px !important;
  padding: 0.3em 0.5em !important;
  font-size: 0.9em !important;
}

/* 4. Menu items (e.g. font size list) */
.vjs-text-track-settings .vjs-menu .vjs-menu-item {
  padding: 0.6em 1em !important;
  font-size: 0.9em !important;
  color: #ddd !important;
}

.vjs-text-track-settings .vjs-menu .vjs-menu-item:hover,
.vjs-text-track-settings .vjs-menu .vjs-menu-item:focus {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* 5. Reset button styling */
.vjs-text-track-settings .vjs-default-button {
  background: #444 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0.5em 0.8em !important;
  margin-top: 1em !important;
  cursor: pointer !important;
}
.vjs-text-track-settings .vjs-default-button:hover {
  background: #555 !important;
}

/* removal & subtitle lines sit under the glow label, in the normal flow */
.modal-removal-text	{
  position: absolute;   /* keep this */
  top:    -0.1rem;      /* your vertical nudge */
  left:   9.5rem;       /* pull it into the top-left corner */
  z-index: 10;
  
  width: max-content;

  font-weight: 600;
  padding: 0.35rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.8);  /* Semi-transparent dark background */
  color: crimson;
  display: inline-block;                /* Shrinks box to fit the content */
  white-space: nowrap;                  /* Prevents word wrapping */
  border-radius: 4px;                   /* Optional: soften the corners */
}

.modal-subtitle-text {
  position: absolute;   /* keep this */
  top:    2.0rem;      /* your vertical nudge */
  left:   1.7rem;       /* pull it into the top-left corner */
  z-index: 10;
  
  width: max-content;

  font-weight: 600;
  padding: 0.35rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.8);  /* Semi-transparent dark background */
  display: inline-block;                /* Shrinks box to fit the content */
  white-space: nowrap;                  /* Prevents word wrapping */
  border-radius: 4px;                   /* Optional: soften the corners */
}

/* Container for button spacing */
.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

/* Base styles for all hero buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 1;
}

/* Primary button style */
.btn-primary {
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* Secondary button style */
.btn-secondary {
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* Hover effect for both buttons */
.btn:hover {
  opacity: 0.9;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-dropdown {
  position: relative;
}

.profile-toggle {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.profile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.3rem 0;
}

.profile-menu a:hover {
  color: #ff2b2b;
}

.profile-dropdown.open .profile-menu {
  display: flex;
}