    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      /* font-family: 'Poppins', sans-serif; */
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
      padding: 20px;
    }

    h1 {
      margin-top: 20px;
      font-size: 2rem;
      text-align: center;
    }

    .search-box {
      margin: 30px 0;
      display: flex;
      width: 100%;
      max-width: 500px;
      background: rgba(255,255,255,0.1);
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      border: 1px solid #ccc;
    }

    .search-box input {
      flex: 1;
      border: none;
      background: transparent;
      color: #fff;
      font-size: 1rem;
      outline: none;
      padding: 10px 20px;
    }

    input::placeholder{
      color: #ccc;
    }

    .search-box button {
      background: #306270;
      border: 1px solid;
      border-color: #fff;
      color: #fff;
      padding: 10px 20px;
      border-radius: 30px;
      cursor: pointer;
      transition: 0.3s;
    }

    .search-box button:hover {
      background: #072d5c;
      border-color: #fff;
      border: 1px solid;
    }

    @media (max-width: 400px) {
        .search-box{
          margin: 20px 0;
          max-width: 400px;
        }
        .search-box input{
          font-size: 0.85rem;
        }
        .search-box button{
          font-size: 0.85rem;
        }
      }

    .movie-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      width: 100%;
      max-width: 1000px;
    }

    .movie-card {
      background: rgba(255,255,255,0.1);
      border-radius: 12px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.4);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .movie-card:hover {
      transform: translateY(-8px);
    }

    .movie-card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
    }

    .movie-card h3 {
      padding: 10px;
      font-size: 1.1rem;
    }

    .view-btn {
      /* background: #306270; */
      background: transparent;
      border:1px solid;
      border-color: #fff;
      color: #fff;
      margin: 10px;
      padding: 10px 20px;
      border-radius: 20px;
      margin-bottom: 12px;
      cursor: pointer;
      transition: 0.3s;
    }

    .view-btn:hover {
      background: #303b4a;
    }

    .no-results {
      margin-top: 40px;
      font-size: 1.2rem;
      opacity: 0.8;
    }

    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      visibility: hidden;
      opacity: 0;
      transition: 0.3s;
      z-index: 10;
    }

    .modal.active {
      visibility: visible;
      opacity: 1;
    }

    .modal-content {
      background: rgba(255,255,255,0.1);
      border-radius: 15px;
      padding: 20px;
      max-width: 600px;
      width: 90%;
      color: #fff;
      text-align: left;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      overflow-y: auto;
      max-height: 80vh;
    }

    .modal-content img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 15px;
    }

    .close-btn {
      background: transparent ;
      color: #fff;
      padding: 8px 15px;
      font-weight: bold;
      cursor: pointer;
      font-size: 1.2rem;
      float: right;
    }

    @media(max-width: 600px){
      .movie-card img { height: 240px; }
      h1 { font-size: 1.6rem; }

    }

