@import url("https://fonts.googleapis.com/css2?family=Moon+Dance&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #111;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Container fixes */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color:#000000; 
  padding: 15px 25px;
  /* border-bottom: 3px solid #ff6f61; */
  box-shadow: 0 4px 8px rgba(212, 24, 24, 0.9);
  /* position: sticky; */
  top: 0;
  z-index: 1100;
  transition: background 0.3s ease;
}

/* Logo & Search Container */
.logo-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  flex: 1 1 320px;
}

.logo-search a {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-search a:hover,
.logo:hover {
  transform: scale(1.1);
}

.logo {
  width: 200px;
  height: auto; /* maintain aspect ratio */
  border-radius: 16px; /* more rounded corners */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18); /* deeper shadow */
  transition: box-shadow 0.25s, transform 0.2s;
}

.logo:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.23); /* stronger shadow on hover */
  
}


/* Search Box Styling */

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  font-size: 1rem;
  outline: none;
  border-radius: 6px 0 0 6px;
  transition: background-color 0.3s ease;
}

.search-box input:focus {
  background-color: #fff;
  color: #333;
}

.search-box button {
  background: #e71e0c;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.search-box button:hover,
.search-box button:focus {
  background: #70e546;
  outline: none;
}

/* Suggestions List */
.search-box {
  position: relative; /* Important: positioning context for suggestions */
  display: flex;
  flex: 1;
  max-width: 450px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: visible; /* allow suggestions to show outside */
}

.suggestions-list {
  position: absolute;
  top: 100%; /* Position suggestions right below the input */
  left: 0;
  width: 100%; /* make it the same width as the search box */
  max-height: 220px;
  overflow-y: auto;
  background: #333;
  color: white;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  margin-top: 4px; /* small gap between input and suggestions */
  padding: 0;
  list-style: none;
  z-index: 1002;
  display: none; /* initially hidden */
}

.suggestions-list li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.suggestions-list li:hover,
.suggestions-list li[aria-selected="true"] {
  background: #ff6f61;
  color: white;
}

/* Top Buttons Container */
.top-buttons {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  margin-top: 1px;
  align-items: center;
}

.top-buttons button,
.btn {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 25px;
  width: fit-content;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
}

/* Differentiate .top-buttons buttons with distinct color */
.top-buttons button.filter-button {
  background-color: #ec0a1d;
  color: white;
}

.top-buttons button.filter-button:hover,
.top-buttons button.filter-button:focus {
  background-color: #27ea19;
  box-shadow: 0 6px 15px rgba(232, 65, 24, 0.6);
  outline: none;
}

/* Generic .btn style (used in dropdown) */
.btn {
  background-color: #555;
  color: #eee;
  width: fit-content;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

.btn:hover,
.btn:focus {
  background-color: #777;
  box-shadow: 0 6px 16px rgba(119, 119, 119, 0.9);
  outline: none;
}

/* Menu Bar */
.menu-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  gap: 18px;
  background: #2f3640;
  padding: 14px 15px;
  border-bottom: 3px solid #ff6f61;
  box-shadow: inset 0 -3px 5px rgba(255, 111, 97, 0.3);
  transition: background 0.3s ease;
  /* position: sticky; */
  top: 65px; /* sticky below navbar */
  z-index: 1000;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none; /* start hidden */
  position: absolute;
  background-color: #2f3640;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  z-index: 1002;
  margin-top: 8px;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}

.dropbtn {
  cursor: pointer;
  /* your existing styles */
}

.dropbtn:hover,
.dropbtn:focus {
  background-color: #70d467;
  box-shadow: 0 5px 15px rgba(133, 237, 101, 0.9);
  outline: none;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: flex;
}

.dropdown-content button.filter-button {
  background-color: #57606f;
  color: #f1f2f6;
  border-radius: 0;
  text-align: left;
  padding: 12px 20px;
  width: 100%;
  font-size: 0.95rem;
  box-shadow: none;
  transition: background-color 0.25s ease;
}

.dropdown-content button.filter-button:hover,
.dropdown-content button.filter-button:focus {
  background-color: #ffa502;
  color: #2f3640;
  outline: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-search {
    flex: 1 1 100%;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .search-box {
    max-width: 100%;
  }

  .top-buttons {
    justify-content: center;
  }

  .menu-bar {
    justify-content: space-around;
    padding: 10px 5px;
  }
}

@media (max-width: 600px) {


  .top-buttons button,
  .btn,
  .dropbtn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .menu-bar {
    flex-direction: column;
    gap: 12px;
  }

  .dropdown-content {
    min-width: 140px;
  }

  .search-box {
    max-width: 100%;
  }
}

.download-btn {
  display: inline-block;
  padding: 8px 14px;
  margin: 10px 0 0;
  background-color: #2eee5b;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #27c446;
}

/* Menu bar */

/* Filter Buttons Section */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  justify-content: center;
  background-color: #1a1a1a;
}

/* General filter buttons */
.filter-buttons button {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid #aaa;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Telegram button specific */
.filter-buttons .telegram-btn {
  background-color: #0088cc;
  border: none;
  font-weight: bold;
}

.telegram-btn i {
  margin-right: 6px;
}

/* Hover effects */
.filter-buttons button:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #333;
  border-color: #00ffcc;
  box-shadow: 0 4px 8px rgba(0, 255, 204, 0.2);
}

.filter-buttons .telegram-btn:hover {
  background-color: #007bbf;
  box-shadow: 0 4px 8px rgba(0, 255, 204, 0.2);
}

/* Responsive layout */
@media (max-width: 768px) {
  .menu-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    padding: 10px;
  }

  .menu-item {
    padding: 12px 0;
    width: 100%;
  }

  .filter-buttons {
    padding: 10px;
  }

  .filter-buttons button {
    flex: 1 1 calc(45% - 10px);
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .filter-buttons button {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .menu-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
.menu-bar {
  display: flex;
  justify-content: space-around;
  background-color: #111;
  color: #fff;
  padding: 10px 0;
}

.menu-item {
  color: #fff;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  transition: background 0.3s;
}

.menu-item:hover {
  background-color: #222;
  border-radius: 5px;
}

.menu-item i {
  margin-right: 5px;
}

/* Make buttons look like divs */
.menu-item.filter-button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  padding: 8px 16px;
  font-size: 16px;
}

.menu-item.filter-button:hover {
  background-color: #222;
  border-radius: 5px;
}

/* movie card container and cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
  background-color: #121212;
}

/* Card styling */
.card {
  background-color: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.card h2 {
  margin: 15px 10px 5px;
  font-size: 1.2rem;
  color: #ff8e4c;
}

.card p {
  margin: 0 10px 10px;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: 700;
  flex-grow: 1;
  text-align: center;
}

.card a {
  display: block;
  margin: 10px;
  padding: 10px;
  text-align: center;
  background-color: #2eee5b;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card a:hover {
  background-color: #2eee5bd2;
}

/* Pagination styles */
.pagination-nav {
  display: flex;
  justify-content: center; /* centers buttons horizontally */
  align-items: center; /* centers buttons vertically */
  padding: 20px;
  background-color: #1e1e1e;
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 2rem auto; /* auto left/right margin centers the nav container */
  flex-wrap: wrap;
  gap: 10px; /* space between buttons */
  text-align: center;
  height: auto;
}

.page-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 12px;
  margin: 0;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.page-btn:hover {
  background-color: #f40905;
}

/* download movie */
.downloadSection h1 {
  text-align: center;
  font-size: 3rem;
  color: #2eee5bd2;
}

/* Container and Card */
.movies {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.movie-card {
  background: #1e1e1e;
  color: white;
  /* padding: 11px; */
  border-radius: 12px;
  width: 200px;
  height: 400px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.movie-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  box-sizing: border-box;
}

.movie-card {
  position: relative;
  background: #fff;
  border-radius: 8px;

  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

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

.movie-card img {
  width: 100%;
  display: block;
  height: 230px;
  object-fit: cover;
}

.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: gold;
  color: #000;
  font-weight: bold;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* aligns content at the top vertically */
  padding: 8px;
  align-items: center;           /* centers child elements horizontally */
  text-align: center;            /* centers the text inside child elements */
  gap: 4px;                     /* optional spacing between items */
}

.rating {
  color: #222;
}
.title {
  font-size: 15px;
  font-weight: bold;
  color: #222;
}

.platform {
  font-size: 12px;
  margin-top: 4px;
  color: #888;
}

@media (max-width: 500px) {
  .movie-card img {
    height: 200px;
  }
}

/* Main Poster */
.main-poster {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.main-movie-img {
  width: 60%;
  height: 80%;
  max-height: 400px;
  max-width: 400px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-movie-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #2eee5bd2;
}

/* Title */
.movie-title {
  text-align: center;
  font-size: 28px;
  margin: 20px 0;
}

/* Download Buttons */
.download-links {
  text-align: center;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background: #2eee5b;
  font-weight: 700;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #2eee5bd2;
  transform: scale(1.05);
}

/* Description */
.description {
  margin-top: 20px;
  line-height: 1.6;
}

/* Preview Section */
.preview {
  margin-top: 40px;
}

.preview h2 {
  margin-bottom: 15px;
}

/* Responsive Image Grid */
.preview-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.preview-img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #2eee5bd2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-movie-img {
    max-width: 90%;
  }

  .btn {
    width: 90%;
    display: block;
    margin: 10px auto;
  }

  .movie-title {
    font-size: 24px;
  }
  .dropdown-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    box-sizing: border-box;
  }
}

/* Footer styling */
.site-footer {
  background-color: #121212;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95rem;
  border-top: 1px solid #2a2a2a;
  box-shadow: 0 -2px 10px rgba(255, 69, 0, 0.1);
  letter-spacing: 0.3px;
}

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

.footer-links a {
  color: #f40905;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

.footer-links a:hover {
  color: #fff;
  background-color: #f40905;
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.25);
}

.site-footer p {
  color: #888;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .site-footer {
    padding: 30px 15px;
  }

  .footer-links a {
    font-size: 0.9rem;
  }
  .dropdown-content {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 8px;
    box-sizing: border-box;
  }
}

/* Dropdown styles */
.dropdown-content {
  display: none; /* hidden by default */
  position: absolute;
  background-color: #222;
  min-width: 100px; /* enough space for 5 columns */
  min-height: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  z-index: 1000;
  padding: 10px;
  max-height: 300px; /* optional max height */
  overflow-y: auto; /* scroll if content is too tall */
  /* hide initially */
  gap: 8px;
  box-sizing: border-box;
}
.dropdown-content button:hover {
  background-color: #575757;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content button {
  color: white;
  padding: 10px 14px;
  text-align: left;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
}

/* Show dropdown using grid display */
.dropdown:hover .dropdown-content {
  display: grid;
}
.dropbtn {
  background-color: #f12020;
  color: white;
  padding: 10px 14px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.dropbtn:hover {
  background-color: #20f13c;
  color: white;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link .card:hover {
  cursor: pointer;
  /* Optional hover effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-btn {
  pointer-events: none; /* So clicking the button won't block the link */
}

/* Shimmer loading placeholders */
.shimmer {
  position: relative;
  overflow: hidden;
  background: #333;
  border-radius: 6px;
  min-height: 300px;
  width: 200px;
  margin: 15px;
}
.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  100% {
    left: 150%;
  }
}

/* Filter Title style */
#filterTitle {
  color: rgb(246, 4, 4);
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}
.video-player {
  margin: 20px auto; /* vertical margin + auto horizontal to center */
  text-align: center;
  width: 90%; /* wider than before */
  max-width: 960px; /* limit max width for large screens */
  background-color: #000; /* black background for video player frame */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-player video {
  width: 100%; /* full width of the container */
  height: 540px; /* approx 16:9 aspect ratio for 960px width */
  max-height: 80vh; /* responsive max height relative to viewport */
  border: 2px solid #444;
  border-radius: 6px;
  background-color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  outline: none;
  display: block;
  margin: 0 auto;
}
/* Section Titles */
.downloadSection h1 {
  margin: 24px 24px 12px;
  font-weight: 700;
}

/* Movie card container */
section.movies {
  padding: 0 24px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.movie-card {
  display: flex;
  flex-wrap: wrap;
  height: 400px;
  align-items: center;
  justify-content: start;
  background-color: #f5f2f2;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  /* padding: 24px; */
  gap: 2px;
   width: 100%;
  max-width: 160px; /* or whatever makes your card look right */
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto; /* center in grid cell if not full width */
}

.movie-Download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Poster + info column */
.main-poster {
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#link-btn-des {
  text-align: center;
  font-size: 40px;
  color: red;
  margin: 20px 0; /* optional: spacing above and below */
}

.main-movie-img {
  border-radius: 14px;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 25px rgba(29, 185, 84, 0.45);
  object-fit: cover;
}

.movie-info {
  margin-top: 16px;
  width: 100%;
  color: #ccc;
  font-size: 15px;
}

.movie-info p {
  margin: 6px 0;
}

.movie-info strong {
  color: #1db954;
}

/* Movie details column */
.movie-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #1ed760;
  flex-basis: 100%;
}

.download-links {
  margin: 16px 0 24px;
  flex-basis: 100%;
}

.btn {
  background-color: #1db954;
  border: none;
  color: #121212;
  font-weight: 700;
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  margin-right: 12px;
  margin-bottom: 12px;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #1ed760;
  outline: none;
}

.description {
  flex-basis: 100%;
}

.description h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #eee;
  font-weight: 600;
  font-size: 22px;
}

.movie-description {
  margin-top: 0;
  font-size: 16px;
  color: #ddd;
}

/* Footer */
footer.site-footer {
  background-color: #181818;
  padding: 16px 24px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #333;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  margin: 0 8px;
  color: #999;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #1db954;
}

/* Responsive */
@media (max-width: 720px) {
  .movie-card {
    flex-direction: column;
    padding: 0px;
    top: 0px;
    height: 400px;
    justify-content: start;
  }
.tag{
  top: 0px;
  right: 5px;
}
  .movie-title {
    font-size: 24px;
  }

  .main-poster {
    max-width: 100%;
    flex-basis: auto;
    margin: 0 auto 20px;
  }

  .download-links .btn {
    width: 100%;
    margin-right: 0;
  }
}
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .movie-card {
    flex-direction: column;
    padding: 0px;
  }
  .logo-search {
    flex: 1 1 100%;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .search-box {
    max-width: 100%;
  }

  .top-buttons {
    justify-content: center;
  }

  .menu-bar {
    justify-content: space-around;
    padding: 10px 5px;
  }
}

@media (min-width: 1200px) {
  .movie-grid {
    gap: 20px; /* bigger gap for big screens */
  }
}
@media (max-width: 720px) {
  .movie-grid {
    gap: 10px; /* smaller gap for small screens */
  }
}

@media (max-width: 600px) {
   .logo {
    width: 270px;
    height: auto;
  }

  .tag {
    top: 0px;
    right: 5px;
  }
  .top-buttons button,
  .btn,
  .dropbtn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .menu-bar {
    flex-direction: row;
    gap: 12px;
  }

  .dropdown-content {
    min-width: 140px;
  }

  .search-box {
    max-width: 100%;
  }
}
@media (max-width: 578px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px; /* optional: slightly reduce gap for tiny screens */
  }
  .movie-card {
    height: 330px;
  }
  .movie-card img {
    height: 190px; /* optional: adjust to fit inside 330px card */
  }
}
