/* Responsive Navigation Bar */
.nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
@media (max-width: 900px) {
  .nav-mobile {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 12px;
  }
  .nav-mobile {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding: 0 0;
    align-items: center;
    height: 56px;
    gap: 12px;
  }
  .hamburger {
    order: 1;
    margin-left: 0;
    margin-right: 4px;
    position: static;
    display: flex;
    align-items: center;
    height: 18px;
    width: 18px;
    box-shadow: 0 0 8px 2px #ff4081, 0 0 16px 4px #00ffe7;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    transition: box-shadow 0.3s;
  }
  .hamburger span {
    width: 10px;
    height: 2px;
  }
  .hamburger span {
    margin: 0;
  }
  .hamburger:active, .hamburger:focus {
    box-shadow: 0 0 16px 4px #ff4081, 0 0 32px 8px #00ffe7;
  }
  .logo {
    order: 2;
    margin-left: 0 !important;
    margin-right: 0;
    flex: 0 1 auto;
    text-align: left;
    position: static;
    align-self: center;
    font-size: 2rem !important;
    line-height: 1;
    letter-spacing: 2px;
    color: #fff;
    filter: drop-shadow(0 0 8px #00ffe7cc);
    background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #ff4081;
  border-radius: 2px;
  transition: 0.3s;
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 901px) {
  .nav-bar {
    justify-content: flex-end;
  }
  #form {
    display: none;
    margin-left: auto;
  }
  body.show-main #form {
    display: flex !important;
  }
}
@media (max-width: 900px) {
  .nav-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    display: none;
    z-index: 1000;
  }
  .nav-bar.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .logo {
    position: static;
    left: 0;
    transform: none;
    font-size: 2rem;
    margin-right: auto;
  }
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1rem 0.5rem 1rem;
  }
}
@media (max-width: 600px) {
  .logo {
    font-size: 1.5rem;
  }
  .nav-bar {
    padding: 0.5rem 1rem;
  }
}
.add-wishlist-btn svg {
  transition: fill 0.2s, stroke 0.2s, filter 0.2s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.add-wishlist-btn.animated svg {
  animation: wishlist-pop 0.4s cubic-bezier(0.4,0,0.2,1);
  fill: #ff4081 !important;
  stroke: #ff4081 !important;
}
@keyframes wishlist-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3) rotate(-10deg); }
  60% { transform: scale(0.95) rotate(5deg); }
  80% { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}
body.light-theme .movie-sites-popup {
  background: #fff;
  color: #22254b;
  box-shadow: 0 8px 32px 0 #e0e0e0;
}
body.light-theme .movie-sites-popup a {
  color: #ff4081;
}
body.light-theme .movie-sites-popup button {
  background: #ff4081;
  color: #fff;
}
body.light-theme .movie-sites-popup button:hover {
  background: #ffe4ef;
  color: #ff4081;
}
body.light-theme .wishlist-modal {
  background: rgba(255, 255, 255, 0.92);
}
body.light-theme .movie-info span {
  color: #ff4081 !important;
  background: #ffe4ef;
}
/* Light Theme Styles */
body.light-theme {
  background: #f7f7fa;
  color: #1a1a1a;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes neon-lines-move {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 120px 60px, -120px -60px, 0 0; }
}
body.light-theme header,
body.light-theme .main-header {
  background: #fff;
  color: #22254b;
  box-shadow: 0 2px 8px #e0e0e0;
}
body.light-theme .logo {
  color: #ff4081;
}
body.light-theme .movie {
  background: #fff;
  box-shadow: 0 4px 12px #e0e0e0;
}
body.light-theme .movie-info {
  color: #22254b;
}
body.light-theme .overview {
  background: #f9f9fb;
  color: #22254b;
}
body.light-theme .overview h3 {
  color: #ff4081;
}
body.light-theme .movie-review {
  color: #ff4081;
}
body.light-theme .wishlist-modal-content {
  background: #fff;
  color: #22254b;
  box-shadow: 0 8px 32px 0 #e0e0e0;
}
body.light-theme .wishlist-poster {
  box-shadow: 0 2px 8px #ff408133;
}
body.light-theme .wishlist-btn svg {
  filter: none;
}
body.light-theme .add-wishlist-btn svg {
  filter: none;
}
body.light-theme .add-wishlist-btn.in-wishlist svg {
  filter: drop-shadow(0 0 8px #e5393533);
}
/* Wishlist Toggle Switch */
.wishlist-toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  margin-left: 1.2rem;
  vertical-align: middle;
}
.wishlist-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.wishlist-toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 26px;
  transition: background 0.3s;
}
.wishlist-toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #ff408133;
  transition: transform 0.3s;
}
.wishlist-toggle-switch input:checked + .slider {
  background: #ff4081;
}
.wishlist-toggle-switch input:checked + .slider:before {
  transform: translateX(22px);
  background: #fff;
  box-shadow: 0 2px 8px #ff4081cc;
}
.wishlist-movie-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.unwish-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px #e5393533;
  cursor: pointer;
  padding: 2px 2px 0 2px;
  z-index: 2;
  transition: background 0.2s;
}
.unwish-btn:hover {
  background: #ffeaea;
}
.unwish-btn svg {
  display: block;
}
.wishlist-list {
  /* Hide horizontal scrollbar, show only vertical */
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ff4081 #f0f0f0;
}

/* For Webkit browsers */
.wishlist-list::-webkit-scrollbar {
  width: 7px;
  background: #f0f0f0;
}
.wishlist-list::-webkit-scrollbar-thumb {
  background: #ff4081;
  border-radius: 6px;
}
.add-wishlist-btn svg {
  fill: #fff;
  stroke: #ff4081;
  transition: fill 0.2s, stroke 0.2s, filter 0.2s;
}
.add-wishlist-btn.in-wishlist svg {
  fill: #ff4081 !important;
  stroke: #ff4081 !important;
  filter: drop-shadow(0 0 8px #ff4081cc);
  box-shadow: none;
}
.add-wishlist-btn.in-wishlist svg {
  fill: #ff4081 !important;
  stroke: #fff !important;
  filter: drop-shadow(0 0 8px #ff4081cc);
  transition: fill 0.2s, stroke 0.2s, filter 0.2s;
}
.movie:hover .movie-info h3,
.movie:hover .movie-info span {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.movie:hover .movie-info h3 {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.movie-info {
  position: relative;
  z-index: 3;
}
.add-wishlist-btn {
  position: relative;
  z-index: 4;
  pointer-events: auto;
}
.movie:hover .add-wishlist-btn {
  z-index: 5;
}
.overview {
  pointer-events: auto;
}
/* Wishlist button in header */
.wishlist-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1.5rem;
  outline: none;
  padding: 0.2rem 0.5rem;
  transition: transform 0.2s;
  vertical-align: middle;
}
.wishlist-btn svg {
  filter: drop-shadow(0 2px 8px #ff408133);
  transition: filter 0.2s;
}
.wishlist-btn:hover svg {
  filter: drop-shadow(0 4px 16px #ff4081cc);
  transform: scale(1.1);
}

/* Wishlist modal */
.wishlist-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,37,75,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  animation: fadeIn 0.3s;
}
.wishlist-modal-content {
  background: #fff;
  color: #22254b;
  border-radius: 18px;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  min-width: 320px;
  min-height: 180px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
}
.close-wishlist-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #ff4081;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.close-wishlist-modal:hover {
  color: #22254b;
}
.wishlist-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 1.2rem;
  justify-items: center;
  align-items: start;
  margin-top: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}
.wishlist-poster {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px #ff4081cc;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.wishlist-poster:hover {
  transform: scale(1.08) rotateZ(-2deg);
  box-shadow: 0 6px 18px #ff4081cc;
}

/* Add to wishlist button on movie card */
.add-wishlist-btn {
  background: none;
  border: none;
  margin-left: 0.7rem;
  cursor: pointer;
  outline: none;
  padding: 0.1rem 0.2rem;
  vertical-align: middle;
  transition: transform 0.2s;
}
.add-wishlist-btn svg {
  filter: drop-shadow(0 1px 4px #ff408133);
  transition: filter 0.2s;
}
.add-wishlist-btn:hover svg {
  filter: drop-shadow(0 2px 8px #ff4081cc);
  transform: scale(1.1);
}
.add-wishlist-btn.in-wishlist svg {
  fill: #ff4081;
  stroke: #ff4081;
  filter: drop-shadow(0 2px 8px #ff4081cc);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Feedback form alignment and sizing */
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
  width: 100%;
  min-width: 250px;
  max-width: 350px;
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  display: block;
}

.feedback-form textarea {
  min-height: 120px;
  height: 3em;
  resize: vertical;
}

.feedback-form .submit-feedback {
  width: 100%;
  min-width: 250px;
  max-width: 350px;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  background: #00ffe7;
  color: #22254b;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
  display: block;
}

.feedback-form .submit-feedback:hover {
  background: #fff;
}
/* Movie sites popup */
.movie-sites-popup {
  position: fixed;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #22254b;
  color: #fff;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  z-index: 3000;
  text-align: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.movie-sites-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.movie-sites-popup a {
  color: #00ffe7;
  text-decoration: underline;
  margin: 0 0.2em;
}
.movie-sites-popup button {
  margin-top: 1.2rem;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #22254b;
  background: #00ffe7;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}
.movie-sites-popup button:hover {
  background: #fff;
}
/* Feedback success message animation */
.feedback-success {
  margin-top: 1.2rem;
  padding: 1rem 1.5rem;
  background: #00ffe7;
  color: #22254b;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.5s, transform 0.5s;
  box-shadow: 0 2px 12px #00ffe7cc;
  z-index: 10;
}
.feedback-success.fadeIn {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.feedback-success.fadeOut {
  opacity: 0;
  transform: translateY(-20px) scale(0.98);
  transition: opacity 0.5s, transform 0.5s;
}
.feedback-success .feedback-date {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 0.5rem;
  color: #373b69;
}
/* Header layout for second page only */
body.second-page header {
  padding: 1rem 2rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-color);
  position: relative;
  flex-wrap: wrap;
}
body.second-page .left-logo {
  position: relative;
  left: 0;
  top: 0;
  transform: none;
  margin: 0;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 0 0 auto;
  align-self: flex-start;
}
/* Header layout for second page only */
body.second-page header {
  padding: 1rem 2rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-color);
  position: relative;
  flex-wrap: wrap;
}
body.second-page .left-logo {
  position: relative;
  left: 0;
  top: 0;
  transform: none;
  margin: 0;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 0 0 auto;
  align-self: flex-start;
}
body.second-page .center-form {
  margin: 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 0%;
  max-width: 500px;
}
/* Feedback button fixed at bottom right */
.feedback-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 2000;
  padding: 0.7rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #22254b;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 8px #00ffe7cc;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  outline: none;
  display: none;
}
.feedback-btn.show {
  display: inline-block !important;
}
/* Removed duplicate and misplaced properties causing errors */
/* Feedback Modal Styles */
.feedback-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 37, 75, 0.85);
  z-index: 1000;
}
.feedback-modal-content {
  background: #22254b;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  color: #fff;
  min-width: 320px;
  max-width: 90vw;
  position: relative;
  text-align: center;
}
.feedback-modal-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feedback-form input {
  display: block;
  width: 90%;
  margin: 0.7rem auto 1.2rem auto;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  background: #373b69;
  color: #fff;
}
.feedback-form input:focus {
  outline: 2px solid #00ffe7;
}
.submit-feedback {
  padding: 0.7rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #22254b;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 8px #00ffe7cc;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  outline: none;
}
.submit-feedback:hover, .submit-feedback:focus {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 4px 16px #00ffe7cc;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #00ffe7;
}
/* About Section Styles */
.about-section {
  max-width: 600px;
  margin: 2.5rem auto 2rem auto;
  background: rgba(34, 37, 75, 0.95);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 2.5rem 2rem 2rem 2rem;
  color: #fff;
  text-align: center;
  animation: fadeIn 1s;
}
.about-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-section .developer-info {
  margin: 2rem 0 1.5rem 0;
  background: rgba(55, 59, 105, 0.7);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.1rem;
}
.about-section a {
  color: #00ffe7;
  text-decoration: underline;
  transition: color 0.2s;
}
.about-section a:hover {
  color: #fff;
}
.show-movies-btn {
  margin-top: 1.5rem;
  padding: 0.8rem 2.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #22254b;
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 8px #00ffe7cc;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  outline: none;
}
.show-movies-btn:hover, .show-movies-btn:focus {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 4px 16px #00ffe7cc;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hide-section {
  animation: fadeOut 0.6s forwards;
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-40px) scale(0.95); }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

:root {
  --primary-color: #22254b;
  --secondary-color: #373b69;
}

* {
  box-sizing: border-box;
}

body {
  background: #181c2b;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

header {
  padding: 1rem 2rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--secondary-color);
  position: relative;
  flex-wrap: wrap;
}

form#form {
  margin-left: auto;
  display: flex;
  align-items: center;
  z-index: 2;
}


.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', cursive, sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  text-shadow:
    0 4px 24px #22254bcc,
    0 2px 0 #373b69,
    0 0 8px #00ffe7cc,
    0 0 2px #fff;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 8px #00ffe7cc);
  background: linear-gradient(90deg, #00ffe7 10%, #fff 50%, #00ffe7 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #fff;
  margin-right: 0.5rem;
}

.search-btn {
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: #fff;
}
.search-btn:hover, .search-btn:focus {
  background: #444a8a;
  outline: none;
}
.search-btn svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
}

.search::placeholder {
  color: #7378c5;
}

.search:focus {
  outline: none;
  background-color: var(--primary-color);
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #000 !important; /* pure black for dark theme */
}
body.light-theme main {
  background: #fff !important; /* pure white for light theme */
}

/* Animated movie spotlights background */


@keyframes movie-spotlights {
  0% { filter: blur(0px) brightness(1); opacity: 1; }
  100% { filter: blur(2px) brightness(1.1); opacity: 0.95; }
}
@keyframes movie-grain {
  0% { opacity: 0.12; }
  100% { opacity: 0.18; }
}

.movie {
  width: 300px;
  margin: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 0 4px 24px 0 #00ffe799, 0 2px 8px #ff408155, 0 4px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  z-index: 2;
  transition: box-shadow 0.3s;
}
.movie:hover {
  box-shadow: 0 8px 32px 0 #00ffe7cc, 0 4px 16px #ff4081cc, 0 8px 24px rgba(0,0,0,0.25);
}

.movie img {
  width: 100%;
}

.movie-info {
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 1rem;
  letter-spacing: 0.5px;
}

.movie-info h3 {
  margin-top: 0;
}

.movie-info span {
  background-color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-weight: bold;
}

.movie-info span.green {
  color: lightgreen;
}

.movie-info span.orange {
  color: orange;
}

.movie-info span.red {
  color: red;
}


.overview {
  background: rgba(34, 37, 75, 0.97);
  color: #fff;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  max-height: 100%;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transform: translateY(101%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}

.movie:hover .overview {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.47);
}

.overview h3 {
  margin-top: 0;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: #00ffe7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.movie-plot {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  min-height: 2.5em;
  transition: color 0.3s;
}
.movie-review {
  font-size: 1rem;
  color: #ffd700;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
  margin-top: 0.5rem;
}
.movie {
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}
.movie:hover {
  transform: translateY(-8px) scale(1.03) rotateZ(-1deg);
  box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.25);
  z-index: 3;
}
