body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #141414;
    color: #fff;
    margin: 0;
    padding: 0;
  }
  
  .container {
    padding: 40px 60px;
    max-width: 1300px;
    margin: auto;
    text-align: center;
  }
  
  h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #e50914;
  }
  
  form {
    margin-bottom: 40px;
  }
  
  input[type="text"] {
    width: 60%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
  }
  
  button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #e50914;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #b0060f;
  }
  
  .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .card {
    background-color: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    width: 220px;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .card:hover {
    transform: scale(1.05);
  }
  
  .card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-bottom: 1px solid #333;
  }
  
  .card-content {
    padding: 12px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .card-content h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #fff;
  }
  
  .card-content p {
    font-size: 13px;
    color: #bbb;
    line-height: 1.4;
    max-height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    transition: max-height 0.3s ease;
  }
  
  .card:hover .card-content p {
    max-height: 200px; /* Expand on hover */
  }
  
  .theme-toggle {
    text-align: right;
    margin-bottom: 20px;
  }
  
  body.light-mode {
    background-color: #f5f5f5;
    color: #111;
  }
  
  body.light-mode .card {
    background-color: #fff;
    color: #000;
  }
  
  body.light-mode .card-content p,
  body.light-mode .card-content h3 {
    color: #333;
  }
  
  body.light-mode button {
    background-color: #007BFF;
  }
  
  .search-info {
    background-color: #1c1c1c;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid #e50914;
  }
  
  .search-info p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  body.light-mode .search-info {
    background-color: #fff;
    border-left-color: #007BFF;
  }
  