body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #fff;
    overflow-x: hidden;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #008000, #90ee90);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  #auth-container button {
    margin-left: 10px;
    padding: 8px 12px;
    background-color: #90ee90;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
  }
  
  .auth-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: #222;
    padding: 20px;
    border-radius: 10px;
    z-index: 100;
  }
  .auth-modal input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .auth-modal button {
    padding: 10px;
    background: #90ee90;
    border: none;
    border-radius: 5px;
    color: #fff;
    margin-top: 5px;
  }
  
  section {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(to right,#1e1e1e,#292929);
    animation: fadeIn 1s forwards;
  }
  .genre-section {
    margin: 20px 0;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
  }

  #search-section { 
    display: flex; 
    justify-content: center; 
    padding: 20px; 
    flex-wrap: wrap; 
  } 
  
  #search-bar { 
    width: 60%; 
    padding: 12px; 
    border-radius: 10px; 
    border: none; 
    font-size: 16px; 
    transition: box-shadow 0.3s ease-in-out; 
  } 
  
  #search-bar:focus { 
    box-shadow: 0 0 12px #ff9800; 
    outline: none; 
  } 
  
  #search-button { 
    margin-left: 10px; 
    padding: 12px 18px; 
    border: none; 
    background-color: #90ee90; 
    color: white; 
    border-radius: 10px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: bold; 
    transition: background-color 0.3s ease-in-out, transform 0.2s; 
  } 
  
  #search-button:hover { 
    background-color: #e68900; 
    transform: scale(1.05); 
  }
  
  .slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .scroll-left,.scroll-right {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 5px;
    font-size: 24px;
    color: #fff;
    padding: 10px;
    cursor: pointer;
  }
  .movie-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex-grow: 1;
    padding: 12px;
  }
  .movie-card {
    min-width: 150px;
    background: #222;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
  }
  .movie-card img {
    width: 150px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  footer {
    text-align: center;
    padding: 15px;
    background: linear-gradient(90deg,#008000,#90ee90);
  }
  
  .light-theme {
    background:#f5f5f5;
    color:orange;}
  .light-theme header, .light-theme footer {
    background: linear-gradient(90deg,#f5f5f5,#f5f5f5);
  }
  .light-theme .movie-card {
    background:#fff; 
    color:#121212;
  }
  