/* === Global Fix for Scrollbar Issues === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}

/* Prevent multiple scrollbars on mobile */
body {
  position: relative;
  font-family: 'LemonMilk', sans-serif;
  background-color: black;
  overflow-anchor: none;
}


.top-nav {
  font-family: 'LemonMilk', sans-serif;
}

@font-face {
  font-family: 'LemonMilk';
  src: url('LemonMilk.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.top-nav {
  position: fixed; /* Changed from absolute */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* Ensure it's on top */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: transparent; /* Or use rgba(0, 0, 0, 0.5) for semi-transparent */
  color: white;

}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 30px;
  display: none;
}

.logo-text {
  font-family: 'LemonMilk', sans-serif;
  font-size: 1.2rem;
  color: lime;
}

/* 📱 Mobile view: Reduce font size */
@media (max-width: 480px) {
  .logo-text {
    font-size: 0.8rem; /* adjust as needed */
  }
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  color: lime;
  position: relative;
}


.search-icon,
.burger i {
  font-size: 1.2rem;
  cursor: pointer;
  color: lime !important;
}

.burger i {
  font-size: 1.2rem;
  cursor: pointer;
  color: lime !important;
  margin-right: 10px;
}

/*notification icon*/

.notification-icon {
  position: relative;
  cursor: pointer;
}

.notification-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 50%;
  display: none;
}

.notification-modal {
  width: 300px;
  max-height: 400px;
  overflow: hidden auto; /* allow scrolling only vertically */
  background: #111;
  color: #fff;
  border-radius: 10px;
  position: absolute;
  top: 50px;
  right: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  display: none;
  z-index: 999;
  padding: 0;
}

.notification-modal::after {
  content: "";
  position: absolute;
  top: -10px; /* Shows above the modal */
  right: 40px; /* Adjust until it aligns under the bell */
  width: 0;
  height: 0;
  z-index: 1000;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #111; /* Match your modal background */
  pointer-events: none;
}


.notification-header {
  background: lime;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 10;
  color: black;
}

.notification-list {
  max-height: 360px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;

  /* Hide scrollbar - cross-browser */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE 10+ */
}

.notification-list::-webkit-scrollbar {
  display: none;                /* WebKit (Chrome, Safari) */
}

.notification-modal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

.notification-modal li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #333;
}

.notification-link {
  display: flex;
  gap: 10px;
  color: white;
  text-decoration: none;
  width: 100%;
}

.notification-link:hover {
  background-color: #222;
  border-radius: 5px;
}

.notification-poster {
  width: 80px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .notification-poster {
    width: 80px;
    height: 45px;
  }
}

@media (max-width: 300px) {
  .notification-poster {
    width: 70px;
    height: 40px;
  }
}


.notification-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
  gap: 2px;
}

.notification-title {
  font-weight: bold;
  font-size: 13px;
  color: white;
}

.notification-type,
.notification-date {
  color: #bbb;
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .notification-modal {
    width: 90vw;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    max-height: 80vh;
  }
}
  .notification-header {
    font-size: 14px;
    padding: 10px 12px;
  }



  .notification-modal li {
    padding: 6px 8px;
    gap: 8px;
  }


  .notification-info {
    font-size: 11px;
  }

  .notification-title {
    font-size: 12px;
  }

  .notification-type,
  .notification-date {
    font-size: 10px;
  }
}


/* Default: mobile-first, burger menu at bottom */
.navburger-menu {
  display: block;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotateX(-90deg);
  transform-origin: bottom;
  z-index: 1000;
  background-color: #000;
  padding: 10px;
  border-top: 2px solid lime;
  border-bottom: none;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.3s ease;
  backface-visibility: hidden;
  width: 100%;
  max-width: 300px;
}

.navburger-menu.active {
  transform: translateX(-50%) rotateX(0deg);
  opacity: 1;
  display: flex;
  justify-content: center;
}

.navburger-list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.navburger-list li {
  margin: 0;
}

.navburger-list a {
  color: lime;
  text-decoration: none;
  font-family: 'LemonMilk', sans-serif;
  font-size: 14px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navburger-list a:hover {
  background-color: white;
  color: black;
}

.navburger-list a i {
  font-size: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navburger-list a span {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.navburger-list a:hover span {
  opacity: 1;
  visibility: visible;
}

#burger {
  cursor: pointer;
}

/* Icon + floating label */
.icon-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: lime;
  font-size: 17px;
  text-decoration: none;
  gap: 12px;
}

.icon-label i,
.icon-label svg {
  font-size: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: lime;
}

.icon-label span {
  position: absolute;
  top: 28px;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.icon-label:hover span {
  opacity: 1;
}

/* More dropdown */
.more-dropdown {
  position: relative;
  display: inline-block;
}

/* Default: show above for mobile-first */
.more-menu {
  display: none;
  position: absolute;
  bottom: 100%; /* Place above the icon */
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  padding: 10px;
  border-radius: 8px;
  list-style: none;
  z-index: 999;
  min-width: 160px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.more-menu li {
  margin: 5px 0;
}

.more-menu li a {
  color: lime;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.more-menu.show {
  display: block;
}

/* Mobile: 300px and up - dropdown above the icon */
@media (min-width: 300px) and (max-width: 599px) {
  .more-menu {
    bottom: 100%; /* position above the icon */
    top: auto;
    margin-top: 0;
    margin-bottom: 12px;
    left: -20px;
  }
}

/* Tablet and up: dropdown below icon */
@media (min-width: 600px) {
  .more-menu {
    bottom: auto;
    top: 100%; /* position below the icon */
    margin-bottom: 0;
    margin-top: 12px;
  }
}


/* Small devices (max-width: 599px) */
@media (max-width: 599px) {
  .navburger-menu {
    width: 280px;
    max-width: 100vw;
    top: auto;
    bottom: 0;
    border-top: 2px solid lime;
    border-bottom: none;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform-origin: bottom;
  }

  .navburger-list a i,
  .icon-label i {
    font-size: 18px;
    width: 22px;
    height: 22px;
  }

  .icon-label span {
    top: -26px;
    font-size: 11px;
  }
}

/* Tablet & Desktop (min-width: 600px) */
@media (min-width: 600px) {
  .navburger-menu {
    top: 0;
    bottom: auto;
    transform: translateX(-50%) rotateX(-90deg);
    transform-origin: top;
    border-top: none;
    border-bottom: 2px solid lime;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    max-width: 300px;
  }

  .navburger-menu.active {
    transform: translateX(-50%) rotateX(0deg);
  }

  .icon-label span {
    top: 28px;
  }
}

/* Optional: Responsive adjustments */
@media (max-width: 768px) {
  .navburger-menu {
    width: 100%;
  }
}

/* === Section Header === */
.carousel-overlay-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #111;
  padding-bottom: 20px;
  top: 20px;
}

.carousel-overlay-container h2 {
  display: inline-block;
  color: lime;
  font-size: 18px;
  font-family: 'Anton', sans-serif;
  margin: 10px 0;
  padding: 4px 16px 4px 24px;
  line-height: 1.2;
  letter-spacing: 1px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* === Filter Bar === */
.explore-filter-bar {
  display: flex;
  justify-content: flex-start; /* align left */
  padding: 10px 16px;
  background-color: #111;
  margin-top: 5px;
  overflow-x: auto;
}

.explore-filter-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start; /* align left */
}

.explore-filter-options::-webkit-scrollbar {
  display: none;
}

.explore-left-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.explore-right-dropdown {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.explore-btn {
  padding: 6px 10px;
  background-color: #222;
  border: 1px solid lime;
  color: lime;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
}

.explore-btn:hover {
  background-color: lime;
  color: #111;
}

#exploreGenreDropdown {
  padding: 6px 4px;
  background-color: #222;
  color: #fff;
  border: 1px solid lime;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  width: 90px;
  height: 30px;
}

/* === Mobile View (≤ 500px) === */
@media screen and (max-width: 500px) {
  .explore-filter-bar {
    padding: 8px 0;
    margin: 5px 0 0 0;
	margin-left: 10px;
  }

  .explore-filter-options {
    gap: 4px;
    padding: 0 4px;
  }

  .explore-btn {
    font-size: 11px;
    padding: 3px 5px;
  }

  #exploreGenreDropdown {
    font-size: 10px;
    padding: 2px 4px;
    max-width: 75px;
    line-height: 1.1;
    height: 22.2px;
  }
}

/* === Tablet View (501px–900px) === */
@media screen and (min-width: 501px) and (max-width: 900px) {
  .explore-filter-bar {
    padding: 10px 8px;
    justify-content: space-between;
  }

  .explore-filter-options {
    gap: 6px;
    justify-content: flex-start;
    padding: 0 8px;
  }

  .explore-btn {
    font-size: 12px;
    padding: 5px 8px;
  }

  #exploreGenreDropdown {
    font-size: 11px;
    padding: 4px 6px;
    width: 85px;
    height: 26px;
  }

  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 16px;
  }
}

/* === Explore Grid (Desktop: 5 posters) === */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 20px;
}

/* === Explore Item === */
.explore-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.explore-item:hover {
  transform: scale(1.02);
}


/* === Poster Wrapper === */
.poster-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.poster-wrapper img.lazy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(5px);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.poster-wrapper img.lazy-img.loaded {
  filter: blur(0);
}

.poster-wrapper:hover img.lazy-img {
  filter: brightness(0.4);
  transform: scale(1.05);
}

/* === Title Logo (Visible on Desktop only) === */
.title-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 70%;
  max-height: 60%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.poster-wrapper:hover .title-logo {
  opacity: 1;
}

/* === Explore Info (Title + Rating) === */
.explore-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #111;
  color: white;
}

.explore-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.explore-rating {
  color: yellow;
  font-size: 12px;
  white-space: nowrap;
}

/* === Tablet View (≤768px) === */
@media (max-width: 768px) {
  .carousel-overlay-container h2 {
    background-color: black;
    color: #bbb;
    font-size: 16px;
    font-family: 'LemonMilk', sans-serif;
    padding: 4px 12px 4px 20px;
    letter-spacing: 0.5px;
  }

  .explore-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
    padding: 12px 10px;
  }

  .poster-wrapper {
    aspect-ratio: 2 / 3;
  }

  .title-logo,
  .explore-info {
    display: none !important;
  }
}

/* === Mobile View (≤480px) === */
@media (max-width: 480px) {
  .explore-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 6px;
    padding: 10px 8px;
  }

  .poster-wrapper {
    aspect-ratio: 2 / 3;
  }

  .title-logo,
  .explore-info {
    display: none !important;
  }
}

/* === Tiny Mobile View (≤320px) === */
@media (max-width: 320px) {
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 8px 6px;
  }

  .explore-info h4 {
    font-size: 11px;
  }

  .explore-rating {
    font-size: 10px;
  }

  .title-logo,
  .explore-info {
    display: none !important;
  }
}

.poster-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media (min-width: 300px) and (max-width: 599px) {
  .mobile-spacer {
    margin-top: 10px; /* adjust spacing as needed */
  }
}


/*title-logo*/
.poster-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.poster-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
  opacity: 0.9;
}


/* 📌 Section Header */
/* 📌 Section Header */
#pinoy-movies {
    text-align: center;
    padding: 20px;
    color: #bbb;
}

/* 📌 Grid for Movie Cards */
#movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* fallback */
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

/* Responsive Tweaks */
@media (min-width: 300px) {
    #movie-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    #movie-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (min-width: 1024px) {
    #movie-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* 📌 Movie Card Styling */
.movie-card {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background-color: #222;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.3s;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.movie-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

/* 📌 Title Below Poster */
.movie-title {
    padding: 8px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
}


/* 📌 Pagination Buttons */
#pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#pagination button {
    padding: 10px 20px;
    background: #444;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

#pagination button:disabled {
    background: #777;
    cursor: not-allowed;
}

#pagination button:hover:not(:disabled) {
    background: #222;
}

/* 📌 Fullscreen Button for iFrame (optional) */
#fullscreen-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

#fullscreen-btn:hover {
    background: #555;
}


.pagination-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.explore-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

  .pagination-btn {
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .pagination-btn:disabled {
    background-color: #555;
    cursor: not-allowed;
  }
  
  /*youtube iframe*/
#youtubePlayerWrapper iframe {
  width: 100%;
  height: 450px;
  margin-top: 0px;
}

/* 📱 Mobile View (up to 480px) */
@media (max-width: 480px) {
  #youtubePlayerWrapper iframe {
    height: 200px; /* Adjust height for small screens */
	margin-top: 10px;
  }
}

/* 📱 Mobile Narrow View (300px to 360px) */
@media (max-width: 360px) {
  #youtubePlayerWrapper iframe {
    height: 200px;
	margin-top: 10px;
  }
}

/* 📱 Ultra Small Devices (up to 300px) */
@media (max-width: 300px) {
  #youtubePlayerWrapper iframe {
    height: 200px;
	margin-top: 10px;
  }
}

/* 📱 Tablet View (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  #youtubePlayerWrapper iframe {
    height: 350px;
	margin-top: 10px;
  }
}

/*burgermenu*/
.meowflex-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: black;
  padding: 10px 15px;
  border-left: 2px solid lime;
  border-right: 2px solid lime;
  border-bottom: 2px solid lime;
  border-top: none;
  border-radius: 0 0 30px 30px;
}

/* Icon list layout */
.meowflex-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.meowflex-icon-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: lime;
  cursor: pointer;
}

.meowflex-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(92%) saturate(431%) hue-rotate(53deg) brightness(102%) contrast(101%);
}

/* Hover label */
.meowflex-icon-label span {
  position: absolute;
  top: 40px;
  background-color: black;
  color: lime;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1001;
}

.meowflex-icon-label:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* MOBILE VIEW: ≤ 500px */
@media (max-width: 500px) {
  .meowflex-menu {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 10px 15px;
    border-top: 2px solid lime;
    border-left: 2px solid lime;
    border-right: 2px solid lime;
    border-bottom: none; /* Removed bottom border */
    border-radius: 30px 30px 0 0;
  }

  .meowflex-list {
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
  }

  .meowflex-icon {
    width: 22px;
    height: 22px;
  }

  .meowflex-icon-label span {
    top: 30px;
    font-size: 10px;
  }
}


/* TABLET VIEW: 501px–1024px (same as desktop) */
@media (min-width: 501px) and (max-width: 1024px) {
  .meowflex-menu {
    top: 0;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 10px 15px;
    border-left: 2px solid lime;
    border-right: 2px solid lime;
    border-bottom: 2px solid lime;
    border-top: none;
    border-radius: 0 0 30px 30px;
  }

  .meowflex-list {
    justify-content: center;
    gap: 20px;
  }

  .meowflex-icon {
    width: 28px;
    height: 28px;
  }

  .meowflex-icon-label span {
    top: 40px;
    font-size: 11px;
  }
}



/* Enable smooth scroll behavior globally */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* GPU acceleration on carousels, sliders, and scrollable areas */
.carousel-container,
.carousel-item,
.poster-wrapper,
.slide,
#mainContent {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Optimize transitions */
.slide,
.poster-wrapper {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Prevent jank when hover effects apply */
.poster-wrapper img {
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
}

/* Lazy loading image defaults */
img[loading="lazy"] {
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
}

.logo-text {
  font-family: 'LemonMilk', sans-serif;
  font-size: 1.2rem;
  color: lime;
}

/* Mobile view: reduce font size for small screens */
@media (max-width: 600px) {
  .logo-text {
    font-size: 0.9rem;
  }
}

.logo-link {
  text-decoration: none;
  color: inherit; /* optional: keeps the text color from being the default blue */
}

