/* Film Title Heading */
#film-title-heading {
	font-size: 2rem;
	font-weight: 800;
	text-align: center;
	margin: 20px 0;
	background: linear-gradient(90deg, #7b1e3a, #d32f2f, #f06292);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: 1px;
	text-transform: uppercase;
	position: relative;
	animation: fadeInUp 0.6s ease;
}

/* underline accent */
#film-title-heading::after {
	content: "";
	display: block;
	margin: 8px auto 0;
	width: 60px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #7b1e3a, #d32f2f);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* subtle animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 🌈 Modern Stylish Navbar */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 1.2rem;
	backdrop-filter: blur(14px);
	background: linear-gradient(135deg, #7b1e3a 0%, #d32f2f 50%, #ff6f61 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	position: relative;
	top: 0;
	z-index: 999;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
	border-radius: 0 0 16px 16px;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar.hidden {
	opacity: 0;
	transform: translateY(-100%);
}

/* Left section (hamburger + brand) */
.nav-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Hamburger button */
.menu-btn {
	display: none; /* hidden on desktop */
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	color: white;
	transition: transform 0.2s ease, color 0.3s;
}

.menu-btn:hover {
	transform: scale(1.15);
	color: #ffd1d1;
}

/* Desktop nav links */
.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
	transition: all 0.3s ease-in-out;
}

/* ✅ Global nav link styles with underline */
.nav-links a {
	position: relative;    /* required for underline */
	display: flex;
	align-items: center;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	letter-spacing: 0.3px;
	line-height: 1.5;
	padding: 4px 0;
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0%;             /* hidden initially */
	height: 2px;
	background: #ffeaea;
	border-radius: 10px;
	transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
	width: 100%;           /* expands under link text only */
}

/* Share button */
.share-btn {
	background: linear-gradient(135deg, #ffffff, #ffeaea);
	color: #7b1e3a;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 30px;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-btn:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* 📱 Mobile Dropdown */
@media (max-width: 1300px) {
	.menu-btn {
		display: inline-flex; /* show hamburger */
	}

	.nav-links {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		padding: 1rem;
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
		border-radius: 0 0 16px 16px;
		transform: translateY(-20px);
		opacity: 0;
		pointer-events: none;
		transition: all 0.3s ease-in-out;
	}

	.nav-links.show {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.nav-links a {
		display: inline-flex;   /* keep flex + inline for mobile */
		align-items: center;
		color: #7b1e3a;        /* dark text for mobile menu */
		padding: 8px 0;
	}

	.nav-links a:last-child {
		border-bottom: none;
	}
}

/* Brand Name */
.brand-name {
	position: relative;
	display: inline-block;
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	letter-spacing: 2px;
	text-transform: uppercase;
	background: linear-gradient(
		90deg,
		#b8b8b8,
		#dcdcdc,
		#f5f5f5,
		#e0e0e0,
		#b8b8b8
	);
	background-size: 300% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: silverFlow 8s linear infinite;
	white-space: nowrap;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

@keyframes silverFlow {
	0% { background-position: 0% center; }
	50% { background-position: 100% center; }
	100% { background-position: 0% center; }
}

.brand-name::after {
	content: "";
	position: absolute;
	top: 0;
	left: -50%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent,
		rgba(255, 255, 255, 0.7),
		transparent
	);
	transform: skewX(-20deg);
	animation: shimmerPass 3s infinite;
	pointer-events: none;
}

@keyframes shimmerPass {
	0% { left: -50%; }
	100% { left: 120%; }
}































/* Overlay background */
#twitterFollowOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 37, 41, 0.6); /* Dark semi-transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup container */
.twitter-popup-content {
  background-color: #ffffff; /* White background */
  color: #212529; /* Dark text for readability */
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* Soft shadow */
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
  animation: popupFadeIn 0.3s ease-out;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Text inside the popup */
.twitter-popup-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

/* Follow button styling */
.twitter-follow-btn {
  background-color: #1da1f2; /* Twitter blue */
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.twitter-follow-btn:hover {
  background-color: #0d95e8;
  transform: translateY(-2px);
}

/* Dismiss button styling */
#dismissPopup {
  background: transparent;
  border: none;
  color: #6c757d; /* Subtle gray */
  font-size: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition: color 0.2s ease;
}

#dismissPopup:hover {
  color: #212529; /* Darker on hover */
}

/* Popup animation */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
