body {
      background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
      font-family: 'Poppins', sans-serif;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      overflow: hidden;
    }

    .chat-wrap {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(15px);
      border-radius: 20px;
      padding: 20px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      animation: fadeInUp 1s ease;
    }

    @keyframes fadeInUp {
      from { transform: translateY(30px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    header {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding-bottom: 10px;
    }

    .logo {
      background: #fff;
      color: #2575fc;
      font-weight: 700;
      font-size: 1.4rem;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 12px;
      box-shadow: 0 3px 8px rgba(255, 255, 255, 0.2);
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }

    .title {
      font-size: 1.3rem;
      font-weight: 600;
    }

    .small {
      font-size: 0.85rem;
      color: #e0e0e0;
    }

    .messages {
      height: 300px;
      overflow-y: auto;
      padding: 10px;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 10px;
      margin-bottom: 15px;
      scroll-behavior: smooth;
    }

    .msg {
      padding: 10px 15px;
      border-radius: 15px;
      margin: 5px 0;
      max-width: 80%;
      animation: fadeIn 0.5s ease;
    }

    .msg.bot {
      background-color: rgba(255, 255, 255, 0.2);
      align-self: flex-start;
    }

    .msg.user {
      background-color: #2575fc;
      align-self: flex-end;
      color: white;
      margin-left: auto;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .input-row {
      display: flex;
      gap: 10px;
    }

    #prompt {
      flex: 1;
      border: none;
      border-radius: 30px;
      padding: 12px 15px;
      outline: none;
      transition: all 0.3s ease;
    }

    #prompt:focus {
      box-shadow: 0 0 10px #2575fc;
    }

    #sendBtn {
      background: #fff;
      color: #2575fc;
      border: none;
      border-radius: 30px;
      padding: 10px 18px;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    #sendBtn:hover {
      background: #2575fc;
      color: #fff;
      transform: scale(1.05);
    }