
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

    body {
      margin: 0;
      font-family: 'Inter', sans-serif;
      background: url('https://images.unsplash.com/photo-1504608524841-42fe6f032b4b?auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
      background-size: cover;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 20px;
      box-sizing: border-box;
      overflow: auto;
      transition: background-image 0.5s ease-in-out;
    }

    .weather-container {
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(12px);
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      text-align: center;
      width: 100%;
      max-width: 450px;
      transition: transform 0.3s ease;
    }

    .weather-container:hover {
      transform: translateY(-5px);
    }

    .weather-container h2 {
      margin-bottom: 20px;
      font-size: 2rem;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 25px;
      position: relative;
    }

    input {
      flex: 1;
      padding: 14px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      font-size: 16px;
      outline: none;
      transition: border-color 0.3s ease;
    }

    input:focus {
      border-color: #60a5fa;
    }

    input::placeholder {
      color: rgba(255, 255, 255, 0.7);
    }

    button {
      padding: 14px 24px;
      background: linear-gradient(45deg, #f97316, #ef4444);
      border: none;
      border-radius: 12px;
      cursor: pointer;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      text-transform: uppercase;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    button:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(249, 115, 22, 0.5);
    }

    .suggestions {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      max-height: 200px;
      overflow-y: auto;
      background: rgba(0, 0, 0, 0.7);
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      z-index: 10;
      display: none;
    }

    .suggestion-item {
      padding: 10px 14px;
      color: #fff;
      font-size: 14px;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .suggestion-item:hover {
      background: rgba(255, 255, 255, 0.2);
    }

    .weather-info {
      margin-top: 25px;
      line-height: 1.8;
      opacity: 0;
      animation: fadeIn 0.5s ease forwards;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .temp {
      font-size: 48px;
      font-weight: 700;
      color: #facc15;
      margin: 10px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .weather-info h3 {
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .weather-info p {
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .loading {
      display: none;
      font-size: 1rem;
      color: #93c5fd;
      animation: pulse 1.5s infinite;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes pulse {
      0% { opacity: 0.6; }
      50% { opacity: 1; }
      100% { opacity: 0.6; }
    }

    @media (max-width: 480px) {
      .weather-container {
        padding: 20px;
      }

      .input-group {
        flex-direction: column;
      }

      button {
        width: 100%;
      }

      .temp {
        font-size: 36px;
      }

      .weather-container h2 {
        font-size: 1.5rem;
      }

      .suggestions {
        width: 100%;
      }
    }
