.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}
.pagination button, .next-btn, .prev-btn { 
  --border-radius: 15px; 
  --border-width: 4px; 
  appearance: none; 
  position: relative; 
  padding: 1em 2em; 
  border: 0; 
  background-color: #00000000; 
  font-family: "Roboto", Arial, "Segoe UI", sans-serif; 
  font-size: 18px; 
  font-weight: 500; 
  color: #fff; 
  z-index: 2; 
  cursor: pointer;
} 
 
.pagination button::after, .next-btn::after, .prev-btn::after { 
  --m-i: linear-gradient(#000, #000); 
  --m-o: content-box, padding-box; 
  content: ""; 
  position: absolute; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  padding: var(--border-width); 
  border-radius: var(--border-radius); 
  background-image: conic-gradient( 
		 #488cfb, 
		 #29dbbc, 
		 #ddf505, 
		 #ff9f0e, 
		 #e440bb, 
		 #655adc, 
		 #488cfb 
	 ); 
  -webkit-mask-image: var(--m-i), var(--m-i); 
  mask-image: var(--m-i), var(--m-i); 
  -webkit-mask-origin: var(--m-o); 
  mask-origin: var(--m-o); 
  -webkit-mask-clip: var(--m-o); 
  mask-composite: exclude; 
  -webkit-mask-composite: destination-out; 
  filter: hue-rotate(0); 
  animation: rotate-hue linear 500ms infinite; 
  animation-play-state: paused; 
} 
 
.pagination button:hover::after, .next-btn:hover::after, .prev-btn:hover::after { 
  animation-play-state: running; 
} 
 
@keyframes rotate-hue { 
  to { 
   filter: hue-rotate(1turn); 
  } 
} 
 
.pagination button, 
.pagination button::after, 
.next-btn, 
.next-btn::after, 
.prev-btn, 
.prev-btn::after { 
  box-sizing: border-box; 
} 
 
.pagination button:active, .next-btn:active, .prev-btn:active { 
  --border-width: 5px;
}

/* Dot Grid Background */
/* Animated dropdown styles */
.event-wrapper > .event-wrapper-inp { 
  display: none; 
} 
.event-wrapper { 
  font-weight: 500; 
  color: white; 
  background-color: transparent; /* Ensuring hamburger button has transparent background */
  padding: 3px 15px; 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  height: 2.5rem; 
  width: fit-content; 
  position: relative; 
  cursor: pointer; 
  justify-content: space-between; 
} 

.arrow { 
  height: 34%; 
  aspect-ratio: 1; 
  margin-block: auto; 
  position: relative; 
  display: flex; 
  justify-content: center; 
  transition: all 0.3s; 
} 

.arrow::after, 
.arrow::before { 
  content: ""; 
  position: absolute; 
  background-color: white; 
  height: 100%; 
  width: 2.5px; 
  border-radius: 500px; 
  transform-origin: bottom; 
} 

.arrow::after { 
  transform: rotate(35deg) translateX(-0.5px); 
} 
.arrow::before { 
  transform: rotate(-35deg) translateX(0.5px); 
} 

.event-wrapper > .event-wrapper-inp:checked + .arrow { 
  transform: rotateX(180deg); 
} 

.menu-container { 
  background-color: #000; 
  color: #00000000; 
  border-radius: 10px; 
  position: absolute; 
  width: 150px; 
  right: 0; 
  top: 130%; 
  overflow: visible; 
  clip-path: inset(0% 0% 0% 0% round 10px); 
  transition: all 0.4s; 
  z-index: 100;
} 

.menu-list { 
  --delay: 0.4s; 
  --trdelay: 0.15s; 
  padding: 8px 10px; 
  border-radius: inherit; 
  transition: background-color 0.2s 0s; 
  position: relative; 
  transform: translateY(30px); 
  opacity: 0; 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list {
  transform: translateY(0);
  opacity: 1;
} 

.menu-list::after { 
  content: ""; 
  position: absolute; 
  top: 100%; 
  left: 50%; 
  transform: translateX(-50%); 
  height: 1px; 
  background-color: rgba(255, 255, 255, 0.1); 
  width: 95%; 
} 

.menu-container a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.menu-list:hover { 
  background-color: #00000000; 
  color: #000;
} 

.event-wrapper-inp:not(:checked) ~ .menu-container { 
  clip-path: inset(10% 50% 90% 50% round 10px); 
  visibility: hidden;
} 

.event-wrapper-inp:checked ~ .menu-container { 
  clip-path: inset(0% 0% 0% 0% round 10px); 
  visibility: visible;
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list { 
  transform: translateY(0); 
  opacity: 1; 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(1) { 
  transition: 
    transform 0.4s var(--delay), 
    opacity 0.4s var(--delay); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(2) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 1)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 1)); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(3) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 2)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 2)); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(4) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 3)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 3)); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(5) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 4)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 4)); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(6) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 5)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 5)); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(7) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 6)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 6)); 
} 

.event-wrapper-inp:checked ~ .menu-container .menu-list:nth-child(8) { 
  transition: 
    transform 0.4s calc(var(--delay) + (var(--trdelay) * 7)), 
    opacity 0.4s calc(var(--delay) + (var(--trdelay) * 7)); 
} 

/* These transitions are no longer needed as we've reversed the menu visibility logic */ 

.bar-event-wrapper-inp { 
  -webkit-appearance: none; 
  display: none; 
  visibility: hidden; 
} 

.bar { 
  display: flex; 
  height: 50%; 
  width: 20px; 
  flex-direction: column; 
  gap: 3px; 
} 

.bar-list { 
  --transform: -25%; 
  display: block; 
  width: 100%; 
  height: 3px; 
  border-radius: 50px; 
  background-color: white; 
  transition: all 0.4s; 
  position: relative; 
} 

.event-wrapper-inp:checked ~ .bar > .top { 
  transform-origin: center; 
  transform: translateY(8px) rotate(45deg); 
} 

.event-wrapper-inp:checked ~ .bar > .middle { 
  transform: translateX(-50%); 
  opacity: 0; 
} 

.event-wrapper-inp:checked ~ .bar > .bottom { 
  transform-origin: center; 
  transform: translateY(-8px) rotate(-45deg); 
  z-index: 1000;
}


/* Menu container styles already defined above */

.bar-list {
  background-color: #ecf0f1;
  transition: all 0.3s ease-in-out;
}

.event-wrapper-inp:checked ~ .bar > .top {
  transform: translateY(8px) rotate(45deg);
}

.event-wrapper-inp:checked ~ .bar > .middle {
  opacity: 0;
}

.event-wrapper-inp:checked ~ .bar > .bottom {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-list {
  --delay: 0.4s;
  --trdelay: 0.15s;
  padding: 12px 16px;
  color: #00000000;
  transform: translateY(30px);
  opacity: 0;
  transition: 
    transform 0.4s var(--delay),
    opacity 0.4s var(--delay),
    background-color 0.2s;
}

.menu-list:hover {
  background-color: #34495e;
}

@media (max-width: 768px) {
  .menu-container {
    width: 100%;
    right: 15px;
  }
}

/* Removed Dot Grid Background Animation */
@keyframes moveDots {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.about-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
}

.about-content {
    flex: 1;
}

.linkedin-badge {
    width: 300px;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .about-content {
        font-size: 1.1em;
        line-height: 1.5;
    }
    .linkedin-badge {
        width: 100%;
        margin-top: 20px;
    }
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #000000; /* Even Darker background */
    color: #e0e0e0; /* Lighter text for better contrast */
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Contact Form Styles */
.contact-section {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: auto;
}

.contact-section h1 {
    color: #1abc9c;
    margin-bottom: 20px;
    font-size: 2.2em;
    text-align: center;
}

.contact-section p {
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    color: #1abc9c;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.7);
    color: #e0e0e0;
    font-size: 1em;
    transition: all 0.3s ease;
}

.contact-form select option {
    background: rgba(20, 20, 20, 0.9);
    color: #e0e0e0;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.7);
    color: #e0e0e0;
    font-size: 1em;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.3);
}

.contact-form button[type="submit"] {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

a {
    color: #00ffd5; /* A modern accent color */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00000000;
}

/* Header Styles */
header {
    background-color: #00000000; /* Darker header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "ROND" 0;
    width: 100%;
    overflow-x: hidden;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #00000000;
}

.logo {
    font-size: 1.8em; /* Brand name size */
    font-weight: bold;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2; /* Adjusted for better readability */
    font-family: "Doto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "ROND" 0;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #20202000; /* Darker search bar */
    border-radius: 25px; /* Rounded search bar */
    padding: 8px 15px;
}

.search-bar input {
    background-color: transparent;
    border: none;
    color: #1abc9c;
    padding: 8px;
    outline: none;
    width: 350px; /* Adjust as needed */
    font-size: 0.95em;
}

.search-bar input::placeholder {
    color: #1abc9c;
}

.search-bar button {
    background-color: transparent;
    border: none;
    color: #00ff15;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button svg {
    fill: #1abc9c;
    transition: fill 0.3s ease;
}

.search-bar button:hover svg {
    fill: #1abc9c;
}

.nav-buttons .bollywood-btn,
.nav-buttons .animeflix-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px; /* Rounded buttons */
    margin-left: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-buttons .bollywood-btn {
    background-color: #e74c3c;
    color: #fff;
}

.nav-buttons .bollywood-btn:hover {
    background-color: #2bc093;
    transform: translateY(-2px);
}

.nav-buttons .animeflix-btn {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-buttons .animeflix-btn:hover {
    background: linear-gradient(-45deg, #e73c7e, #23a6d5, #23d5ab, #ee7752);
    transform: translateY(-2px);
    opacity: 0.9;
}

.secondary-nav {
    background-color: #131313; /* Darker secondary nav */
    padding: 12px 0;
}

.secondary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px; /* Spacing between nav items */
}

.secondary-nav ul li a {
    color: #aaa;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.95em;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.secondary-nav ul li a:hover,
.secondary-nav ul li a.active /* Add .active class for current page */ {
    color: #fff;
    background-color: #333;
}

/* Main Content Styles */
main {
    padding: 25px;
    max-width: 1400px; /* Limit max width for better readability on large screens */
    margin: 0 auto; /* Center content */
}

.filter-tags {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap on smaller screens */
    justify-content: center;
    gap: 10px;
}



.filter-tags a {
    color: #bbb;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-tags a:hover {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}

.domain-change-notice {
    background-color: #131313; /* Darker notice background */
    color: #1abc9c; /* Green text for positive notice */
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border-left: 5px solid #2ecc71;
}

.domain-change-notice p {
    margin: 0;
    font-weight: 500;
}

.domain-change-notice .close-notice {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.domain-change-notice .close-notice:hover {
    color: #fff;
}

/* Movie Grid Styles */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Slightly larger min-width */
    gap: 25px;
}

.movie-item {
    background-color: #141414; /* Darker movie item */
    border-radius: 8px;
    overflow: hidden;
    text-align: left; /* Align text to left for better readability */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.movie-item img {
    width: 100%;
    height: 300px; /* Adjust as needed, maintain aspect ratio */
    object-fit: cover;
    background-color: #333; /* Placeholder for image */
    border-bottom: 3px solid #1abc9c; /* Accent border */
}

.movie-item p {
    padding: 15px;
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
    min-height: 60px; /* Ensure consistent height for text block */
}

/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.page-link {
    color: #aaa;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #444;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}

.page-link.prev,
.page-link.next {
    font-weight: 500;
}

.page-dots {
    color: #aaa;
    margin: 0 5px;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #101010; /* Darker footer */
    border-top: 1px solid #282828;
    margin-top: 40px;
}

.footer-links a {
    color: #ffffff;
    margin: 0 15px;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #1abc9c;
}

/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #3a3a3a;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #00000000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}


.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #111;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}
/* Responsive Adjustments (Enhanced) */ 

.movies-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.movies-dropdown-btn {
    background: linear-gradient(135deg, #00000000 0%, #3498db 100%);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.movies-dropdown-btn .arrow-down {
    margin-left: 8px;
    font-size: 12px;
}
.movies-dropdown-btn:hover,
.movies-dropdown-btn:focus {
    background-color: #383838;
}
.movies-dropdown-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    background: #1a1a1a;
    min-width: 180px;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}
.movies-dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: background 0.2s;
}
.movies-dropdown-content a:hover {
    background-color: #383838;
}

@media (max-width: 768px) {
    }
    .movies-dropdown-content {
        min-width: 140px;
        margin-top: 8px;
    }
    .movies-dropdown-content a {
        padding: 10px 16px;
        font-size: 0.9em;
    }

.footer-links a {
    color: #ffffff;
    margin: 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 2px;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #111;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}

.movies-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.movies-dropdown-btn {
    background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.movies-dropdown-btn .arrow-down {
    margin-left: 8px;
    font-size: 12px;
}
.movies-dropdown-btn:hover,
.movies-dropdown-btn:focus {
    background-color: #383838;
}
.movies-dropdown-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    background: #1a1a1a;
    min-width: 180px;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}
.movies-dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: background 0.2s;
}
.movies-dropdown-content a:hover {
    background-color: #383838;
}

@media (max-width: 768px) {
    }
    .movies-dropdown-content {
        min-width: 140px;
        margin-top: 8px;
    }
    .movies-dropdown-content a {
        padding: 10px 16px;
        font-size: 0.9em;
    }

.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #111;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}

.movies-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.movies-dropdown-btn {
    background-color: #2ecc71; /* Modern green */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px; /* Rounded buttons */
    margin-left: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.movies-dropdown-btn:hover {
    background-color: #00000000;
    transform: translateY(-2px);
}
.secondary-nav {
    background-color: #131313; /* Darker secondary nav */
    padding: 12px 0;
}
.secondary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px; /* Spacing between nav items */
}
.secondary-nav ul li a {
    color: #aaa;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.95em;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.secondary-nav ul li a:hover,
.secondary-nav ul li a.active /* Add .active class for current page */ {
    color: #fff;
    background-color: #333;
}
/* Main Content Styles */
main {
    padding: 25px;
    max-width: 1400px; /* Limit max width for better readability on large screens */
    margin: 0 auto; /* Center content */
}
.how-to-download {
    text-align: center;
    margin-bottom: 25px;
}
.how-to-download button {
    background-color: #3498db; /* Modern blue */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.how-to-download button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
.filter-tags {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap on smaller screens */
    justify-content: center;
    gap: 10px;
}



.filter-tags a {
    color: #bbb;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.filter-tags a:hover {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}
.domain-change-notice {
    background-color: #131313; /* Darker notice background */
    color: #2ecc71; /* Green text for positive notice */
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border-left: 5px solid #2ecc71;
}
.domain-change-notice p {
    margin: 0;
    font-weight: 500;
}
.domain-change-notice .close-notice {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}
.domain-change-notice .close-notice:hover {
    color: #fff;
}
/* Movie Grid Styles */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Slightly larger min-width */
    gap: 25px;
}
.movie-item {
    background-color: #141414; /* Darker movie item */
    border-radius: 8px;
    overflow: hidden;
    text-align: left; /* Align text to left for better readability */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.movie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.movie-item img {
    width: 100%;
    height: 300px; /* Adjust as needed, maintain aspect ratio */
    object-fit: cover;
    background-color: #333; /* Placeholder for image */
    border-bottom: 3px solid #1abc9c; /* Accent border */
}
.movie-item p {
    padding: 15px;
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
    min-height: 60px; /* Ensure consistent height for text block */
}
/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}
.page-link {
    color: #aaa;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #444;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.page-link:hover,
.page-link.active {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}
.page-link.prev,
.page-link.next {
    font-weight: 500;
}
.page-dots {
    color: #aaa;
    margin: 0 5px;
}
/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #00000000; /* Darker footer */
    border-top: 1px solid #282828;
    margin-top: 40px;
}
.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }
}.pagination button:active, .next-btn:active, .prev-btn:active { 
  --border-width: 5px;
}

/* Dot Grid Background */
/* dropdown menu*/
.event-wrapper {
    font-weight: 500;
    background-color: #1abc9c;
    padding: 3px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Ensures button stays on the right */
    height: 2.5rem;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

.hamburg-icon {
    font-size: 24px;
    color: white;
}

/* Menu container styles already defined above */


.menu-list {
    padding: 12px 16px;
    color: #ecf0f1;
    transition: background-color 0.2s;
}

.menu-list:hover {
    background-color: #34495e;
}

/* Fix for small screens */
@media (max-width: 768px) {
    .event-wrapper {
        justify-content: flex-end; /* Keeps button on the right */
    }

    /* Menu container width adjustment for mobile */
    .menu-container {
        width: 100%;
        right: 0; /* Ensures proper alignment */
    }
}




/* Removed Dot Grid Background Animation */
@keyframes moveDots {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.about-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
}

.about-content {
    flex: 1;
}

.linkedin-badge {
    width: 300px;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .about-content {
        font-size: 1.1em;
        line-height: 1.5;
    }
    .linkedin-badge {
        width: 100%;
        margin-top: 20px;
    }
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #000000; /* Even Darker background */
    color: #e0e0e0; /* Lighter text for better contrast */
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Contact Form Styles */
.contact-section {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: auto;
}

.contact-section h1 {
    color: #1abc9c;
    margin-bottom: 20px;
    font-size: 2.2em;
    text-align: center;
}

.contact-section p {
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    color: #1abc9c;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.7);
    color: #e0e0e0;
    font-size: 1em;
    transition: all 0.3s ease;
}

.contact-form select option {
    background: rgba(20, 20, 20, 0.9);
    color: #e0e0e0;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.7);
    color: #e0e0e0;
    font-size: 1em;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.3);
}

.contact-form button[type="submit"] {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

a {
    color: #00ffd5; /* A modern accent color */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00000000;
}

/* Header Styles */
header {
    background-color: #00000000; /* Darker header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "ROND" 0;
    width: 100%;
    overflow-x: hidden;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #00000000;
}

.logo {
    font-size: 1.8em; /* Brand name size */
    font-weight: bold;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2; /* Adjusted for better readability */
    font-family: "Doto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "ROND" 0;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #20202000; /* Darker search bar */
    border-radius: 25px; /* Rounded search bar */
    padding: 8px 15px;
}

.search-bar input {
    background-color: transparent;
    border: none;
    color: #1abc9c;
    padding: 8px;
    outline: none;
    width: 350px; /* Adjust as needed */
    font-size: 0.95em;
}

.search-bar input::placeholder {
    color: #1abc9c;
}

.search-bar button {
    background-color: transparent;
    border: none;
    color: #00ff15;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button svg {
    fill: #1abc9c;
    transition: fill 0.3s ease;
}

.search-bar button:hover svg {
    fill: #1abc9c;
}

.nav-buttons .bollywood-btn,
.nav-buttons .animeflix-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px; /* Rounded buttons */
    margin-left: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-buttons .bollywood-btn {
    background-color: #e74c3c;
    color: #fff;
}

.nav-buttons .bollywood-btn:hover {
    background-color: #2bc093;
    transform: translateY(-2px);
}

.nav-buttons .animeflix-btn {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-buttons .animeflix-btn:hover {
    background: linear-gradient(-45deg, #e73c7e, #23a6d5, #23d5ab, #ee7752);
    transform: translateY(-2px);
    opacity: 0.9;
}

.secondary-nav {
    background-color: #131313; /* Darker secondary nav */
    padding: 12px 0;
}

.secondary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px; /* Spacing between nav items */
}

.secondary-nav ul li a {
    color: #aaa;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.95em;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.secondary-nav ul li a:hover,
.secondary-nav ul li a.active /* Add .active class for current page */ {
    color: #fff;
    background-color: #333;
}

/* Main Content Styles */
main {
    padding: 25px;
    max-width: 1400px; /* Limit max width for better readability on large screens */
    margin: 0 auto; /* Center content */
}

.filter-tags {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap on smaller screens */
    justify-content: center;
    gap: 10px;
}



.filter-tags a {
    color: #bbb;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-tags a:hover {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}

.domain-change-notice {
    background-color: #131313; /* Darker notice background */
    color: #1abc9c; /* Green text for positive notice */
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border-left: 5px solid #2ecc71;
}

.domain-change-notice p {
    margin: 0;
    font-weight: 500;
}

.domain-change-notice .close-notice {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.domain-change-notice .close-notice:hover {
    color: #fff;
}

/* Movie Grid Styles */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Slightly larger min-width */
    gap: 25px;
}

.movie-item {
    background-color: #141414; /* Darker movie item */
    border-radius: 8px;
    overflow: hidden;
    text-align: left; /* Align text to left for better readability */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.movie-item img {
    width: 100%;
    height: 300px; /* Adjust as needed, maintain aspect ratio */
    object-fit: cover;
    background-color: #333; /* Placeholder for image */
    border-bottom: 3px solid #1abc9c; /* Accent border */
}

.movie-item p {
    padding: 15px;
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
    min-height: 60px; /* Ensure consistent height for text block */
}

/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.page-link {
    color: #aaa;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #444;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}

.page-link.prev,
.page-link.next {
    font-weight: 500;
}

.page-dots {
    color: #aaa;
    margin: 0 5px;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #101010; /* Darker footer */
    border-top: 1px solid #282828;
    margin-top: 40px;
}

.footer-links a {
    color: #ffffff;
    margin: 0 15px;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #1abc9c;
}

/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #3a3a3a;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #00000000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}



.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #111;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}


.movies-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.movies-dropdown-btn {
    background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.movies-dropdown-btn .arrow-down {
    margin-left: 8px;
    font-size: 12px;
}
.movies-dropdown-btn:hover,
.movies-dropdown-btn:focus {
    background-color: #383838;
}
.movies-dropdown-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    background: #1a1a1a;
    min-width: 180px;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}
.movies-dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: background 0.2s;
}
.movies-dropdown-content a:hover {
    background-color: #383838;
}

@media (max-width: 768px) {
    }
    .movies-dropdown-content {
        min-width: 140px;
        margin-top: 8px;
    }
    .movies-dropdown-content a {
        padding: 10px 16px;
        font-size: 0.9em;
    }

.footer-links a {
    color: #ffffff;
    margin: 0 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #111;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}


.movies-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.movies-dropdown-btn {
    background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.movies-dropdown-btn .arrow-down {
    margin-left: 8px;
    font-size: 12px;
}
.movies-dropdown-btn:hover,
.movies-dropdown-btn:focus {
    background-color: #383838;
}
.movies-dropdown-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    background: #1a1a1a;
    min-width: 180px;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}
.movies-dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: background 0.2s;
}
.movies-dropdown-content a:hover {
    background-color: #383838;
}

@media (max-width: 768px) {
    }
    .movies-dropdown-content {
        min-width: 140px;
        margin-top: 8px;
    }
    .movies-dropdown-content a {
        padding: 10px 16px;
        font-size: 0.9em;
    }

.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 15px 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        font-size: 0.75em;
        padding: 6px 10px;
    }

    .secondary-nav ul {
        gap: 5px; /* Reduce gap further */
    }
    .secondary-nav ul li a {
        font-size: 0.7em;
        padding: 6px;
    }

    .filter-tags a {
        font-size: 0.7em;
        padding: 4px 6px;
    }
}

/* Player Page Styles */
.player {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #111;
}
.player video {
    width: 80vw;
    max-width: 900px;
    height: 45vw;
    max-height: 500px;
    border-radius: 16px;
    background: #000;
}
@media (max-width: 600px) {
    .player video {
        width: 98vw;
        height: 55vw;
        max-width: 100%;
        max-height: 250px;
    }
    .player {
        min-height: 60vh;
    }
}


.movies-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.movies-dropdown-btn {
    background-color: #2ecc71; /* Modern green */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px; /* Rounded buttons */
    margin-left: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.movies-dropdown-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}
.secondary-nav {
    background-color: #131313; /* Darker secondary nav */
    padding: 12px 0;
}
.secondary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px; /* Spacing between nav items */
}
.secondary-nav ul li a {
    color: #aaa;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.95em;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.secondary-nav ul li a:hover,
.secondary-nav ul li a.active /* Add .active class for current page */ {
    color: #fff;
    background-color: #333;
}
/* Main Content Styles */
main {
    padding: 25px;
    max-width: 1400px; /* Limit max width for better readability on large screens */
    margin: 0 auto; /* Center content */
}
.how-to-download {
    text-align: center;
    margin-bottom: 25px;
}
.how-to-download button {
    background-color: #3498db; /* Modern blue */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.how-to-download button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
.filter-tags {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap on smaller screens */
    justify-content: center;
    gap: 10px;
}



.filter-tags a {
    color: #bbb;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.filter-tags a:hover {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}
.domain-change-notice {
    background-color: #131313; /* Darker notice background */
    color: #2ecc71; /* Green text for positive notice */
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border-left: 5px solid #2ecc71;
}
.domain-change-notice p {
    margin: 0;
    font-weight: 500;
}
.domain-change-notice .close-notice {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}
.domain-change-notice .close-notice:hover {
    color: #fff;
}
/* Movie Grid Styles */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Slightly larger min-width */
    gap: 25px;
}
.movie-item {
    background-color: #141414; /* Darker movie item */
    border-radius: 8px;
    overflow: hidden;
    text-align: left; /* Align text to left for better readability */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.movie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.movie-item img {
    width: 100%;
    height: 300px; /* Adjust as needed, maintain aspect ratio */
    object-fit: cover;
    background-color: #333; /* Placeholder for image */
    border-bottom: 3px solid #1abc9c; /* Accent border */
}
.movie-item p {
    padding: 15px;
    font-size: 0.9em;
    color: #ccc;
    margin: 0;
    min-height: 60px; /* Ensure consistent height for text block */
}
/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}
.page-link {
    color: #aaa;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #444;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.page-link:hover,
.page-link.active {
    background-color: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}
.page-link.prev,
.page-link.next {
    font-weight: 500;
}
.page-dots {
    color: #aaa;
    margin: 0 5px;
}
/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #00000000; /* Darker footer */
    border-top: 1px solid #282828;
    margin-top: 40px;
}
.footer-links a {
    color: #aaa;
    margin: 0 12px;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #1abc9c;
}
/* Responsive Adjustments (Enhanced) */
@media (max-width: 1024px) { /* Added a breakpoint for larger tablets / small desktops */
    .search-bar input {
        width: 250px; /* Slightly reduce search bar width */
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) { /* Tablets and large phones */
    .main-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
        align-items: center;
    }

    .search-bar {
        order: 2;
        width: auto;
        flex-grow: 1;
        margin: 0;
        max-width: 100%;
    }

    
    .menu-container {
        width: 150px;
        right: 0;
        left: auto;
    }


    
    .event-wrapper {
        order: 1;
        margin-left: 10px;
        z-index: 1000;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    .search-bar {
        padding: 6px 12px;
    }

    .nav-buttons {
        margin-top: 10px;
        display: flex; /* Ensure buttons are in a row */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
        justify-content: center; /* Center buttons */
        width: 100%;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        margin: 5px; /* Add margin for spacing */
    }

    .secondary-nav ul {
        flex-wrap: wrap;
        justify-content: center; /* Center nav items */
        padding: 5px 10px; /* Reduced padding */
    }

    .secondary-nav ul li a {
        padding: 8px 10px; /* Adjust padding */
        font-size: 0.85em; /* Adjust font size */
    }

    .how-to-download {
        padding: 15px 0; /* Add some padding */
    }
    .how-to-download button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-tags {
        padding: 10px;
        justify-content: center; /* Center tags */
        flex-wrap: wrap; /* Ensure tags wrap */
    }
    .filter-tags a {
        font-size: 0.8em;
        padding: 6px 10px;
        margin: 4px; /* Adjust margin */
    }

    .domain-change-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .domain-change-notice p {
        margin-bottom: 8px;
    }
    .domain-change-notice .close-notice {
        padding: 6px 10px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust minmax */
        gap: 12px; /* Adjust gap */
        padding: 15px;
    }

    .movie-item img {
        height: auto; /* Let aspect ratio define height */
        width: 100%;
    }
    .movie-item p {
        font-size: 0.85em; /* Adjust font size */
    }

    .pagination {
        padding: 8px 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination .page-link, .pagination .page-dots {
        padding: 7px 10px;
        font-size: 0.9em;
        margin: 3px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
    }
    .footer-links a {
        margin: 6px 0;
        font-size: 0.95em;
    }
}
@media (max-width: 480px) { /* Phones */
    .menu-container {
        width: 120px;
        right: 0;
        left: auto;
    }

    .main-nav .logo {
        font-size: 1.4em; /* Adjusted font size for phones */
    }

    .search-bar {
        padding: 8px 12px; /* Adjust padding */
    }
    .search-bar input {
        font-size: 0.85em;
    }
    .search-bar button svg {
        width: 14px; /* Smaller search icon */
        height: 14px;
    }

    .nav-buttons .bollywood-btn,
    .nav-buttons .animeflix-btn {
        padding: 7px 14px;
        font-size: 0.8em;
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }

    .secondary-nav ul li a {
        font-size: 0.75em;
        padding: 7px 8px;
    }

    .how-to-download button {
        width: auto; /* Let button size to content */
        max-width: 90%; /* Max width */
        padding: 10px 15px;
        font-size: 0.85em;
    }

    .filter-tags a {
        font-size: 0.75em;
        padding: 5px 8px;
    }

    .domain-change-notice {
        font-size: 0.8em;
    }
    .domain-change-notice .close-notice {
        font-size: 0.9em; /* Ensure close button is tappable */
        padding: 5px 8px;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); /* 2 columns usually */
        gap: 10px;
        padding: 10px;
    }
    .movie-item p {
        font-size: 0.8em;
        line-height: 1.4; /* Improve readability */
    }

    .pagination .page-link, .pagination .page-dots {
        padding: 6px 8px;
        font-size: 0.8em;
        margin: 2px;
    }
    .pagination .page-dots {
         display: none; /* Hide "..." on small screens */
    }

    .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    position: relative;
    margin: 0 4px;
    font-size: 0.9em;
}

.footer-links a:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -8px;
    color: #aaa;
}
}

/* Additional breakpoint for very small screens if needed */
@media (max-width: 360px) {
    .movie-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
    .movie-item {
        text-align: center; /* Center content if single column */
    }
    .movie-item img {
        max-width: 80%; /* Don't let image take full width if centered */
        margin: 0 auto; /* Center image */
    }
}